Function at 0x10036330
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018a6c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
push ebx
mov dword [ebp - 0x2d8], eax
mov word [ebp - 0x48], cx
mov esi, 7
push edi
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2dc], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
call fcn.1000b5b0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], esi
xor edx, edx
push 2
mov eax, 0x101a7048
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.1000b950
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.1000aef0
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x100363db
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x100363e6
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x2d0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2d4], eax
cmp eax, 0xffffffff
jne 0x10036428
cmp dword [ebp - 0x34], esi
jb 0x10036411
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x100365b8
mov edi, dword [ebp - 0x2dc]
xor ebx, ebx
xor ecx, ecx
push 1
mov eax, 0x101a37bc
lea esi, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
call fcn.1000b950
mov ecx, esi
mov eax, edi
lea ebx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.10008060
push eax
lea eax, [ebp - 0x2a4]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.1003b0c0
add esp, 4
cmp dword [ebp - 0x6c], 8
jb 0x10036480
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], ax
mov esi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x50], esi
jb 0x100364ad
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x101a7050
lea eax, [ebp - 0x2a4]
xor edx, edx
push eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
call ebx
test eax, eax
je 0x10036564
push 0x101a7054
lea ecx, [ebp - 0x2a4]
push ecx
call ebx
test eax, eax
je 0x10036564
test byte [ebp - 0x2d0], 0x10
je 0x10036509
mov edx, dword [ebp - 0x2d8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.10036330
add esp, 8
jmp 0x10036555
mov eax, dword [ebp - 0x2c]
or ebx, 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x10036517
lea eax, [ebp - 0x2c]
push edi
push 0x80
push 3
push edi
push edi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1003653e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2d8]
add dword [eax], ebx
mov esi, 8
adc dword [eax + 4], edi
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], esi
jb 0x1003657a
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x10036571
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], esi
jb 0x1003657a
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x2d0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10036420
mov edx, dword [ebp - 0x2d4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x34], 8
jb 0x100365b6
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret