Function at 0x10057010
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
call fcn.10012ea0
test eax, eax
jne 0x10057045
mov edx, dword [ebp + 8]
mov dword [edx + 0x2654], 0xf
mov eax, dword [ebp + 8]
mov dword [eax + 0x2650], 1
jmp 0x10057052
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2650], 0
cmp dword [0x101b941c], 0x1000
je 0x1005707a
mov edx, dword [ebp + 8]
mov dword [edx + 0x2654], 0x28
mov eax, dword [ebp + 8]
mov dword [eax + 0x2650], 1
jmp 0x10057087
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2650], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2650], 0
je 0x100570ba
call fcn.10012600
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2654]
cmp eax, dword [ebp - 0x18]
jl 0x100570ba
mov dword [ebp - 0x1c], 0
jmp 0x100570c1
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x100570d1
mov eax, 1
jmp 0x1005748e
cmp dword [ebp + 0xc], 0xa0
je 0x100570e3
cmp dword [ebp + 0xc], 0xa1
jne 0x100570ea
mov dword [ebp + 0xc], 0x10
cmp dword [ebp + 0xc], 0xa4
je 0x100570fc
cmp dword [ebp + 0xc], 0xa5
jne 0x10057103
mov dword [ebp + 0xc], 0x12
cmp dword [ebp + 0xc], 0xa2
je 0x10057115
cmp dword [ebp + 0xc], 0xa3
jne 0x1005711c
mov dword [ebp + 0xc], 0x11
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3378], 0
jne 0x1005713d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3364]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3364], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
jne 0x1005715d
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10056ab0
add esp, 0xc
jmp 0x10057489
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 1
jne 0x10057409
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.1004e640
add esp, 4
test eax, eax
je 0x100571a7
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 + 0x14], 0
je 0x100571eb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32cc], 0
jne 0x100571eb
push 0x717be38b
mov ecx, dword [ebp + 8]
push ecx
call fcn.10050af0
add esp, 8
test eax, eax
jne 0x100571eb
mov edx, dword [ebp - 8]
or edx, 0x4000000
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x4000000
cmp dword [ebp + 0xc], 0x12
jne 0x100571fb
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x60], 0
jne 0x1005720a
cmp dword [ebp + 0xc], 0x79
jne 0x10057275
mov edx, dword [ebp - 8]
or edx, 0x20000000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32ac], 0
je 0x10057228
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x1005725d
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32b0]
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.100542d0
add esp, 0x1c
jmp 0x10057273
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.10054350
jmp 0x100572d2
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10057287
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x100572bc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x32b0]
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.100542d0
add esp, 0x1c
jmp 0x100572d2
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.10054350
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2604], 0
je 0x100572f5
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x2638]
call fcn.1004e6d0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x10057305
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2638]
push ecx
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp + 0xc], 0x12
jne 0x10057315
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x60], 0
jne 0x10057324
cmp dword [ebp + 0xc], 0x79
jne 0x1005739b
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 + 0x32ac], 0
je 0x1005734e
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x10057383
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32b0]
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.100542d0
add esp, 0x1c
jmp 0x10057399
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.10054350
jmp 0x10057404
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32ac], 0
je 0x100573b9
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x100573ee
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x32b0]
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.100542d0
add esp, 0x1c
jmp 0x10057404
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.10054350
jmp 0x10057489
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 2
jne 0x10057489
cmp dword [ebp + 0xc], 0x12
jne 0x10057422
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 1
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100b9e00
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2604], 0
je 0x10057457
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x263c]
call fcn.1004e6d0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x10057467
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x263c]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp + 0xc], 0x12
jne 0x10057477
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 0
push 2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100b9e00
add esp, 0xc
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret