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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
cmp dword [ebp + 0x20468], 0
mov eax, dword [ebp + 0x2046c]
push esi
mov esi, dword [ebp + 0x20464]
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], eax
mov dword [ebp + 0x20478], esi
jne 0x42d541
cmp dword [ebp + 0x20470], 2
jne 0x42d541
mov ecx, dword [ebp + 0x2045c]
cmp word [ecx + 2], 0x3a
jne 0x42d541
mov dword [ebp + 0x10250], 0x2e
mov dword [ebp + 0x20468], 1
mov byte [esp + 0x40], 0
mov ecx, dword [ebp + 0x20468]
mov eax, 0x8000
sub eax, esi
lea edx, [ebp + esi*2 + 0x250]
mov dword [esp + 0x24], eax
cmp ecx, eax
jae 0x42d87c
lea ecx, [ecx + ecx + 2]
push ecx
lea eax, [ebp + 0x10250]
push eax
push edx
call fcn.004cd6c0
add esp, 0xc
lea eax, [ebp + 0x250]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ecx, ecx
mov ebx, eax
cmp ebx, 0xffffffff
setne cl
mov edi, ecx
test edi, edi
je 0x42d5b5
mov eax, dword [esp + 0x3c]
mov esi, ebp
call fcn.00443c70
test al, al
je 0x42d5b1
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
test edi, edi
jne 0x42d594
mov esi, dword [esp + 0x44]
mov eax, dword [0x51161c]
mov dword [esp + 0x20], eax
mov dword [eax + 0x10], ebp
test edi, edi
je 0x42d6a5
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x18]
cmp word [ecx], 0x73
jne 0x42d601
mov edx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x18]
lea eax, [esp + 0x14]
push eax
push edx
push 2
call fcn.00425f30
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
cmp eax, ecx
je 0x42d5d6
jmp 0x42d61c
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push eax
push 3
call fcn.00425f30
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
test eax, eax
je 0x42d648
cmp esi, 6
jne 0x42d81f
cmp eax, dword [esp + 0x10]
je 0x42d656
mov edx, dword [esp + 0x34]
push ebx
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x1c
cmp esi, 1
je 0x42d656
cmp esi, 6
jne 0x42d847
mov esi, dword [esp + 0x38]
test esi, esi
je 0x42d670
lea edi, [esp + 0x18]
call fcn.0042cd10
test al, al
jne 0x42d843
nop
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
test edi, edi
je 0x42d68d
mov eax, dword [esp + 0x3c]
mov esi, ebp
call fcn.00443c70
test al, al
jne 0x42d670
mov eax, dword [esp + 0x20]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
test edi, edi
jne 0x42d5c9
mov esi, dword [esp + 0x44]
cmp ebx, 0xffffffff
je 0x42d6b1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x40], 0
je 0x42d87c
lea eax, [ebp + esi*2 + 0x250]
mov dword [eax], 0x2a
push ebp
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
je 0x42d87c
mov eax, 0x8000
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test byte [ebp], 0x10
je 0x42d80d
cmp word [ebp + 0x2c], 0x2e
lea eax, [ebp + 0x2c]
jne 0x42d724
movzx ecx, word [ebp + 0x2e]
test cx, cx
je 0x42d80d
cmp ecx, 0x2e
jne 0x42d724
cmp word [ebp + 0x30], 0
je 0x42d80d
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d727
sub eax, edx
sar eax, 1
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x24]
jae 0x42d80d
mov ecx, dword [esp + 0x44]
lea esi, [ebx + ebx]
push esi
lea eax, [ebp + 0x2c]
push eax
lea edi, [ebp + ecx*2 + 0x250]
push edi
call fcn.004cd6c0
mov ecx, dword [esp + 0x50]
lea edx, [ebx + ecx + 1]
lea ecx, [ebp + 0x234]
mov dword [esi + edi], 0x5c
mov eax, ecx
add esp, 0xc
mov dword [ebp + 0x20464], edx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42d781
sub eax, esi
sar eax, 1
mov edi, eax
jne 0x42d799
lea ecx, [ebp + 0x2c]
mov edi, ebx
lea eax, [edi + 1]
cmp eax, dword [esp + 0x20]
jae 0x42d809
lea esi, [edi + edi]
push esi
push ecx
mov ecx, dword [esp + 0x24]
lea ebx, [ebp + ecx*2 + 0x10458]
push ebx
call fcn.004cd6c0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
add esp, 0xc
push ebp
lea edx, [edi + ecx + 1]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + ebx], 0x5c
mov ebx, dword [esp + 0x40]
mov dword [ebp + 0x2046c], edx
mov edx, dword [esp + 0x44]
push edx
push ebx
push edi
push eax
call fcn.0042d4e0
mov esi, eax
cmp esi, 1
jne 0x42d85a
cmp byte [edi], 0
jne 0x42d871
cmp dword [ebx], 0
jne 0x42d871
mov esi, dword [esp + 0x18]
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42d6f3
jmp 0x42d875
cmp eax, dword [esp + 0x10]
jne 0x42d62f
mov ecx, dword [esp + 0x30]
push ebx
mov byte [ecx], 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x1c
mov esi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x1c
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x1c
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret 0x1c