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

Disassembly:
push 0xffffffffffffffff
push 0x446484
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x85c
mov eax, dword [0x4612a8]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::constructor_void_]
mov dword [esp + 0x10], ecx
push edi
lea ecx, [esp + 0x630]
mov dword [esp + 0x868], eax
call esi
lea ecx, [esp + 0x3f8]
mov dword [esp + 0x874], 0
call esi
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x874], 1
call esi
mov byte [esp + 0x874], 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 + 0x638]
call esi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x172
push eax
lea ecx, [esp + 0x400]
call esi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x171
push eax
lea ecx, [esp + 0x1c8]
call esi
mov ebx, dword [esp + 0x884]
mov eax, dword [esp + 0x880]
mov esi, dword [esp + 0x87c]
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 + 0x640]
call ebp
mov edi, dword [esp + 0x1d0]
mov eax, dword [esp + 0x880]
mov ecx, dword [esi + 4]
mov edx, ebx
sub edx, edi
mov edi, dword [esp + 0x88c]
push 0xcc0020
add edx, edi
push edx
push eax
push ecx
lea ecx, [esp + 0x1d0]
call ebp
mov ecx, dword [esp + 0x1d0]
mov edx, dword [esp + 0x640]
mov ebp, ebx
sub ebp, ecx
lea eax, [edx + ebx]
add ebp, edi
cmp eax, ebp
mov edi, eax
jge 0x41f302
mov ecx, dword [esp + 0x404]
mov eax, ebp
sub eax, edi
cmp eax, ecx
jl 0x41f2d2
mov eax, ecx
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x890]
push ecx
mov ecx, dword [esi + 4]
push edi
push eax
push ecx
lea ecx, [esp + 0x418]
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 + 0x408]
cmp edi, ebp
jl 0x41f2c1
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x13c], 2
jl 0x41f7d4
call dword [sym.imp.AvatarControl.dll_public:_static_class_CFaceItemControl____cdecl_CFaceItemControl::GetInstance_void_]
mov dword [esp + 0x18], eax
call dword [sym.imp.ShareControl.dll_public:_static_class_CUserItemElement____cdecl_CUserItemElement::GetInstance_void_]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x130]
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 + 0x58]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x13], al
cmp dword [ecx], 0
mov dword [esp + 0xa8], 0x451a9c
mov dword [esp + 0xac], 0x451a94
mov dword [esp + 0xb0], 0x451a8c
mov dword [esp + 0xb4], 0x451a84
mov dword [esp + 0xb8], 0x451a7c
mov dword [esp + 0xbc], 0x451a74
je 0x41f3c5
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test eax, eax
je 0x41f3c5
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
add edx, 4
push edx
lea edx, [ebx + 0xe]
push edx
mov edx, dword [esp + 0x888]
add edx, 0xd
push edx
push esi
call dword [eax + 0x20]
jmp 0x41f3ef
mov eax, dword [esp + 0x18]
mov edx, dword [ebp]
mov edi, dword [eax]
mov ecx, ebp
call dword [edx + 0x18]
mov ecx, dword [esp + 0x880]
add ecx, 0xd
push eax
lea eax, [ebx + 0xe]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push esi
call dword [edi + 0x24]
mov edi, dword [esp + 0x14]
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 + 0x40]
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.ShareControl.dll_public:_unsigned_short_int___thiscall_CUserItemElement::GetExperienceLevel_unsigned_long_int_]
mov ecx, dword [edi + 0x120]
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
call dword [edx + 8]
mov ecx, dword [edi + 0x120]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push ebp
call dword [eax + 0x10]
mov dword [esp + 0x40], eax
mov word [esp + 0xc0], 0
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0xc2]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x11c]
stosw word es:[edi], ax
mov eax, dword [edx]
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x1c], eax
call dword [edx + 0x48]
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x11c]
push eax
mov eax, dword [esp + 0x20]
call dword [eax + 0x18]
mov eax, dword [edi + 0x11c]
mov edx, dword [ebp]
mov edi, dword [eax]
mov ecx, ebp
call dword [edx + 0x4c]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x11c]
call dword [edi + 0x1c]
mov ecx, dword [esp + 0x880]
lea edx, [ecx + 0x50]
mov dword [esp + 0x48], edx
mov dword [esp + 0x98], edx
lea edx, [ebx + 0x28]
mov dword [esp + 0x9c], edx
lea edx, [ebx + 0x34]
mov dword [esp + 0xa4], edx
lea edx, [ebx + 0x4a]
mov dword [esp + 0x8c], edx
lea eax, [ebx + 0x12]
lea edx, [ebx + 0x56]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x888]
lea eax, [ecx + eax - 5]
mov dword [esp + 0x94], edx
lea edx, [ebx + 0x5f]
add ecx, 0xb
mov dword [esp + 0x34], edx
lea edi, [ebx + 0x1e]
lea edx, [ebx + 0x6b]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0xa0], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x68], ecx
lea edx, [ebx + 0x74]
mov dword [esp + 0x6c], edx
lea edx, [ebx + 0x80]
mov dword [esp + 0x74], edx
lea edx, [ebx + 0x89]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x7c], edx
lea edx, [ebx + 0x95]
lea ecx, [ebx + 0x9e]
mov dword [esp + 0x5c], ecx
add ebx, 0xaa
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x30]
push eax
push 0x44c420
lea eax, [esp + 0xc8]
push 0x80
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [esi]
add esp, 0x10
push 0x8024
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0xc8]
push edx
call edi
push eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x28]
push eax
push 0x44d9d8
lea eax, [esp + 0xc8]
push 0x80
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov ebx, dword [esi]
add esp, 0x10
push 0x8024
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0xc8]
push edx
call edi
push eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
push ecx
push edx
push 0x451a58
lea eax, [esp + 0xcc]
push 0x80
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov ebx, dword [esi]
add esp, 0x14
push 0x8024
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0xc8]
push edx
call edi
push eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call dword [ebx + 0x70]
movzx ecx, word [esp + 0x24]
push ecx
push 0x451a48
lea edx, [esp + 0xc8]
push 0x80
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov ebx, dword [esi]
add esp, 0x10
push 0x8024
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xc8]
push ecx
call edi
push eax
lea edx, [esp + 0xcc]
push edx
mov ecx, esi
call dword [ebx + 0x70]
lea eax, [esp + 0xc0]
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [esi + 8]
lea edx, [esp + 0xc8]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
add ecx, 0xfffffffc
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [eax + edx + 6]
push eax
push esi
call dword [sym.imp.ShareControl.dll_public:_void___thiscall_CUserItemElement::DrawExperience_class_CDC___int__int__unsigned_long_int_]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x5c]
push edx
push eax
push 0x451a34
lea eax, [esp + 0xcc]
push 0x80
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov ebx, dword [esi]
add esp, 0x14
push 0x8024
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0xc8]
push edx
call edi
push eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call dword [ebx + 0x70]
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp + ecx*4 + 0xa4]
push edx
push 0x451a28
lea eax, [esp + 0xc8]
push 0x80
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov ebx, dword [esi]
add esp, 0x10
push 0x8024
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xc8]
push edx
call edi
push eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x38]
push eax
push str._rT
lea eax, [esp + 0xc8]
push 0x80
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov ebx, dword [esi]
add esp, 0x10
push 0x8024
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0xc8]
push edx
call edi
push eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov esi, dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CBitImage::destructor_void_]
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x874], 1
call esi
lea ecx, [esp + 0x3f8]
mov byte [esp + 0x874], 0
call esi
lea ecx, [esp + 0x630]
mov dword [esp + 0x874], 0xffffffff
call esi
mov ecx, dword [esp + 0x86c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x85c]
pop ebx
call fcn.004430ed
add esp, 0x868
ret 0x14