Function at 0x4a576c
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, ebx
add eax, 0xffffff6a
cmp eax, 0x27
ja case.0x4a578b.152
jmp dword [eax*4 + 0x4a5792]
push esi
call fcn.004c73bb
mov eax, 1
jmp 0x4a5dc6
push 0xffffffffffffffff
push 0
push esi
call fcn.004c7124
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.004c76d7
mov eax, 1
jmp 0x4a5dc6
mov esi, dword [0x537418]
test esi, esi
je 0x4a58ba
cmp ebx, 0xbc
jne 0x4a5886
push 0x9d
push dword [esi]
call fcn.004a576c
jmp 0x4a58b0
cmp ebx, 0xbd
jne 0x4a589c
push 0x96
push dword [esi]
call fcn.004a576c
jmp 0x4a58b0
cmp ebx, 0xbb
jne 0x4a58b0
push 0x9c
push dword [esi]
call fcn.004a576c
mov esi, dword [esi + 0x9a8]
test esi, esi
jne 0x4a5870
mov eax, 1
jmp 0x4a5dc6
push 1
push 0
push esi
call fcn.00418b7f
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.004187d0
mov eax, 1
jmp 0x4a5dc6
push 1
push 0
push 1
push 1
push 1
push esi
call fcn.0049fe26
mov eax, 1
jmp 0x4a5dc6
push 0
push 0
push 1
push 1
push 1
push esi
call fcn.0049fe26
mov eax, 1
jmp 0x4a5dc6
push 0
push esi
call fcn.004f923f
mov eax, 1
jmp 0x4a5dc6
push 1
push esi
call fcn.004f923f
mov eax, 1
jmp 0x4a5dc6
push 2
push esi
call fcn.004f923f
mov eax, 1
jmp 0x4a5dc6
push 3
push esi
call fcn.004f923f
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.00468949
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.004f8f3d
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.004f90be
mov eax, 1
jmp 0x4a5dc6
push 0xffffffffffffffff
push esi
call fcn.004f7e3e
mov eax, 1
jmp 0x4a5dc6
push 2
push esi
call fcn.004f9a04
mov eax, 1
jmp 0x4a5dc6
push 1
push esi
call fcn.004f9a04
mov eax, 1
jmp 0x4a5dc6
push 0
push esi
call fcn.004f9a04
mov eax, 1
jmp 0x4a5dc6
push 2
push esi
call fcn.0040172d
mov eax, 1
jmp 0x4a5dc6
push 1
push esi
call fcn.0040172d
mov eax, 1
jmp 0x4a5dc6
push 0
push esi
call fcn.0040172d
mov eax, 1
jmp 0x4a5dc6
push 0xffffffffffffffff
push esi
call fcn.004f86b9
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.004f9593
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.00412a78
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.00412bfc
mov eax, 1
jmp 0x4a5dc6
push 0
push esi
call fcn.00413859
mov eax, 1
jmp 0x4a5dc6
push 1
push esi
call fcn.00413859
mov eax, 1
jmp 0x4a5dc6
push 2
push esi
call fcn.00413859
mov eax, 1
jmp 0x4a5dc6
push 3
push esi
call fcn.00413859
mov eax, 1
jmp 0x4a5dc6
push 4
push esi
call fcn.00413859
mov eax, 1
jmp 0x4a5dc6
push 5
push esi
call fcn.00413859
mov eax, 1
jmp 0x4a5dc6
push 2
push esi
call fcn.004f9c59
push eax
call fcn.00412815
mov eax, 1
jmp 0x4a5dc6
push 0x555704
push esi
call fcn.00427d05
mov eax, 1
jmp 0x4a5dc6
push 0x4519e9
push 0x136
push esi
call fcn.0044ea80
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.004b2dec
mov eax, 1
jmp 0x4a5dc6
push esi
call fcn.004f9c59
mov ebx, eax
test ebx, ebx
je 0x4a5bf3
cmp dword [ebx + 0x750], 0
je 0x4a5bf3
push dword [ebx + 0x754]
push 0
push 0
push dword [ebx + 0x750]
call fcn.00451d4e
mov edi, eax
test edi, edi
je 0x4a5bea
add ebx, 4
push ebx
push 0x52feac
push str._s_s.bmp
push 0x5607bb
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 7
push 0
push 0
push 0xf0b
call fcn.00415c87
push eax
push 3
push esi
call fcn.004de90c
test eax, eax
je 0x4a5bdc
push edi
mov esi, 0x555704
mov edi, 0x5607bb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0x56093b
push 0x555704
call fcn.00518300
add esp, 8
push edi
push 0x555704
call fcn.00451c9e
test eax, eax
jne 0x4a5bdc
push 0
call fcn.00415bea
push edi
call sub.KERNEL32.dll_GlobalUnlock
push edi
call sub.KERNEL32.dll_GlobalFree
jmp 0x4a5bfa
push 0
call fcn.00415bea
jmp 0x4a5bfa
push 0
call fcn.00415bea
mov eax, 1
jmp 0x4a5dc6
and ebx, 0xfff0
sub ebx, 0xf020
je 0x4a5c23
sub ebx, 0x100
je 0x4a5d15
jmp 0x4a5dc4
cmp dword [0x537478], 0
je 0x4a5c81
push esi
call fcn.004f7e1e
test eax, eax
jne 0x4a5c81
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jl 0x4a5c81
push 6
push esi
call sub.USER32.dll_ShowWindow
push 0
push esi
call sub.USER32.dll_ShowWindow
cmp esi, dword [0x53742c]
jne 0x4a5c62
xor edx, edx
mov dword [0x53742c], edx
cmp dword [0x536414], 0
je 0x4a5c77
push esi
call fcn.004f9c59
push eax
call fcn.004e6fbd
mov eax, 1
jmp 0x4a5dc6
cmp dword [0x536414], 0
je 0x4a5d0e
push esi
call fcn.004f7e1e
test eax, eax
je 0x4a5cf2
push esi
call fcn.004e6c6a
test eax, eax
je 0x4a5cb4
push 1
push esi
call fcn.004e7ba8
mov eax, 1
jmp 0x4a5dc6
mov eax, dword [0x537438]
cmp esi, eax
jne 0x4a5cd3
push 0
push 0
push 0x10
push eax
call sub.USER32.dll_PostMessageA
mov eax, 1
jmp 0x4a5dc6
mov eax, dword [0x53743c]
cmp esi, eax
jne 0x4a5d02
push 0
push 0
push 0x10
push eax
call sub.USER32.dll_PostMessageA
mov eax, 1
jmp 0x4a5dc6
cmp esi, dword [0x53742c]
jne 0x4a5d02
xor edx, edx
mov dword [0x53742c], edx
push esi
call fcn.004f9c59
push eax
call fcn.004e6fbd
xor eax, eax
jmp 0x4a5dc6
cmp dword [0x536414], 0
je 0x4a5dc0
mov ebx, dword [0x537418]
test ebx, ebx
je 0x4a5dc0
mov edi, dword [ebx]
cmp esi, edi
je 0x4a5db2
push edi
call fcn.004f7e1e
test eax, eax
je 0x4a5db2
push dword [ebx]
call fcn.004e6c6a
test eax, eax
je 0x4a5db2
push dword [ebx]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x4a5d61
push dword [ebx]
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x4a5d6c
push 0
push dword [ebx]
call fcn.004e7ba8
jmp 0x4a5db2
cmp dword [ebx + 0x750], 0
je 0x4a5db2
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebx]
call fcn.004f9e67
mov edx, dword [ebx + 0x758]
cmp edx, dword [ebp - 8]
jne 0x4a5d98
mov ecx, dword [ebx + 0x75c]
cmp ecx, dword [ebp - 4]
je 0x4a5db2
cmp byte [ebx + 0x655], 0
je 0x4a5da9
push ebx
call fcn.00454575
jmp 0x4a5db2
push 0
push dword [ebx]
call fcn.00412d52
mov ebx, dword [ebx + 0x9a8]
test ebx, ebx
jne 0x4a5d30
xor eax, eax
jmp 0x4a5dc6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8