Function at 0x439700
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x88
mov eax, dword [0x45a1b4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa0]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 4]
mov ebp, ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x10]
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalUserInfo____cdecl_CGlobalUserInfo::GetInstance_void_]
mov edi, eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ecx, edi
mov dword [esp + 0x50], eax
call dword [sym.imp.PlatformData.dll_public:_struct_tagGlobalUserData____thiscall_CGlobalUserInfo::GetGlobalUserData_void_]
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x4c], eax
mov word [esp + 0x54], 0
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x56]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x1a8]
push ecx
push 0x447d80
shr ebx, 6
lea edx, [esp + 0x5c]
push 0x20
and bl, 1
push edx
mov byte [esp + 0x2f], 0
mov byte [esp + 0x2e], bl
stosw word es:[edi], ax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
test bl, bl
je 0x4397d3
cmp word [ebp + 0x14], 0
je 0x4397d3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x9c]
mov edx, dword [ebx + 4]
push 0xcc0020
push 0
push eax
push ecx
push eax
push 0
push 0
push edx
jmp 0x439802
mov dl, byte [ebp + 9]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x9c]
xor ecx, ecx
cmp dl, 1
mov edx, dword [esp + 0x30]
setne cl
push 0xcc0020
push 0
dec ecx
and ecx, eax
push ecx
push edx
push eax
mov eax, dword [ebx + 4]
push 0
push 0
push eax
lea ecx, [esi + 0x17e4]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CBitImage::BitBlt_struct_HDC_____int__int__int__int__int__int__unsigned_long_int_]
cmp byte [esi + 0x2d], 1
jne 0x439899
lea edi, [esi + 0x139c]
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x439899
mov al, byte [ebp + 9]
cmp al, 1
mov dword [esp + 0x18], 0
jne 0x439841
mov dword [esp + 0x18], 1
mov cx, word [ebp + 6]
cmp cx, 0x64
jne 0x439876
test al, al
jne 0x43985d
cmp byte [ebp + 4], 1
jne 0x43985d
mov dword [esp + 0x18], 2
cmp cx, 0x64
jne 0x439876
test al, al
jne 0x439876
mov al, byte [ebp + 4]
test al, al
jne 0x439876
mov dword [esp + 0x18], 3
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, eax
imul edx, dword [esp + 0x18]
push 0
push edx
push ecx
mov ecx, dword [esi + 0x48]
push eax
mov eax, dword [esi + 0x4c]
push eax
push ecx
push ebx
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov ax, word [ebp + 0x16]
cmp ax, 0x64
jae 0x439ca1
xor ecx, ecx
test ax, ax
mov dword [esp + 0x14], ecx
jbe 0x439ca1
movzx eax, cx
mov dword [esp + 0x18], eax
shl eax, 4
lea edx, [eax + esi + 0x9b8]
mov ebp, dword [edx]
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x1e]
cmp al, 1
mov dword [esp + 0x48], edx
jne 0x4398f9
cmp byte [esi + 0x2e], 1
jne 0x43993f
mov eax, dword [esp + 0x10]
cmp word [eax + 0x14], 0
jne 0x439943
mov ecx, dword [esp + 0x18]
jmp 0x439914
test al, al
jne 0x43993f
cmp byte [esi + 0x2e], 1
jne 0x43993f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp dword [edx + eax*4 + 0x18], 0
jne 0x43993f
mov ecx, eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
imul ecx, eax
push 0xcc0020
push 0
push ecx
push edx
push eax
mov eax, dword [ebx + 4]
push edi
push ebp
lea ecx, [esi + 0x15ac]
push eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CBitImage::BitBlt_struct_HDC_____int__int__int__int__int__int__unsigned_long_int_]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp byte [esi + 0x2c], 1
jne 0x439c8e
mov dl, byte [esp + 0x1e]
test dl, dl
jne 0x439aa6
movzx edx, cx
mov edx, dword [eax + edx*4 + 0x18]
test edx, edx
mov dword [esp + 0x18], edx
je 0x439bbc
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x10]
movzx eax, word [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + eax*4 + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x4c]
cmp eax, dword [ecx]
jne 0x439992
mov byte [esp + 0x1f], 1
mov al, byte [esi + 0x31]
test al, al
jne 0x4399d1
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
sub eax, edi
sub eax, 0x30
push esi
push edx
cdq
sub eax, edx
mov ecx, dword [esp + 0x18]
sar eax, 1
add eax, edi
push 0x30
push 0x30
push eax
mov eax, dword [esp + 0x58]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
add eax, ebp
push eax
push ebx
call fcn.00437e60
jmp 0x439a23
mov eax, dword [esp + 0x44]
movzx ecx, word [esp + 0x14]
sub eax, ebp
mov dword [esp + 0x20], eax
imul eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ecx*4 + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x20]
test al, al
jne 0x439a00
mov eax, dword [esp + 0x48]
sub eax, edi
jmp 0x439a02
xor eax, eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
sub ecx, edi
push ecx
push edx
push edi
push ebp
push ebx
lea ecx, [esi + 0x1e8c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
call dword [edx + 0x54]
mov dx, word [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmp dx, word [ecx + 0x14]
jne 0x439a7f
cmp ax, word [esp + 0x14]
jne 0x439a7f
mov al, byte [ecx + 9]
test al, al
jne 0x439a7f
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x58]
cmp al, 3
jne 0x439a7f
movzx eax, word [esp + 0x14]
mov ecx, dword [esi + eax*8 + 0x5c]
mov edx, dword [esi + eax*8 + 0x58]
push ecx
push edx
push ebx
lea ecx, [esi + 0x22ac]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push esi
call dword [eax + 0x30]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.00437d20
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x439bbc
cmp dl, 1
jne 0x439bb1
cmp word [eax + 0x14], 0
jbe 0x439b92
mov dl, byte [esi + 0x31]
test dl, dl
jne 0x439b2c
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov ecx, dword [eax]
mov edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, eax
mov dword [esp + 0x24], eax
call dword [edx + 8]
mov ecx, dword [esp + 0x10]
movzx ebx, ax
movzx eax, word [ecx + 0x14]
movzx ecx, word [ecx + 0x16]
imul eax, ecx
movzx ecx, word [esp + 0x14]
add eax, ecx
cdq
idiv ebx
mov eax, dword [esp + 0x48]
sub eax, edi
sub eax, 0x30
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x24]
push edx
cdq
sub eax, edx
sar eax, 1
add eax, edi
push eax
mov eax, dword [esp + 0x4c]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
add eax, ebp
push eax
mov eax, dword [esp + 0x2c]
push ebx
call dword [eax + 0x24]
jmp 0x439b85
mov edx, dword [esp + 0x44]
movzx ecx, cx
sub edx, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
imul edx, ecx
movzx ecx, word [eax + 0x14]
movzx eax, word [eax + 0x16]
imul ecx, eax
add ecx, dword [esp + 0x18]
and ecx, 0x80000001
jns 0x439b5c
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x439b66
mov eax, dword [esp + 0x48]
sub eax, edi
jmp 0x439b68
xor eax, eax
mov ecx, dword [esp + 0x48]
push eax
push edx
mov edx, dword [esp + 0x28]
sub ecx, edi
push ecx
push edx
push edi
push ebp
push ebx
lea ecx, [esi + 0x1e8c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp word [eax + 0x14], 0
mov edx, 0x44f4b8
je 0x439b9e
mov edx, 0x44f4ac
push esi
push edx
push ecx
push ebx
mov ecx, eax
call fcn.00437d20
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp word [eax + 0x14], 0
jne 0x439c8e
cmp byte [esi + 0x31], 1
jne 0x439bf1
cmp word [eax + 6], cx
jne 0x439bf1
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push 0x7d7d7d
push 0x7d7d7d
sub eax, edi
push eax
sub ecx, ebp
push ecx
push edi
push ebp
mov ecx, ebx
call sub.MFC71U.DLL_COleControl::XViewObject::Draw
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dl, byte [esi + 0x31]
test dl, dl
jne 0x439c8e
cmp word [eax + 6], cx
je 0x439c10
movzx edx, cx
cmp dword [eax + edx*4 + 0x18], 0
je 0x439c8e
mov eax, dword [esp + 0x44]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
sub eax, edi
sub eax, 0x30
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
mov dword [esp + 0x24], eax
mov ax, word [edx + 6]
cmp ax, cx
mov byte [esp + 0x28], 0
jne 0x439c65
cmp byte [edx + 4], 0
jne 0x439c51
mov byte [esp + 0x28], 1
cmp ax, cx
jne 0x439c65
mov eax, dword [esp + 0x10]
cmp byte [eax + 4], 1
jne 0x439c65
mov byte [esp + 0x28], 2
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x28]
add ecx, edi
push ecx
mov ecx, dword [esp + 0x28]
add ecx, ebp
push ecx
push ebx
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
cmp cx, word [eax + 0x16]
mov dword [esp + 0x14], ecx
jb 0x4398b6
mov ebp, dword [esp + 0x10]
cmp byte [ebp + 8], 1
jne 0x439cbc
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
push edx
push eax
push ebx
lea ecx, [esi + 0x24bc]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
cmp byte [esi + 0x32], 1
jne 0x439dac
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 0x14]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [esi + 0x24]
xor edi, edi
inc ax
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
movzx edx, ax
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
inc edi
test ax, ax
ja 0x439ce3
mov eax, dword [esi + 0x20]
cdq
sub eax, edx
mov edx, dword [esi + 0x54]
sar eax, 1
sub edx, eax
mov eax, ecx
mov ecx, dword [esi + 0x50]
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
push ebx
lea ecx, [esi + 0x28dc]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0x54]
sar edx, 1
sub eax, edx
movzx ecx, di
mov dword [esp + 0x24], eax
mov eax, ebp
imul eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x50]
mov edi, eax
sar edi, 1
sub edi, ebp
add edi, edx
test ecx, ecx
jle 0x439da8
mov dword [esp + 0x20], ecx
jmp 0x439d60
movzx eax, word [esp + 0x28]
cdq
mov ecx, 0xa
idiv ecx
mov ecx, dword [esp + 0x24]
push 0
movzx edx, dx
imul edx, ebp
push edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
push eax
push ebp
push ecx
push edi
push ebx
lea ecx, [esi + 0x26cc]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
sub edi, ebp
dec eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
jne 0x439d60
mov ebp, dword [esp + 0x10]
cmp byte [esi + 0x30], 1
jne 0x439de2
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x18], 1
jne 0x439de2
cmp byte [esp + 0x1f], 1
jne 0x439de2
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0x7d7d7d
push 0x7d7d7d
push ecx
push edx
push 0
push 0
mov ecx, ebx
call sub.MFC71U.DLL_COleControl::XViewObject::Draw
mov al, byte [esp + 0x1e]
test al, al
je 0x439df1
cmp word [ebp + 0x14], 0
jne 0x439e2a
mov ecx, dword [ebp + 0x1a8]
test ecx, ecx
jle 0x439e2a
cmp byte [esi + 0x34], 1
jne 0x439e2a
mov eax, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
push 6
push eax
mov eax, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
sub eax, 5
push eax
push ecx
add esi, 0x209c
push esi
push ebx
mov ecx, ebp
call fcn.00437490
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0043eeed
add esp, 0x88
ret 0xc