Function at 0x4351d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x50f17e
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x53c1a4]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2a0]
mov ebp, dword [esp + 0x2a4]
xor eax, eax
mov dword [esp + 0x14], eax
push 0x24c
push eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], esi
call fcn.004f08c0
add esp, 0xc
lea ecx, [esp + 0x38]
push esi
push ecx
mov ebx, 0x51e8f8
call fcn.00418040
mov eax, dword [eax]
add esp, 8
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x34], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
je 0x43547a
test byte [esp + 0x3c], 0x10
je 0x43533d
cmp word [esp + 0x68], 0x2e
jne 0x4352c1
mov ax, word [esp + 0x6a]
test ax, ax
je 0x43545b
cmp ax, 0x2e
jne 0x4352c1
cmp word [esp + 0x6c], 0
je 0x43545b
lea ecx, [esp + 0x30]
push esi
push ecx
lea ebx, [esp + 0x70]
call fcn.00418040
push eax
lea edx, [esp + 0x2c]
push edx
mov ebx, 0x51e900
mov dword [esp + 0x2a8], 0
call fcn.00418040
add esp, 0x10
mov ecx, dword [esp + 0x28]
push ebp
push eax
mov byte [esp + 0x2a0], 1
call fcn.004351d0
mov byte [esp + 0x298], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435329
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x298], 0xffffffff
mov eax, dword [esp + 0x30]
jmp 0x43543f
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00406d70
mov edi, 2
mov dword [esp + 0x298], edi
mov edx, dword [esp + 0x18]
mov eax, 4
cmp dword [edx - 0xc], eax
jle 0x435390
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.00417f60
mov eax, dword [eax]
or dword [esp + 0x14], 1
push 0x51e904
push eax
call fcn.004ec6cc
add esp, 8
test eax, eax
jne 0x435390
mov bl, 1
jmp 0x435392
xor bl, bl
mov dword [esp + 0x298], edi
test byte [esp + 0x14], 1
je 0x4353c5
mov eax, dword [esp + 0x24]
and dword [esp + 0x14], 0xfffffffe
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4353c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x435430
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
mov ebx, esi
call fcn.00435bd0
add esp, 8
mov byte [esp + 0x298], 4
mov esi, dword [ebp + 0x14]
push eax
mov eax, dword [esi + 4]
push eax
push esi
call fcn.00436780
mov ecx, ebp
mov edi, eax
call fcn.004acf60
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov byte [esp + 0x298], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43542c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x298], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43545b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x3c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43528e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.004ea83a
add esp, 0x288
ret 8