Function at 0x10053f90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5848
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x10112040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101184bc]
xorps xmm0, xmm0
mov edx, dword [ebx + 8]
mov ecx, edx
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [0x101184c0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10115e7c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x60], esi
lea esi, [ecx + 1]
mov eax, dword [eax]
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x29], 0
movups xmmword [ebp - 0x4c], xmm0
mov eax, dword [eax + 0x12c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054030
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.100155a0
push 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmova eax, dword [ebp - 0x4c]
push 0
push dword [ebp - 0x3c]
push eax
push 0
push 0xfde9
call edi
push ecx
mov esi, eax
lea ecx, [ebp - 0xb4]
push esi
call fcn.100489f0
cmp dword [ebp - 0xa0], 7
lea ecx, [ebp - 0xb4]
push esi
cmova ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
push ecx
push dword [ebp - 0x3c]
cmova eax, dword [ebp - 0x4c]
push eax
push 0
push 0xfde9
call edi
mov byte [ebp - 4], 1
lea esi, [ebp - 0xb4]
cmp dword [ebp - 0xa0], 7
push 0
cmova esi, dword [ebp - 0xb4]
call fcn.1009b5d0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
mov eax, dword [eax + 0x10]
push ecx
mov ecx, dword [0x10115e7c]
push esi
push eax
call dword [ebp - 0x58]
lea ecx, [ebp - 0xb4]
call fcn.10018280
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x10054126
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005411c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005411c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a0b07
add esp, 8
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10054808
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x10054808
mov eax, dword [0x10112274]
dec edx
push 0
push 0
lea ecx, [ecx + eax*2]
mov eax, dword [0x10112118]
add eax, edx
mov dword [ebp - 0x20], ecx
push eax
push ecx
push dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x30]
call fcn.10051fe0
movzx ecx, byte [0x1011234f]
mov esi, dword [ebp - 0x60]
mov byte [ebp - 0x22], al
mov eax, dword [0x1011234c]
mov dword [ebp - 0x58], eax
shr eax, 8
mov dword [ebp - 0x50], eax
mov al, byte [0x1011234e]
mov byte [ebp - 0x21], al
lea eax, [ebp - 0x54]
mov dword [ebp - 0x5c], ecx
mov ecx, 0x101184d4
push eax
mov dword [ebp - 0x54], esi
call fcn.1005e940
cmp byte [eax], 0
jne 0x1005428b
movzx eax, byte [ebp - 0x21]
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
movzx eax, cl
mov ecx, dword [0x10115e7c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
movzx eax, al
mov edx, dword [ecx]
mov dword [ebp - 0x54], eax
xor eax, eax
cmp byte [ebp - 0x22], al
mov dword [ebp - 0x64], 0x32
cmovne eax, dword [ebp - 0x64]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x10115e7c]
add eax, esi
mov esi, dword [ebp - 0x30]
push eax
mov edx, dword [ecx]
lea eax, [edi + esi]
push eax
push dword [ebp - 0x28]
push esi
call dword [edx + 0x30]
push dword [ebp - 0x5c]
mov ecx, dword [0x10115e7c]
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x50]
mov eax, dword [ecx]
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x20]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x10115e7c]
add eax, esi
mov esi, dword [ebp - 0x30]
push eax
mov edx, dword [ecx]
lea eax, [edi + esi]
mov edi, dword [ebp - 0x28]
push eax
push edi
push esi
call dword [edx + 0x38]
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x101120c4]
cmp byte [ebp - 0x22], 0
cdq
cmovne esi, dword [0x10112130]
sub eax, edx
sar eax, 1
dec edi
add eax, edi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x20]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, dword [ebp - 0x30]
push 0
call fcn.1009b5d0
push dword [ebp - 0x18]
push 0x18
push esi
push dword [ebp - 0x5c]
push edi
push eax
push 0x10112de8
call fcn.10099cd0
mov esi, dword [ebp - 0x60]
add esp, 0x1c
mov eax, dword [0x101184d4]
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
jne 0x100542f2
cmp byte [eax + 0x14], 0
je 0x100542a7
cmp dword [eax + 0x10], esi
jne 0x10054458
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x100542d4
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x100542d0
nop dword [eax]
cmp eax, dword [ecx + 8]
jne 0x100542d0
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x100542c0
mov eax, ecx
jmp 0x100542ec
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x100542ec
nop
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x100542e0
cmp byte [eax + 0xd], 0
je 0x10054298
mov byte [ebp - 0x21], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10115de8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101186c4]
cmp eax, dword [ecx + 4]
jle 0x10054342
push 0x101186c4
call fcn.100a0bb4
add esp, 4
cmp dword [0x101186c4], 0xffffffff
jne 0x10054342
push 0x100a96c0
call fcn.100a0aed
add esp, 4
push 0x101186c4
call fcn.100a0b63
add esp, 4
cmp byte [ebp - 0x22], 0
je 0x1005439b
cmp dword [0x101160ac], 1
jne 0x1005439b
cmp byte [0x101184d0], 0
jne 0x1005439b
cmp byte [ebp - 0x21], 0
je 0x1005439b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
mov ecx, 0x101184d4
call fcn.1005e940
mov byte [eax], 1
mov eax, 0x1011268c
cmp dword [0x101126a0], 0xf
mov byte [0x101184d0], 1
cmova eax, dword [0x1011268c]
mov dword [0x1011269c], 0
mov byte [eax], 0
cmp dword [0x10116114], 1
je 0x100543ad
cmp dword [0x1011615c], 1
jne 0x100543e1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
mov ecx, 0x101184d4
call fcn.1005e940
mov byte [eax], 0
mov eax, 0x1011268c
cmp dword [0x101126a0], 0xf
mov dword [0x1011269c], 0
cmova eax, dword [0x1011268c]
mov byte [eax], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
mov ecx, 0x101184d4
call fcn.1005e940
cmp byte [eax], 0
je 0x100547eb
mov edx, dword [ebp - 0x28]
add edx, dword [0x10112118]
mov eax, dword [ebp - 0x30]
mov edi, dword [0x101120c8]
mov ecx, dword [0x10114e5c]
mov esi, dword [0x101121d0]
mov dword [ebp - 0x48], eax
mov eax, dword [0x10112344]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
cmp ecx, dword [0x10114e60]
je 0x10054461
mov edx, dword [ebp - 0x30]
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + 4], edx
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], eax
add dword [0x10114e5c], 0x14
jmp 0x10054473
mov byte [ebp - 0x21], 0
jmp 0x100542f6
lea eax, [ebp - 0x48]
push eax
push ecx
mov ecx, 0x10114e58
call fcn.1004e700
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov ecx, dword [0x10114e50]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
cmp ecx, dword [0x10114e54]
je 0x100544b3
mov edx, dword [ebp - 0x30]
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + 4], edx
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], eax
add dword [0x10114e50], 0x14
jmp 0x100544c5
lea eax, [ebp - 0x48]
push eax
push ecx
mov ecx, 0x10114e4c
call fcn.1004e700
mov edx, dword [ebp - 0x28]
mov eax, dword [0x10112118]
mov edi, dword [0x10112274]
mov esi, dword [0x101120c4]
add edi, dword [ebp - 0x30]
lea ecx, [edx + eax*2]
add ecx, eax
push 0
mov dword [ebp - 0x18], ecx
call fcn.1009b5d0
xorps xmm0, xmm0
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], str.Enter_a_Name:
movups xmm1, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
mov eax, 0x10
mov word [ebp - 0x7c], ax
mov eax, dword [0x10114e44]
movups xmmword [ebp - 0x9c], xmm1
movups xmmword [ebp - 0x74], xmm0
cmp eax, dword [0x10114e48]
je 0x1005455a
movups xmm0, xmmword [ebp - 0x8c]
movups xmmword [eax], xmm1
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [eax + 0x20], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [eax + 0x30], xmm0
add dword [0x10114e44], 0x38
jmp 0x10054567
lea ecx, [ebp - 0x9c]
push ecx
push eax
call fcn.1004e4f0
cmp dword [0x1011269c], 0xf
jae 0x100545ff
xor esi, esi
lea eax, [esi - 0x41]
cmp eax, 0x19
ja 0x100545f2
push esi
call fcn.1009b810
test al, al
je 0x100545f2
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
jne 0x100545ab
cmp dword [0x101160e8], 2
je 0x100545ab
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
add esp, 4
mov ecx, eax
jmp 0x100545ad
mov ecx, esi
mov edx, dword [0x1011269c]
mov edi, dword [0x101126a0]
mov byte [ebp - 0x18], cl
cmp edx, edi
jae 0x100545e1
lea eax, [edx + 1]
cmp edi, 0xf
mov dword [0x1011269c], eax
mov eax, 0x1011268c
cmova eax, dword [0x1011268c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x100545f2
push dword [ebp - 0x18]
push dword [ebp - 0x18]
push ecx
mov ecx, 0x1011268c
call fcn.1001e1e0
inc esi
cmp esi, 0x100
jl 0x10054576
cmp dword [0x1011269c], 0
jbe 0x1005463d
push 8
call fcn.1009b810
test al, al
je 0x1005463d
cmp dword [0x101126a0], 0xf
mov ecx, 0x1011268c
mov eax, dword [0x1011269c]
cmova ecx, dword [0x1011268c]
dec eax
add eax, ecx
mov ecx, 0x1011268c
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1005f4c0
cmp dword [0x101160dc], 1
jne 0x10054728
mov esi, dword [0x1011269c]
mov ecx, 0x1011268c
test esi, esi
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
setne byte [ebp - 0x29]
cmp dword [0x101126a0], 0xf
movups xmmword [ebp - 0x4c], xmm0
cmova ecx, dword [0x1011268c]
add esi, ecx
cmp dword [0x101126a0], 0xf
mov ecx, 0x1011268c
cmova ecx, dword [0x1011268c]
cmp ecx, esi
jne 0x100546a4
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
jmp 0x100546b0
sub esi, ecx
push esi
push ecx
lea ecx, [ebp - 0x4c]
call fcn.100155a0
mov esi, dword [ebp - 0x60]
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.1003af70
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x100546f4
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100546ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100546ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a0b07
add esp, 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
mov ecx, 0x101184d4
call fcn.1005e940
mov byte [eax], 0
mov eax, 0x1011268c
cmp dword [0x101126a0], 0xf
mov dword [0x1011269c], 0
cmova eax, dword [0x1011268c]
mov byte [eax], 0
cmp dword [0x101126a0], 0xf
mov eax, 0x1011268c
mov esi, dword [0x10112130]
cmova eax, dword [0x1011268c]
push 0
mov dword [ebp - 0x18], eax
call fcn.1009b5d0
mov ecx, dword [ebp - 0x34]
mov edi, dword [0x10112274]
add edi, dword [ebp - 0x30]
sub ecx, dword [eax + 4]
add ecx, dword [0x10112118]
add ecx, dword [ebp - 0x28]
push 0
mov dword [ebp - 0x34], ecx
call fcn.1009b5d0
mov dword [ebp - 0x88], edi
xorps xmm0, xmm0
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x84], edi
movups xmm1, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, 0x10
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov eax, dword [0x10114e44]
movups xmmword [ebp - 0x9c], xmm1
mov dword [ebp - 0x80], esi
movups xmmword [ebp - 0x74], xmm0
cmp eax, dword [0x10114e48]
je 0x100547de
movups xmm0, xmmword [ebp - 0x8c]
movups xmmword [eax], xmm1
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [eax + 0x20], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [eax + 0x30], xmm0
add dword [0x10114e44], 0x38
jmp 0x100547eb
lea ecx, [ebp - 0x9c]
push ecx
push eax
call fcn.1004e4f0
mov ecx, dword [0x10112118]
add ecx, dword [ebp - 0x1c]
add dword [0x101184c0], ecx
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0x29]
mov dword [0x101184cc], ecx
jmp 0x1005480a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100a07a5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc