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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4db820
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov ecx, dword [edi + 0x154]
cmp ecx, esi
je 0x4a099e
mov dword [esp + 0x3c], 0x70f950
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
lea eax, [esp + 0x3c]
mov dword [esp + 0x84], esi
push eax
call fcn.004a5aa0
push edi
lea ecx, [esp + 0x54]
call fcn.004d00d0
lea ecx, [esp + 0x50]
mov byte [esp + 0x84], 1
push ecx
mov ecx, edi
call fcn.0049f2e0
lea edx, [esp + 0x14]
push 1
push edx
mov ecx, edi
call fcn.0049f7c0
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x44]
dec eax
cmp eax, esi
mov dword [esp + 0x10], eax
jl 0x4a0969
neg ebp
neg ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x40]
push ebp
push ebx
mov esi, dword [ecx + eax*4]
lea edx, [esi + 0xc]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x34], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x1c]
push 2
push eax
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ebx, dword [esi]
push esi
mov ecx, edi
call fcn.0049f3d0
neg eax
sbb eax, eax
lea edx, [esp + 0x2c]
and eax, edi
mov ecx, esi
push eax
push edx
push 0x2718
call dword [ebx + 0x14]
mov ebx, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x30]
push ebx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
jne 0x4a0958
lea eax, [esp + 0x1c]
lea edx, [esp + 0x8c]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
push eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x68]
mov dword [esp + 0x74], edx
mov edx, dword [esi]
mov dword [esp + 0x70], ecx
push eax
push 0x2717
mov ecx, esi
mov dword [esp + 0x70], edi
call dword [edx + 0x14]
test eax, eax
je 0x4a09b5
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jns 0x4a0871
xor esi, esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x84], 0
call fcn.004d0142
mov dword [esp + 0x3c], 0x70f950
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], 3
cmp eax, esi
je 0x4a099e
push eax
call fcn.004c9115
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4a09db
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4a0a01
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x84], 0
call fcn.004d0142
mov dword [esp + 0x3c], 0x70f950
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], 2
test eax, eax
je 0x4a0a36
push eax
call fcn.004c9115
add esp, 4
mov eax, esi
jmp 0x4a09a0