Function at 0x447630
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x8c
mov eax, dword [0x471388]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa4]
mov ebp, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 8]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
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 + 0x54], eax
call dword [sym.imp.PlatformData.dll_public:_struct_tagGlobalUserData____thiscall_CGlobalUserInfo::GetGlobalUserData_void_]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x50], eax
xor eax, eax
mov word [esp + 0x58], 0
mov ecx, 0xf
lea edi, [esp + 0x5a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
push ecx
push 0x453778
shr ebx, 6
lea edx, [esp + 0x60]
push 0x20
and bl, 1
push edx
mov byte [esp + 0x37], 0
mov byte [esp + 0x2b], bl
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
test bl, bl
je 0x447702
mov eax, dword [esp + 0x10]
cmp word [eax + 0x18], 0
je 0x447702
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0xa0]
mov ecx, dword [ebx + 4]
push 0xcc0020
push 0
push ebp
push edi
push ebp
push 0
push 0
push ecx
jmp 0x447736
mov edx, dword [esp + 0x10]
cmp byte [edx + 0xd], 1
jne 0x447717
cmp word [esi + 0x36], 1
jbe 0x447717
mov eax, ebp
jmp 0x447719
xor eax, eax
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0xa0]
push 0xcc0020
push 0
push eax
mov eax, dword [ebx + 4]
push edi
push ebp
push 0
push 0
push eax
lea ecx, [esi + 0x17f0]
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 0x4477e9
lea ecx, [esi + 0x13a8]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x4477e9
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0xd]
cmp al, 1
mov dword [esp + 0x1c], 0
jne 0x44777b
mov dword [esp + 0x1c], 1
mov cx, word [edx + 6]
cmp cx, 0x64
jne 0x4477b0
test al, al
jne 0x447797
cmp byte [edx + 4], 1
jne 0x447797
mov dword [esp + 0x1c], 2
cmp cx, 0x64
jne 0x4477b0
test al, al
jne 0x4477b0
mov al, byte [edx + 4]
test al, al
jne 0x4477b0
mov dword [esp + 0x1c], 3
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, eax
imul edx, dword [esp + 0x1c]
push 0
push edx
push ecx
push eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esi + 0x58]
sar eax, 1
add eax, edx
push eax
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esi + 0x54]
sar eax, 1
add eax, edx
push eax
push ebx
lea ecx, [esi + 0x13a8]
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 ax, word [eax + 0x1a]
cmp ax, 0x64
jae 0x447bf5
test ax, ax
mov dword [esp + 0x14], 0
jbe 0x447bf5
mov ecx, dword [esp + 0x14]
movzx eax, cx
shl eax, 4
lea edx, [eax + esi + 0x9c4]
mov ebp, dword [edx]
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x1b]
cmp al, 1
mov dword [esp + 0x4c], edx
jne 0x447849
cmp byte [esi + 0x2e], 1
jne 0x447893
mov eax, dword [esp + 0x10]
cmp word [eax + 0x18], 0
jmp 0x44785f
test al, al
jne 0x447893
cmp byte [esi + 0x2e], 1
jne 0x447893
mov edx, dword [esp + 0x10]
movzx eax, cx
cmp dword [edx + eax*4 + 0x1c], 0
jne 0x447893
movzx eax, word [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x30]
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 + 0x15b8]
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]
cmp byte [esi + 0x2c], 1
jne 0x447be2
mov al, byte [esp + 0x1b]
test al, al
jne 0x4479f8
mov edx, dword [esp + 0x10]
movzx eax, cx
mov eax, dword [edx + eax*4 + 0x1c]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x447b19
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x10]
movzx eax, word [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + eax*4 + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x50]
cmp eax, dword [ecx]
jne 0x4478e6
mov byte [esp + 0x27], 1
mov al, byte [esi + 0x31]
test al, al
jne 0x447925
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
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 + 0x5c]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
add eax, ebp
push eax
push ebx
call fcn.004447a0
jmp 0x447977
mov eax, dword [esp + 0x48]
movzx ecx, word [esp + 0x14]
sub eax, ebp
mov dword [esp + 0x20], eax
imul eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ecx*4 + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x20]
test al, al
jne 0x447954
mov eax, dword [esp + 0x4c]
sub eax, edi
jmp 0x447956
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push eax
sub ecx, edi
push ecx
push edx
push edi
push ebp
push ebx
lea ecx, [esi + 0x20a8]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
call dword [edx + 0x54]
mov cx, word [esp + 0x20]
mov edx, dword [esp + 0x10]
cmp cx, word [edx + 0x18]
jne 0x4479d5
cmp ax, word [esp + 0x14]
jne 0x4479d5
mov eax, edx
mov cl, byte [eax + 0xd]
test cl, cl
jne 0x4479d5
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x58]
cmp al, 3
jne 0x4479d5
movzx eax, word [esp + 0x14]
mov ecx, dword [esi + eax*8 + 0x68]
mov edx, dword [esi + eax*8 + 0x64]
push ecx
push edx
push ebx
lea ecx, [esi + 0x24c8]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
mov ecx, dword [esp + 0x1c]
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.00444660
mov ecx, dword [esp + 0x14]
jmp 0x447b19
cmp al, 1
jne 0x447b0a
mov edx, dword [esp + 0x10]
cmp word [edx + 0x18], 0
jbe 0x447ae0
mov al, byte [esi + 0x31]
test al, al
jne 0x447a81
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov ecx, dword [eax]
mov edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, eax
mov dword [esp + 0x20], eax
call dword [edx + 8]
mov ecx, dword [esp + 0x10]
movzx ebx, ax
movzx eax, word [ecx + 0x1a]
movzx ecx, word [ecx + 0x18]
imul eax, ecx
movzx ecx, word [esp + 0x14]
add eax, ecx
cdq
idiv ebx
mov eax, dword [esp + 0x4c]
sub eax, edi
sub eax, 0x30
mov ebx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x20]
push edx
cdq
sub eax, edx
sar eax, 1
add eax, edi
push eax
mov eax, dword [esp + 0x50]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
add eax, ebp
push eax
mov eax, dword [esp + 0x34]
push ebx
call dword [eax + 0x24]
jmp 0x447ae0
mov eax, dword [esp + 0x48]
movzx ecx, cx
sub eax, ebp
mov edx, eax
imul edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
movzx edx, word [ecx + 0x18]
movzx ecx, word [ecx + 0x1a]
imul edx, ecx
add edx, dword [esp + 0x20]
and edx, 0x80000001
jns 0x447ab7
dec edx
or edx, 0xfffffffe
inc edx
jne 0x447ac1
mov ecx, dword [esp + 0x4c]
sub ecx, edi
jmp 0x447ac3
xor ecx, ecx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x50]
push edx
sub ecx, edi
push ecx
push eax
push edi
push ebp
push ebx
lea ecx, [esi + 0x20a8]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov edx, dword [esp + 0x10]
cmp word [edx + 0x18], 0
mov eax, 0x461ad8
je 0x447af5
mov eax, 0x461acc
mov ecx, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
call fcn.00444660
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
cmp word [edx + 0x18], 0
jne 0x447be2
cmp byte [esi + 0x31], 1
jne 0x447b4e
mov eax, dword [esp + 0x10]
cmp word [eax + 6], cx
jne 0x447b4e
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0x7d7d7d
push 0x7d7d7d
sub ecx, edi
push ecx
sub edx, ebp
push edx
push edi
push ebp
mov ecx, ebx
call sub.MFC71U.DLL_COleControl::XViewObject::Draw
mov ecx, dword [esp + 0x14]
mov al, byte [esi + 0x31]
test al, al
jne 0x447be2
mov edx, dword [esp + 0x10]
cmp word [edx + 6], cx
je 0x447b6d
movzx eax, cx
cmp dword [edx + eax*4 + 0x1c], 0
je 0x447be2
mov eax, dword [esp + 0x48]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
sub eax, edi
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
cmp word [eax + 6], cx
mov byte [esp + 0x2c], 0
jne 0x447bac
mov dl, byte [eax + 4]
test dl, dl
jne 0x447bac
mov byte [esp + 0x2c], 1
cmp word [eax + 6], cx
jne 0x447bbd
cmp byte [eax + 4], 1
jne 0x447bbd
mov byte [esp + 0x2c], 2
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x24]
add ecx, edi
push ecx
mov ecx, dword [esp + 0x30]
add ecx, ebp
push ecx
push ebx
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc ecx
cmp cx, word [edx + 0x1a]
mov dword [esp + 0x14], ecx
jb 0x447810
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xc], 1
jne 0x447c14
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
push ecx
push edx
push ebx
lea ecx, [esi + 0x26d8]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
cmp byte [esi + 0x32], 1
jne 0x447cfc
mov eax, dword [esi + 0x28]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [esi + 0x24]
mov dword [esp + 0x34], eax
xor eax, eax
mov ax, word [edx + 0x18]
xor edi, edi
inc ax
mov dword [esp + 0x2c], eax
lea ecx, [ecx]
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 0x447c40
mov eax, dword [esi + 0x20]
cdq
sub eax, edx
mov edx, dword [esi + 0x60]
sar eax, 1
sub edx, eax
mov eax, ecx
mov ecx, dword [esi + 0x5c]
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
push ebx
lea ecx, [esi + 0x2af8]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
mov eax, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0x60]
sar edx, 1
sub eax, edx
movzx ecx, di
mov dword [esp + 0x20], eax
mov eax, ebp
imul eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x5c]
mov edi, eax
sar edi, 1
sub edi, ebp
add edi, edx
test ecx, ecx
jle 0x447cfc
mov dword [esp + 0x1c], ecx
movzx eax, word [esp + 0x2c]
cdq
mov ecx, 0xa
idiv ecx
mov ecx, dword [esp + 0x20]
push 0
movzx edx, dx
imul edx, ebp
push edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
push eax
push ebp
push ecx
push edi
push ebx
lea ecx, [esi + 0x28e8]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
sub edi, ebp
dec eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
jne 0x447cb4
cmp byte [esi + 0x30], 1
jne 0x447d32
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x18], 1
jne 0x447d32
cmp byte [esp + 0x27], 1
jne 0x447d32
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
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 + 0x1b]
test al, al
mov ecx, dword [esp + 0x10]
je 0x447d45
cmp word [ecx + 0x18], 0
jne 0x447d79
mov edi, dword [ecx + 8]
test edi, edi
jle 0x447d79
cmp byte [esi + 0x34], 1
jne 0x447d79
mov eax, dword [esp + 0x3c]
cdq
sub eax, edx
sar eax, 1
push 6
push eax
mov eax, dword [esp + 0x40]
cdq
sub eax, edx
sar eax, 1
sub eax, 5
push eax
push edi
add esi, 0x22b8
push esi
push ebx
call fcn.004436c0
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0044c64f
add esp, 0x8c
ret 0xc