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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f09c2
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
cmp eax, esi
je 0x4aa10d
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push esi
lea ecx, [esp + 0x40]
call fcn.004e2538
mov edx, dword [esi]
xor ebx, ebx
lea eax, [esp + 0x3c]
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x74], ebx
call dword [edx + 0xe4]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov eax, dword [esi + 0xba8]
push ebx
push ebx
push ecx
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
lea ecx, [esi + 0x798]
call fcn.004c2d60
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, dword [esi + 0x210]
mov edi, dword [esi + 0x40]
xor ecx, ecx
mov dword [esp + 0x10], edi
mov cx, word [eax + 2]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x1fc]
call fcn.00417b70
mov eax, dword [edi + 0xe8]
cmp eax, ebx
jle 0x4aa32e
push ebp
jmp 0x4aa198
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0xe4]
lea ecx, [esp + 0x40]
mov ebp, dword [edx + ebx*4]
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CUIntArray::CUIntArray
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x74], 1
call fcn.004e2538
mov eax, dword [esi]
lea ecx, [esp + 0x54]
push 0
push ecx
mov ecx, esi
mov byte [esp + 0x78], 2
call dword [eax + 0xe4]
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xe0]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push ecx
push 0xa
push edx
lea ecx, [esp + 0x68]
push eax
push ecx
mov ecx, ebp
call fcn.00460730
lea ecx, [esp + 0x54]
mov edi, eax
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CClientDC::CClientDC
test edi, edi
je 0x4aa30b
mov ecx, dword [esp + 0x48]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x4aa30b
jmp 0x4aa237
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov edi, dword [edx + eax*4]
mov eax, dword [esp + 0x1c]
cmp ebx, eax
je 0x4aa2f6
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push edi
call fcn.0046df10
test eax, eax
je 0x4aa2f6
lea ecx, [esp + 0x28]
call fcn.004178f0
push 0x14
mov byte [esp + 0x2c], 3
mov word [esp + 0x2e], bx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x70], 3
je 0x4aa292
mov ecx, eax
call sub.MFC42.DLL_CUIntArray::CUIntArray
jmp 0x4aa294
xor eax, eax
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 8]
push edi
push ecx
mov ecx, eax
mov byte [esp + 0x78], 1
call sub.MFC42.DLL_CUIntArray::SetAtGrow
mov ebp, dword [esi + 0x228]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea edi, [esi + 0x220]
lea eax, [ebp + 1]
mov dword [esp + 0x30], ecx
push 0xffffffffffffffff
push eax
mov ecx, edi
mov dword [esp + 0x3c], edx
call fcn.00417530
mov eax, dword [edi + 4]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x38]
push ecx
push edx
lea ecx, [eax + ebp*8]
call fcn.00417900
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4aa2f6
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4aa233
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], 0xffffffff
call fcn.004e26a6
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, dword [eax + 0xe8]
jl 0x4aa194
pop ebp
mov eax, dword [esi + 0x228]
xor ebx, ebx
test eax, eax
jle 0x4aa3c4
call dword [sym.imp.USER32.dll_GetCursor]
push 0xb9
push 0xc
push 0xb9
mov edi, eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp edi, eax
je 0x4aa369
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [esp + 0x20]
lea edx, [esp + 0xc]
lea edi, [esi + 0x1fc]
push ecx
push edx
mov ecx, edi
call fcn.0041db00
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4aa3c4
cmp dword [esi + 0x228], 1
jle 0x4aa3c4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
add esi, 0x220
push 1
push esi
push eax
push ecx
mov ecx, edi
call fcn.0041bc50
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
mov ecx, dword [esp + 0x64]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8