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

Disassembly:
push 0xffffffffffffffff
push 0x5b178d
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2ac]
mov dword [esp + 0x24], eax
mov dword [esp + 0x29c], 1
call fcn.005759db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42357b
push 0x80004005
call fcn.00401b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x29c], 2
call fcn.005759db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4235ad
push 0x80004005
call fcn.00401b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x29c], 3
call fcn.005759db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4235df
push 0x80004005
call fcn.00401b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x28], ebp
mov ebx, 4
mov byte [esp + 0x29c], bl
mov edx, dword [esp + 0x2a8]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x423651
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4236e9
cmp ecx, eax
jg 0x4236e9
movzx ecx, word [edx + ecx*2]
cmp cx, 0x5c
je 0x423651
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4236e9
cmp ecx, eax
jg 0x4236e9
movzx eax, word [edx + ecx*2]
cmp ax, 0x2f
je 0x423651
push 0x5c
lea ecx, [esp + 0x2ac]
call fcn.00408400
push 0x602790
lea ecx, [esp + 0x2ac]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00405c70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 5
call fcn.00401a80
mov byte [esp + 0x29c], bl
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 0x4236a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
jne 0x4236f3
lea eax, [ebp - 0x10]
mov byte [esp + 0x29c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4236e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
jmp 0x42390d
push 0x80070057
call fcn.00401b20
lea eax, [esp + 0x68]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423700
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401960
mov al, byte [esp + 0x3c]
mov edi, dword [esp + 0x1c]
test al, 0x10
je 0x423814
test bl, al
jne 0x4238c7
mov eax, dword [edi - 0xc]
cmp eax, 1
jne 0x42374f
test eax, eax
jl 0x4236e9
movzx eax, word [edi]
cmp ax, 0x2e
je 0x4238c7
lea edx, [esp + 0x1c]
push 0x60480c
push edx
call fcn.00405d50
add esp, 8
test al, al
jne 0x4238c7
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x2ac]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00405c70
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a0], 6
call fcn.00401a80
mov byte [esp + 0x29c], bl
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 0x4237bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
push ecx
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.00401a10
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2a8], 7
mov eax, dword [esp + 0x2b0]
add eax, 0xfffffff0
mov dword [esp + 0x44], esp
mov esi, esp
push eax
call fcn.00401a10
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x2a8], bl
call fcn.00423510
add esp, 0xc
jmp 0x4238c7
mov ecx, dword [esp + 0x2a4]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x423571
mov eax, edi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423854
test dx, dx
je 0x423850
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423854
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x423830
xor eax, eax
jmp 0x423859
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x4238c7
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2ac]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00405bb0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 8
call fcn.00401a80
mov byte [esp + 0x29c], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4238b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.005789d3
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4236f3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x10]
mov byte [esp + 0x29c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42390a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x29c], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42392e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423956
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 0
mov eax, dword [esp + 0x2a4]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423981
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x29c], 0xffffffff
mov eax, dword [esp + 0x2a8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4239af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.005832f8
add esp, 0x28c
ret