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

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x48a7ae
mov ebp, dword [esp + 0x6c]
mov ecx, ebp
call fcn.00410070
mov edi, eax
mov eax, dword [edi + 0x2c]
xor esi, esi
test eax, eax
jle 0x48a7ae
test esi, esi
jl 0x48a514
cmp esi, eax
jge 0x48a514
cmp esi, dword [edi + 0x2c]
jge 0x48a540
mov eax, dword [edi + 0x28]
mov ebx, dword [eax + esi*4]
jmp 0x48a516
xor ebx, ebx
cmp dword [ebx + 0xfc], 0xa
jne 0x48a52e
mov edx, dword [ebx]
mov eax, dword [edx + 0x78]
push 0
mov ecx, ebx
call eax
test eax, eax
jne 0x48a545
mov eax, dword [edi + 0x2c]
inc esi
cmp esi, eax
jl 0x48a4ff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
call fcn.004dcd9a
mov ecx, dword [ebx + 0x164]
mov edx, dword [ebx + 0x160]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0040fcd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x118]
mov dword [esp + 0x28], ecx
mov ecx, ebx
call eax
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x114]
mov ecx, ebx
call eax
push eax
lea ecx, [esp + 0x3c]
call fcn.0040fcd0
mov eax, dword [ebp + 0xd0]
cmp eax, 0xffffffff
je 0x48a5cb
test eax, eax
jl 0x48a5b3
mov ecx, dword [ebp + 0xfc]
cmp eax, dword [ecx + 0x2c]
jge 0x48a5b3
mov ecx, dword [ecx + 0x28]
mov eax, dword [ecx + eax*4]
mov ecx, eax
jmp 0x48a5b5
xor ecx, ecx
mov dword [ebp + 0xd0], 0xffffffff
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
push 0
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x148]
push 0
push 0xffffffffffffffff
mov ecx, ebp
call eax
mov eax, dword [ebp + 0x1d4]
mov edi, dword [esp + 0x6c]
mov ecx, dword [edi + 0x20]
mov ebp, eax
and eax, 2
push ecx
and ebp, 1
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004dfd70
push 0
push 0
lea ecx, [esp + 0x24]
call fcn.0040fcd0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi + 0x20]
jne 0x48a7a8
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0
push 0xf
push 0xf
push 0
lea eax, [esp + 0x5c]
push eax
call esi
test eax, eax
je 0x48a675
push 0xf
push 0xf
push 0
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x48a675
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0xf
push 0xf
push 0
lea eax, [esp + 0x5c]
push eax
call esi
test eax, eax
jne 0x48a642
push 0
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x48a7e6
mov eax, dword [esp + 0x50]
cmp eax, 0x202
je 0x48a7a8
cmp eax, 0x200
jne 0x48a766
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
cmp esi, eax
jne 0x48a6c4
cmp edi, ecx
je 0x48a7b8
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00415ff0
mov edx, dword [eax + 4]
mov eax, dword [eax]
sub edx, edi
push edx
sub eax, esi
push eax
lea ecx, [esp + 0x34]
call fcn.0040fcd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, dword [esp + 0x2c]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test ebp, ebp
je 0x48a71a
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jg 0x48a709
mov eax, ecx
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0xb8]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x10], 0
je 0x48a738
mov eax, dword [esp + 0x38]
cmp ecx, eax
jg 0x48a72b
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xbc]
push ecx
mov ecx, ebx
call eax
mov eax, dword [esp + 0x6c]
call fcn.00487eb0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.00415ff0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x48a7c3
cmp eax, 0x100
jne 0x48a7b8
cmp dword [esp + 0x54], 0x1b
jne 0x48a7c3
test ebp, ebp
je 0x48a789
mov edx, dword [ebx]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0xb8]
push eax
mov ecx, ebx
call edx
cmp dword [esp + 0x10], 0
je 0x48a7a1
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx]
mov edx, dword [eax + 0xbc]
push ecx
mov ecx, ebx
call edx
mov eax, edi
call fcn.00487eb0
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
call dword [sym.imp.USER32.dll_GetCapture]
mov edi, dword [esp + 0x6c]
cmp eax, dword [edi + 0x20]
je 0x48a629
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
mov eax, dword [esp + 0x54]
push eax
call fcn.004e7bdd
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4