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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6340a6
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x6ce488]
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 dword [ebp - 0x270], edx
push ecx
lea ecx, [ebp - 0x264]
call fcn.004178d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x264]
mov esi, dword [eax - 0xc]
cmp esi, 1
jg 0x4804a6
add eax, 0xfffffff0
push eax
call fcn.00401b80
add esp, 4
add eax, 0x10
jmp 0x4804e3
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4804b6
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x4804c2
call fcn.004021b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x268]
push 1
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push eax
call fcn.00416690
mov eax, dword [ebp - 0x268]
mov edx, 0x6a2f8c
mov ecx, eax
nop word [eax + eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x480516
test si, si
je 0x480512
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x480516
add ecx, 4
add edx, 4
test si, si
jne 0x4804f0
xor esi, esi
jmp 0x48051b
sbb esi, esi
or esi, 1
or edi, 0xffffffff
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480535
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x48054b
push 1
push 0x6a2f8c
lea ecx, [ebp - 0x264]
call fcn.00417970
push 0x6ace00
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x274]
call fcn.00411d40
add esp, 4
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x274]
mov ebx, eax
mov dword [ebp - 0x27c], ebx
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x480598
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0xffffffff
jne 0x4805a4
xor esi, esi
jmp 0x4807ba
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
mov edi, dword [ebp - 0x260]
shr edi, 4
and edi, 1
mov dword [ebp - 0x26c], edi
je 0x480651
mov ecx, 0x6acdf4
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4805f9
test dx, dx
je 0x4805f5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4805f9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4805d3
xor eax, eax
jmp 0x4805fe
sbb eax, eax
or eax, 1
test eax, eax
je 0x48063f
mov ecx, 0x6acdf8
lea eax, [ebp - 0x234]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x480636
test dx, dx
je 0x480632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x480636
add eax, 4
add ecx, 4
test dx, dx
jne 0x480610
xor eax, eax
jmp 0x48063b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x480651
lea eax, [ebp - 0x260]
push eax
push ebx
call esi
or edi, 0xffffffff
jmp 0x4807a6
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x268]
call fcn.00411d40
add esp, 4
mov esi, dword [ebp - 0x270]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x268]
mov esi, dword [esi]
mov ebx, dword [esi + 4]
cmp byte [ebx + 0xd], 0
jne 0x4806db
test eax, eax
je 0x4807fa
mov edx, dword [ebx + 0x10]
mov ecx, eax
mov di, word [edx]
cmp di, word [ecx]
jne 0x4806ba
test di, di
je 0x4806b6
mov di, word [edx + 2]
cmp di, word [ecx + 2]
jne 0x4806ba
add edx, 4
add ecx, 4
test di, di
jne 0x480694
xor ecx, ecx
jmp 0x4806bf
sbb ecx, ecx
or ecx, 1
shr ecx, 0x1f
test cl, cl
je 0x4806cb
mov ebx, dword [ebx + 8]
jmp 0x4806cf
mov esi, ebx
mov ebx, dword [ebx]
cmp byte [ebx + 0xd], 0
je 0x480687
mov edi, dword [ebp - 0x26c]
mov ebx, dword [ebp - 0x270]
cmp esi, dword [ebx]
je 0x480722
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4807fa
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x480716
test dx, dx
je 0x480712
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x480716
add eax, 4
add ecx, 4
test dx, dx
jne 0x4806f0
xor eax, eax
jmp 0x48071b
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x480758
lea eax, [ebp - 0x268]
push ecx
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x26c]
push eax
push ecx
mov ecx, ebx
call fcn.0048c760
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x278]
push eax
call fcn.0048c7f0
mov esi, dword [ebp - 0x278]
mov dword [esi + 0x14], edi
test edi, edi
je 0x48076c
mov ecx, dword [ebp - 0x268]
mov edx, ebx
call fcn.00480440
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x268]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480790
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x27c]
lea eax, [ebp - 0x260]
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push eax
push ebx
call esi
test eax, eax
jne 0x4805b0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4807dc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.005c358e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f90
int3