Function at 0x40269f
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 [0x4056c8]
push 0x1d
mov dword [ebp - 0x30], ebx
call edi
movzx eax, ax
mov ecx, ebx
mov esi, 0x400
shr eax, 5
and ecx, esi
xor eax, ecx
push 0x1c
mov dword [ebp - 0x40], eax
call edi
xor edi, edi
test ax, ax
mov eax, dword [0x4056e4]
jge 0x4026f7
cmp eax, edi
je 0x4026f1
cmp byte [eax], 0
jne 0x4026f1
mov dword [ebp - 0x2c], edi
jmp 0x4026fa
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
test bh, 0x20
mov eax, dword [0x4056d0]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4056f8]
jne 0x40270e
mov eax, esi
cmp byte [0x40529c], 0x5c
mov ecx, dword [0x405284]
lea eax, [eax + ecx - 1]
mov dword [ebp - 8], eax
jne 0x402874
mov edx, dword [0x405708]
lea esi, [edx + ecx]
cmp esi, 1
ja 0x402874
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 0x402757
or dword [0x405288], 0xffffffff
cmp esi, edi
mov ebx, 0x4053bc
jne 0x40276f
push 2
pop esi
lea eax, [ebp - 8]
push eax
push edi
push edi
push 1
push 5
jmp 0x402795
mov esi, dword [ebp + 0x10]
mov eax, 0x40529c
sub esi, eax
mov dword [0x4053d0], eax
lea eax, [ebp - 8]
push eax
push ebx
push edi
push 1
inc esi
mov dword [0x4053d8], edi
mov dword [0x4053c8], edi
push 2
call sub.MPR.dll_WNetOpenEnumA
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x40286c
lea eax, [ebp - 0x28]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x28], 0x140
call sub.MPR.dll_WNetEnumResourceA
test eax, eax
jne 0x402851
mov ebx, dword [ebp - 0x20]
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x402848
mov edi, dword [0x4053d0]
test edi, edi
je 0x40282d
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x405274]
jle 0x40282d
cmp dword [ebp - 0x14], 0
jge 0x40282d
add edi, esi
cmp byte [edi], 0
mov eax, edi
je 0x402809
inc eax
cmp byte [eax], 0
jne 0x402803
sub eax, edi
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx], eax
je 0x40282d
push edi
push eax
call fcn.00403887
inc dword [ebp - 4]
pop ecx
add ebx, 4
inc dword [ebp - 0x14]
pop ecx
lea eax, [ebp - 0x28]
push eax
push 0x4053bc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call sub.MPR.dll_WNetEnumResourceA
test eax, eax
je 0x4027cf
jmp 0x40284f
mov dword [ebp - 0xc], 0x3c
xor edi, edi
push dword [ebp - 8]
call sub.MPR.dll_WNetCloseEnum
cmp dword [ebp - 4], edi
jg 0x402a75
test byte [ebp - 0xc], 8
jne 0x402a75
push 1
pop eax
jmp 0x402ca5
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 0x40289b
jbe 0x402897
add dword [ebp - 0x14], 2
mov dword [ebp - 0xc], 0x10
or dword [ebp - 0xc], 0x20
mov esi, dword [edi]
push 0x4053bc
push 0x40529c
mov dword [edi], 0x2a5c
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
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 0x402a37
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov esi, dword [ebp - 0x40]
neg esi
sbb esi, esi
push 0x10
mov dword [ebp - 0x24], 0x4053e8
and esi, 0x4054ec
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x402a28
mov edx, dword [0x4053bc]
test dword [0x4056e0], edx
jne 0x402a11
mov ebx, dword [0x4056fc]
mov eax, dword [ebp - 0x24]
mov cl, byte [eax]
test cl, cl
je 0x40291f
inc eax
cmp byte [eax], 0
jne 0x402919
mov edi, eax
sub edi, dword [ebp - 0x24]
inc edi
test dl, 0x10
je 0x40295f
cmp cl, 0x2e
jne 0x402947
mov eax, dword [ebp - 0x24]
cmp byte [eax + 1], 0
je 0x402a11
cmp word [eax + 1], 0x2e
je 0x402a11
cmp edi, 0x21
jbe 0x40297a
test esi, esi
je 0x40297a
cmp byte [esi], 0
je 0x40297a
lea eax, [ebx + ebx]
cmp dword [ebp - 4], eax
jle 0x40297a
jmp 0x402975
cmp edi, 0x25
jbe 0x402988
test esi, esi
je 0x402988
cmp byte [esi], 0
je 0x402988
lea ecx, [ebx + ebx]
cmp dword [ebp - 4], ecx
jle 0x402988
mov dword [ebp - 0x24], esi
jmp 0x402910
cmp dword [ebp + 0xc], 2
je 0x4029cd
jb 0x402a11
jmp 0x4029d6
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4029cd
cmp byte [ecx], 0
jne 0x402999
inc dword [ebp - 0x1c]
jmp 0x402a11
and dword [eax], 0
add eax, 0xfffffffb
mov cl, byte [eax]
test cl, cl
je 0x4029cd
cmp cl, 0x2e
je 0x4029ad
inc eax
jmp 0x40299f
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax]
mov esi, dword [ecx]
xor esi, eax
mov edx, 0xdfdfdfdf
test edx, esi
je 0x402a11
add ecx, 4
cmp byte [ecx], 0x2e
jne 0x4029cd
mov esi, dword [ecx]
xor esi, eax
jmp 0x4029bb
inc dword [ebp - 0x1c]
cmp dword [ebp + 0xc], 2
ja 0x402a11
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x405274]
jle 0x402a11
cmp dword [ebp - 0x14], 0
jge 0x402a11
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
je 0x402a11
push dword [ebp - 0x24]
push eax
call fcn.00403887
inc dword [ebp - 4]
add dword [ebp - 0x34], 4
inc dword [ebp - 0x14]
pop ecx
pop ecx
push 0x4053bc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x402a2c
jmp 0x4028d3
or dword [ebp - 0xc], 0x28
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x402a46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40286c
push 2
pop eax
cmp dword [ebp + 0xc], eax
jbe 0x402a75
test byte [ebp - 0xc], 8
jne 0x402a75
cmp dword [ebp - 4], 0
jg 0x402a71
test byte [ebp - 0x2f], 0x10
jne 0x402a75
cmp dword [ebp - 0x1c], 0
mov dword [ebp + 0xc], eax
jle 0x402a75
mov eax, dword [ebp - 8]
jmp 0x402874
add dword [ebp - 0xc], 0x20
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x405284]
shr ecx, 5
sub ecx, eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x4056fc]
lea eax, [eax + ecx*2]
lea eax, [ecx + eax - 1]
cmp dword [ebp - 4], eax
jg 0x402a9b
or byte [ebp - 0x2f], 0x20
xor esi, esi
cmp dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
jle 0x402b9f
jmp 0x402ab1
mov ecx, dword [0x4056fc]
mov ebx, dword [ebp - 0x20]
lea edi, [esi + 1]
cmp edi, dword [ebp - 4]
mov dword [ebp - 8], esi
jge 0x402b04
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 0x402ad7
mov dword [ebp - 8], edi
inc edi
add esi, 4
cmp edi, dword [ebp - 4]
jl 0x402ac2
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
cmp edx, esi
je 0x402afe
mov ecx, dword [ebx + esi*4]
mov edx, dword [ebx + edx*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 [0x4056fc]
and dword [ebp + 0x10], 0
lea eax, [ecx + 2]
cmp dword [ebp - 4], eax
jg 0x402b25
mov eax, dword [ebp - 0x28]
add eax, esi
add ecx, 0xfffffffd
cmp eax, ecx
jne 0x402b51
mov dword [ebp + 0x10], 0x20
jmp 0x402b51
test esi, esi
je 0x402b51
mov eax, esi
cdq
idiv ecx
test edx, edx
je 0x402b41
mov eax, dword [ebp - 4]
dec eax
cmp esi, eax
jne 0x402b51
sub ecx, edx
cmp ecx, dword [ebp - 0x28]
jg 0x402b51
test byte [ebp - 0x2f], 0x20
jne 0x402b1c
mov dword [0x4056f0], 0x21
mov edi, dword [ebp - 0xc]
and edi, 0x10
mov eax, dword [ebp + 0xc]
jne 0x402b62
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 0x402b83
test edi, edi
je 0x402b83
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 0x402aab
mov eax, dword [0x405708]
xor edi, edi
test byte [ebp - 0xc], 8
lea ecx, [eax + 0x8310]
mov dword [ebp - 8], ecx
je 0x402bbf
mov ebx, 0x405091
jmp 0x402c95
cmp dword [ebp - 0x14], edi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
jl 0x402bf7
cmp dword [0x405274], edi
jge 0x402bd8
mov dword [0x405274], edi
mov ecx, dword [ebp - 4]
add dword [0x405274], ecx
mov dword [0x40527c], eax
mov eax, dword [0x40570c]
mov dword [0x405280], eax
mov eax, dword [ebp - 0x38]
add eax, eax
jmp 0x402c02
cmp dword [0x405274], edi
jle 0x402c31
mov eax, dword [ebp - 0x38]
mov dword [0x405278], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 4]
push eax
push 0x405030
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 0x402ca3
test byte [ebp - 0xc], 4
jne 0x402ca3
cmp dword [ebp + 0xc], 2
jbe 0x402c72
cmp dword [ebp - 4], edi
jle 0x402c56
push edi
push 0x8301
push 0x800
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_AppendMenuA]
cmp dword [ebp - 0x1c], edi
jle 0x402c77
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x402c67
cmp byte [eax], 0
je 0x402c84
mov eax, dword [ebp + 0xc]
push 0x10
pop edi
mov dword [ebp - 8], eax
jmp 0x402c84
cmp dword [ebp - 0x1c], edi
jg 0x402c7e
mov ebx, 0x40508a
jmp 0x402c95
cmp dword [ebp + 0xc], 2
jb 0x402ca3
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
push str.____2d
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