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

Disassembly:
push 0xffffffffffffffff
push 0x100a72db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
xor edi, edi
push edi
push edi
mov ebx, ecx
mov eax, dword [ebx + 0x20]
push 0x1004
push eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x24], edi
call ebp
mov ecx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 2
call sub.MFC71U.DLL_COleControlSite::IsWindowEnabled
neg eax
sbb eax, eax
inc eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], eax
call fcn.10095a40
mov ecx, dword [ebx + 0x54]
cmp ecx, edi
mov dword [esp + 0xb4], edi
je 0x10081809
call fcn.10087310
test eax, eax
je 0x10081809
mov edx, dword [ebx + 0x54]
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x5c]
push ecx
push eax
jmp 0x10081812
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, ebx
call sub.MFC71U.DLL_CRectTracker::GetHandleSize
mov esi, eax
cmp esi, edi
je 0x10081845
mov eax, dword [esi + 0x20]
push edi
push edi
push 0x1200
push eax
call ebp
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x7c]
push ecx
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x24]
cmp esi, 1
jge 0x100818a9
mov eax, dword [ebx + 0x20]
push edi
push 1
push 0x1002
push eax
call ebp
push eax
call sub.MFC71U.DLL_CHandleMap::FromHandle
cmp eax, edi
jne 0x1008187d
mov ecx, dword [ebx + 0x20]
push edi
push edi
push 0x1002
push ecx
call ebp
push eax
call sub.MFC71U.DLL_CHandleMap::FromHandle
cmp eax, edi
je 0x100818ca
mov eax, dword [eax + 4]
lea edx, [esp + 0x8c]
push edx
push edi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageInfo]
test eax, eax
je 0x100818ca
mov ebp, dword [esp + 0xa8]
sub ebp, dword [esp + 0xa0]
inc ebp
mov dword [esp + 0x10], ebp
jmp 0x100818c6
lea ecx, [esp + 0x6c]
push ecx
push edi
push edi
push edi
mov ecx, ebx
call fcn.10081190
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov ebp, eax
cmp ebp, edi
jg 0x100818d6
mov edx, dword [ebx + 0x178]
mov dword [esp + 0x10], edx
mov ebp, edx
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
mov ecx, edx
sub ecx, eax
test ecx, ecx
jle 0x10081915
cmp esi, edi
jle 0x10081915
lea edx, [esp + 0x6c]
push edx
push edi
push edi
push edi
mov ecx, ebx
call fcn.10081190
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
sub ecx, edx
jmp 0x10081919
mov ecx, dword [esp + 0x1c]
sub eax, dword [esp + 0x60]
sub eax, edx
sub eax, ecx
add eax, dword [esp + 0x68]
cdq
idiv ebp
cmp edx, edi
mov esi, eax
jle 0x1008192f
inc esi
mov eax, dword [ebx + 0x150]
inc esi
cmp eax, edi
mov dword [esp + 0x24], esi
jne 0x100819d6
mov eax, dword [esp + 0x64]
imul ebp, esi
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0xbc]
sub eax, ecx
cmp esi, edi
mov dword [ebx + 0x154], eax
mov dword [ebx + 0x158], ebp
jne 0x1008196a
xor eax, eax
jmp 0x1008196d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebx + 0x134]
call sub.MFC71U.DLL_CAsyncSocket::Attach
mov eax, dword [ebx + 0x158]
mov ecx, dword [ebx + 0x154]
push eax
push ecx
mov ecx, dword [esi + 4]
push ecx
lea ebp, [ebx + 0x144]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call sub.MFC71U.DLL_CDC::Attach
cmp ebp, edi
jne 0x100819ae
xor ebp, ebp
jmp 0x100819b1
mov ebp, dword [ebp + 4]
mov edx, dword [ebx + 0x138]
push ebp
push edx
call sub.MFC71U.DLL_COleControl::SelectFontObject
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov dword [ebx + 0x14c], eax
mov dword [ebx + 0x150], 1
mov eax, dword [ebx + 0x58]
push eax
call fcn.10090be0
mov ecx, eax
call fcn.100907b0
cmp eax, edi
je 0x10081b3f
mov ecx, dword [ebx + 0x5c]
push ecx
push 0x10
mov ecx, eax
call fcn.1008f870
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x10081b3f
cmp dword [esp + 0x18], edi
mov eax, dword [esp + 0x38]
je 0x10081a16
or eax, 4
jmp 0x10081a19
and eax, 0xfffffffb
mov dword [esp + 0x38], eax
lea eax, [ebx + 0x134]
cmp eax, edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x34], edi
jne 0x10081a35
mov dword [esp + 0x58], edi
jmp 0x10081a3c
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
cmp esi, edi
mov dword [esp + 0x18], edi
jle 0x10081b3f
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x10081a60
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
jmp 0x10081a60
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
add ebp, eax
cmp ecx, 1
mov dword [esp + 0x1c], ebp
jge 0x10081a99
mov edx, dword [ebx + 0x154]
mov dword [esp + 0x50], edx
xor ecx, ecx
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
push edx
jmp 0x10081b19
mov ecx, dword [esp + 0x14]
xor esi, esi
cmp ecx, edi
jle 0x10081af6
mov eax, dword [ebx + 0x20]
push 0
push edi
push 0x101d
push eax
mov ebp, esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esi, eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x28]
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
call fcn.100960d0
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x10081aa3
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
xor edi, edi
mov ecx, dword [ebx + 0x154]
cmp esi, ecx
jge 0x10081b26
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ecx
push eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], ebp
call fcn.100960d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebp
jl 0x10081a50
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 4