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

Disassembly:
push 0xffffffffffffffff
push 0x4254d7
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x42fcec]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42fcec]
xor eax, esp
push eax
lea eax, [esp + 0x314]
mov dword fs:[0], eax
mov esi, dword [esp + 0x324]
cmp word [esi], 0x5c
mov ebp, ecx
mov dword [esp + 0x24], esi
je 0x4043e3
push 0x10000
call fcn.00407d1d
add esp, 4
push esi
push str._s
mov edi, eax
push 0x8000
push edi
mov dword [esp + 0x30], edi
call fcn.00413fd5
add esp, 0x10
lea eax, [esp + 0xbc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [esp + 0x28], ebx
cmp ebx, 0xffffffff
jne 0x403dc3
push edi
call fcn.00407d28
add esp, 4
xor eax, eax
jmp 0x4043e8
mov esi, ebp
call fcn.00402790
test eax, eax
je 0x404412
mov ecx, 0x429fb4
lea eax, [esp + 0xe8]
mov edi, edi
mov dx, word [eax]
xor ebx, ebx
cmp dx, word [ecx]
jne 0x403e08
cmp dx, bx
je 0x403e04
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403e08
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x403de0
xor eax, eax
jmp 0x403e0d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4043b3
mov ecx, 0x429fb8
lea eax, [esp + 0xe8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403e47
cmp dx, bx
je 0x403e43
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403e47
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x403e21
xor eax, eax
jmp 0x403e4c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4043b3
test dword [esp + 0xbc], 0x400
jne 0x4043b3
lea esi, [ebp + 0x10158]
push esi
mov dword [ebp + 0x90], ebx
mov dword [ebp + 0x94], ebx
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0x9c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xe8]
push ecx
push edx
push str._s_s
lea edi, [ebp + 0x136]
push 0x8000
push edi
call fcn.00413fd5
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], 0x433cd0
push edi
lea ecx, [esp + 0x18]
call fcn.004066b0
mov dword [esp + 0x31c], ebx
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x403efa
push esi
lea ecx, [esp + 0x18]
call fcn.004064b0
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.004145ba
add esp, 8
cmp esi, ebx
jl 0x40441e
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x40441e
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
cmp eax, ebx
je 0x403f5e
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jl 0x403f62
push eax
push ecx
call fcn.004142ed
add esp, 8
cmp eax, ebx
je 0x403f5e
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x403f62
mov byte [esp + 0x1c], 1
jmp 0x403f62
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
mov dword [esp + 0x31c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, 0x433d10
mov dword [esp + 0x18], esi
jl 0x403ec3
test byte [esp + 0xbc], 0x10
mov esi, 1
mov dword [ebp + 0xb0], ebx
push ebx
jne 0x40417e
add dword [ebp + 0x20], esi
push 0x20000000
push 3
adc dword [ebp + 0x24], ebx
push ebx
push 7
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x40408e
xor ecx, ecx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], cx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov eax, edi
mov dword [esp + 0x31c], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404026
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x136]
lea esi, [esp + 0x30]
call fcn.00404cd0
mov edx, esi
push edx
lea edi, [ebp + 0x10140]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], 4
call fcn.00404a90
add dword [ebp + 0x30], 1
adc dword [ebp + 0x34], ebx
mov dword [esp + 0x31c], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x4043b3
mov eax, dword [esp + 0x30]
push eax
call fcn.00407d28
add esp, 4
jmp 0x4043b3
mov dword [ebp + 0x101c4], ebx
mov ebx, dword [esp + 0x1c]
push ebx
push eax
mov esi, ebp
call fcn.00403c10
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov ebx, edi
mov ecx, ebp
call fcn.00403b10
cmp byte [esp + 0x1c], 0
je 0x4043b3
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov eax, edi
mov dword [esp + 0x31c], 2
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404110
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x136]
lea esi, [esp + 0x30]
call fcn.00404cd0
mov eax, dword [ebp + 0x101c4]
mov ecx, esi
push ecx
lea edi, [ebp + 0x10140]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x70], 6
call fcn.00404a90
add dword [ebp + 0x30], 1
adc dword [ebp + 0x34], ebx
mov dword [esp + 0x31c], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x4043b3
mov edx, dword [esp + 0x30]
push edx
call fcn.00407d28
add esp, 4
jmp 0x4043b3
add dword [ebp + 0x28], esi
push 0x2000000
push 3
adc dword [ebp + 0x2c], ebx
push ebx
push 7
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x404257
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov eax, edi
mov dword [esp + 0x31c], 3
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4041f2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x136]
lea esi, [esp + 0x30]
call fcn.00404cd0
mov ecx, esi
push ecx
lea edi, [ebp + 0x10140]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x70], 4
call fcn.00404a90
add dword [ebp + 0x30], 1
adc dword [ebp + 0x34], ebx
mov dword [esp + 0x31c], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x404281
mov edx, dword [esp + 0x30]
push edx
call fcn.00407d28
add esp, 4
jmp 0x404281
mov ebx, dword [esp + 0x1c]
push ebx
mov dword [ebp + 0x101c4], esi
push eax
mov esi, ebp
call fcn.00403c10
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov ebx, edi
mov ecx, ebp
call fcn.00403b10
xor ebx, ebx
cmp byte [esp + 0x1c], bl
je 0x404387
xor ecx, ecx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
lea eax, [ebp + 0x136]
mov dword [esp + 0x31c], 4
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404300
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x136]
lea esi, [esp + 0x78]
call fcn.00404cd0
mov edx, dword [ebp + 0x101c4]
mov eax, esi
push eax
lea edi, [ebp + 0x10140]
mov dword [esp + 0x94], edx
mov dword [esp + 0xb8], 6
call fcn.00404a90
add dword [ebp + 0x30], 1
adc dword [ebp + 0x34], ebx
mov dword [esp + 0x31c], 0xffffffff
cmp dword [esp + 0x8c], 8
jb 0x40436e
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00407d28
add esp, 4
xor edx, edx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0xe8]
push eax
push ecx
push str._s_s
push 0x8000
push esi
call fcn.00413fd5
add esp, 0x14
push esi
mov ecx, ebp
call fcn.00403d20
mov ebx, dword [esp + 0x28]
lea edx, [esp + 0xbc]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [esp + 0x20]
cmp eax, 1
je 0x403dc3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.00407d28
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x314]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.00413f57
add esp, 0x30c
ret 4
mov dword [ebp + 0x10138], 1
jmp 0x4043d3
push 0x80070057
call fcn.00406550
int3