Function at 0x4fddb8
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x1bc
call fcn.00536520
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4fde20
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [ebp - 8]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x100
jg 0x4fdf05
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fde59
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fde6c
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x1c], ebx
fild dword [ebp - 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x61880c]
fstp qword [ebp - 0x2c]
mov dword [ebp - 0x30], esp
fld qword [ebp - 0x2c]
call fcn.0049d9a9
push eax
call dword [sym.imp.user32.dll_GetKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4fdeab
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x34], eax
push 0x80000601
push 0x40600000
push 0
mov eax, dword [ebp - 0x34]
and eax, 0xff
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x3c]
push 0x80000601
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 2
mov ebx, 0x44
call fcn.0053aed0
add esp, 0x1c
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fld qword [ebp - 0x4c]
call fcn.0049d9a9
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], al
pop ebx
pop ecx
jmp 0x4fde2b
add esp, 8
mov dword [ebp - 0x1c], esp
push 0x12
call dword [sym.imp.user32.dll_GetKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4fdf2c
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x24], 0x7f
mov eax, 0
seta al
test eax, eax
je 0x4fdf4d
mov eax, 1
jmp 0x4fdf52
mov eax, 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0x11
call dword [sym.imp.user32.dll_GetKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x4fdf79
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x38], eax
cmp byte [ebp - 0x38], 0x7f
mov eax, 0
seta al
test eax, eax
je 0x4fdf9a
mov eax, 2
jmp 0x4fdf9f
mov eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0x10
call dword [sym.imp.user32.dll_GetKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x4fdfc6
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x4c], eax
cmp byte [ebp - 0x4c], 0x7f
mov eax, 0
seta al
test eax, eax
je 0x4fdfe7
mov eax, 4
jmp 0x4fdfec
mov eax, 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esp
push 0x5b
call dword [sym.imp.user32.dll_GetKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x58], esp
je 0x4fe013
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x60], eax
cmp byte [ebp - 0x60], 0x7f
mov eax, 0
seta al
test eax, eax
je 0x4fe034
mov eax, 8
jmp 0x4fe039
mov eax, 0
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fild dword [ebp - 0x40]
fstp qword [ebp - 0x78]
fadd qword [ebp - 0x78]
fild dword [ebp - 0x54]
fstp qword [ebp - 0x80]
fadd qword [ebp - 0x80]
fild dword [ebp - 0x68]
fstp qword [ebp - 0x88]
fadd qword [ebp - 0x88]
fstp qword [ebp - 0x90]
fld qword [ebp - 0x90]
call fcn.0049d9a9
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
push ebx
push ecx
mov eax, 0x13
dec eax
jns 0x4fe09f
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe0b2
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
push ebx
push ecx
mov eax, 0x12
dec eax
jns 0x4fe0d6
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe0e9
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
push ebx
push ecx
mov eax, 0x11
dec eax
jns 0x4fe10d
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe120
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
push ebx
push ecx
mov eax, 0x5c
dec eax
jns 0x4fe144
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe157
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
mov eax, 0xa0
cmp eax, ecx
jl 0x4fe17a
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
mov eax, 0xa1
cmp eax, ecx
jl 0x4fe19d
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
mov eax, 0xa2
cmp eax, ecx
jl 0x4fe1c0
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
mov eax, 0xa3
cmp eax, ecx
jl 0x4fe1e3
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
mov eax, 0xa4
cmp eax, ecx
jl 0x4fe206
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 4]
call fcn.0049d8c2
mov eax, 0xa5
cmp eax, ecx
jl 0x4fe229
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x20]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x24]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x28]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x2c]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x30]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x34]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x38]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x3c]
mov byte [ebx], 0
mov ebx, dword [ebp - 0x40]
mov byte [ebx], 0
mov ebx, dword [0x6378dd]
call fcn.0049ecb4
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4fe848
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe2ac
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe2bf
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0
je 0x4fe840
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe2f5
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe308
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
cmp dword [ebp - 0xc], eax
jne 0x4fe7f7
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x1bc
call fcn.00536520
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4fe358
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe37c
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe38f
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0
je 0x4fe43c
mov ebx, dword [ebp - 0x10]
call fcn.0049d8c2
push ebx
push ecx
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe3d2
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe3e5
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
fild dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x61880c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0049d9a9
dec eax
jns 0x4fe41e
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe431
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov byte [ebx], 1
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe45c
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe46f
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0
je 0x4fe76c
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe4a8
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe4bb
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0
je 0x4fe568
mov ebx, dword [ebp - 0x10]
call fcn.0049d8c2
push ebx
push ecx
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe4fe
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe511
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
fild dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x61880c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0049d9a9
dec eax
jns 0x4fe54a
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe55d
push 1
call fcn.0053559b
add esp, 4
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov byte [ebx], 1
mov eax, dword [ebp - 4]
xor ecx, ecx
test eax, eax
je 0x4fe574
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x4fe585
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4fe59c
dec eax
test ecx, ecx
je 0x4fe59c
call fcn.004a4655
add esp, 0xc
test eax, eax
jne 0x4fe767
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe5c7
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe5da
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 0
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe610
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe623
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe658
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe66b
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe69d
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe6b0
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0
je 0x4fe702
mov dword [ebp - 0x1c], esp
push 0
push 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.user32.dll_CallWindowProcA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4fe6fd
push 6
call fcn.0053559b
add esp, 4
jmp 0x4fe767
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4fe742
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4fe767
push 6
call fcn.0053559b
add esp, 4
jmp 0x4fe7f2
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe78c
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe79f
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 4]
xor ecx, ecx
test eax, eax
je 0x4fe7b8
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
je 0x4fe7c9
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4fe7e0
dec eax
test ecx, ecx
je 0x4fe7e0
call fcn.004a4655
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
jmp 0x4fe840
mov ebx, dword [0x6378dd]
call fcn.0049d8c2
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x4fe817
push 4
call fcn.0053559b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4fe82a
push 1
call fcn.0053559b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 0
pop eax
pop ebx
pop ecx
jmp 0x4fe27e
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4fe85b
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4fe86b
push ebx
call fcn.0053558f
add esp, 4
mov esp, ebp
pop ebp
ret