Function at 0x435300
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
mov ebp, ecx
mov ecx, dword [esi + 8]
push edi
mov edi, dword [esi + 0xc]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
call dword [sym.imp.PlatformData.dll_public:_static_class_CGlobalUserInfo____cdecl_CGlobalUserInfo::GetInstance_void_]
mov ebx, eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ecx, ebx
mov dword [esp + 0x34], eax
call dword [sym.imp.PlatformData.dll_public:_struct_tagGlobalUserData____thiscall_CGlobalUserInfo::GetGlobalUserData_void_]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
shr eax, 6
and al, 1
mov byte [esp + 0x13], 0
mov byte [esp + 0x64], al
je 0x435382
cmp word [ebp + 0x14], 0
je 0x435382
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
push 0xcc0020
push 0
push edi
push eax
push edi
push 0
push 0
push edx
jmp 0x4353aa
mov bl, byte [ebp + 9]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
xor eax, eax
cmp bl, 1
setne al
push 0xcc0020
push 0
dec eax
and eax, edi
push eax
mov eax, dword [edx + 4]
push ecx
push edi
push 0
push 0
push eax
lea ecx, [esi + 0x13c4]
call fcn.004083c0
xor eax, eax
cmp word [ebp + 0x16], ax
mov dword [esp + 0x60], eax
jbe 0x4358ad
movzx ebx, ax
mov ecx, ebx
shl ecx, 4
lea edx, [ecx + esi + 0x9a8]
mov ebp, dword [edx]
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x50], eax
cmp byte [esi + 0x1d], 1
mov dword [esp + 0x54], ecx
jne 0x43547c
lea ecx, [esi + 0x138c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x43547c
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 9]
cmp al, 1
mov dword [esp + 0x18], 0
jne 0x43541c
mov dword [esp + 0x18], 1
mov dx, word [ecx + 6]
cmp dx, 0x64
jne 0x435451
test al, al
jne 0x435438
cmp byte [ecx + 4], 1
jne 0x435438
mov dword [esp + 0x18], 2
cmp dx, 0x64
jne 0x435451
test al, al
jne 0x435451
mov al, byte [ecx + 4]
test al, al
jne 0x435451
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
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esi + 0x38]
push eax
mov eax, dword [esi + 0x3c]
push eax
push ecx
push edx
lea ecx, [esi + 0x138c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov al, byte [esp + 0x64]
cmp al, 1
jne 0x435494
cmp byte [esi + 0x1e], al
jne 0x4354da
mov ecx, dword [esp + 0x14]
cmp word [ecx + 0x14], 0
jmp 0x4354a8
test al, al
jne 0x4354da
cmp byte [esi + 0x1e], 1
jne 0x4354da
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + ebx*4 + 0x18]
test edx, edx
jne 0x4354da
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, ebx
imul edx, eax
push 0xcc0020
push 0
push edx
mov edx, dword [esp + 0x68]
push ecx
push eax
mov eax, dword [edx + 4]
push edi
push ebp
lea ecx, [esi + 0x1394]
push eax
call fcn.004083c0
mov al, byte [esp + 0x64]
cmp byte [esi + 0x1c], 1
jne 0x435890
test al, al
jne 0x4356a3
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + ebx*4 + 0x18]
test ebx, ebx
mov dword [esp + 0x30], ebx
je 0x4357b9
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x60]
mov ecx, dword [ecx + eax*4 + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
jne 0x43552a
mov byte [esp + 0x13], 1
mov al, byte [esi + 0x21]
test al, al
mov eax, dword [esp + 0x50]
jne 0x4355d6
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
sub eax, edi
sub eax, 0x30
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
mov dword [esp + 0x20], eax
cmp dword [edx], 0
je 0x43559a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
test eax, eax
je 0x43559a
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
add ecx, 4
push ecx
mov ecx, dword [esp + 0x24]
add ecx, edi
push ecx
mov ecx, dword [esp + 0x2c]
add ecx, ebp
push ecx
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, eax
call dword [edx + 0x20]
jmp 0x435628
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov edx, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov ecx, ebx
mov dword [esp + 0x2c], eax
call dword [edx + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
add ecx, ebp
push eax
mov eax, dword [esp + 0x24]
add eax, edi
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call dword [eax + 0x24]
mov ebx, dword [esp + 0x30]
jmp 0x435628
movzx ecx, word [esp + 0x60]
sub eax, ebp
mov dword [esp + 0x2c], eax
imul eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + ecx*4 + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x20]
test al, al
jne 0x435601
mov eax, dword [esp + 0x54]
sub eax, edi
jmp 0x435603
xor eax, eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x64]
sub ecx, edi
push ecx
push edx
push edi
push ebp
push eax
lea ecx, [esi + 0x1424]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x50]
mov ecx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
call dword [eax + 0x54]
mov dx, word [esp + 0x30]
mov ecx, dword [esp + 0x14]
cmp dx, word [ecx + 0x14]
jne 0x435682
cmp ax, word [esp + 0x60]
jne 0x435682
mov al, byte [ecx + 9]
test al, al
jne 0x435682
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x58]
cmp al, 3
jne 0x435682
movzx eax, word [esp + 0x60]
mov ecx, dword [esi + eax*8 + 0x4c]
mov edx, dword [esi + eax*8 + 0x48]
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
lea ecx, [esi + 0x142c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x30]
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x68]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00434280
jmp 0x4357b9
cmp al, 1
jne 0x4357aa
mov edx, dword [esp + 0x14]
mov dx, word [edx + 0x14]
test dx, dx
jbe 0x435784
mov al, byte [esi + 0x21]
test al, al
jne 0x43572b
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 + 0x2c], eax
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x30], eax
movzx eax, word [ecx + 0x16]
movzx ecx, word [ecx + 0x14]
imul eax, ecx
movzx ecx, word [esp + 0x60]
add eax, ecx
mov ecx, dword [esp + 0x30]
cdq
idiv ecx
mov eax, dword [esp + 0x54]
sub eax, edi
sub eax, 0x30
mov ecx, dword [esp + 0x2c]
push edx
cdq
sub eax, edx
sar eax, 1
add eax, edi
push eax
mov eax, dword [esp + 0x58]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
add eax, ebp
push eax
push edx
call dword [ebx + 0x24]
jmp 0x435784
mov eax, dword [esp + 0x50]
sub eax, ebp
mov ecx, eax
imul ecx, ebx
mov dword [esp + 0x30], ecx
movzx ecx, dx
mov edx, dword [esp + 0x14]
movzx edx, word [edx + 0x16]
imul ecx, edx
add ecx, ebx
and ecx, 0x80000001
jns 0x435757
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x435761
mov ecx, dword [esp + 0x54]
sub ecx, edi
jmp 0x435763
xor ecx, ecx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
sub edx, edi
push edx
push eax
mov eax, dword [esp + 0x6c]
push edi
push ebp
push eax
lea ecx, [esi + 0x1424]
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, 0x44bd28
je 0x435799
mov eax, 0x44bd1c
mov edx, dword [esp + 0x60]
push esi
push eax
mov eax, dword [esp + 0x64]
push edx
push eax
call fcn.00434280
mov ecx, dword [esp + 0x14]
cmp word [ecx + 0x14], 0
jne 0x435890
cmp byte [esi + 0x21], 1
jne 0x4357f1
mov dx, word [esp + 0x60]
mov eax, dword [esp + 0x14]
cmp word [eax + 6], dx
jne 0x4357f1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push 0x7d7d7d
push 0x7d7d7d
sub ecx, edi
push ecx
mov ecx, dword [esp + 0x68]
sub edx, ebp
push edx
push edi
push ebp
call sub.MFC71U.DLL_COleControl::XViewObject::Draw
mov al, byte [esi + 0x21]
test al, al
jne 0x435890
mov eax, dword [esp + 0x14]
mov cx, word [eax + 6]
mov eax, dword [esp + 0x60]
cmp cx, ax
je 0x43581c
mov edx, dword [esp + 0x14]
movzx eax, ax
mov ebx, dword [edx + eax*4 + 0x18]
test ebx, ebx
je 0x435890
mov eax, dword [esp + 0x50]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x54]
sub eax, edi
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
sar ebx, 1
cmp cx, ax
mov byte [esp + 0x1c], 0
jne 0x43586f
mov edx, dword [esp + 0x14]
cmp byte [edx + 4], 0
jne 0x43585b
mov byte [esp + 0x1c], 1
cmp cx, ax
jne 0x43586f
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 1
jne 0x43586f
mov byte [esp + 0x1c], 2
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x34]
add ecx, edi
push ecx
mov ecx, dword [esp + 0x64]
add ebx, ebp
push ebx
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x14]
inc eax
cmp ax, word [edx + 0x16]
mov dword [esp + 0x60], eax
jb 0x4353c5
mov edi, dword [esp + 0x38]
mov ebp, edx
cmp byte [ebp + 8], 1
jne 0x4358cc
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
lea ecx, [esi + 0x1434]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
cmp byte [esi + 0x22], 1
jne 0x4359fc
mov edi, dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
lea ebp, [esi + 0x1444]
mov ecx, ebp
call edi
mov ecx, ebp
mov dword [esp + 0x30], eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
lea ebx, [esi + 0x143c]
mov ecx, ebx
mov dword [esp + 0x40], eax
call edi
mov ecx, ebx
mov dword [esp + 0x64], eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
mov ecx, eax
mov eax, 0x66666667
imul ecx
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x14]
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
xor ecx, ecx
inc ax
mov dword [esp + 0x60], eax
nop
movzx edx, ax
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
inc ecx
test ax, ax
ja 0x435930
mov eax, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x40]
cdq
sub eax, edx
mov edx, dword [esi + 0x40]
sar eax, 1
push ecx
sub edx, eax
mov eax, dword [esp + 0x60]
push edx
push eax
mov ecx, ebp
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
mov eax, dword [esp + 0x64]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x44]
sar ecx, 1
sub eax, ecx
movzx ecx, word [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, edi
imul eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x40]
mov ebp, eax
sar ebp, 1
sub ebp, edi
add ebp, edx
test ecx, ecx
jle 0x4359f8
mov dword [esp + 0x24], ecx
lea ecx, [ecx]
movzx eax, word [esp + 0x60]
cdq
mov ecx, 0xa
idiv ecx
mov ecx, dword [esp + 0x30]
push 0
movzx edx, dx
imul edx, edi
push edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x6c]
push eax
push edi
push ecx
push ebp
push edx
mov ecx, ebx
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
sub ebp, edi
dec eax
mov dword [esp + 0x24], eax
jne 0x4359b0
mov edi, dword [esp + 0x38]
cmp byte [esi + 0x20], 1
jne 0x435a30
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x18], 1
jne 0x435a30
cmp byte [esp + 0x13], 1
jne 0x435a30
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5c]
push 0x7d7d7d
push 0x7d7d7d
push edx
push edi
push 0
push 0
call sub.MFC71U.DLL_COleControl::XViewObject::Draw
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc