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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
mov esi, dword [ebx + 0x78]
push edi
push 0
mov ecx, esi
mov dword [esp + 0x2c], esi
call fcn.005652e8
push 0x1b
push 0
mov dword [ebx + 0x78], 0
mov eax, dword [esi + 0x20]
push 0xbffe
push eax
call dword [sym.imp.user32.dll_RegisterHotKey]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x450cda
push 0
push 0
push 0xf
push eax
call dword [sym.imp.user32.dll_SendMessageA]
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
mov edi, esi
sub edi, ecx
sub eax, edx
push edi
push eax
push edx
mov edx, ebx
mov dword [esp + 0x38], eax
call fcn.004504a0
mov ebx, eax
movzx ecx, word [ebx + 0x2e]
movzx edx, word [ebx + 0x2c]
mov ebp, dword [ebx + 0x28]
push 0x2ffffff
push 0
push ecx
mov ecx, dword [ebx + 0x24]
push edx
lea eax, [ebp*4]
push eax
push ecx
mov dword [esp + 0x4c], ebp
call fcn.004e3ee0
mov ecx, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x88]
sar eax, 1
mov edi, esi
sub edi, eax
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x44], eax
lea eax, [edi + esi]
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
sub esi, edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
push esi
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x3c], esi
call fcn.004504a0
mov dword [esp + 0x1c], eax
push 1
xor eax, eax
mov ecx, ebx
call fcn.004e45e0
push 0x15
mov dword [esp + 0x28], eax
call fcn.0055dd4d
add eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], 3
jmp 0x450ddb
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x14], 0
je 0x450e0d
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x7c]
shl ecx, 0x10
and edx, 0xffff
or ecx, edx
push ecx
push 0xffc40000
push 0x20a
push eax
call dword [sym.imp.user32.dll_SendMessageA]
jmp 0x450e43
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push ecx
push edx
call dword [sym.imp.user32.dll_SetCursorPos]
push 0
push 0
push 0
push 0
push 2
call dword [sym.imp.user32.dll_mouse_event]
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.user32.dll_mouse_event]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x28]
add ecx, 1
push ecx
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x450e78
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x450e78
mov edx, dword [esp + 0x7c]
push 0
push 0
push 0xf
push edx
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
push esi
push eax
push ecx
mov ecx, edi
call fcn.004504a0
mov esi, eax
mov eax, dword [esp + 0x1c]
push esi
call fcn.004e9740
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x38], edi
jle 0x450f72
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x450ebf
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
lea eax, [edi + ebp]
cmp dword [ebx + 0x28], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x40], eax
jg 0x450f3f
mov edi, ebx
call fcn.004e46b0
movzx eax, word [ebx + 0x2e]
movzx ecx, word [ebx + 0x2c]
mov edi, dword [esp + 0x34]
mov edx, dword [ebx + 0x24]
push 0x2ffffff
push 0
push eax
push ecx
lea ecx, [ebp + edi*2]
add ecx, edi
push ecx
push edx
call fcn.004e3ee0
test eax, eax
jne 0x450f2c
movzx eax, word [ebx + 0x2e]
movzx ecx, word [ebx + 0x2c]
mov edx, dword [ebx + 0x24]
push 0x2ffffff
push 0
push eax
push ecx
add edi, ebp
push edi
push edx
call fcn.004e3ee0
test eax, eax
je 0x45103f
push 1
xor eax, eax
mov ecx, ebx
call fcn.004e45e0
mov edi, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x3c]
sub eax, edi
sub eax, ecx
mov dword [esp + 0x50], eax
mov eax, ebp
sub eax, ecx
mov ecx, dword [esp + 0x24]
xor edx, edx
push eax
push edx
mov dword [esp + 0x54], edx
push ecx
xor eax, eax
lea edx, [esp + 0x58]
mov ecx, esi
call fcn.004e4270
mov ebp, dword [esp + 0x40]
jmp 0x450fad
cmp dword [esp + 0x14], 0
jle 0x450f80
sub dword [esp + 0x14], 1
jmp 0x450f99
test edi, edi
jne 0x450f99
cmp dword [esp + 0x20], 3
jge 0x450f99
push 0x15
call fcn.0055dd4d
sub dword [esp + 0x94], eax
test esi, esi
je 0x450fa8
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
add dword [esp + 0x18], 1
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x20]
add dword [esp + 0x20], 1
xor edi, edi
push edi
push edi
push edi
push ecx
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
je 0x451024
mov edi, edi
mov eax, dword [esi + 0x20]
push 0
push 0
push eax
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.user32.dll_GetMessageA]
cmp dword [esp + 0x58], 0x312
je 0x45102f
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.user32.dll_TranslateMessage]
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.user32.dll_DispatchMessageA]
add edi, 1
cmp edi, 0x64
jg 0x451024
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0
push ecx
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
jne 0x450fd0
cmp dword [esp + 0x18], 5
jl 0x450dd0
cmp dword [esp + 0x24], 0
je 0x451043
mov edi, ebx
call fcn.004e46b0
jmp 0x451043
mov esi, dword [esp + 0x28]
movzx eax, word [ebx + 0x2e]
movzx ecx, word [ebx + 0x2c]
mov edx, dword [ebx + 0x24]
push 0x2ffffff
push 0
push eax
push ecx
push ebp
push edx
call fcn.004e3ee0
mov eax, dword [esi + 0x20]
push 0xbffe
push eax
call dword [sym.imp.user32.dll_UnregisterHotKey]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x451091
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x78], esi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x20
mov edx, dword [esp + 0x78]
pop edi
mov dword [edx + 0x78], esi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x64
ret 0x20