Function at 0x503d36
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x503e79
mov eax, 0x77f1c0
test eax, eax
je 0x503d6c
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005fffc4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x503d7d
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
call fcn.004c6a80
mov eax, 2
cmp eax, ecx
jl 0x503d9f
push 1
call fcn.005fffca
add esp, 4
add ebx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.user32.dll_MapVirtualKeyA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x503dcb
push 6
call fcn.005fffca
add esp, 4
mov ebx, dword [ebp - 8]
mov byte [ebx], al
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.wsock32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x503df5
mov eax, 0x760403
push eax
push 3
mov ebx, 0x19c
call fcn.00603990
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp ecx, 0x80000101
jne 0x503e29
and eax, 0xff
jmp 0x503e74
cmp ecx, 0x80000201
jne 0x503e34
cwde
jmp 0x503e74
cmp ecx, 0x80000301
je 0x503e74
cmp ecx, 0x80000401
je 0x503e74
mov dword [ebp - 0x18], eax
cmp ecx, 0x80000501
je 0x503e64
cmp ecx, 0x80000601
je 0x503e69
push 2
call fcn.005fffca
add esp, 4
fld dword [ebp - 0x18]
jmp 0x503e6f
mov dword [ebp - 0x14], edx
fld qword [ebp - 0x18]
call fcn.004c58cd
jmp 0x5040e0
cmp dword [ebp + 0xc], 0
je 0x503ef9
cmp dword [ebp + 8], 0x12
jne 0x503ec3
mov eax, 0x77f1c0
test eax, eax
je 0x503ea9
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005fffc4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x503eba
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x503ef4
mov eax, 0x77f1cc
test eax, eax
je 0x503edf
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005fffc4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x503ef0
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x503f2a
mov eax, 0x77f1d8
test eax, eax
je 0x503f15
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005fffc4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x503f26
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x21
jl 0x503f45
cmp dword [ebp + 8], 0x2f
jg 0x503f45
mov eax, 1
jmp 0x503f4a
mov eax, 0
test eax, eax
je 0x503f7a
mov ebx, dword [ebp - 4]
call fcn.004c6a80
mov eax, 3
cmp eax, ecx
jl 0x503f70
push 1
call fcn.005fffca
add esp, 4
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
inc byte [ebx]
cmp dword [ebp + 8], 0x5b
je 0x503fb3
cmp dword [ebp + 8], 0x5c
je 0x503fb3
cmp dword [ebp + 8], 0x5d
je 0x503fb3
cmp dword [ebp + 8], 0x6f
je 0x503fb3
cmp dword [ebp + 8], 0x90
je 0x503fb3
xor eax, eax
jmp 0x503fb8
mov eax, 1
test eax, eax
je 0x503fe8
mov ebx, dword [ebp - 4]
call fcn.004c6a80
mov eax, 3
cmp eax, ecx
jl 0x503fde
push 1
call fcn.005fffca
add esp, 4
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
inc byte [ebx]
mov ebx, dword [ebp - 4]
call fcn.004c6a80
mov eax, 2
cmp eax, ecx
jl 0x504006
push 1
call fcn.005fffca
add esp, 4
add ebx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.user32.dll_MapVirtualKeyA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x504032
push 6
call fcn.005fffca
add esp, 4
mov ebx, dword [ebp - 8]
mov byte [ebx], al
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.wsock32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x50405c
mov eax, 0x760403
push eax
push 3
mov ebx, 0x19c
call fcn.00603990
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp ecx, 0x80000101
jne 0x504090
and eax, 0xff
jmp 0x5040db
cmp ecx, 0x80000201
jne 0x50409b
cwde
jmp 0x5040db
cmp ecx, 0x80000301
je 0x5040db
cmp ecx, 0x80000401
je 0x5040db
mov dword [ebp - 0x18], eax
cmp ecx, 0x80000501
je 0x5040cb
cmp ecx, 0x80000601
je 0x5040d0
push 2
call fcn.005fffca
add esp, 4
fld dword [ebp - 0x18]
jmp 0x5040d6
mov dword [ebp - 0x14], edx
fld qword [ebp - 0x18]
call fcn.004c58cd
jmp 0x5040e0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x5040f1
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc