Function at 0x42ecf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ebx, ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 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 + 0x24], eax
call dword [sym.imp.PlatformData.dll_public:_struct_tagGlobalUserData____thiscall_CGlobalUserInfo::GetGlobalUserData_void_]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
shr eax, 6
and al, 1
mov byte [esp + 0x5c], al
cmp byte [esi + 0x1f], 1
mov byte [esp + 0x13], 0
jne 0x42edc7
lea edi, [esi + 0x17e4]
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x42edc7
mov ebp, dword [esp + 0x4c]
test ebp, ebp
jne 0x42ed71
xor eax, eax
jmp 0x42ed74
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push 0xcc0020
push ecx
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0xc]
push ecx
push edx
push 0
push 0
push eax
lea ecx, [esi + 0x1394]
call fcn.004059a0
mov dl, byte [ebx + 9]
mov ecx, dword [esi + 0x10]
xor eax, eax
cmp dl, 1
mov edx, dword [esp + 0x30]
setne al
push 0
dec eax
and eax, edx
mov edx, dword [esi + 0xc]
push eax
push ecx
push edx
push 0
push 0
push ebp
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
jmp 0x42edcb
mov ebp, dword [esp + 0x4c]
cmp byte [esi + 0x1d], 1
jne 0x42ee43
lea ecx, [esi + 0x15d4]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x42ee43
mov al, byte [ebx + 9]
xor edx, edx
cmp al, 1
jne 0x42edef
mov edx, 1
mov cx, word [ebx + 6]
cmp cx, 0x64
jne 0x42ee1e
test al, al
jne 0x42ee08
cmp byte [ebx + 4], 1
jne 0x42ee08
mov edx, 2
cmp cx, 0x64
jne 0x42ee1e
test al, al
jne 0x42ee1e
mov al, byte [ebx + 4]
test al, al
jne 0x42ee1e
mov edx, 3
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edi, eax
imul edi, edx
push 0
push edi
push ecx
mov ecx, dword [esi + 0x38]
push eax
mov eax, dword [esi + 0x3c]
push eax
push ecx
push ebp
lea ecx, [esi + 0x15d4]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov ax, word [ebx + 0x16]
cmp ax, 0x64
jae 0x42f263
xor edx, edx
test ax, ax
mov dword [esp + 0x58], edx
jbe 0x42f263
movzx ebx, dx
mov edx, ebx
shl edx, 4
lea eax, [edx + esi + 0x9a8]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov al, byte [esp + 0x5c]
cmp al, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jne 0x42eeb5
cmp byte [esi + 0x1e], al
jne 0x42eef4
mov ecx, dword [esp + 0x14]
cmp word [ecx + 0x14], 0
jne 0x42eef8
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, ebx
imul ecx, eax
push 0
push ecx
push edx
push eax
mov eax, dword [esp + 0x5c]
push ebp
push edi
push eax
jmp 0x42eee4
test al, al
jne 0x42eef4
cmp byte [esi + 0x1e], 1
jne 0x42eef4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + ebx*4 + 0x18]
test edx, edx
jne 0x42eef4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, ebx
imul edx, eax
push 0
push edx
mov edx, dword [esp + 0x54]
push ecx
push eax
push ebp
push edi
push edx
lea ecx, [esi + 0x13c4]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov al, byte [esp + 0x5c]
mov ecx, dword [esp + 0x14]
cmp byte [esi + 0x1c], 1
jne 0x42f248
test al, al
jne 0x42f06f
mov eax, dword [ecx + ebx*4 + 0x18]
test eax, eax
mov dword [esp + 0x54], eax
je 0x42f17c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + ebx*4 + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx]
jne 0x42ef3b
mov byte [esp + 0x13], 1
mov al, byte [esi + 0x21]
test al, al
jne 0x42ef7e
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
sub eax, ebp
sub eax, 0x30
push esi
push edx
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x1c]
add eax, ebp
push 0x30
push 0x30
push eax
mov eax, dword [esp + 0x54]
sub eax, edi
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
add eax, edi
push eax
mov eax, dword [esp + 0x64]
push eax
call fcn.0042d330
jmp 0x42efed
mov eax, dword [esp + 0x40]
sub eax, edi
mov dword [esp + 0x20], eax
imul eax, ebx
lea ecx, [esi + 0x1c2c]
mov dword [esp + 0x1c], eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
mov ecx, dword [esp + 0x1c]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x14]
setge dl
dec edx
and edx, ecx
mov ecx, dword [eax + ebx*4 + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
call dword [edx + 0x20]
test al, al
jne 0x42efc6
mov eax, dword [esp + 0x44]
sub eax, ebp
jmp 0x42efc8
xor eax, eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x54]
sub ecx, ebp
push ecx
push edx
push ebp
push edi
push eax
lea ecx, [esi + 0x1c2c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
call dword [edx + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
call dword [eax + 0x54]
mov dx, word [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp dx, word [ecx + 0x14]
jne 0x42f048
cmp ax, word [esp + 0x58]
jne 0x42f048
mov al, byte [ecx + 9]
test al, al
jne 0x42f048
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x58]
cmp al, 3
jne 0x42f048
mov ecx, dword [esi + ebx*8 + 0x4c]
mov edx, dword [esi + ebx*8 + 0x48]
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
lea ecx, [esi + 0x1e3c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
push esi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x60]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0042d1f0
mov ecx, dword [esp + 0x14]
jmp 0x42f17c
cmp al, 1
jne 0x42f171
cmp word [ecx + 0x14], 0
jbe 0x42f150
mov al, byte [esi + 0x21]
test al, al
jne 0x42f0f1
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov ebx, dword [eax]
mov edx, ebx
mov ecx, eax
mov dword [esp + 0x20], eax
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x54], eax
movzx eax, word [ecx + 0x14]
movzx ecx, word [ecx + 0x16]
imul eax, ecx
movzx ecx, word [esp + 0x58]
add eax, ecx
mov ecx, dword [esp + 0x54]
cdq
idiv ecx
mov eax, dword [esp + 0x44]
sub eax, ebp
sub eax, 0x30
mov ecx, dword [esp + 0x20]
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ebp
push eax
mov eax, dword [esp + 0x48]
sub eax, edi
sub eax, 0x30
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add eax, edi
push eax
push edx
call dword [ebx + 0x24]
jmp 0x42f147
mov eax, dword [esp + 0x40]
sub eax, edi
mov edx, eax
imul edx, ebx
mov dword [esp + 0x54], edx
movzx edx, word [ecx + 0x14]
movzx ecx, word [ecx + 0x16]
imul edx, ecx
add edx, ebx
and edx, 0x80000001
jns 0x42f11a
dec edx
or edx, 0xfffffffe
inc edx
jne 0x42f124
mov ecx, dword [esp + 0x44]
sub ecx, ebp
jmp 0x42f126
xor ecx, ecx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x54]
sub ecx, ebp
push ecx
push eax
push ebp
push edi
push edx
lea ecx, [esi + 0x1c2c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov ecx, dword [esp + 0x14]
cmp word [ecx + 0x14], 0
mov eax, 0x440888
je 0x42f15c
mov eax, 0x44087c
mov edx, dword [esp + 0x4c]
push esi
push eax
mov eax, dword [esp + 0x60]
push eax
push edx
call fcn.0042d1f0
mov ecx, dword [esp + 0x14]
cmp word [ecx + 0x14], 0
jne 0x42f248
cmp byte [esi + 0x21], 1
jne 0x42f1b4
mov ax, word [esp + 0x58]
cmp word [ecx + 6], ax
jne 0x42f1b4
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0x7d7d7d
push 0x7d7d7d
sub ecx, ebp
push ecx
mov ecx, dword [esp + 0x58]
sub edx, edi
push edx
push ebp
push edi
call sub.MFC71U.DLL_COleControl::XViewObject::Draw
mov ecx, dword [esp + 0x14]
mov al, byte [esi + 0x21]
test al, al
jne 0x42f248
mov eax, dword [esp + 0x58]
cmp word [ecx + 6], ax
je 0x42f1d4
movzx eax, ax
mov edx, dword [ecx + eax*4 + 0x18]
test edx, edx
je 0x42f248
mov eax, dword [esp + 0x40]
sub eax, edi
sub eax, 0x30
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x44]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
sar eax, 1
mov dword [esp + 0x54], eax
mov ax, word [ecx + 6]
sar ebx, 1
cmp ax, dx
mov byte [esp + 0x50], 0
jne 0x42f223
cmp byte [ecx + 4], 0
jne 0x42f213
mov byte [esp + 0x50], 1
cmp ax, dx
jne 0x42f223
cmp byte [ecx + 4], 1
jne 0x42f223
mov byte [esp + 0x50], 2
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov ecx, dword [esp + 0x50]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x58]
add ecx, ebp
push ecx
mov ecx, dword [esp + 0x54]
add ebx, edi
push ebx
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
inc edx
cmp dx, word [ecx + 0x16]
mov dword [esp + 0x58], edx
jb 0x42ee60
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x4c]
cmp byte [ebx + 8], 1
jne 0x42f27e
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
push edx
push eax
push ebp
lea ecx, [esi + 0x204c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
cmp byte [esi + 0x20], 1
jne 0x42f2b4
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x18], 1
jne 0x42f2b4
cmp byte [esp + 0x13], 1
jne 0x42f2b4
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0x7d7d7d
push 0x7d7d7d
push edx
push eax
push 0
push 0
mov ecx, ebp
call sub.MFC71U.DLL_COleControl::XViewObject::Draw
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x14