Function at 0x402a58
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate network shares
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call edi
mov ebx, dword [0x406800]
push 0x1d
mov dword [ebp - 0x30], ebx
call edi
movzx eax, ax
mov ecx, ebx
mov esi, 0x400
shr eax, 5
and ecx, esi
push 0x1c
xor eax, ecx
mov dword [ebp - 0x40], eax
call edi
xor edi, edi
test ax, ax
mov eax, dword [0x40682c]
jge 0x402ab0
cmp eax, edi
je 0x402aaa
cmp byte [eax], 0
jne 0x402aaa
mov dword [ebp - 0x2c], edi
jmp 0x402ab3
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x406808]
mov dword [ebp - 0x20], eax
mov eax, dword [0x406844]
test bh, 0x20
jne 0x402ac7
mov eax, esi
mov ecx, dword [0x4062b4]
cmp byte [0x4062cc], 0x5c
lea eax, [eax + ecx - 1]
mov dword [ebp - 8], eax
jne 0x402c2d
mov edx, dword [0x406858]
lea esi, [edx + ecx]
cmp esi, 1
ja 0x402c2d
neg eax
cmp ecx, edi
mov dword [ebp - 0xc], 0x14
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], edi
jge 0x402b10
or dword [0x4062b8], 0xffffffff
cmp esi, edi
mov ebx, 0x4063d4
jne 0x402b28
push 2
lea eax, [ebp - 8]
pop esi
push eax
push edi
push edi
push 1
push 5
jmp 0x402b4e
mov esi, dword [ebp + 0x10]
mov eax, 0x4062cc
sub esi, eax
mov dword [0x4063e8], eax
lea eax, [ebp - 8]
inc esi
push eax
push ebx
push edi
push 1
mov dword [0x4063f0], edi
mov dword [0x4063e0], edi
push 2
call sub.MPR.dll_WNetOpenEnumA
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x402c25
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 1
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp - 8]
mov dword [ebp - 0x28], 0x140
call sub.MPR.dll_WNetEnumResourceA
test eax, eax
jne 0x402c0a
mov ebx, dword [ebp - 0x20]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x402c01
mov edi, dword [0x4063e8]
test edi, edi
je 0x402be6
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x4062a4]
jle 0x402be6
cmp dword [ebp - 0x14], 0
jge 0x402be6
add edi, esi
mov eax, edi
cmp byte [edi], 0
je 0x402bc2
inc eax
cmp byte [eax], 0
jne 0x402bbc
sub eax, edi
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx], eax
je 0x402be6
push edi
push eax
call fcn.00403b64
inc dword [ebp - 4]
pop ecx
add ebx, 4
inc dword [ebp - 0x14]
pop ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push 0x4063d4
push eax
push dword [ebp - 8]
call sub.MPR.dll_WNetEnumResourceA
test eax, eax
je 0x402b88
jmp 0x402c08
mov dword [ebp - 0xc], 0x3c
xor edi, edi
push dword [ebp - 8]
call sub.MPR.dll_WNetCloseEnum
cmp dword [ebp - 4], edi
jg 0x402e2e
test byte [ebp - 0xc], 8
jne 0x402e2e
push 1
pop eax
jmp 0x40305e
mov edi, dword [ebp + 0x10]
xor ebx, ebx
neg eax
cmp dword [ebp + 0xc], 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ebx
jb 0x402c54
jbe 0x402c50
add dword [ebp - 0x14], 2
mov dword [ebp - 0xc], 0x10
or dword [ebp - 0xc], 0x20
mov esi, dword [edi]
push 0x4063d4
push 0x4062cc
mov dword [edi], 0x2a5c
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [ebp - 0x14]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov dword [edi], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x38], ecx
je 0x402df0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov esi, dword [ebp - 0x40]
push 0x10
neg esi
sbb esi, esi
mov dword [ebp - 0x24], 0x406400
and esi, 0x406504
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x402de1
mov edx, dword [0x4063d4]
test dword [0x406828], edx
jne 0x402dca
mov ebx, dword [0x406848]
mov eax, dword [ebp - 0x24]
mov cl, byte [eax]
test cl, cl
je 0x402cd8
inc eax
cmp byte [eax], 0
jne 0x402cd2
mov edi, eax
sub edi, dword [ebp - 0x24]
inc edi
test dl, 0x10
je 0x402d18
cmp cl, 0x2e
jne 0x402d00
mov eax, dword [ebp - 0x24]
cmp byte [eax + 1], 0
je 0x402dca
cmp word [eax + 1], 0x2e
je 0x402dca
cmp edi, 0x21
jbe 0x402d33
test esi, esi
je 0x402d33
cmp byte [esi], 0
je 0x402d33
lea eax, [ebx + ebx]
cmp dword [ebp - 4], eax
jle 0x402d33
jmp 0x402d2e
cmp edi, 0x25
jbe 0x402d41
test esi, esi
je 0x402d41
cmp byte [esi], 0
je 0x402d41
lea ecx, [ebx + ebx]
cmp dword [ebp - 4], ecx
jle 0x402d41
mov dword [ebp - 0x24], esi
jmp 0x402cc9
cmp dword [ebp + 0xc], 2
je 0x402d86
jb 0x402dca
jmp 0x402d8f
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x402d86
cmp byte [ecx], 0
jne 0x402d52
inc dword [ebp - 0x1c]
jmp 0x402dca
and dword [eax], 0
add eax, 0xfffffffb
mov cl, byte [eax]
test cl, cl
je 0x402d86
cmp cl, 0x2e
je 0x402d66
inc eax
jmp 0x402d58
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
mov edx, 0xdfdfdfdf
mov esi, dword [ecx]
xor esi, eax
test edx, esi
je 0x402dca
add ecx, 4
cmp byte [ecx], 0x2e
jne 0x402d86
mov esi, dword [ecx]
xor esi, eax
jmp 0x402d74
inc dword [ebp - 0x1c]
cmp dword [ebp + 0xc], 2
ja 0x402dca
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x4062a4]
jle 0x402dca
cmp dword [ebp - 0x14], 0
jge 0x402dca
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 0x34]
test eax, eax
mov dword [ecx], eax
je 0x402dca
push dword [ebp - 0x24]
push eax
call fcn.00403b64
inc dword [ebp - 4]
add dword [ebp - 0x34], 4
inc dword [ebp - 0x14]
pop ecx
pop ecx
push 0x4063d4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x402de5
jmp 0x402c8c
or dword [ebp - 0xc], 0x28
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x402dff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x402c25
push 2
pop eax
cmp dword [ebp + 0xc], eax
jbe 0x402e2e
test byte [ebp - 0xc], 8
jne 0x402e2e
cmp dword [ebp - 4], 0
jg 0x402e2a
test byte [ebp - 0x2f], 0x10
jne 0x402e2e
cmp dword [ebp - 0x1c], 0
mov dword [ebp + 0xc], eax
jle 0x402e2e
mov eax, dword [ebp - 8]
jmp 0x402c2d
add dword [ebp - 0xc], 0x20
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x4062b4]
shr ecx, 5
sub ecx, eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x406848]
lea eax, [eax + ecx*2]
lea eax, [ecx + eax - 1]
cmp dword [ebp - 4], eax
jg 0x402e54
or byte [ebp - 0x2f], 0x20
xor esi, esi
cmp dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
jle 0x402f58
jmp 0x402e6a
mov ecx, dword [0x406848]
mov ebx, dword [ebp - 0x20]
lea edi, [esi + 1]
cmp edi, dword [ebp - 4]
mov dword [ebp - 8], esi
jge 0x402ebd
lea esi, [ebx + edi*4]
push dword [esi]
mov eax, dword [ebp - 8]
push dword [ebx + eax*4]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jle 0x402e90
mov dword [ebp - 8], edi
inc edi
add esi, 4
cmp edi, dword [ebp - 4]
jl 0x402e7b
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
cmp edx, esi
je 0x402eb7
mov edx, dword [ebx + edx*4]
mov ecx, dword [ebx + esi*4]
lea eax, [ebx + esi*4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov dword [ebx + eax*4], ecx
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x406848]
and dword [ebp + 0x10], 0
lea eax, [ecx + 2]
cmp dword [ebp - 4], eax
jg 0x402ede
mov eax, dword [ebp - 0x28]
add ecx, 0xfffffffd
add eax, esi
cmp eax, ecx
jne 0x402f0a
mov dword [ebp + 0x10], 0x20
jmp 0x402f0a
test esi, esi
je 0x402f0a
mov eax, esi
cdq
idiv ecx
test edx, edx
je 0x402efa
mov eax, dword [ebp - 4]
dec eax
cmp esi, eax
jne 0x402f0a
sub ecx, edx
cmp ecx, dword [ebp - 0x28]
jg 0x402f0a
test byte [ebp - 0x2f], 0x20
jne 0x402ed5
mov dword [0x406834], 0x21
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
and edi, 0x10
jne 0x402f1b
lea eax, [esi + 0x8800]
mov dword [ebp - 8], eax
push dword [ebx + esi*4]
push eax
mov eax, edi
or eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_AppendMenuA]
test eax, eax
jne 0x402f3c
test edi, edi
je 0x402f3c
and dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push dword [ebx + eax*4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [ebp - 0x10]
inc esi
cmp esi, dword [ebp - 4]
mov dword [ebp - 0x10], esi
jl 0x402e64
mov eax, dword [0x406858]
xor edi, edi
test byte [ebp - 0xc], 8
lea ecx, [eax + 0x8310]
mov dword [ebp - 8], ecx
je 0x402f78
mov ebx, str._Stop
jmp 0x40304e
cmp dword [ebp - 0x14], edi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
jl 0x402fb0
cmp dword [0x4062a4], edi
jge 0x402f91
mov dword [0x4062a4], edi
mov ecx, dword [ebp - 4]
mov dword [0x4062ac], eax
mov eax, dword [0x40685c]
add dword [0x4062a4], ecx
mov dword [0x4062b0], eax
mov eax, dword [ebp - 0x38]
add eax, eax
jmp 0x402fbb
cmp dword [0x4062a4], edi
jle 0x402fea
mov eax, dword [ebp - 0x38]
mov dword [0x4062a8], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 4]
push eax
push str._Left____2d_itm__
push dword [ebp - 0x20]
call esi
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 8]
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_AppendMenuA]
cmp dword [ebp + 0xc], 2
jbe 0x40305c
test byte [ebp - 0xc], 4
jne 0x40305c
cmp dword [ebp + 0xc], 2
jbe 0x40302b
cmp dword [ebp - 4], edi
jle 0x40300f
push edi
push 0x8301
push 0x800
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_AppendMenuA]
cmp dword [ebp - 0x1c], edi
jle 0x403030
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x403020
cmp byte [eax], 0
je 0x40303d
mov eax, dword [ebp + 0xc]
push 0x10
pop edi
mov dword [ebp - 8], eax
jmp 0x40303d
cmp dword [ebp - 0x1c], edi
jg 0x403037
mov ebx, str._None
jmp 0x40304e
cmp dword [ebp + 0xc], 2
jb 0x40305c
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
push 0x406049
push ebx
call esi
add esp, 0xc
push ebx
push dword [ebp - 8]
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_AppendMenuA]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret