Function at 0x41cb00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43622c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
mov eax, dword [0x44a160]
mov dword [esp + 0x35c], eax
mov eax, dword [esp + 0x380]
test eax, eax
push ebp
mov ebp, ecx
mov dword [esp + 4], ebp
je 0x41cf44
push ebx
push esi
push edi
lea ecx, [esp + 0x15c]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
mov dword [esp + 0x378], 0
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push str.BT_ENTER_SERVER
push eax
lea ecx, [esp + 0x164]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_struct_HINSTANCE_____wchar_t_const__]
lea ecx, [esp + 0x15c]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
lea ecx, [esp + 0x15c]
mov dword [esp + 0x18], eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 1
mov edi, edx
add ebp, 0x2a8
shr edi, 0x1f
mov ecx, ebp
add edi, edx
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
mov ebx, dword [esp + 0x38c]
mov esi, dword [esp + 0x380]
jne 0x41cbfd
mov ecx, ebp
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
mov ecx, ebp
mov dword [esp + 0x14], eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x388]
push ecx
push eax
push 0
push 0
push 0xd2
push 0xbb
push ebx
push edx
push esi
mov ecx, ebp
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int__int__int_]
mov dx, word [esp + 0x384]
mov ebp, dword [esp + 0x10]
xor eax, eax
cmp word [ebp + 0x7e], dx
jne 0x41cc1b
cmp byte [ebp + 0x7b], 3
jne 0x41cc1b
mov cl, 1
jmp 0x41cc1d
xor cl, cl
cmp word [ebp + 0x80], dx
jne 0x41cc41
cmp byte [ebp + 0x7c], 3
jne 0x41cc41
cmp cl, 1
jne 0x41cc38
mov eax, 1
jmp 0x41cc41
test cl, cl
jne 0x41cc41
mov eax, 2
mov edx, dword [esp + 0x388]
imul eax, edi
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
push edi
lea ecx, [ebx + 0xa4]
push ecx
add edx, 9
push edx
push esi
lea ecx, [esp + 0x178]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov ebp, dword [esp + 0x390]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x1e]
xor edx, edx
mov dword [esp + 0x7e], edx
mov dword [esp + 0x82], edx
mov dword [esp + 0x86], edx
mov dword [esp + 0x8a], edx
mov dword [esp + 0x8e], edx
mov dword [esp + 0x92], edx
xor edi, edi
mov dword [esp + 0x96], edx
mov dword [esp + 0x6c], 0x43d490
mov dword [esp + 0x70], 0x43e86c
mov dword [esp + 0x74], 0x43e864
mov dword [esp + 0x78], 0x43e85c
mov dword [esp + 0x3c], 0x14
mov dword [esp + 0x40], 0x64
mov dword [esp + 0x44], 0xc8
mov dword [esp + 0x48], 0xfff
mov word [esp + 0x7c], di
mov word [esp + 0x9a], dx
xor al, al
jmp 0x41cd00
movzx edx, al
cmp ecx, dword [esp + edx*4 + 0x3c]
jl 0x41cd11
inc al
cmp al, 4
jb 0x41cd00
jmp 0x41cd2c
movzx eax, al
mov ecx, dword [esp + eax*4 + 0x6c]
push ecx
lea edx, [esp + 0x80]
push 0x10
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0xc
mov word [esp + 0x9c], di
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x9e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xaa]
mov edx, dword [eax + 0xa6]
push ecx
push edx
push 0x43e850
lea eax, [esp + 0xa8]
push 0x20
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov word [esp + 0xf0], 0
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0xf2]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 4]
stosw word es:[edi], ax
mov edx, dword [ecx + 0xb2]
mov eax, dword [ecx + 0xae]
push edx
push eax
push 0x43e850
lea ecx, [esp + 0xfc]
push 0x20
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov edx, dword [ebp + 4]
xor eax, eax
mov word [esp + 0x144], 0
mov ecx, 0xf
lea edi, [esp + 0x146]
rep stosd dword es:[edi], eax
add edx, 0x66
push edx
push 0x439984
stosw word es:[edi], ax
lea eax, [esp + 0x14c]
push 0x20
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov edx, dword [esi]
add esp, 0x38
push 1
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esi]
push 0xffffff
mov ecx, esi
call dword [eax + 0x38]
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinResourceManager____cdecl_CSkinResourceManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.SkinControl.dll_public:_class_CFont____thiscall_CSkinResourceManager::GetDefaultFont_void_]
test eax, eax
je 0x41ce22
mov eax, dword [eax + 4]
test eax, eax
je 0x41ce22
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x388]
lea ecx, [edx + 0x4e]
lea eax, [ebx + 0x40]
mov dword [esp + 0x20], eax
lea eax, [edx + 0xa8]
add edx, 0x16
mov dword [esp + 0x5c], edx
lea edx, [ebx + 0x85]
mov dword [esp + 0x60], edx
lea edx, [ebx + 0x95]
mov dword [esp + 0x68], edx
lea edx, [ebx + 0x57]
mov dword [esp + 0x50], edx
lea edx, [ebx + 0x67]
lea edi, [ebx + 0x50]
mov dword [esp + 0x58], edx
push 0x8025
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], ecx
lea ecx, [ebx + 0x6e]
lea edx, [esp + 0x60]
mov dword [esp + 0x28], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], eax
add ebx, 0x7e
push edx
lea eax, [esp + 0x124]
mov dword [esp + 0x30], edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x40], ebx
mov ebx, dword [esi]
push eax
mov dword [esp + 0x3c], ecx
call edi
push eax
lea ecx, [esp + 0x128]
push ecx
mov ecx, esi
call dword [ebx + 0x70]
mov ebx, dword [esi]
push 0x8025
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x84]
push eax
call edi
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call dword [ebx + 0x70]
mov ebx, dword [esi]
push 0x8025
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xa4]
push eax
call edi
push eax
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call dword [ebx + 0x70]
mov ebx, dword [esi]
push 0x8025
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xe4]
push eax
call edi
push eax
lea ecx, [esp + 0xe8]
push ecx
mov ecx, esi
call dword [ebx + 0x70]
lea ecx, [esp + 0x15c]
mov dword [esp + 0x378], 0xffffffff
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x364]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x360]
pop ebp
call fcn.00433621
add esp, 0x36c
ret 0x14