Function at 0x438470
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x479d02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x2d4]
push ebx
push ebp
push esi
mov dword [esp + 0x2d0], eax
push edi
mov eax, dword [esp + 0x330]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x2e0], 1
jne 0x438519
mov eax, dword [esp + 0x300]
mov esi, 0x10
cmp eax, esi
jb 0x4384dc
mov ecx, dword [esp + 0x2ec]
push ecx
call fcn.0046b3f3
add esp, 4
cmp dword [esp + 0x31c], esi
mov dword [esp + 0x300], 0xf
mov dword [esp + 0x2fc], ebx
mov byte [esp + 0x2ec], bl
jb 0x4389c8
mov edx, dword [esp + 0x308]
push edx
call fcn.0046b3f3
add esp, 4
xor eax, eax
jmp 0x438956
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2f0]
mov ebp, 0xf
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00404420
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30c]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x2ec], 2
call fcn.00437680
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
jb 0x43856b
mov eax, dword [eax + 4]
jmp 0x43856e
add eax, 4
lea edx, [esp + 0x194]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov byte [esp + 0x2e0], 1
jb 0x43859e
mov eax, dword [esp + 0x18]
push eax
call fcn.0046b3f3
add esp, 4
cmp esi, 0xffffffff
je 0x43890a
jmp 0x4385b0
xor eax, eax
jmp 0x4385c0
mov cl, byte [esp + eax + 0x1c0]
mov byte [esp + eax + 0x90], cl
inc eax
cmp cl, bl
jne 0x4385c0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push 0x484954
lea ecx, [esp + 0x94]
push ecx
call edi
test eax, eax
je 0x4388e3
push 0x484950
lea edx, [esp + 0x94]
push edx
call edi
test eax, eax
je 0x4388e3
mov esi, dword [esp + 0x32c]
cmp esi, ebx
je 0x43883e
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2f0]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00404420
lea eax, [esp + 0x90]
mov byte [esp + 0x2e0], 3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x438648
sub eax, edx
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00437770
cmp dword [eax + 0x18], 0x10
jb 0x43866e
mov eax, dword [eax + 4]
jmp 0x438671
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0x10
cmp al, 0x10
mov eax, dword [esp + 0x4c]
sete byte [esp + 0x13]
cmp eax, 0x10
mov byte [esp + 0x2e0], 1
jb 0x43869f
mov edx, dword [esp + 0x38]
push edx
call fcn.0046b3f3
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
je 0x43883e
mov eax, dword [esp + 0x324]
mov edi, dword [eax]
mov ecx, dword [esp + 0x330]
mov edx, dword [esp + 0x328]
push ecx
push esi
push edx
push eax
inc edi
mov dword [eax], edi
mov eax, dword [esp + 0x330]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xa0], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x33c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00404420
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x320]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x31c], 4
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.00404420
lea eax, [esp + 0xc0]
mov byte [esp + 0x310], 5
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x438746
sub eax, esi
push eax
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x88]
call fcn.00437770
mov edx, 0x482af8
mov esi, eax
lea edi, [edx + 1]
mov edi, edi
mov al, byte [edx]
inc edx
cmp al, bl
jne 0x438770
sub edx, edi
push edx
push 0x482af8
mov ecx, esi
call fcn.00437770
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xb8], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00404420
mov byte [esp + 0x32c], 6
call fcn.00438470
add esp, 0x4c
cmp eax, ebx
mov eax, dword [esp + 0x68]
mov esi, 0x10
sete byte [esp + 0x13]
cmp eax, esi
mov byte [esp + 0x2e0], 1
jb 0x4387dd
mov edx, dword [esp + 0x54]
push edx
call fcn.0046b3f3
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jne 0x438981
lea eax, [esp + 0x2e8]
push eax
lea ecx, [esp + 0x78]
call fcn.00404570
lea ecx, [esp + 0x90]
push ecx
mov ecx, eax
mov byte [esp + 0x2e4], 7
call fcn.00437880
mov ecx, dword [esp + 0x328]
push eax
call fcn.004383e0
lea ecx, [esp + 0x74]
mov byte [esp + 0x2e0], 1
call fcn.00403fd0
jmp 0x4388e3
push 0x484944
lea edx, [esp + 0x94]
push edx
call edi
test eax, eax
je 0x4388e3
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2f0]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00404420
lea eax, [esp + 0x90]
mov byte [esp + 0x2e0], 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x438887
sub eax, edx
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00437770
mov ecx, dword [esp + 0x328]
push eax
call fcn.004383e0
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x2e0], 1
jb 0x4388cb
mov edx, dword [esp + 0x18]
push edx
call fcn.0046b3f3
add esp, 4
mov eax, dword [esp + 0x320]
mov ecx, dword [eax]
inc ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [eax], ecx
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x194]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4385b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 0x10
cmp dword [esp + 0x300], edi
jb 0x438923
mov eax, dword [esp + 0x2ec]
push eax
call fcn.0046b3f3
add esp, 4
cmp dword [esp + 0x31c], edi
mov dword [esp + 0x300], ebp
mov dword [esp + 0x2fc], ebx
mov byte [esp + 0x2ec], bl
jb 0x438951
mov ecx, dword [esp + 0x308]
push ecx
call fcn.0046b3f3
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2cc]
xor ecx, dword [esp + 0x2dc]
pop ebp
pop ebx
add esp, 0x2d4
jmp fcn.00456aa7
cmp dword [esp + 0x300], esi
jb 0x43899a
mov ecx, dword [esp + 0x2ec]
push ecx
call fcn.0046b3f3
add esp, 4
cmp dword [esp + 0x31c], esi
mov dword [esp + 0x300], ebp
mov dword [esp + 0x2fc], ebx
mov byte [esp + 0x2ec], bl
jb 0x4389c8
mov edx, dword [esp + 0x308]
push edx
call fcn.0046b3f3
add esp, 4
xor eax, eax
jmp 0x438956