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

Disassembly:
push 0xffffffffffffffff
push 0x57c349
mov eax, dword fs:[0]
push eax
sub esp, 0x6ec
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x6e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x700]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x718]
mov esi, dword [esp + 0x710]
mov eax, dword [esp + 0x714]
mov ebp, dword [esp + 0x71c]
mov dword [esp + 0x24], ecx
xor edi, edi
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
call fcn.00402390
push 0x5958a8
push eax
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x714], edi
call fcn.00401ba0
add esp, 0xc
mov byte [esp + 0x708], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462b21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
call fcn.00538d38
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70c], 3
call fcn.00402390
push 0x5a0648
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x714], 4
call fcn.00401ba0
mov eax, dword [eax]
add esp, 0xc
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462b8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x708], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462bb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x462e11
lea esp, [esp]
mov ecx, 0x5925cc
lea eax, [esp + 0x80]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x462bf6
cmp dx, di
je 0x462bf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x462bf6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x462bd0
xor eax, eax
jmp 0x462bfb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x462dc7
mov ecx, 0x59a8a0
lea eax, [esp + 0x80]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x462c36
cmp dx, di
je 0x462c32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x462c36
add eax, 4
add ecx, 4
cmp dx, di
jne 0x462c10
xor eax, eax
jmp 0x462c3b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x462dc7
test byte [esp + 0x54], 0x10
lea ecx, [esp + 0x80]
jne 0x462db8
push str..lnk
push ecx
call fcn.00552eeb
add esp, 8
test eax, eax
je 0x462dc7
mov edx, dword [ebp]
mov ecx, dword [edx]
lea eax, [esp + 0x1c]
push eax
push 0x591bf8
push ebp
mov dword [esp + 0x28], edi
call ecx
cmp dword [esp + 0x1c], edi
je 0x462cc6
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00401ba0
add esp, 0xc
mov byte [esp + 0x708], 5
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
or dword [esp + 0x18], 1
push edi
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
test eax, eax
jne 0x462cc6
mov bl, 1
jmp 0x462cc8
xor bl, bl
mov dword [esp + 0x708], 3
test byte [esp + 0x18], 1
je 0x462cff
mov eax, dword [esp + 0x28]
and dword [esp + 0x18], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462cff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x462dc7
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x4c]
push 0x79
push edi
push ebp
call edx
test eax, eax
jl 0x462daa
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
push 2
lea ecx, [esp + 0x2a8]
push ecx
push 0x104
lea edx, [esp + 0x500]
push edx
push ebp
call eax
test eax, eax
jl 0x462daa
lea eax, [esp + 0x4f4]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x462d50
mov ebx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, ebx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x462d70
sub eax, esi
sar eax, 1
cmp edx, eax
jle 0x462daa
sub edx, eax
lea ecx, [esp + edx*2 + 0x4f4]
push ebx
push ecx
call fcn.005522fc
add esp, 8
test eax, eax
jne 0x462daa
lea ecx, [esp + 0x4f4]
call fcn.004600b0
test eax, eax
jne 0x462de1
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x462dc7
mov edx, dword [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.005390d4
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x462bc0
jmp 0x462e11
lea eax, [esp + 0x4f4]
lea edx, [eax + 2]
jmp 0x462df0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x462df0
mov ecx, dword [esp + 0x24]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x4f8]
push edx
call fcn.00402250
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x48]
xor esi, esi
cmp eax, edi
jle 0x462eb9
mov bl, 6
lea esp, [esp]
cmp esi, edi
jl 0x462f1d
cmp esi, eax
jge 0x462f1d
mov ecx, dword [esp + 0x44]
lea eax, [ecx + esi*4]
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00401ae0
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
push ebp
push ecx
mov byte [esp + 0x710], bl
mov eax, dword [eax]
push edx
push eax
call fcn.00462a70
mov byte [esp + 0x718], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462e9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
cmp dword [edx - 0xc], edi
jne 0x462eb9
mov eax, dword [esp + 0x48]
add esi, 1
cmp esi, eax
jl 0x462e30
lea ecx, [esp + 0x40]
mov byte [esp + 0x708], 2
call fcn.00538dd6
mov dword [esp + 0x708], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462ef5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x700]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6e8]
xor ecx, esp
call fcn.00552101
add esp, 0x6f8
ret
jmp fcn.00530cad