Function at 0x402a50
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x438050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x284], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2a4]
push 0x4348bc
mov edx, eax
mov dword [ebp - 0x27c], eax
call fcn.00407210
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x402aab
mov eax, dword [eax]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x290]
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp edx, 8
jb 0x402b01
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402af7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dea
push edx
push ecx
call fcn.0040af4d
add esp, 8
xor eax, eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
cmp esi, 0xffffffff
jne 0x402b80
mov edx, str.Unable_to_open_directory
mov ecx, 0x439378
call fcn.00406ec0
mov ecx, dword [ebp - 0x27c]
mov edx, ecx
cmp dword [ecx + 0x14], 8
jb 0x402b42
mov edx, dword [ecx]
push dword [ecx + 0x10]
mov ecx, eax
call fcn.00408850
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str._Error:
mov ecx, esi
call fcn.00406ec0
mov ecx, eax
call fcn.00404420
push eax
call fcn.00407170
add esp, 4
jmp 0x402dcf
mov edx, dword [ebp - 0x27c]
lea ecx, [ebp - 0x2bc]
push 0x4348f8
call fcn.00407210
add esp, 4
mov esi, eax
lea edx, [ebp - 0x24c]
mov dword [ebp - 4], 0
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x402bb0
mov eax, dword [esi + 0x14]
sub edx, ecx
mov ecx, dword [esi + 0x10]
sub eax, ecx
sar edx, 1
cmp edx, eax
ja 0x402c0c
cmp dword [esi + 0x14], 8
lea eax, [ecx + edx]
mov dword [ebp - 0x280], eax
mov edi, esi
mov dword [esi + 0x10], eax
jb 0x402be1
mov edi, dword [esi]
lea eax, [edx + edx]
push eax
lea eax, [ebp - 0x24c]
lea ecx, [edi + ecx*2]
push eax
push ecx
call fcn.0040c380
mov eax, dword [ebp - 0x280]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
mov edi, dword [ebp - 0x284]
jmp 0x402c2b
push edx
lea eax, [ebp - 0x24c]
mov byte [ebp - 0x288], 0
push eax
push dword [ebp - 0x288]
mov ecx, esi
push edx
call fcn.00408ac0
mov esi, eax
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2a8]
cmp edx, 8
jb 0x402ca8
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dea
push edx
push ecx
call fcn.0040af4d
add esp, 8
xor eax, eax
mov dword [ebp - 0x2ac], 0
test byte [ebp - 0x278], 0x10
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
je 0x402d61
mov ecx, 0x4348fc
lea eax, [ebp - 0x24c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402d06
test dx, dx
je 0x402d02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402d06
add eax, 4
add ecx, 4
test dx, dx
jne 0x402ce0
xor eax, eax
jmp 0x402d0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x402d6f
mov ecx, 0x434900
lea eax, [ebp - 0x24c]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402d46
test dx, dx
je 0x402d42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402d46
add eax, 4
add ecx, 4
test dx, dx
jne 0x402d20
xor eax, eax
jmp 0x402d4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x402d6f
lea eax, [ebp - 0x28]
mov edx, edi
push eax
mov ecx, str.mysecretkey
call fcn.00402a50
jmp 0x402d6c
lea eax, [ebp - 0x28]
mov edx, edi
push eax
call fcn.004026c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402dac
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402da2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dea
push edx
push ecx
call fcn.0040af4d
add esp, 8
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402b80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040af0a
mov esp, ebp
pop ebp
ret
call fcn.00411a97
int3