Function at 0x43d060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc8
mov eax, dword [0x4612a8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xe0]
mov edx, dword [esi + 0x10]
mov ebp, ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 4]
push edi
mov edi, dword [esi + 0xc]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 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 + 0x60], eax
call dword [sym.imp.PlatformData.dll_public:_struct_tagGlobalUserData____thiscall_CGlobalUserInfo::GetGlobalUserData_void_]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xe0]
xor ebx, ebx
shr eax, 6
and al, 1
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1a], al
je 0x43d0f7
cmp word [ebp + 0x14], bx
je 0x43d0f7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx + 4]
push 0xcc0020
push ebx
push edi
push eax
push edi
push ebx
push ebx
push edx
jmp 0x43d11f
mov dl, byte [ebp + 9]
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp dl, 1
mov edx, dword [esp + 0xdc]
setne al
push 0xcc0020
push ebx
dec eax
and eax, edi
push eax
mov eax, dword [edx + 4]
push ecx
push edi
push ebx
push ebx
push eax
lea ecx, [esi + 0x4604]
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 0x43d1ba
lea ecx, [esi + 0x41b4]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x43d1ba
mov al, byte [ebp + 9]
cmp al, 1
mov dword [esp + 0x10], ebx
jne 0x43d158
mov dword [esp + 0x10], 1
mov cx, word [ebp + 6]
cmp cx, 0x12c
jne 0x43d18d
cmp al, bl
jne 0x43d175
cmp byte [ebp + 4], 1
jne 0x43d175
mov dword [esp + 0x10], 2
cmp cx, 0x12c
jne 0x43d18d
cmp al, bl
jne 0x43d18d
cmp byte [ebp + 4], bl
jne 0x43d18d
mov dword [esp + 0x10], 3
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, eax
imul edx, dword [esp + 0x10]
push ebx
push edx
mov edx, dword [esp + 0xe4]
push ecx
mov ecx, dword [esi + 0x48]
push eax
mov eax, dword [esi + 0x4c]
push eax
push ecx
push edx
lea ecx, [esi + 0x41b4]
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, 0x12c
jae 0x43d5ea
xor ecx, ecx
cmp ax, bx
mov dword [esp + 0x10], ecx
jbe 0x43d5ea
movzx edi, cx
mov eax, edi
shl eax, 4
lea ecx, [eax + esi + 0x1c78]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov cl, byte [esp + 0x1a]
cmp cl, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jne 0x43d250
cmp byte [esi + 0x2e], cl
jne 0x43d250
cmp word [ebp + 0x14], bx
jne 0x43d250
mov ecx, dword [esp + 0x58]
mov edx, edi
imul edx, ecx
push 0xcc0020
push ebx
push edx
mov edx, dword [esp + 0x68]
push edx
push ecx
mov ecx, dword [esp + 0xf0]
mov edx, dword [ecx + 4]
push eax
mov eax, dword [esp + 0x40]
push eax
push edx
lea ecx, [esi + 0x43cc]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CBitImage::BitBlt_struct_HDC_____int__int__int__int__int__int__unsigned_long_int_]
mov cl, byte [esp + 0x1a]
mov eax, dword [esp + 0x2c]
cmp byte [esi + 0x2c], 1
jne 0x43d5d3
cmp cl, bl
jne 0x43d752
mov edi, dword [ebp + edi*4 + 0x18]
cmp edi, ebx
je 0x43d594
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
movzx eax, word [esp + 0x10]
mov ecx, dword [ebp + eax*4 + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx]
jne 0x43d290
mov byte [esp + 0x1b], 1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
cmp ax, 0x10
jae 0x43d4ac
movzx eax, ax
mov cx, word [esi + eax*2 + 0x3898]
mov edx, dword [esi + eax*8 + 0x2f38]
mov eax, dword [esi + eax*8 + 0x2f3c]
mov word [esp + 0x4c], cx
mov dword [esp + 0x20], edx
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], ebx
call dword [edx + 0x5c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0x64
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0x3e8
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0x2710
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0x186a0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0x7a120
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], 0xf4240
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 0x2625a0
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], 0x4c4b40
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], 0x989680
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], 0x17d7840
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], 0x2faf080
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], 0x5f5e100
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], 0xbebc200
mov dword [esp + 0xd0], ebx
xor ecx, ecx
nop
movzx eax, cx
shl eax, 3
mov edx, eax
lea eax, [esp + 0xcc]
sub eax, edx
mov edx, dword [esp + 0x48]
cmp edx, dword [eax + 4]
jg 0x43d3ed
jl 0x43d3e4
mov edx, dword [esp + 0x44]
cmp edx, dword [eax]
jae 0x43d3ed
inc ecx
cmp cx, 0xe
jb 0x43d3c0
jmp 0x43d3f8
mov eax, 0xd
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [0x467740]
cmp eax, ebx
je 0x43d460
mov ecx, dword [eax + 0x1f28]
cmp ecx, ebx
je 0x43d460
mov eax, dword [ecx]
call dword [eax + 0x16c]
cmp ax, 0x69
jne 0x43d460
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControlEx____cdecl_CFaceItemControlEx::GetInstance_void_]
mov edx, dword [ebp]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov ecx, ebp
mov dword [esp + 0x14], eax
call dword [edx + 0x28]
mov edx, dword [edi]
mov ecx, edi
push eax
mov eax, dword [esp + 0x3c]
push eax
call dword [edx + 0x20]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0xec]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x30]
jmp 0x43d4a5
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov edx, dword [ebp]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov ecx, ebp
mov dword [esp + 0x1c], eax
call dword [edx + 0x28]
mov edx, dword [edi]
mov ecx, edi
push eax
mov eax, dword [esp + 0x3c]
push eax
call dword [edx + 0x20]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0xec]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x38]
call dword [eax + 0x38]
mov ebp, dword [esp + 0x24]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x50]
mov ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [edi]
call dword [eax + 0x54]
mov cx, word [esp + 0x14]
cmp cx, word [ebp + 0x14]
jne 0x43d503
cmp ax, word [esp + 0x10]
jne 0x43d503
cmp byte [ebp + 9], bl
jne 0x43d503
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x58]
cmp al, 3
jne 0x43d503
movzx eax, word [esp + 0x10]
mov ecx, dword [esi + eax*8 + 0x5c]
mov edx, dword [esi + eax*8 + 0x58]
mov eax, dword [esp + 0xdc]
push ecx
push edx
push eax
lea ecx, [esi + 0x4ec4]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x48]
cmp al, 3
jb 0x43d51a
mov dword [esi + 0x3af0], 0xff
jmp 0x43d550
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
cmp al, 2
jne 0x43d531
mov dword [esi + 0x3af0], 0xffff
jmp 0x43d550
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x48]
xor cl, cl
cmp cl, al
sbb edx, edx
and edx, 0x373638
add edx, 0xc8c8c8
mov dword [esi + 0x3af0], edx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x4cc]
mov edx, dword [ecx]
mov ecx, dword [eax + 0xde]
mov eax, dword [eax + 0xda]
push ecx
mov ecx, dword [ebp + 0x4cc]
push eax
call dword [edx + 0x14]
mov edx, dword [edi]
push eax
push esi
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.0043bf30
mov eax, dword [esp + 0x2c]
cmp byte [esi + 0x31], 1
jne 0x43d5d3
mov cx, word [esp + 0x10]
cmp word [ebp + 6], cx
jne 0x43d5d3
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push 0x7d7d7d
push 0x7d7d7d
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x3c]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0xec]
push eax
push edx
call sub.MFC71U.DLL_COleControl::XViewObject::Draw
mov ecx, dword [esp + 0x10]
inc ecx
cmp cx, word [ebp + 0x16]
mov dword [esp + 0x10], ecx
jb 0x43d1d7
mov edi, dword [esp + 0x3c]
cmp byte [ebp + 8], 1
jne 0x43d60c
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
mov ecx, dword [esp + 0xdc]
push edx
push eax
push ecx
lea ecx, [esi + 0x50dc]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
cmp byte [esi + 0x32], 1
jne 0x43d704
movzx ebp, word [ebp + 0x14]
mov edx, dword [esi + 0x28]
mov edi, dword [esi + 0x24]
xor ecx, ecx
inc bp
mov dword [esp + 0x48], edx
mov eax, ebp
mov dword [esp + 0x24], ebp
mov edi, edi
movzx edx, ax
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
inc ecx
cmp ax, bx
ja 0x43d630
mov eax, dword [esi + 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x54]
sub ecx, eax
mov eax, dword [esi + 0x1c]
cdq
sub eax, edx
mov edx, dword [esi + 0x50]
sar eax, 1
push ecx
sub edx, eax
mov eax, dword [esp + 0xe0]
push edx
push eax
lea ecx, [esi + 0x550c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int_]
mov eax, dword [esp + 0x48]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x54]
sar ecx, 1
sub eax, ecx
movzx ecx, word [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, edi
imul eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x50]
mov ebp, eax
sar ebp, 1
sub ebp, edi
add ebp, edx
cmp ecx, ebx
jle 0x43d700
mov dword [esp + 0x20], ecx
movzx eax, word [esp + 0x24]
cdq
mov ecx, 0xa
idiv ecx
mov ecx, dword [esp + 0x1c]
push ebx
movzx edx, dx
imul edx, edi
push edx
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
push eax
push edi
push ecx
push ebp
push edx
lea ecx, [esi + 0x52f4]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
sub ebp, edi
dec eax
mov dword [esp + 0x20], eax
jne 0x43d6b2
mov edi, dword [esp + 0x3c]
cmp byte [esi + 0x30], 1
jne 0x43d739
mov ecx, dword [esp + 0x60]
cmp byte [ecx + 0x18], 1
jne 0x43d739
cmp byte [esp + 0x1b], 1
jne 0x43d739
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xdc]
push 0x7d7d7d
push 0x7d7d7d
push edx
push edi
push ebx
push ebx
call sub.MFC71U.DLL_COleControl::XViewObject::Draw
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
call fcn.004430ed
add esp, 0xc8
ret 0xc
cmp cl, 1
jne 0x43d871
cmp word [ebp + 0x14], bx
jbe 0x43d846
cmp byte [esi + 0x31], bl
jne 0x43d7d9
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov edi, dword [eax]
mov edx, edi
mov ecx, eax
mov dword [esp + 0x1c], eax
call dword [edx + 8]
movzx ecx, word [ebp + 0x16]
movzx eax, ax
mov dword [esp + 0x14], eax
movzx eax, word [ebp + 0x14]
imul eax, ecx
movzx ecx, word [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x14]
cdq
idiv ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
sub eax, ecx
sub eax, 0x30
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
sub eax, 0x30
cdq
sub eax, edx
mov edx, dword [esp + 0xe4]
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x24]
push eax
push edx
call dword [edi + 0x24]
jmp 0x43d842
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
sub ecx, edx
mov edx, edi
imul edx, ecx
mov dword [esp + 0x1c], ecx
movzx ecx, word [ebp + 0x14]
mov dword [esp + 0x14], edx
movzx edx, word [ebp + 0x16]
imul ecx, edx
add ecx, edi
and ecx, 0x80000001
jns 0x43d80a
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x43d814
mov ecx, dword [esp + 0x34]
sub ecx, eax
jmp 0x43d816
xor ecx, ecx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
sub edx, eax
push edx
mov edx, dword [esp + 0x34]
push ecx
push eax
mov eax, dword [esp + 0xf0]
push edx
push eax
lea ecx, [esi + 0x4cac]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
cmp word [ebp + 0x14], bx
mov eax, 0x455ac4
je 0x43d852
mov eax, 0x455ab8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xdc]
push 0x44a19c
push esi
push eax
push ecx
push edx
mov ecx, ebp
call fcn.0043bf30
mov eax, dword [esp + 0x2c]
cmp word [ebp + 0x14], bx
jne 0x43d5d3
jmp 0x43d598