Function at 0x422100
Capabilities:
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45c312
mov eax, dword fs:[0]
push eax
sub esp, 0x514
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x510], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x528]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x538]
mov eax, dword [ebx]
mov esi, dword [esp + 0x53c]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebx
jbe 0x4224bc
add eax, 0xffffffff
push 0xffffffffffffffff
mov dword [ebx], eax
push ebp
mov eax, esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebp
mov word [esp + 0xa0], bp
call fcn.00406d10
push 0x206
lea eax, [esp + 0x322]
push ebp
mov dword [esp + 0x538], ebp
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov word [esp + 0x328], bp
call fcn.00446fa0
add esp, 0xc
push 0x250
lea ecx, [esp + 0xd0]
push ebp
push ecx
lea edi, [ebp + 1]
call fcn.00446fa0
add esp, 0xc
push 0xffffffffffffffff
push ebp
mov eax, esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
call fcn.00406d10
mov byte [esp + 0x530], 1
mov eax, dword [esp + 0x54]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x422206
call fcn.00441e46
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x422215
lea eax, [esp + 0x44]
cmp word [eax + esi*2], 0x5c
je 0x42222c
push 1
push 0x4624bc
lea ecx, [esp + 0x48]
call fcn.00406eb0
push 3
push 0x46571c
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebp
mov word [esp + 0x30], bp
call fcn.00406f80
lea edx, [esp + 0x78]
push edx
mov edx, esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x534], 2
call fcn.0041ff30
add esp, 4
mov esi, 8
mov byte [esp + 0x530], 4
cmp dword [esp + 0x3c], esi
jb 0x422288
mov eax, dword [esp + 0x28]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x90], esi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
jae 0x4222aa
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x31c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bp
jne 0x4222b1
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x320]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x422444
cmp edi, ebp
je 0x42243b
cmp dword [ebx], ebp
jbe 0x42243b
lea eax, [esp + 0xf8]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x422310
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xfc]
push eax
lea esi, [esp + 0x64]
call fcn.00406f80
mov byte [esp + 0x530], 5
mov eax, dword [esp + 0x70]
push 0x463e84
mov edi, 1
mov ecx, esi
call fcn.00411070
test eax, eax
je 0x4223d6
mov eax, dword [esp + 0x70]
push 0x465724
mov edi, 2
mov ecx, esi
call fcn.00411070
test eax, eax
je 0x4223d6
test byte [esp + 0xcc], 0x10
je 0x422410
lea ecx, [esp + 0x40]
push ecx
lea ebx, [esp + 0xfc]
lea esi, [esp + 0xb4]
call fcn.00408960
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, esi
push edx
push eax
mov byte [esp + 0x538], 6
call fcn.00422100
add esp, 8
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
cmp dword [esp + 0xc8], 8
jb 0x4223d2
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.004415cb
add esp, 4
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xcc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov byte [esp + 0x530], 4
cmp dword [esp + 0x74], 8
mov edi, eax
jb 0x4222e5
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004415cb
add esp, 4
jmp 0x4222e5
mov edx, dword [esp + 0xe8]
push 1
push ebp
push ebp
push edx
call fcn.004537b0
mov ecx, dword [esp + 0xec]
xor esi, esi
add eax, ecx
adc edx, esi
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
add dword [ebx], 0xffffffff
jmp 0x4223d6
mov eax, dword [esp + 0x20]
mov esi, 8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x90], esi
jb 0x422461
mov edx, dword [esp + 0x7c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x58], esi
mov edi, 7
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
jb 0x42248c
mov eax, dword [esp + 0x44]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xac], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
jb 0x4224b2
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004415cb
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x4224c0
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x528]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x510]
xor ecx, esp
call fcn.004414cc
add esp, 0x520
ret