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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
cmp dword [ebp + 0x664], 0
mov eax, dword [ebp + 0x668]
push esi
mov esi, dword [ebp + 0x660]
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], eax
mov dword [ebp + 0x674], esi
jne 0x43901f
cmp dword [ebp + 0x66c], 2
jne 0x43901f
mov ecx, dword [ebp + 0x658]
cmp byte [ecx + 1], 0x3a
jne 0x43901f
mov word [ebp + 0x348], 0x2e
mov dword [ebp + 0x664], 1
mov byte [esp + 0x40], 0
mov ecx, dword [ebp + 0x664]
mov eax, 0x208
sub eax, esi
lea edx, [esi + ebp + 0x140]
mov dword [esp + 0x24], eax
cmp ecx, eax
jae 0x439359
inc ecx
push ecx
lea eax, [ebp + 0x348]
push eax
push edx
call fcn.0049b8f0
add esp, 0xc
lea eax, [ebp + 0x140]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov ebx, eax
cmp ebx, 0xffffffff
setne cl
mov edi, ecx
test edi, edi
je 0x439091
nop
mov eax, dword [esp + 0x3c]
mov esi, ebp
call fcn.0044e570
test al, al
je 0x43908d
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
test edi, edi
jne 0x439070
mov esi, dword [esp + 0x44]
mov eax, dword [0x4b7a70]
mov dword [esp + 0x20], eax
mov dword [eax + 0x10], ebp
test edi, edi
je 0x4391ef
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x14]
cmp byte [ecx], 0x75
jne 0x4390dc
mov edx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push edx
push 2
call fcn.00431ee0
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
cmp eax, ecx
je 0x4390b1
jmp 0x4390f7
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push eax
push 3
call fcn.00431ee0
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
test eax, eax
je 0x439123
cmp esi, 6
jne 0x439368
cmp eax, dword [esp + 0x10]
je 0x439131
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 0x439131
cmp esi, 6
jne 0x439390
mov esi, dword [esp + 0x38]
test esi, esi
je 0x439150
lea edi, [esp + 0x18]
call fcn.004387e0
test al, al
jne 0x43938c
lea ebx, [ebx]
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
test edi, edi
je 0x4391d7
test byte [ebp], 0x10
je 0x439182
cmp dword [esp + 0x3c], 1
je 0x439150
cmp byte [ebp + 0x2c], 0x2e
jne 0x439189
mov al, byte [ebp + 0x2d]
test al, al
je 0x439150
cmp al, 0x2e
jne 0x439189
cmp byte [ebp + 0x2e], 0
jmp 0x439187
cmp dword [esp + 0x3c], 2
je 0x439150
lea eax, [ebp + 0x2c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439190
mov ecx, dword [ebp + 0x674]
sub eax, edx
mov esi, eax
add ecx, esi
cmp ecx, 0x208
jae 0x439150
mov ecx, dword [ebp + 0x674]
lea edx, [esi + 1]
push edx
lea eax, [ebp + 0x2c]
push eax
lea edx, [ecx + ebp + 0x140]
push edx
call fcn.0049b8f0
mov eax, dword [ebp + 0x674]
add esp, 0xc
add eax, esi
mov dword [ebp + 0x660], eax
mov eax, dword [esp + 0x20]
add dword [eax + 8], 1
adc dword [eax + 0xc], 0
test edi, edi
jne 0x4390a5
mov esi, dword [esp + 0x44]
cmp ebx, 0xffffffff
je 0x4391fb
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x40], 0
je 0x439359
lea eax, [esi + ebp + 0x140]
mov word [eax], 0x2a
push ebp
lea eax, [ebp + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x439359
mov eax, dword [esp + 0x1c]
lea ebx, [eax + ebp + 0x44c]
mov eax, 0x208
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test byte [ebp], 0x10
je 0x43933a
cmp byte [ebp + 0x2c], 0x2e
lea esi, [ebp + 0x2c]
jne 0x439271
mov al, byte [ebp + 0x2d]
test al, al
je 0x43933a
cmp al, 0x2e
jne 0x439271
cmp byte [ebp + 0x2e], 0
je 0x43933a
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x439274
sub esi, ecx
lea ecx, [esi + 1]
cmp ecx, dword [esp + 0x24]
jae 0x43933a
mov edx, dword [esp + 0x44]
push esi
lea eax, [ebp + 0x2c]
push eax
lea edi, [edx + ebp + 0x140]
push edi
call fcn.0049b8f0
mov eax, dword [esp + 0x50]
lea ecx, [esi + eax + 1]
mov byte [esi + edi], 0x5c
mov byte [edi + esi + 1], 0
lea eax, [ebp + 0x130]
mov edi, eax
add esp, 0xc
mov dword [ebp + 0x660], ecx
lea edx, [edi + 1]
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x4392c5
sub edi, edx
jne 0x4392d5
lea eax, [ebp + 0x2c]
mov edi, esi
lea edx, [edi + 1]
cmp edx, dword [esp + 0x20]
jae 0x43933a
push edi
push eax
push ebx
call fcn.0049b8f0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
add esp, 0xc
push ebp
lea ecx, [edi + eax + 1]
mov eax, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
mov word [edi + ebx], 0x5c
mov edi, dword [esp + 0x3c]
mov dword [ebp + 0x668], ecx
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push edi
push eax
call fcn.00438fc0
mov esi, eax
cmp esi, 1
jne 0x4393a3
cmp byte [edi], 0
jne 0x43934e
mov ecx, dword [esp + 0x34]
cmp dword [ecx], 0
jne 0x43934e
mov edx, dword [esp + 0x18]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x439245
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x1c
cmp eax, dword [esp + 0x10]
jne 0x43910a
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 eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x1c