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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [ebp + 0x110]
test esi, esi
push edi
mov dword [esp + 0x48], esi
je 0x452be5
push 0
mov ecx, esi
call fcn.0056cc4d
mov eax, dword [esi + 0x20]
push 0x1b
push 0
push 0xbffe
push eax
call dword [sym.imp.user32.dll_RegisterHotKey]
mov esi, dword [esp + 0x84]
test esi, esi
je 0x452bff
push 0
push 0
push 0xf
push esi
call dword [sym.imp.user32.dll_SendMessageA]
jmp 0x452c42
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push ecx
push edx
call dword [sym.imp.user32.dll_WindowFromPoint]
test eax, eax
mov dword [esp + 0x84], eax
je 0x452c3b
mov esi, dword [sym.imp.user32.dll_GetParent]
mov eax, dword [esp + 0x84]
push eax
call esi
test eax, eax
mov dword [esp + 0x84], eax
jne 0x452c26
mov esi, dword [esp + 0x84]
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
test esi, esi
je 0x452c58
push esi
call dword [sym.imp.user32.dll_SetForegroundWindow]
mov ebx, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
mov esi, ebx
sub esi, ecx
push esi
sub eax, edx
push eax
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.004522a0
mov edi, eax
mov dword [ebp + 0x110], 0
movzx ecx, word [edi + 0x2e]
movzx edx, word [edi + 0x2c]
mov ebp, dword [edi + 0x28]
push 0
push 0x2ffffff
push ecx
mov ecx, dword [edi + 0x24]
push edx
lea eax, [ebp*4]
push eax
push ecx
xor ecx, ecx
mov edx, edi
mov dword [esp + 0x48], ebp
call fcn.004e72a0
mov ecx, dword [esp + 0x88]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x90]
sar eax, 1
mov esi, ebx
sub esi, eax
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
sub ebx, esi
push ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x50], ebx
call fcn.004522a0
mov dword [esp + 0x1c], eax
push 1
xor eax, eax
mov ecx, edi
call fcn.004e7a20
push 0x15
mov dword [esp + 0x2c], eax
call fcn.0056572d
add eax, 4
mov dword [esp + 0x3c], eax
xor eax, eax
push eax
lea ecx, [esp + 0x38]
push ecx
push eax
push 0x68
mov dword [esp + 0x24], 3
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.user32.dll_SystemParametersInfoA]
test eax, eax
mov dword [esp + 0x44], eax
je 0x452d75
push 3
lea edx, [esp + 0x3c]
push edx
push 3
push 0x69
mov dword [esp + 0x48], 3
call dword [sym.imp.user32.dll_SystemParametersInfoA]
cmp dword [esp + 0x14], 0
je 0x452da7
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x84]
mov ecx, esi
and eax, 0xffff
shl ecx, 0x10
or eax, ecx
push eax
push 0xffc40000
push 0x20a
push edx
call dword [sym.imp.user32.dll_SendMessageA]
jmp 0x452de4
cmp dword [esp + 0x20], 1
jge 0x452de4
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
push eax
push ecx
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 edx, dword [esp + 0x80]
mov eax, dword [edx + 0xbc]
add eax, 1
push eax
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [esp + 0x84]
test eax, eax
je 0x452e39
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x452e39
mov ecx, dword [esp + 0x84]
push 0
push 0
push 0xf
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [esp + 0x84]
push edx
call dword [sym.imp.user32.dll_UpdateWindow]
call dword [sym.imp.gdi32.dll_GdiFlush]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x88]
push 1
push 0
push ebx
push eax
push esi
push ecx
call fcn.004ec640
mov edx, dword [esp + 0x34]
mov ebx, eax
push ebx
push edx
call fcn.004eca40
mov esi, eax
add esp, 0x20
test esi, esi
jle 0x452f4d
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x452e7c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
lea eax, [esi + ebp]
cmp dword [edi + 0x28], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], eax
jg 0x452f02
call fcn.004e7af0
movzx eax, word [edi + 0x2e]
movzx ecx, word [edi + 0x2c]
mov edx, dword [edi + 0x24]
push 0
push 0x2ffffff
push eax
mov eax, dword [esp + 0x3c]
push ecx
lea ecx, [ebp + eax*2]
add ecx, eax
push ecx
push edx
xor ecx, ecx
mov edx, edi
call fcn.004e72a0
test eax, eax
jne 0x452ef3
movzx eax, word [edi + 0x2e]
movzx ecx, word [edi + 0x2c]
mov edx, dword [edi + 0x24]
push 0
push 0x2ffffff
push eax
mov eax, dword [esp + 0x3c]
push ecx
add eax, ebp
push eax
push edx
xor ecx, ecx
mov edx, edi
call fcn.004e72a0
test eax, eax
je 0x45303b
push 1
xor eax, eax
mov ecx, edi
call fcn.004e7a20
mov dword [esp + 0x28], eax
mov ecx, dword [ebx + 0x28]
mov edx, dword [esp + 0x3c]
sub ecx, esi
sub ecx, edx
mov eax, ebp
sub eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], ecx
push eax
xor ecx, ecx
push ecx
push edx
xor eax, eax
lea edx, [esp + 0x58]
mov ecx, ebx
mov dword [esp + 0x58], 0
call fcn.004e76b0
cmp dword [esp + 0x14], 0
mov ebp, dword [esp + 0x38]
je 0x452f46
mov dword [esp + 0x14], 2
add dword [esp + 0x20], 1
jmp 0x452fbc
cmp dword [esp + 0x14], 0
jle 0x452f8f
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
sub dword [esp + 0x14], 1
push eax
push ecx
call dword [sym.imp.user32.dll_SetCursorPos]
mov esi, dword [sym.imp.user32.dll_mouse_event]
push 0
push 0
push 0
push 0
push 2
call esi
push 0
push 0
push 0
push 0
push 4
call esi
jmp 0x452fa8
test esi, esi
jne 0x452fa8
cmp dword [esp + 0x24], 3
jge 0x452fa8
push 0x15
call fcn.0056572d
sub dword [esp + 0x9c], eax
test ebx, ebx
je 0x452fb7
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 1
mov ecx, ebx
call eax
add dword [esp + 0x18], 1
mov ebx, dword [sym.imp.user32.dll_PeekMessageA]
add dword [esp + 0x24], 1
xor esi, esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x6c]
push ecx
call ebx
test eax, eax
je 0x453024
push 0
push 0
push 0
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.user32.dll_GetMessageA]
cmp dword [esp + 0x60], 0x312
je 0x45303f
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.user32.dll_TranslateMessage]
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.user32.dll_DispatchMessageA]
add esi, 1
cmp esi, 0x64
jg 0x453024
push 0
push 0
push 0
push 0
lea edx, [esp + 0x6c]
push edx
call ebx
test eax, eax
jne 0x452fd8
cmp dword [esp + 0x18], 5
jge 0x45303f
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x40]
jmp 0x452d75
xor esi, esi
jmp 0x453043
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x44], 0
je 0x453068
mov eax, dword [esp + 0x34]
push 3
lea ecx, [esp + 0x88]
push ecx
push eax
push 0x69
mov dword [esp + 0x94], eax
call dword [sym.imp.user32.dll_SystemParametersInfoA]
test esi, esi
je 0x453071
call fcn.004e7af0
movzx edx, word [edi + 0x2e]
movzx eax, word [edi + 0x2c]
mov ecx, dword [edi + 0x24]
push 0
push 0x2ffffff
push edx
push eax
push ebp
push ecx
xor ecx, ecx
mov edx, edi
call fcn.004e72a0
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4530a7
mov edx, dword [esi + 0x20]
push 0xbffe
push edx
call dword [sym.imp.user32.dll_UnregisterHotKey]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4530d1
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov eax, dword [esp + 0x80]
mov dword [eax + 0x110], esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x20
mov ecx, dword [esp + 0x80]
mov eax, edi
pop edi
mov dword [ecx + 0x110], esi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x20