Function at 0x434f90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x63dcc1
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
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 0x434ff4
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 0x435010
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 0x435232
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 0x435051
lea eax, [edi + 0xc]
push ebx
lea ecx, [esp + 0x6c]
push ecx
push eax
push 0x66fde0
lea ecx, [esp + 0x34]
call fcn.00402320
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x435072
lea eax, [esp + 0x28]
push 0x674bb8
push eax
call fcn.0061ad4d
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4351f2
push esi
lea edx, [esp + 0x290]
push 0x100
push edx
call fcn.0061b8b5
add esp, 0xc
test eax, eax
je 0x4351e9
mov eax, 8
xor ecx, ecx
nop
mov edx, dword [esp + ecx + 0x28c]
cmp edx, dword [ecx + str.version]
jne 0x4351e9
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x4350b0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x298]
push 0x67042c
push ecx
call fcn.00619a6e
add esp, 0xc
cmp eax, 1
jne 0x4351e9
cmp dword [esp + 0x20], eax
jne 0x4351e9
push esi
lea edx, [esp + 0x290]
push 0x100
push edx
call fcn.0061b8b5
add esp, 0xc
test eax, eax
je 0x4351e9
push esi
lea eax, [esp + 0x290]
push 0x100
push eax
call fcn.0061b8b5
add esp, 0xc
test eax, eax
je 0x4351e9
cmp dword [esp + 0x28c], 0x656d616e
jne 0x4351e9
cmp byte [esp + 0x290], 0x3d
jne 0x4351e9
lea ecx, [esp + 0x291]
push 0xd
push ecx
call fcn.00619660
add esp, 8
cmp eax, ebx
je 0x43516e
mov byte [eax], bl
lea edx, [esp + 0x291]
push 0xa
push edx
call fcn.00619660
add esp, 8
cmp eax, ebx
je 0x435186
mov byte [eax], bl
lea ecx, [esp + 0x14]
call fcn.00415680
mov byte [esp + 0x3a0], 2
lea eax, [esp + 0x291]
push eax
lea ecx, [esp + 0x1c]
push 0x66fea8
push ecx
call fcn.00402f70
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebx
jne 0x4351bd
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.00411670
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00434d00
mov byte [esp + 0x3a0], 1
lea ecx, [esp + 0x14]
call fcn.00434850
push esi
call fcn.0061aa27
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 0x43521b
mov byte [esp + 0x3a0], bl
lea ecx, [esp + 0x24]
call fcn.00401210
jmp 0x435030
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.0061807e
mov esp, ebp
pop ebp
ret