Function at 0x10056fb0
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.10012f00
test eax, eax
jne 0x10056fe5
mov edx, dword [ebp + 8]
mov dword [edx + 0x2654], 0xf
mov eax, dword [ebp + 8]
mov dword [eax + 0x2650], 1
jmp 0x10056ff2
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2650], 0
cmp dword [0x101b839c], 0x1000
je 0x1005701a
mov edx, dword [ebp + 8]
mov dword [edx + 0x2654], 0x28
mov eax, dword [ebp + 8]
mov dword [eax + 0x2650], 1
jmp 0x10057027
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2650], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2650], 0
je 0x1005705a
call fcn.10012660
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 0x1005705a
mov dword [ebp - 0x1c], 0
jmp 0x10057061
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x10057071
mov eax, 1
jmp 0x1005742b
cmp dword [ebp + 0xc], 0xa0
je 0x10057083
cmp dword [ebp + 0xc], 0xa1
jne 0x1005708a
mov dword [ebp + 0xc], 0x10
cmp dword [ebp + 0xc], 0xa4
je 0x1005709c
cmp dword [ebp + 0xc], 0xa5
jne 0x100570a3
mov dword [ebp + 0xc], 0x12
cmp dword [ebp + 0xc], 0xa2
je 0x100570b5
cmp dword [ebp + 0xc], 0xa3
jne 0x100570bc
mov dword [ebp + 0xc], 0x11
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3378], 0
jne 0x100570dd
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 0x100570fc
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.10056a50
add esp, 8
jmp 0x10057426
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 1
jne 0x100573a6
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
or eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1004e670
add esp, 4
test eax, eax
je 0x10057145
mov eax, dword [ebp - 8]
or eax, 0x1000000
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x10057189
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32cc], 0
jne 0x10057189
push 0x717be38b
mov eax, dword [ebp + 8]
push eax
call fcn.10050b20
add esp, 8
test eax, eax
jne 0x10057189
mov ecx, dword [ebp - 8]
or ecx, 0x4000000
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0x4000000
cmp dword [ebp + 0xc], 0x12
jne 0x10057199
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x60], 0
jne 0x100571a8
cmp dword [ebp + 0xc], 0x79
jne 0x10057213
mov ecx, dword [ebp - 8]
or ecx, 0x20000000
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x100571c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x100571fb
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 0x104
mov eax, dword [ebp - 4]
push eax
call fcn.100542c0
add esp, 0x1c
jmp 0x10057211
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x104
mov eax, dword [ebp - 4]
push eax
call fcn.10054340
jmp 0x10057270
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32ac], 0
je 0x10057225
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32a8], 0
je 0x1005725a
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x32b0]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x100
mov edx, dword [ebp - 4]
push edx
call fcn.100542c0
add esp, 0x1c
jmp 0x10057270
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x100
mov edx, dword [ebp - 4]
push edx
call fcn.10054340
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2604], 0
je 0x10057293
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x2638]
call fcn.1004e700
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x100572a3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2638]
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp + 0xc], 0x12
jne 0x100572b3
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x60], 0
jne 0x100572c2
cmp dword [ebp + 0xc], 0x79
jne 0x10057338
mov eax, dword [ebp - 8]
or eax, 0x20000000
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
or ecx, 0xc0000000
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x100572eb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x10057320
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 0x105
mov eax, dword [ebp - 4]
push eax
call fcn.100542c0
add esp, 0x1c
jmp 0x10057336
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x105
mov eax, dword [ebp - 4]
push eax
call fcn.10054340
jmp 0x100573a1
mov ecx, dword [ebp - 8]
or ecx, 0xc0000000
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x10057356
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x1005738b
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 0x101
mov eax, dword [ebp - 4]
push eax
call fcn.100542c0
add esp, 0x1c
jmp 0x100573a1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x101
mov eax, dword [ebp - 4]
push eax
call fcn.10054340
jmp 0x10057426
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 2
jne 0x10057426
cmp dword [ebp + 0xc], 0x12
jne 0x100573bf
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 1
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100ba260
add esp, 0xc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2604], 0
je 0x100573f4
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x263c]
call fcn.1004e700
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x10057404
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x263c]
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [ebp + 0xc], 0x12
jne 0x10057414
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 0
push 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100ba260
add esp, 0xc
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret