Function at 0x402600
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416d53
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 0
jne 0x4026b9
lea ecx, [ebp - 0x1c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00404750
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x402934
inc ecx
push ecx
jmp 0x40292c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4026fd
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x40291a
xor eax, eax
mov dword [ebp - 0x24], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x38]
lea eax, [ebp + 8]
mov dword [ebp - 0x28], 0
push eax
call fcn.00401500
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x402749
push 1
push str..__
lea ecx, [ebp - 0x38]
call fcn.00404950
push 1
push 0x41dbb0
lea ecx, [ebp - 0x38]
call fcn.00404950
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x288]
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402791
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x4028e3
test byte [ebp - 0x288], 0x10
je 0x402886
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x4027bb
mov eax, dword [edx]
jmp 0x4027bd
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x25c], cx
je 0x4027e3
lea ecx, [ebp - 0x25c]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4027d4
sub ecx, edi
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edx
push eax
call fcn.00401870
call fcn.00402460
add esp, 0x18
test al, al
je 0x402886
xor eax, eax
mov dword [ebp - 0x290], 7
mov dword [ebp - 0x294], 0
mov word [ebp - 0x2a4], ax
cmp word [ebp - 0x25c], ax
jne 0x40282c
xor ecx, ecx
jmp 0x402844
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402835
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00401870
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1c]
call fcn.004043f0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x290]
cmp eax, 8
jb 0x402886
inc eax
push eax
push dword [ebp - 0x2a4]
call fcn.00401a60
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402791
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x1c]
mov ecx, edi
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4028d8
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], 0
push ecx
push eax
mov edx, edi
mov ecx, ebx
call fcn.00404de0
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [esi], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x40290a
inc eax
push eax
push dword [ebp - 0x38]
call fcn.00401a60
xor eax, eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
call fcn.00404750
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x402934
inc eax
push eax
push dword [ebp + 8]
call fcn.00401a60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040655e
mov esp, ebp
pop ebp
ret