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

Disassembly:
push 0xffffffffffffffff
push 0x5ac210
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x44]
cmp dword [esi + 0x1f0], 0
jne 0x4a849b
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push esi
call fcn.005419f0
jmp 0x4a88a9
mov edi, dword [esi + 0x7c]
mov dword [esi + 0x100], 1
mov dword [esp + 0x20], edi
test edi, edi
je 0x4a84b8
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x3c], 0
mov ebp, dword [esi + 0x88]
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [esi + 0x78], 0
je 0x4a8889
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [esp + 0x18], 0
mov byte [esp + 0x3c], 1
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.004a7bf0
test ebp, ebp
je 0x4a8562
mov dword [esi + 0x88], 0
test edi, edi
je 0x4a885e
mov edx, dword [edi]
mov eax, dword [edx + 0xc8]
mov ecx, edi
call eax
test eax, eax
je 0x4a885e
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push ebx
push ebp
push ecx
push 0x5fb
push edi
push edi
call fcn.00555960
mov eax, dword [esp + 0x48]
mov edx, dword [edi]
mov edx, dword [edx + 0x9c]
push ebx
push ebp
push eax
push 0x5fb
push edi
mov ecx, edi
call edx
jmp 0x4a885e
test edi, edi
je 0x4a874a
mov eax, dword [edi]
mov edx, dword [eax + 0xc8]
mov ecx, edi
call edx
mov ebp, dword [esp + 0x4c]
test eax, eax
je 0x4a865a
mov esi, dword [esp + 0x48]
push ebx
push ebp
push esi
push 0x202
push edi
push edi
call fcn.00555960
mov eax, dword [edi]
mov edx, dword [eax + 0x9c]
push ebx
push ebp
push esi
push 0x202
push edi
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4a85c5
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov byte [esp + 0x3c], 4
test esi, esi
je 0x4a8645
mov edi, edi
mov eax, dword [esp + 0x48]
mov edx, dword [esi]
mov edx, dword [edx + 0x9c]
push ebx
push ebp
push eax
push 0x202
push edi
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
mov ebp, eax
mov dword [esp + 0x24], ebp
test ebp, ebp
je 0x4a8605
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov byte [esp + 0x3c], 5
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
xor esi, esi
mov dword [esp + 0x1c], esi
test ebp, ebp
je 0x4a862b
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
mov esi, ebp
mov dword [esp + 0x1c], esi
mov byte [esp + 0x3c], 4
test ebp, ebp
je 0x4a863d
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov ebp, dword [esp + 0x4c]
test esi, esi
jne 0x4a85d0
mov byte [esp + 0x3c], 1
test esi, esi
je 0x4a8656
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x18], edi
jne 0x4a885e
mov edx, dword [edi]
mov eax, dword [edx + 0xc8]
mov ecx, edi
call eax
test eax, eax
je 0x4a885e
mov esi, dword [esp + 0x48]
push ebx
push ebp
push esi
push 0x5f6
push edi
push edi
call fcn.00555960
mov edx, dword [edi]
mov eax, dword [edx + 0x9c]
push ebx
push ebp
push esi
push 0x5f6
push edi
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4a86bb
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov byte [esp + 0x3c], 6
test esi, esi
je 0x4a884b
jmp 0x4a86d4
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esi]
mov edx, dword [eax + 0x9c]
push ebx
push ebp
push ecx
push 0x5f6
push edi
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
mov ebp, eax
mov dword [esp + 0x24], ebp
test ebp, ebp
je 0x4a8709
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov byte [esp + 0x3c], 7
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
xor esi, esi
mov dword [esp + 0x1c], esi
test ebp, ebp
je 0x4a872f
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
mov esi, ebp
mov dword [esp + 0x1c], esi
mov byte [esp + 0x3c], 6
test ebp, ebp
je 0x4a8741
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
test esi, esi
jne 0x4a86d0
jmp 0x4a8849
cmp dword [esp + 0x18], 0
je 0x4a885e
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
test eax, eax
je 0x4a885e
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x18]
push ebx
push esi
push ecx
push 0x202
push ebp
push ebp
call fcn.00555960
mov eax, dword [esp + 0x48]
mov edx, dword [ebp]
mov edx, dword [edx + 0x9c]
push ebx
push esi
push eax
push 0x202
push ebp
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x78]
mov ecx, ebp
call edx
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4a87bc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov byte [esp + 0x3c], 8
test esi, esi
je 0x4a884b
jmp 0x4a87d4
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi]
mov edx, dword [edx + 0x9c]
push ebx
push eax
push ecx
push 0x202
push ebp
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
call edx
mov ebp, eax
mov dword [esp + 0x24], ebp
test ebp, ebp
je 0x4a880d
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
mov byte [esp + 0x3c], 9
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
xor esi, esi
mov dword [esp + 0x1c], esi
test ebp, ebp
je 0x4a8833
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
mov esi, ebp
mov dword [esp + 0x1c], esi
mov byte [esp + 0x3c], 8
test ebp, ebp
je 0x4a8845
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
test esi, esi
jne 0x4a87d0
test esi, esi
mov byte [esp + 0x3c], 1
je 0x4a885a
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4a8874
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x7c], 0
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a8889
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x100], 0
mov dword [esp + 0x3c], 0xffffffff
test edi, edi
je 0x4a88a7
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc