Function at 0x448970
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x90
mov eax, dword [0x474388]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x98]
push ebp
push esi
mov esi, dword [esp + 0xa8]
mov ebp, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x98], eax
mov eax, dword [esi + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 8]
push edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 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 dword [esp + 0x58], eax
mov eax, dword [esp + 0xa8]
shr eax, 6
and al, 1
mov byte [esp + 0x17], al
xor eax, eax
mov word [esp + 0x5c], 0
mov ecx, 0xf
lea edi, [esp + 0x5e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
push ecx
push 0x4557b8
lea edx, [esp + 0x64]
push 0x20
push edx
mov byte [esp + 0x33], 0
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov al, byte [esp + 0x27]
add esp, 0x10
test al, al
je 0x448a4b
mov eax, dword [esp + 0x10]
cmp word [eax + 0x18], 0
je 0x448a4b
mov edi, dword [esp + 0x4c]
mov ecx, dword [ebx + 4]
push 0xcc0020
push 0
push ebp
push edi
push ebp
push 0
push 0
push ecx
jmp 0x448a78
mov edx, dword [esp + 0x10]
cmp byte [edx + 0xd], 1
jne 0x448a60
cmp word [esi + 0x36], 1
jbe 0x448a60
mov eax, ebp
jmp 0x448a62
xor eax, eax
mov edi, dword [esp + 0x4c]
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 0x448b2b
lea ecx, [esi + 0x13a8]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x448b2b
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0xd]
cmp al, 1
mov dword [esp + 0x1c], 0
jne 0x448abd
mov dword [esp + 0x1c], 1
mov cx, word [edx + 6]
cmp cx, 0x64
jne 0x448af2
test al, al
jne 0x448ad9
cmp byte [edx + 4], 1
jne 0x448ad9
mov dword [esp + 0x1c], 2
cmp cx, 0x64
jne 0x448af2
test al, al
jne 0x448af2
mov al, byte [edx + 4]
test al, al
jne 0x448af2
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 0x448f34
test ax, ax
mov dword [esp + 0x18], 0
jbe 0x448f34
mov ecx, dword [esp + 0x18]
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 + 0x40], eax
mov al, byte [esp + 0x17]
cmp al, 1
mov dword [esp + 0x44], edx
jne 0x448b8b
cmp byte [esi + 0x2e], 1
jne 0x448bd5
mov eax, dword [esp + 0x10]
cmp word [eax + 0x18], 0
jmp 0x448ba1
test al, al
jne 0x448bd5
cmp byte [esi + 0x2e], 1
jne 0x448bd5
mov edx, dword [esp + 0x10]
movzx eax, cx
cmp dword [edx + eax*4 + 0x1c], 0
jne 0x448bd5
movzx eax, word [esp + 0x18]
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 + 0x18]
cmp byte [esi + 0x2c], 1
jne 0x448f21
mov al, byte [esp + 0x17]
test al, al
jne 0x448d3a
mov edx, dword [esp + 0x10]
movzx eax, cx
mov eax, dword [edx + eax*4 + 0x1c]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x448e58
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x10]
movzx eax, word [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + eax*4 + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x58]
cmp eax, dword [ecx]
jne 0x448c28
mov byte [esp + 0x23], 1
mov al, byte [esi + 0x31]
test al, al
jne 0x448c67
mov eax, dword [esp + 0x44]
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 + 0x54]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
add eax, ebp
push eax
push ebx
call fcn.00445ad0
jmp 0x448cb9
mov eax, dword [esp + 0x40]
movzx ecx, word [esp + 0x18]
sub eax, ebp
mov dword [esp + 0x24], 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 0x448c96
mov eax, dword [esp + 0x44]
sub eax, edi
jmp 0x448c98
xor eax, eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
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 + 0x24], eax
call dword [edx + 0x54]
mov cx, word [esp + 0x24]
mov edx, dword [esp + 0x10]
cmp cx, word [edx + 0x18]
jne 0x448d17
cmp ax, word [esp + 0x18]
jne 0x448d17
mov eax, edx
mov cl, byte [eax + 0xd]
test cl, cl
jne 0x448d17
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x58]
cmp al, 3
jne 0x448d17
movzx eax, word [esp + 0x18]
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 + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.00445990
mov ecx, dword [esp + 0x18]
jmp 0x448e58
cmp al, 1
jne 0x448e49
mov edx, dword [esp + 0x10]
cmp word [edx + 0x18], 0
jbe 0x448e1f
mov al, byte [esi + 0x31]
test al, al
jne 0x448dc0
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 + 0x24], 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 + 0x18]
add eax, ecx
cdq
idiv ebx
mov eax, dword [esp + 0x44]
sub eax, edi
sub eax, 0x30
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
push edx
cdq
sub eax, edx
sar eax, 1
add eax, edi
push eax
mov eax, dword [esp + 0x48]
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 0x448e1f
mov eax, dword [esp + 0x40]
movzx ecx, cx
sub eax, ebp
mov edx, eax
imul edx, ecx
mov dword [esp + 0x24], 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 + 0x24]
and edx, 0x80000001
jns 0x448df6
dec edx
or edx, 0xfffffffe
inc edx
jne 0x448e00
mov ecx, dword [esp + 0x44]
sub ecx, edi
jmp 0x448e02
xor ecx, ecx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x48]
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, 0x463c30
je 0x448e34
mov eax, 0x463c24
mov ecx, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x20]
push eax
push ebx
call fcn.00445990
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp word [edx + 0x18], 0
jne 0x448f21
cmp byte [esi + 0x31], 1
jne 0x448e8d
mov eax, dword [esp + 0x10]
cmp word [eax + 6], cx
jne 0x448e8d
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
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 + 0x18]
mov al, byte [esi + 0x31]
test al, al
jne 0x448f21
mov edx, dword [esp + 0x10]
cmp word [edx + 6], cx
je 0x448eac
movzx eax, cx
cmp dword [edx + eax*4 + 0x1c], 0
je 0x448f21
mov eax, dword [esp + 0x40]
sub eax, ebp
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
sub eax, edi
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
cmp word [eax + 6], cx
mov byte [esp + 0x2c], 0
jne 0x448eeb
mov dl, byte [eax + 4]
test dl, dl
jne 0x448eeb
mov byte [esp + 0x2c], 1
cmp word [eax + 6], cx
jne 0x448efc
cmp byte [eax + 4], 1
jne 0x448efc
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 + 0x28]
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 + 0x18]
mov edx, dword [esp + 0x10]
inc ecx
cmp cx, word [edx + 0x1a]
mov dword [esp + 0x18], ecx
jb 0x448b52
mov eax, dword [esp + 0x10]
cmp byte [eax + 0xc], 1
jne 0x448f53
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 0x44903c
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 esp, [esp]
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 0x448f80
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 + 0x50], 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 0x44903c
mov dword [esp + 0x1c], ecx
movzx eax, word [esp + 0x2c]
cdq
mov ecx, 0xa
idiv ecx
mov ecx, dword [esp + 0x50]
push 0
movzx edx, dx
imul edx, ebp
push edx
mov dword [esp + 0x2c], 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 + 0x24]
sub edi, ebp
dec eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
jne 0x448ff4
cmp byte [esi + 0x30], 1
jne 0x449072
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x18], 1
jne 0x449072
cmp byte [esp + 0x23], 1
jne 0x449072
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
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 + 0x17]
test al, al
mov ecx, dword [esp + 0x10]
je 0x449085
cmp word [ecx + 0x18], 0
jne 0x4490b9
mov edi, dword [ecx + 8]
test edi, edi
jle 0x4490b9
cmp byte [esi + 0x34], 1
jne 0x4490b9
mov eax, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
push 6
push eax
mov eax, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
sub eax, 5
push eax
push edi
add esi, 0x22b8
push esi
push ebx
call fcn.00444920
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044d9cf
add esp, 0x90
ret 0xc