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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
push edi
mov eax, dword [esi + 0x2046c]
mov ebx, dword [esi + 0x20464]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x20468]
mov ecx, eax
mov dword [esp + 0x20], ebx
mov dword [esi + 0x20478], ebx
test eax, eax
jne 0x42c448
cmp dword [esi + 0x20470], 2
jne 0x42c448
mov eax, dword [esi + 0x2045c]
cmp word [eax + 2], 0x3a
jne 0x42c448
mov dword [esi + 0x10250], 0x2e
mov byte [esp + 0x48], cl
mov ecx, 1
mov dword [esi + 0x20468], 1
mov eax, 0x8000
lea edx, [esi + 0x250]
sub eax, ebx
lea edx, [edx + ebx*2]
mov dword [esp + 0x30], eax
cmp ecx, eax
jb 0x42c46f
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10250]
push eax
push edx
call fcn.0049ef90
add esp, 0xc
lea eax, [esi + 0x250]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
setne bl
je 0x42c4c9
nop dword [eax + eax]
mov edx, dword [esp + 0x44]
mov ecx, esi
call fcn.00447470
test al, al
je 0x42c4c9
push esi
push edi
call ebp
mov ebx, eax
test ebx, ebx
jne 0x42c4b0
mov eax, dword [0x4e59a0]
mov ebp, 4
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], eax
mov dword [eax + 8], esi
test ebx, ebx
je 0x42c5d9
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 3
jne 0x42c52b
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x18]
push eax
push edx
push 2
call fcn.0042a030
mov ecx, dword [edi + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x4c], ebp
cmp eax, ecx
je 0x42c500
jmp 0x42c546
lea eax, [esp + 0x18]
push eax
push edx
push 3
call fcn.0042a030
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x4c], ebp
test eax, eax
je 0x42c55f
cmp ebp, 6
jne 0x42c553
cmp eax, edi
je 0x42c564
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [ebx], eax
jmp 0x42c5dd
cmp ebp, 6
jne 0x42c573
mov ebp, 1
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x4c], ebp
jmp 0x42c578
cmp ebp, 1
jne 0x42c5d5
mov eax, dword [esp + 0x40]
test eax, eax
je 0x42c598
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
call fcn.0042bd30
mov ebp, dword [esp + 0x4c]
test al, al
jne 0x42c5d5
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
nop dword [eax]
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x42c5b9
mov edx, dword [esp + 0x44]
mov ecx, esi
call fcn.00447470
test al, al
jne 0x42c5a0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
add dword [eax], 1
adc dword [eax + 4], 0
test edi, edi
je 0x42c5d5
mov edx, dword [esp + 0x38]
jmp 0x42c4f4
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
cmp edi, 0xffffffff
je 0x42c5e9
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebp, 1
je 0x42c5f7
cmp ebp, 4
jne 0x42c792
cmp dword [ebx], 0
jne 0x42c792
cmp byte [esp + 0x48], 0
je 0x42c792
mov ecx, dword [esp + 0x20]
lea eax, [esi + ecx*2]
mov dword [eax + 0x250], 0x2a
lea eax, [esi + 0x250]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x4c], edi
cmp edi, 0xffffffff
je 0x42c792
mov eax, 0x8000
sub eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
test byte [esi], 0x10
je 0x42c778
cmp word [esi + 0x2c], 0x2e
lea ecx, [esi + 0x2c]
jne 0x42c676
movzx eax, word [esi + 0x2e]
test ax, ax
je 0x42c778
cmp eax, 0x2e
jne 0x42c676
cmp word [esi + 0x30], 0
je 0x42c778
mov ebx, ecx
lea edx, [ebx + 2]
nop dword [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x42c680
sub ebx, edx
sar ebx, 1
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x30]
jae 0x42c778
lea edi, [ebx + ebx]
push edi
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x128
lea eax, [esi + ecx*2]
push eax
call fcn.0049ef90
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esi + ecx*2]
mov dword [edi + eax + 0x250], 0x5c
lea eax, [ecx + 1]
add eax, ebx
lea ecx, [esi + 0x234]
mov dword [esi + 0x20464], eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c6e0
sub ecx, edx
sar ecx, 1
mov edx, ecx
cmove edx, ebx
mov dword [esp + 0x1c], edx
lea eax, [edx + 1]
cmp eax, dword [esp + 0x2c]
jae 0x42c774
test ecx, ecx
lea edi, [edx + edx]
mov ecx, 0x234
mov eax, 0x2c
cmovne eax, ecx
add eax, esi
push edi
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x822c
lea ebx, [esi + eax*2]
push ebx
call fcn.0049ef90
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [edi + ebx], 0x5c
add eax, ecx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
push esi
push dword [esp + 0x4c]
mov dword [esi + 0x2046c], eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push ebx
push dword [esp + 0x4c]
call fcn.0042c3e0
cmp eax, 4
je 0x42c774
mov ebp, eax
cmp eax, 1
jne 0x42c788
cmp dword [ebx], 0
jne 0x42c788
mov edi, dword [esp + 0x4c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42c646
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x24
ret 0x18