Function at 0x4358f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x645e61
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov edi, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], ax
mov dword [esp + 0x3a0], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x435954
lea eax, [edi + 0xc]
push ebx
push eax
push str._stemplate.dat
lea ecx, [esp + 0x3c]
call fcn.004021b0
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x435970
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x435b92
lea esp, [esp]
xor edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], dx
mov byte [esp + 0x3a0], 1
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x4359b1
lea eax, [edi + 0xc]
push ebx
lea ecx, [esp + 0x6c]
push ecx
push eax
push 0x678de0
lea ecx, [esp + 0x34]
call fcn.00402320
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x4359d2
lea eax, [esp + 0x28]
push 0x67de24
push eax
call fcn.00622e3d
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x435b52
push esi
lea edx, [esp + 0x290]
push 0x100
push edx
call fcn.006239a5
add esp, 0xc
test eax, eax
je 0x435b49
mov eax, 8
xor ecx, ecx
nop
mov edx, dword [esp + ecx + 0x28c]
cmp edx, dword [ecx + str.version]
jne 0x435b49
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x435a10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x298]
push 0x67942c
push ecx
call fcn.00621b5e
add esp, 0xc
cmp eax, 1
jne 0x435b49
cmp dword [esp + 0x20], eax
jne 0x435b49
push esi
lea edx, [esp + 0x290]
push 0x100
push edx
call fcn.006239a5
add esp, 0xc
test eax, eax
je 0x435b49
push esi
lea eax, [esp + 0x290]
push 0x100
push eax
call fcn.006239a5
add esp, 0xc
test eax, eax
je 0x435b49
cmp dword [esp + 0x28c], 0x656d616e
jne 0x435b49
cmp byte [esp + 0x290], 0x3d
jne 0x435b49
lea ecx, [esp + 0x291]
push 0xd
push ecx
call fcn.00621750
add esp, 8
cmp eax, ebx
je 0x435ace
mov byte [eax], bl
lea edx, [esp + 0x291]
push 0xa
push edx
call fcn.00621750
add esp, 8
cmp eax, ebx
je 0x435ae6
mov byte [eax], bl
lea ecx, [esp + 0x14]
call fcn.00435150
mov byte [esp + 0x3a0], 2
lea eax, [esp + 0x291]
push eax
lea ecx, [esp + 0x1c]
push 0x678ea8
push ecx
call fcn.00402f70
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebx
jne 0x435b1d
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.00411630
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00435660
mov byte [esp + 0x3a0], 1
lea ecx, [esp + 0x14]
call fcn.004351b0
push esi
call fcn.00622b17
add esp, 4
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x435b7b
mov byte [esp + 0x3a0], bl
lea ecx, [esp + 0x24]
call fcn.00401210
jmp 0x435990
mov byte [esp + 0x3a0], bl
lea ecx, [esp + 0x24]
call fcn.00401210
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x3a0], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00401210
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.0062016f
mov esp, ebp
pop ebp
ret