Function at 0x1003c410
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100a71bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, dword [0x100a9694]
mov cl, byte [eax]
mov byte [ebp - 0x15], cl
movsx edx, byte [ebp - 0x15]
mov dword [ebp - 0x34], edx
mov eax, dword [0x100a9694]
add eax, 1
mov dword [0x100a9694], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0x7e
ja case.0x1003c466.1
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x1003c9e4]
jmp dword [eax*4 + 0x1003c9cc]
mov ecx, dword [0x100a9694]
sub ecx, 1
mov dword [0x100a9694], ecx
xor eax, eax
jmp 0x1003c9bd
mov edx, dword [0x100a9694]
movsx eax, byte [edx]
cmp eax, 0x7d
jne 0x1003c4b8
push 0x7d
call dword [sym.imp.USER32.dll_VkKeyScanA]
movsx ecx, ax
mov dword [ebp - 0x20], ecx
mov edx, dword [0x100a9694]
add edx, 1
mov dword [0x100a9694], edx
mov eax, dword [0x100a9694]
mov dword [ebp - 0x1c], eax
jmp 0x1003c4c8
mov dword [ebp - 0x20], 0
mov ecx, dword [0x100a9694]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx]
test eax, eax
je 0x1003c4f3
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
cmp edx, 0x20
je 0x1003c4f3
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
cmp ecx, 0x7d
je 0x1003c4f3
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x1003c4c8
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x1003c507
mov eax, 1
jmp 0x1003c9bd
cmp dword [ebp - 0x20], 0
jne 0x1003c55c
mov edx, dword [ebp - 0x1c]
sub edx, dword [0x100a9694]
add edx, 1
push edx
mov eax, dword [0x100a9694]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.1004de40
add esp, 0xc
mov edx, dword [ebp - 0x1c]
sub edx, dword [0x100a9694]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0xf
jae 0x1003c540
jmp 0x1003c545
call fcn.10045623
mov eax, dword [ebp - 0x30]
mov byte [ebp + eax - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.1003c390
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1003c56c
mov eax, 2
jmp 0x1003c9bd
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx]
cmp eax, 0x7d
jne 0x1003c57e
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
cmp edx, 0x20
jne 0x1003c5a1
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1004acfe
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1003c5b1
mov eax, 4
jmp 0x1003c9bd
mov edx, dword [ebp - 0x20]
shr edx, 8
and edx, 0xff
movzx eax, dl
and eax, 1
je 0x1003c5fb
cmp dword [0x100a968c], 0x1000
jne 0x1003c5db
mov eax, 5
jmp 0x1003c9bd
mov ecx, dword [0x100a968c]
mov dword [ecx*4 + 0x100a9698], 0x10
mov edx, dword [0x100a968c]
add edx, 1
mov dword [0x100a968c], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x38], 0
je 0x1003c650
cmp dword [0x100a968c], 0x1000
jne 0x1003c626
mov eax, 5
jmp 0x1003c9bd
mov edx, dword [ebp - 0x20]
and edx, 0xff
movzx eax, dl
mov ecx, dword [0x100a968c]
mov dword [ecx*4 + 0x100a9698], eax
mov edx, dword [0x100a968c]
add edx, 1
mov dword [0x100a968c], edx
jmp 0x1003c5fb
mov eax, dword [ebp - 0x20]
shr eax, 8
and eax, 0xff
movzx ecx, al
and ecx, 1
je 0x1003c697
cmp dword [0x100a968c], 0x1000
jne 0x1003c679
mov eax, 5
jmp 0x1003c9bd
mov edx, dword [0x100a968c]
mov dword [edx*4 + 0x100a9698], 0x10
mov eax, dword [0x100a968c]
add eax, 1
mov dword [0x100a968c], eax
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x3c], 0x7d
je 0x1003c6b1
jmp 0x1003c697
mov ecx, dword [ebp - 0x1c]
mov dword [0x100a9694], ecx
jmp 0x1003c9bb
mov edx, dword [0x100a9694]
movsx eax, byte [edx]
test eax, eax
je 0x1003c6f2
mov ecx, dword [0x100a9694]
movsx edx, byte [ecx]
cmp edx, 0x29
je 0x1003c6f2
call fcn.1003c410
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1003c6f0
mov eax, dword [ebp - 0x28]
jmp 0x1003c9bd
jmp case.0x1003c466.40
mov eax, dword [0x100a9694]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x1003c708
mov eax, 3
jmp 0x1003c9bd
mov edx, dword [0x100a9694]
add edx, 1
mov dword [0x100a9694], edx
jmp 0x1003c9bb
cmp dword [0x100a968c], 0x1000
jne 0x1003c732
mov eax, 5
jmp 0x1003c9bd
mov eax, dword [0x100a968c]
mov dword [eax*4 + 0x100a9698], 0xd
mov ecx, dword [0x100a968c]
add ecx, 1
mov dword [0x100a968c], ecx
jmp 0x1003c9bb
movsx edx, byte [ebp - 0x15]
cmp edx, 0x2b
jne 0x1003c765
mov byte [ebp - 0x15], 0x10
jmp 0x1003c778
movsx eax, byte [ebp - 0x15]
cmp eax, 0x5e
jne 0x1003c774
mov byte [ebp - 0x15], 0x11
jmp 0x1003c778
mov byte [ebp - 0x15], 0x12
cmp dword [0x100a968c], 0x1000
jne 0x1003c78e
mov eax, 5
jmp 0x1003c9bd
movsx ecx, byte [ebp - 0x15]
mov edx, dword [0x100a968c]
mov dword [edx*4 + 0x100a9698], ecx
mov eax, dword [0x100a968c]
add eax, 1
mov dword [0x100a968c], eax
call fcn.1003c410
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1003c7c2
mov eax, dword [ebp - 0x28]
jmp 0x1003c9bd
cmp dword [0x100a968c], 0x1000
jne 0x1003c7d8
mov eax, 5
jmp 0x1003c9bd
movsx ecx, byte [ebp - 0x15]
mov edx, dword [0x100a968c]
mov dword [edx*4 + 0x100a9698], ecx
mov eax, dword [0x100a968c]
add eax, 1
mov dword [0x100a968c], eax
jmp 0x1003c9bb
movzx ecx, byte [ebp - 0x15]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
movsx edx, ax
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
shr eax, 8
and eax, 0xff
movzx ecx, al
and ecx, 1
je 0x1003c853
cmp dword [0x100a968c], 0x1000
jne 0x1003c835
mov eax, 5
jmp 0x1003c9bd
mov edx, dword [0x100a968c]
mov dword [edx*4 + 0x100a9698], 0x10
mov eax, dword [0x100a968c]
add eax, 1
mov dword [0x100a968c], eax
mov ecx, dword [ebp - 0x20]
shr ecx, 8
and ecx, 0xff
movzx edx, cl
cmp edx, 6
jne 0x1003c8d0
cmp dword [0x100a968c], 0x1000
jne 0x1003c87d
mov eax, 5
jmp 0x1003c9bd
mov eax, dword [0x100a968c]
mov dword [eax*4 + 0x100a9698], 0x11
mov ecx, dword [0x100a968c]
add ecx, 1
mov dword [0x100a968c], ecx
cmp dword [0x100a968c], 0x1000
jne 0x1003c8b2
mov eax, 5
jmp 0x1003c9bd
mov edx, dword [0x100a968c]
mov dword [edx*4 + 0x100a9698], 0x12
mov eax, dword [0x100a968c]
add eax, 1
mov dword [0x100a968c], eax
cmp dword [0x100a968c], 0x1000
jne 0x1003c8e6
mov eax, 5
jmp 0x1003c9bd
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
movzx edx, cl
mov eax, dword [0x100a968c]
mov dword [eax*4 + 0x100a9698], edx
mov ecx, dword [0x100a968c]
add ecx, 1
mov dword [0x100a968c], ecx
mov edx, dword [ebp - 0x20]
shr edx, 8
and edx, 0xff
movzx eax, dl
and eax, 1
je 0x1003c957
cmp dword [0x100a968c], 0x1000
jne 0x1003c937
mov eax, 5
jmp 0x1003c9bd
mov ecx, dword [0x100a968c]
mov dword [ecx*4 + 0x100a9698], 0x10
mov edx, dword [0x100a968c]
add edx, 1
mov dword [0x100a968c], edx
mov eax, dword [ebp - 0x20]
shr eax, 8
and eax, 0xff
movzx ecx, al
cmp ecx, 6
jne 0x1003c9bb
cmp dword [0x100a968c], 0x1000
jne 0x1003c97d
mov eax, 5
jmp 0x1003c9bd
mov edx, dword [0x100a968c]
mov dword [edx*4 + 0x100a9698], 0x11
mov eax, dword [0x100a968c]
add eax, 1
mov dword [0x100a968c], eax
mov ecx, dword [0x100a968c]
mov dword [ecx*4 + 0x100a9698], 0x12
mov edx, dword [0x100a968c]
add edx, 1
mov dword [0x100a968c], edx
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100454bc
mov esp, ebp
pop ebp
ret