Function at 0x438c00
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 0x438c5f
cmp dword [ebp + 0x66c], 2
jne 0x438c5f
mov ecx, dword [ebp + 0x658]
cmp byte [ecx + 1], 0x3a
jne 0x438c5f
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 0x438f99
inc ecx
push ecx
lea eax, [ebp + 0x348]
push eax
push edx
call fcn.0049b100
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 0x438cd1
nop
mov eax, dword [esp + 0x3c]
mov esi, ebp
call fcn.0044e200
test al, al
je 0x438ccd
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
test edi, edi
jne 0x438cb0
mov esi, dword [esp + 0x44]
mov eax, dword [0x4b7a60]
mov dword [esp + 0x20], eax
mov dword [eax + 0x10], ebp
test edi, edi
je 0x438e2f
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x14]
cmp byte [ecx], 0x75
jne 0x438d1c
mov edx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push edx
push 2
call fcn.00431a20
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 0x438cf1
jmp 0x438d37
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push eax
push 3
call fcn.00431a20
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
test eax, eax
je 0x438d63
cmp esi, 6
jne 0x438fa8
cmp eax, dword [esp + 0x10]
je 0x438d71
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 0x438d71
cmp esi, 6
jne 0x438fd0
mov esi, dword [esp + 0x38]
test esi, esi
je 0x438d90
lea edi, [esp + 0x18]
call fcn.00438420
test al, al
jne 0x438fcc
lea ebx, [ebx]
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
test edi, edi
je 0x438e17
test byte [ebp], 0x10
je 0x438dc2
cmp dword [esp + 0x3c], 1
je 0x438d90
cmp byte [ebp + 0x2c], 0x2e
jne 0x438dc9
mov al, byte [ebp + 0x2d]
test al, al
je 0x438d90
cmp al, 0x2e
jne 0x438dc9
cmp byte [ebp + 0x2e], 0
jmp 0x438dc7
cmp dword [esp + 0x3c], 2
je 0x438d90
lea eax, [ebp + 0x2c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x438dd0
mov ecx, dword [ebp + 0x674]
sub eax, edx
mov esi, eax
add ecx, esi
cmp ecx, 0x208
jae 0x438d90
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.0049b100
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 0x438ce5
mov esi, dword [esp + 0x44]
cmp ebx, 0xffffffff
je 0x438e3b
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x40], 0
je 0x438f99
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 0x438f99
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 0x438f7a
cmp byte [ebp + 0x2c], 0x2e
lea esi, [ebp + 0x2c]
jne 0x438eb1
mov al, byte [ebp + 0x2d]
test al, al
je 0x438f7a
cmp al, 0x2e
jne 0x438eb1
cmp byte [ebp + 0x2e], 0
je 0x438f7a
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x438eb4
sub esi, ecx
lea ecx, [esi + 1]
cmp ecx, dword [esp + 0x24]
jae 0x438f7a
mov edx, dword [esp + 0x44]
push esi
lea eax, [ebp + 0x2c]
push eax
lea edi, [edx + ebp + 0x140]
push edi
call fcn.0049b100
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 0x438f05
sub edi, edx
jne 0x438f15
lea eax, [ebp + 0x2c]
mov edi, esi
lea edx, [edi + 1]
cmp edx, dword [esp + 0x20]
jae 0x438f7a
push edi
push eax
push ebx
call fcn.0049b100
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.00438c00
mov esi, eax
cmp esi, 1
jne 0x438fe3
cmp byte [edi], 0
jne 0x438f8e
mov ecx, dword [esp + 0x34]
cmp dword [ecx], 0
jne 0x438f8e
mov edx, dword [esp + 0x18]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x438e85
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 0x438d4a
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