Function at 0x10056f80
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 0x10056fb5
mov edx, dword [ebp + 8]
mov dword [edx + 0x2654], 0xf
mov eax, dword [ebp + 8]
mov dword [eax + 0x2650], 1
jmp 0x10056fc2
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2650], 0
cmp dword [0x101b941c], 0x1000
je 0x10056fea
mov edx, dword [ebp + 8]
mov dword [edx + 0x2654], 0x28
mov eax, dword [ebp + 8]
mov dword [eax + 0x2650], 1
jmp 0x10056ff7
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2650], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2650], 0
je 0x1005702a
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 0x1005702a
mov dword [ebp - 0x1c], 0
jmp 0x10057031
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x10057041
mov eax, 1
jmp 0x100573fe
cmp dword [ebp + 0xc], 0xa0
je 0x10057053
cmp dword [ebp + 0xc], 0xa1
jne 0x1005705a
mov dword [ebp + 0xc], 0x10
cmp dword [ebp + 0xc], 0xa4
je 0x1005706c
cmp dword [ebp + 0xc], 0xa5
jne 0x10057073
mov dword [ebp + 0xc], 0x12
cmp dword [ebp + 0xc], 0xa2
je 0x10057085
cmp dword [ebp + 0xc], 0xa3
jne 0x1005708c
mov dword [ebp + 0xc], 0x11
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3378], 0
jne 0x100570ad
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 0x100570cd
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10056a20
add esp, 0xc
jmp 0x100573f9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 1
jne 0x10057379
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.1004e610
add esp, 4
test eax, eax
je 0x10057117
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 0x1005715b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32cc], 0
jne 0x1005715b
push 0x717be38b
mov ecx, dword [ebp + 8]
push ecx
call fcn.10050ac0
add esp, 8
test eax, eax
jne 0x1005715b
mov edx, dword [ebp - 8]
or edx, 0x4000000
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x4000000
cmp dword [ebp + 0xc], 0x12
jne 0x1005716b
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x60], 0
jne 0x1005717a
cmp dword [ebp + 0xc], 0x79
jne 0x100571e5
mov edx, dword [ebp - 8]
or edx, 0x20000000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32ac], 0
je 0x10057198
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x100571cd
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.10054270
add esp, 0x1c
jmp 0x100571e3
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.100542f0
jmp 0x10057242
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32ac], 0
je 0x100571f7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x32a8], 0
je 0x1005722c
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.10054270
add esp, 0x1c
jmp 0x10057242
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.100542f0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2604], 0
je 0x10057265
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x2638]
call fcn.1004e6a0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x10057275
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 0x10057285
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x60], 0
jne 0x10057294
cmp dword [ebp + 0xc], 0x79
jne 0x1005730b
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 0x100572be
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x100572f3
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.10054270
add esp, 0x1c
jmp 0x10057309
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.100542f0
jmp 0x10057374
mov edx, dword [ebp - 8]
or edx, 0xc0000000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x32ac], 0
je 0x10057329
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x32a8], 0
je 0x1005735e
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.10054270
add esp, 0x1c
jmp 0x10057374
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.100542f0
jmp 0x100573f9
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 2
jne 0x100573f9
cmp dword [ebp + 0xc], 0x12
jne 0x10057392
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.100b9da0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2604], 0
je 0x100573c7
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x263c]
call fcn.1004e6a0
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x100573d7
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 0x100573e7
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.100b9da0
add esp, 0xc
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret