Function at 0x403b90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8f87
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x403e4c
mov edx, dword [0x4f4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f4f18
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x278]
push edx
mov ebx, 0x4c891c
mov byte [ebp - 4], 2
xor esi, esi
call fcn.00404180
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x274]
push edx
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.004040d0
add esp, 0x10
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x274]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x270], edi
lea ecx, [ecx]
cmp edi, 0xffffffff
je 0x403df2
cmp esi, 0x12
je 0x403df2
lea eax, [ebp - 0x23c]
lea edx, [eax + 2]
jmp 0x403c90
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403c90
sub eax, edx
lea ecx, [ebp - 0x23c]
sar eax, 1
push ecx
lea edx, [ebp - 0x26c]
push edx
mov ebx, eax
call fcn.00401c50
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x280]
push ecx
mov ebx, 0x4c891c
call fcn.00404180
add esp, 8
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x27c]
push ecx
mov ebx, eax
mov byte [ebp - 4], 7
call fcn.004040d0
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [eax]
mov esi, dword [ebp - 0x26c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x403d4b
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x403d3b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x403d3b
call fcn.00404350
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x403d2a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [ebp - 0x26c], edi
mov edi, dword [ebp - 0x270]
jmp 0x403d4b
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00401c50
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403d71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x26c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x284], esp
mov esi, esp
call fcn.00404350
add eax, 0x10
mov dword [esi], eax
call fcn.00403ad0
add esp, 4
lea ecx, [ebp - 0x268]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x403c70
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 5
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret