Function at 0x403be0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48adb2
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x4b77c0]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b77c0]
xor eax, esp
push eax
lea eax, [esp + 0x348]
mov dword fs:[0], eax
mov eax, dword [esp + 0x358]
mov edi, dword [esp + 0x35c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x14]
cmp eax, 3
mov dword [esp + 0x24], edi
mov eax, 0x48f9b8
jbe 0x403c43
mov eax, 0x48f9ac
push edi
push eax
lea ecx, [esp + 0xc4]
push ecx
call fcn.00403b20
push 0x48f9a4
push eax
lea edx, [esp + 0xb4]
xor ebp, ebp
push edx
mov dword [esp + 0x368], ebp
call fcn.00403960
mov ebx, 8
add esp, 0x18
cmp dword [eax + 0x18], ebx
jb 0x403c80
mov eax, dword [eax + 4]
jmp 0x403c83
add eax, 4
lea ecx, [esp + 0xf4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x3c], esi
cmp dword [esp + 0xb8], ebx
jb 0x403cb1
mov edx, dword [esp + 0xa4]
push edx
call fcn.0046b849
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], ebp
mov word [esp + 0xa4], ax
mov dword [esp + 0x350], 0xffffffff
cmp dword [esp + 0xd4], ebx
jb 0x403cf1
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.0046b849
add esp, 4
xor edx, edx
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], ebp
mov word [esp + 0xc0], dx
cmp esi, 0xffffffff
je 0x4041f1
mov dword [esp + 0x14], esi
mov dword [esp + 0x350], 1
jmp 0x403d30
test byte [esp + 0xf4], 0x10
je 0x403ee9
xor eax, eax
mov word [esp + 0xdc], ax
lea eax, [esp + 0x120]
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x403d64
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0xe0]
call fcn.00403870
mov esi, dword [esp + 0xec]
mov byte [esp + 0x350], 2
mov edx, esi
cmp esi, 1
jb 0x403da3
mov edx, 1
mov ecx, dword [esp + 0xdc]
cmp dword [esp + 0xf0], ebx
jae 0x403dba
lea ecx, [esp + 0xdc]
mov eax, 0x48f9a0
cmp edx, ebp
jbe 0x403de8
mov bx, word [ecx]
cmp bx, word [eax]
jne 0x403dd8
add ecx, 2
add eax, 2
sub edx, 1
jne 0x403dc3
jmp 0x403de8
mov dx, word [ecx]
cmp dx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
inc eax
cmp eax, ebp
jne 0x403dfd
cmp esi, 1
jb 0x403dfd
xor eax, eax
cmp esi, 1
setne al
cmp eax, ebp
je 0x403f44
push 2
push 0x48f998
push esi
push ebp
lea ecx, [esp + 0xe8]
call fcn.00402270
test eax, eax
je 0x403f44
push 0x48f994
lea eax, [esp + 0x84]
push edi
push eax
call fcn.00403960
lea ecx, [esp + 0xe4]
push ecx
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x368], 3
call fcn.00403a30
mov ecx, dword [esp + 0x37c]
mov edx, dword [esp + 0x378]
push ecx
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
mov byte [esp + 0x378], 4
call fcn.00403be0
add esp, 0x28
test eax, eax
mov esi, 8
sete bl
cmp dword [esp + 0x5c], esi
jb 0x403e8b
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0046b849
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], dx
mov byte [esp + 0x350], 2
cmp dword [esp + 0x98], esi
jb 0x403ec0
mov eax, dword [esp + 0x84]
push eax
call fcn.0046b849
add esp, 4
test bl, bl
jne 0x4041f8
mov byte [esp + 0x350], 1
cmp dword [esp + 0xf0], esi
jb 0x403ee9
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.0046b849
add esp, 4
test dword [esp + 0xf4], 0x4000
mov esi, 0x80
je 0x403f00
mov esi, 1
mov edi, dword [esp + 0x24]
push 0x48f994
lea eax, [esp + 0xdc]
push edi
push eax
call fcn.00403960
lea ecx, [esp + 0x12c]
push ecx
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x368], 5
call fcn.00403960
mov ebx, 8
add esp, 0x18
cmp dword [eax + 0x18], ebx
jb 0x403f73
mov eax, dword [eax + 4]
jmp 0x403f76
mov ebx, 8
mov byte [esp + 0x350], 1
cmp dword [esp + 0xf0], ebx
jb 0x4041cd
mov edx, dword [esp + 0xdc]
push edx
call fcn.0046b849
add esp, 4
jmp 0x4041cd
add eax, 4
push ebp
push 0x2000000
push 3
push ebp
push 7
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x20], esi
cmp dword [esp + 0x5c], ebx
jb 0x403fa2
mov eax, dword [esp + 0x48]
push eax
call fcn.0046b849
add esp, 4
xor ecx, ecx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], cx
mov byte [esp + 0x350], 1
cmp dword [esp + 0xf0], ebx
jb 0x403fd6
mov edx, dword [esp + 0xdc]
push edx
call fcn.0046b849
add esp, 4
xor eax, eax
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], ebp
mov word [esp + 0xdc], ax
cmp esi, 0xffffffff
je 0x4041cd
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
push ebp
lea ecx, [esp + 0x44]
push ecx
push 0x20
lea edx, [esp + 0x6c]
push edx
push ebx
lea eax, [esp + 0x40]
push eax
push 0x90073
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x40403b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4041c0
cmp dword [esp + 0x60], ebp
je 0x4041c0
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov ecx, edi
and ecx, esi
cmp ecx, 0xffffffff
je 0x4041a2
mov ebx, dword [esp + 0x70]
sub ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x74]
sbb ebp, dword [esp + 0x6c]
add ebx, edi
adc ebp, esi
sub ebx, 1
sbb ebp, 0
cmp ebp, dword [esp + 0x364]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
jl 0x4041a0
jg 0x404098
cmp ebx, dword [esp + 0x360]
jb 0x4041a0
mov eax, dword [esp + 0x364]
cmp esi, eax
jl 0x4040ae
jg 0x4040b7
cmp edi, dword [esp + 0x360]
ja 0x4040b7
mov edi, dword [esp + 0x360]
mov esi, eax
cmp esi, ebp
jg 0x4041a0
jl 0x4040d0
cmp edi, ebx
ja 0x4041a0
lea esp, [esp]
mov dword [esp + 0x18], 0
jmp 0x4040e0
mov edx, dword [esp + 0x364]
mov eax, dword [esp + 0x360]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.00402010
add esp, 0xc
test eax, eax
je 0x404169
mov edx, dword [esp + 0x20]
push 0
mov dword [esp + 0x84], edx
mov eax, edi
sub eax, dword [esp + 0x38]
lea edx, [esp + 0x44]
push edx
push 0
mov ecx, esi
sbb ecx, dword [esp + 0x44]
add eax, dword [esp + 0x74]
push 0
adc ecx, dword [esp + 0x7c]
push 0x20
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x34]
push 0x90074
push ecx
mov dword [esp + 0xb8], 1
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x404188
cmp dword [esp + 0x18], 0x258
jg 0x40422b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x18]
jmp 0x4040e0
add edi, 1
adc esi, 0
cmp esi, ebp
jl 0x4040d0
jg 0x4041a0
cmp edi, ebx
jbe 0x4040d0
xor ebp, ebp
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov ebx, 8
jmp 0x404007
lea eax, [esp + 0x28]
call fcn.004021e0
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xf4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403d30
lea eax, [esp + 0x14]
call fcn.004021d0
mov eax, 1
jmp 0x40423f
cmp dword [esp + 0xf0], esi
jb 0x404211
mov eax, dword [esp + 0xdc]
push eax
call fcn.0046b849
add esp, 4
xor ecx, ecx
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebp
mov word [esp + 0xdc], cx
jmp 0x404234
lea eax, [esp + 0x28]
call fcn.004021e0
lea eax, [esp + 0x14]
call fcn.004021d0
xor eax, eax
mov ecx, dword [esp + 0x348]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.0046be7b
add esp, 0x340
ret