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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af7c1
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x324], 0
mov dword [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00489340
movzx eax, word [eax]
cmp eax, 0x5c
je 0x485619
push 0x612d10
lea ecx, [ebp + 0xc]
call fcn.0046e1d0
push 0x612d14
lea ecx, [ebp - 0x28]
call fcn.00418610
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x24]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00473e90
add esp, 0xc
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x40]
call fcn.00413640
push eax
call fcn.0058cc94
add esp, 8
test eax, eax
jne 0x4856bb
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004136a0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418cc0
mov eax, dword [ebp - 0x324]
or eax, 1
mov dword [ebp - 0x324], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00413710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00413710
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00413710
mov eax, dword [ebp + 8]
jmp 0x485ae5
push 0x612d04
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.00473ca0
add esp, 0xc
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x368]
call fcn.00413640
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x33c], eax
lea ecx, [ebp - 0xb8]
call fcn.00413710
cmp dword [ebp - 0x33c], 0xffffffff
jne 0x485762
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00418cc0
mov edx, dword [ebp - 0x324]
or edx, 1
mov dword [ebp - 0x324], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00413710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00413710
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00413710
mov eax, dword [ebp + 8]
jmp 0x485ae5
lea eax, [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x33c]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x485a87
mov dword [ebp - 0x32c], 0x612d0c
lea edx, [ebp - 0x2f4]
mov dword [ebp - 0x328], edx
mov eax, dword [ebp - 0x328]
mov cx, word [eax]
mov word [ebp - 0x33e], cx
mov edx, dword [ebp - 0x32c]
cmp cx, word [edx]
jne 0x4857fa
cmp word [ebp - 0x33e], 0
je 0x4857ee
mov eax, dword [ebp - 0x328]
mov cx, word [eax + 2]
mov word [ebp - 0x340], cx
mov edx, dword [ebp - 0x32c]
cmp cx, word [edx + 2]
jne 0x4857fa
add dword [ebp - 0x328], 4
add dword [ebp - 0x32c], 4
cmp word [ebp - 0x340], 0
jne 0x485794
mov dword [ebp - 0x348], 0
jmp 0x485805
sbb eax, eax
or eax, 1
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x364], ecx
cmp dword [ebp - 0x364], 0
je 0x4858ba
mov dword [ebp - 0x334], 0x612d1c
lea edx, [ebp - 0x2f4]
mov dword [ebp - 0x330], edx
mov eax, dword [ebp - 0x330]
mov cx, word [eax]
mov word [ebp - 0x336], cx
mov edx, dword [ebp - 0x334]
cmp cx, word [edx]
jne 0x48589a
cmp word [ebp - 0x336], 0
je 0x48588e
mov eax, dword [ebp - 0x330]
mov cx, word [eax + 2]
mov word [ebp - 0x338], cx
mov edx, dword [ebp - 0x334]
cmp cx, word [edx + 2]
jne 0x48589a
add dword [ebp - 0x330], 4
add dword [ebp - 0x334], 4
cmp word [ebp - 0x338], 0
jne 0x485834
mov dword [ebp - 0x344], 0
jmp 0x4858a5
sbb eax, eax
or eax, 1
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x344]
mov dword [ebp - 0x360], ecx
cmp dword [ebp - 0x360], 0
jne 0x4858bf
jmp 0x485762
lea edx, [ebp - 0x2f4]
push edx
lea ecx, [ebp - 0x58]
call fcn.00418610
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x320]
and eax, 0x10
je 0x485a76
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.00473e90
add esp, 0xc
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x358], ecx
mov byte [ebp - 4], 5
push 0x612d24
mov edx, dword [ebp - 0x358]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00473c60
add esp, 0xc
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 0x36c], ecx
mov byte [ebp - 4], 6
lea edx, [ebp + 0x24]
push edx
mov eax, dword [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00473e10
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa0]
call fcn.00413710
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x88]
call fcn.00413710
push 0
lea ecx, [ebp - 0x70]
call fcn.00413640
push eax
call fcn.0058cc94
add esp, 8
test eax, eax
jne 0x4859b9
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x28]
call fcn.004136a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00413710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00413710
jmp 0x485a87
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x374], esp
lea eax, [ebp + 0x24]
push eax
call fcn.004138a0
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x378], ecx
mov byte [ebp - 4], 0xa
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x37c], esp
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp + 0xc]
push ecx
push edx
call fcn.00473e90
add esp, 0xc
mov dword [ebp - 0x380], eax
lea edx, [ebp - 0xd0]
push edx
mov byte [ebp - 4], 9
call fcn.004855c0
add esp, 0x34
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x354]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00413760
lea ecx, [ebp - 0xd0]
call fcn.00413710
lea ecx, [ebp - 0x28]
call fcn.00411720
test eax, eax
jbe 0x485a6a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00413710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00413710
jmp 0x485a87
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00413710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00413710
jmp 0x485762
mov edx, dword [ebp - 0x33c]
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418cc0
mov ecx, dword [ebp - 0x324]
or ecx, 1
mov dword [ebp - 0x324], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00413710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00413710
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00413710
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret