Function at 0x10057ac0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
call fcn.10013830
test eax, eax
jne 0x10057af5
mov edx, dword [ebp + 8]
mov dword [edx + 0x2658], 0xf
mov eax, dword [ebp + 8]
mov dword [eax + 0x2654], 1
jmp 0x10057b02
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2654], 0
cmp dword [0x101b943c], 0x1000
je 0x10057b2a
mov edx, dword [ebp + 8]
mov dword [edx + 0x2658], 0x28
mov eax, dword [ebp + 8]
mov dword [eax + 0x2654], 1
jmp 0x10057b37
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2654], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2654], 0
je 0x10057b6a
call fcn.10012f90
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2658]
cmp eax, dword [ebp - 0x18]
jl 0x10057b6a
mov dword [ebp - 0x1c], 0
jmp 0x10057b71
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x10057b81
mov eax, 1
jmp 0x10057f3e
cmp dword [ebp + 0xc], 0xa0
je 0x10057b93
cmp dword [ebp + 0xc], 0xa1
jne 0x10057b9a
mov dword [ebp + 0xc], 0x10
cmp dword [ebp + 0xc], 0xa4
je 0x10057bac
cmp dword [ebp + 0xc], 0xa5
jne 0x10057bb3
mov dword [ebp + 0xc], 0x12
cmp dword [ebp + 0xc], 0xa2
je 0x10057bc5
cmp dword [ebp + 0xc], 0xa3
jne 0x10057bcc
mov dword [ebp + 0xc], 0x11
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x337c], 0
jne 0x10057bed
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3368]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3368], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x10057c0d
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10057560
add esp, 0xc
jmp 0x10057f39
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 1
jne 0x10057eb9
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 0x10
or ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1004f0c0
add esp, 4
test eax, eax
je 0x10057c57
mov ecx, dword [ebp - 8]
or ecx, 0x1000000
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
je 0x10057c9b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32d0], 0
jne 0x10057c9b
push 0x717be38b
mov ecx, dword [ebp + 8]
push ecx
call fcn.10051570
add esp, 8
test eax, eax
jne 0x10057c9b
mov edx, dword [ebp - 8]
or edx, 0x4000000
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x4000000
cmp dword [ebp + 0xc], 0x12
jne 0x10057cab
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
jne 0x10057cba
cmp dword [ebp + 0xc], 0x79
jne 0x10057d25
mov edx, dword [ebp - 8]
or edx, 0x20000000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x10057cd8
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10057d0d
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32b4]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x104
mov ecx, dword [ebp - 4]
push ecx
call fcn.10054db0
add esp, 0x1c
jmp 0x10057d23
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x104
mov ecx, dword [ebp - 4]
push ecx
call fcn.10054e30
jmp 0x10057d82
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32b0], 0
je 0x10057d37
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32ac], 0
je 0x10057d6c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x32b4]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x100
mov eax, dword [ebp - 4]
push eax
call fcn.10054db0
add esp, 0x1c
jmp 0x10057d82
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x100
mov eax, dword [ebp - 4]
push eax
call fcn.10054e30
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2608], 0
je 0x10057da5
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x263c]
call fcn.1004f150
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x10057db5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x263c]
push ecx
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp + 0xc], 0x12
jne 0x10057dc5
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x64], 0
jne 0x10057dd4
cmp dword [ebp + 0xc], 0x79
jne 0x10057e4b
mov ecx, dword [ebp - 8]
or ecx, 0x20000000
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x10057dfe
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10057e33
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32b4]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x105
mov ecx, dword [ebp - 4]
push ecx
call fcn.10054db0
add esp, 0x1c
jmp 0x10057e49
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x105
mov ecx, dword [ebp - 4]
push ecx
call fcn.10054e30
jmp 0x10057eb4
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32b0], 0
je 0x10057e69
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10057e9e
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32b4]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x101
mov ecx, dword [ebp - 4]
push ecx
call fcn.10054db0
add esp, 0x1c
jmp 0x10057eb4
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x101
mov ecx, dword [ebp - 4]
push ecx
call fcn.10054e30
jmp 0x10057f39
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 2
jne 0x10057f39
cmp dword [ebp + 0xc], 0x12
jne 0x10057ed2
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 1
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100bafe0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2608], 0
je 0x10057f07
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x2640]
call fcn.1004f150
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x10057f17
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2640]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp + 0xc], 0x12
jne 0x10057f27
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], 0
push 2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100bafe0
add esp, 0xc
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret