Function at 0x445650
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x452993
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
lea ecx, [esi + 0x13a8]
mov dword [esp + 0x18], esi
mov dword [esi], 0x463954
call edi
mov ebp, dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::constructor_void_]
xor ebx, ebx
lea ecx, [esi + 0x15b8]
mov dword [esp + 0x24], ebx
call ebp
lea ecx, [esi + 0x17f0]
mov byte [esp + 0x24], 1
call ebp
lea ecx, [esi + 0x1a28]
mov byte [esp + 0x24], 2
call ebp
lea ecx, [esi + 0x1c60]
mov byte [esp + 0x24], 3
call ebp
lea ecx, [esi + 0x1e98]
mov byte [esp + 0x24], 4
call edi
lea ecx, [esi + 0x20a8]
mov byte [esp + 0x24], 5
call edi
lea ecx, [esi + 0x22b8]
mov byte [esp + 0x24], 6
call edi
lea ecx, [esi + 0x24c8]
mov byte [esp + 0x24], 7
call edi
lea ecx, [esi + 0x26d8]
mov byte [esp + 0x24], 8
call edi
lea ebp, [esi + 0x28e8]
mov ecx, ebp
mov byte [esp + 0x24], 9
call edi
lea ecx, [esi + 0x2af8]
mov byte [esp + 0x24], 0xa
call edi
lea ecx, [esi + 0x2d08]
mov byte [esp + 0x24], 0xb
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::constructor_void_]
mov byte [esi + 0x2c], 1
mov byte [esi + 0x2e], 1
mov byte [esi + 0x2f], 1
mov byte [esi + 0x30], 1
mov byte [esi + 0x2d], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], 1
mov byte [esi + 0x33], 1
mov byte [esi + 0x34], bl
mov word [esi + 0x36], bx
mov word [esi + 0x38], bx
mov word [esi + 0x3a], bx
mov word [esi + 0x3c], bx
mov word [esi + 0x3e], bx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esp + 0x24], 0xc
mov dword [esi + 0x1004], ebx
mov dword [esi + 0x1008], ebx
mov dword [esi + 0x100c], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
lea eax, [esi + 0x9c4]
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esp + 0x10], eax
lea edi, [esi + 0x64]
mov dword [esp + 0x14], 0x64
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
add ecx, 0xfffff9c0
push ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 0x10
add edi, 8
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x4457c0
xor eax, eax
mov ecx, 0x64
lea edi, [esi + 0x1010]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x11a0]
rep stosd dword es:[edi], eax
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_struct_HINSTANCE_____wchar_t_const__]
push str.TABLE_READY
push eax
lea ecx, [esi + 0x24c8]
call edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push str.TABLE_LOCKER
push eax
lea ecx, [esi + 0x26d8]
call edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x463900
push eax
lea ecx, [esi + 0x2af8]
call edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x4638e0
push eax
mov ecx, ebp
call edi
lea edi, [esi + 0x2af8]
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
mov ecx, edi
mov edi, dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
mov dword [esp + 0x14], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov dword [esi + 0x20], eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
mov ecx, ebp
mov dword [esp + 0x14], eax
call edi
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
cmp dword [0x47b380], ebx
mov eax, esi
jne 0x4458db
mov dword [0x47b380], esi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret