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

Disassembly:
push 0xffffffffffffffff
push 0x441c04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x838
mov eax, dword [0x45a1e8]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::constructor_void_]
mov dword [esp + 0x14], ecx
push edi
lea ecx, [esp + 0x60c]
mov dword [esp + 0x844], eax
call esi
lea ecx, [esp + 0x3d4]
mov dword [esp + 0x850], 0
call esi
lea ecx, [esp + 0x19c]
mov byte [esp + 0x850], 1
call esi
mov byte [esp + 0x850], 2
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
mov esi, dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::LoadFromResource_struct_HINSTANCE_____unsigned_int_]
push 0x170
push eax
lea ecx, [esp + 0x614]
call esi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x172
push eax
lea ecx, [esp + 0x3dc]
call esi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x171
push eax
lea ecx, [esp + 0x1a4]
call esi
mov ebx, dword [esp + 0x860]
mov eax, dword [esp + 0x85c]
mov esi, dword [esp + 0x858]
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.WHImage.dll_public:_int___thiscall_CBitImage::BitBlt_struct_HDC_____int__int__unsigned_long_int_]
push 0xcc0020
push ebx
push eax
push ecx
lea ecx, [esp + 0x61c]
call ebp
mov edi, dword [esp + 0x1ac]
mov eax, dword [esp + 0x85c]
mov ecx, dword [esi + 4]
mov edx, ebx
sub edx, edi
mov edi, dword [esp + 0x868]
push 0xcc0020
add edx, edi
push edx
push eax
push ecx
lea ecx, [esp + 0x1ac]
call ebp
mov ecx, dword [esp + 0x1ac]
mov edx, dword [esp + 0x61c]
mov ebp, ebx
sub ebp, ecx
lea eax, [edx + ebx]
add ebp, edi
cmp eax, ebp
mov edi, eax
jge 0x41c302
mov ecx, dword [esp + 0x3e0]
mov eax, ebp
sub eax, edi
cmp eax, ecx
jl 0x41c2d2
mov eax, ecx
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x86c]
push ecx
mov ecx, dword [esi + 4]
push edi
push eax
push ecx
lea ecx, [esp + 0x3f4]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CBitImage::BitBlt_struct_HDC_____int__int__int__int__int__int__unsigned_long_int_]
add edi, dword [esp + 0x3e4]
cmp edi, ebp
jl 0x41c2c1
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x158], 2
jl 0x41c701
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov dword [esp + 0x14], eax
call dword [sym.imp.ShareControl.dll_public:_static_class_CUserItemElement____cdecl_CUserItemElement::GetInstance_void_]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14c]
mov ebp, dword [eax + 4]
mov edx, dword [ebp]
add eax, 4
mov ecx, ebp
call dword [edx + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x5c]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x13], al
cmp dword [ecx], 0
mov dword [esp + 0x84], 0x44b49c
mov dword [esp + 0x88], 0x44b494
mov dword [esp + 0x8c], 0x44b48c
mov dword [esp + 0x90], 0x44b484
mov dword [esp + 0x94], 0x44b47c
mov dword [esp + 0x98], 0x44b474
je 0x41c3c5
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test eax, eax
je 0x41c3c5
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
add edx, 4
push edx
lea edx, [ebx + 0xe]
push edx
mov edx, dword [esp + 0x864]
add edx, 0xd
push edx
push esi
call dword [eax + 0x20]
jmp 0x41c3ef
mov eax, dword [esp + 0x14]
mov edx, dword [ebp]
mov edi, dword [eax]
mov ecx, ebp
call dword [edx + 0x18]
mov ecx, dword [esp + 0x85c]
add ecx, 0xd
push eax
lea eax, [ebx + 0xe]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push esi
call dword [edi + 0x24]
mov edi, dword [esp + 0x18]
push 1
mov ecx, esi
call sub.MFC71U.DLL_CListCtrl::SetBkImage
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x44]
mov ecx, dword [esp + 0x20]
push eax
call dword [sym.imp.ShareControl.dll_public:_unsigned_short_int___thiscall_CUserItemElement::GetExperienceLevel_unsigned_long_int_]
mov ecx, dword [edi + 0x13c]
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [edi + 0x13c]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
push ebp
call dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov word [esp + 0x9c], 0
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x9e]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x138]
stosw word es:[edi], ax
mov eax, dword [edx]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x20], eax
call dword [edx + 0x4c]
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x138]
push eax
mov eax, dword [esp + 0x24]
call dword [eax + 0x18]
mov eax, dword [edi + 0x138]
mov edx, dword [ebp]
mov edi, dword [eax]
mov ecx, ebp
call dword [edx + 0x50]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x138]
call dword [edi + 0x1c]
mov ecx, dword [esp + 0x85c]
lea edx, [ecx + 0x50]
mov dword [esp + 0x64], edx
mov dword [esp + 0x74], edx
lea edx, [ebx + 0x28]
mov dword [esp + 0x78], edx
lea edx, [ebx + 0x34]
mov dword [esp + 0x80], edx
lea edx, [ebx + 0x4a]
mov dword [esp + 0x28], edx
lea edx, [ebx + 0x56]
mov dword [esp + 0x30], edx
lea eax, [ebx + 0x12]
lea edx, [ebx + 0x74]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x864]
lea eax, [ecx + eax - 5]
mov dword [esp + 0x48], edx
lea edx, [ebx + 0x80]
add ecx, 0xb
mov dword [esp + 0x50], edx
lea edi, [ebx + 0x1e]
lea edx, [ebx + 0x89]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x34], ecx
lea edx, [ebx + 0x95]
lea ecx, [ebx + 0x9e]
mov dword [esp + 0x38], ecx
add ebx, 0xaa
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x34]
mov edi, dword [sym.imp.MSVCR71.dll__snwprintf]
push eax
push 0x446c94
lea eax, [esp + 0xa4]
push 0x80
push eax
call edi
mov ebx, dword [esi]
add esp, 0x10
push 0x8024
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x2c]
push eax
push 0x44907c
lea eax, [esp + 0xa4]
push 0x80
push eax
call edi
mov ebx, dword [esi]
add esp, 0x10
push 0x8024
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push edx
push 0x44b458
lea eax, [esp + 0xa8]
push 0x80
push eax
call edi
mov ebx, dword [esi]
add esp, 0x14
push 0x8024
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x60]
push edx
push eax
push 0x44b444
lea eax, [esp + 0xa8]
push 0x80
push eax
call edi
mov ebx, dword [esi]
add esp, 0x14
push 0x8024
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call dword [ebx + 0x70]
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp + ecx*4 + 0x80]
push edx
push 0x44b438
lea eax, [esp + 0xa4]
push 0x80
push eax
call edi
mov ebx, dword [esi]
add esp, 0x10
push 0x8024
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x3c]
push eax
push str._rT
lea eax, [esp + 0xa4]
push 0x80
push eax
call edi
mov edi, dword [esi]
add esp, 0x10
push 0x8024
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call dword [edi + 0x70]
mov esi, dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CBitImage::destructor_void_]
lea ecx, [esp + 0x19c]
mov byte [esp + 0x850], 1
call esi
lea ecx, [esp + 0x3d4]
mov byte [esp + 0x850], 0
call esi
lea ecx, [esp + 0x60c]
mov dword [esp + 0x850], 0xffffffff
call esi
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x838]
pop ebx
call fcn.0043ef61
add esp, 0x844
ret 0x14