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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x42d0b4]
xor eax, esp
mov dword [esp + 0x270], eax
mov eax, ecx
mov dword [esp + 0x18], edx
mov ecx, dword [ebp + 8]
mov edx, eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
lea ecx, [edx + 2]
mov dword [esp + 0x1c], ebx
mov esi, edi
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x423cd0
sub edx, ecx
mov ecx, ebx
sar edx, 1
cmp word [ebx], di
je 0x423fa2
mov edi, ecx
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423cec
mov eax, ecx
sub eax, edi
sar eax, 1
add eax, edx
add esi, eax
xor eax, eax
cmp word [ecx], ax
jne 0x423cea
cmp ax, si
je 0x423fa2
lea eax, [esi + 1]
movzx esi, ax
mov dword [esp + 0x14], esi
lea ecx, [esi + esi]
call fcn.0040dc10
mov edi, eax
test edi, edi
je 0x423f9d
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0xc], ebx
mov ebx, edi
cmp word [eax], cx
je 0x423d83
push dword [esp + 0x10]
mov eax, ebx
mov ecx, ebx
sub eax, edi
sar eax, 1
sub esi, eax
mov edx, esi
call fcn.0040f2e0
push dword [esp + 0xc]
mov edx, esi
mov ecx, ebx
call fcn.0040fb80
mov ecx, dword [esp + 0xc]
call fcn.0040a719
mov esi, eax
mov ecx, ebx
mov dword [esp + 0xc], esi
call fcn.0040a719
mov ebx, eax
xor eax, eax
cmp word [esi], ax
mov esi, dword [esp + 0x14]
jne 0x423d3e
mov edx, dword [esp + 0x20]
xor eax, eax
push ecx
mov ecx, dword [esp + 0x28]
push edi
push dword [ebp + 0xc]
mov word [ebx], ax
call fcn.00406da9
mov ecx, edi
mov dword [esp + 0xc], eax
call fcn.0040dba0
mov ebx, dword [esp + 0x10]
xor esi, esi
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x423db0
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 2]
lea ecx, [edi + edi]
mov dword [esp + 0x18], edi
call fcn.0040dc10
mov esi, eax
test esi, esi
je 0x423f9d
push ebx
mov edx, edi
mov ecx, esi
call fcn.0040f2e0
xor edx, edx
mov eax, esi
mov ecx, esi
cmp word [esi], dx
je 0x423df7
mov ecx, eax
add eax, 2
cmp word [eax], dx
jne 0x423ded
lea eax, [ecx + 2]
mov edx, edi
push 0x402660
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0040fb80
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov ebx, eax
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
mov word [eax], cx
cmp ebx, 0xffffffff
je 0x423f8e
test byte [esp + 0x28], 0x10
je 0x423f62
mov ecx, 0x402424
lea eax, [esp + 0x54]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423e6c
test dx, dx
je 0x423e66
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423e6c
add eax, 4
add ecx, 4
test dx, dx
jne 0x423e44
xor ebx, ebx
mov eax, ebx
jmp 0x423e73
sbb eax, eax
or eax, 1
xor ebx, ebx
test eax, eax
je 0x423f62
mov ecx, 0x402500
lea eax, [esp + 0x54]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x423eaa
test dx, dx
je 0x423ea6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x423eaa
add eax, 4
add ecx, 4
test dx, dx
jne 0x423e84
mov eax, ebx
jmp 0x423eaf
sbb eax, eax
or eax, 1
test eax, eax
je 0x423f62
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x423ebc
sub edx, ecx
lea ecx, [esp + 0x54]
sar edx, 1
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x423ed2
sub ecx, edi
lea edi, [edx + 2]
sar ecx, 1
add edi, ecx
cmp edi, dword [esp + 0x18]
jle 0x423f1b
lea edx, [edi + edi]
mov ecx, esi
call fcn.0040dc60
test eax, eax
je 0x423f7f
mov esi, eax
mov dword [esp + 0x18], edi
mov ecx, eax
jmp 0x423f0d
mov ecx, eax
add eax, 2
cmp word [eax], bx
jne 0x423f08
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
jmp 0x423f1f
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x54]
mov edx, edi
push eax
mov ecx, esi
call fcn.0040fb80
push 0x4024fc
mov edx, edi
mov ecx, esi
call fcn.0040fb80
push dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, esi
push dword [ebp + 0xc]
push dword [esp + 0x28]
call fcn.00423c90
mov ebx, eax
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov word [eax], cx
jmp 0x423f66
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x423e30
jmp 0x423f82
xor ebx, ebx
inc ebx
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
jmp 0x423f92
mov ebx, dword [esp + 0xc]
mov ecx, esi
call fcn.0040dba0
mov eax, ebx
jmp 0x423fa4
xor eax, eax
inc eax
jmp 0x423fa4
xor eax, eax
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00416ad0
mov esp, ebp
pop ebp
ret 0xc