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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076d8c
mov eax, dword fs:[0]
push eax
sub esp, 0x74c
mov eax, dword [0x1009e034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x6e0], eax
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x6e8], eax
mov dword [ebp - 0x6e4], edi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x744], 7
mov dword [ebp - 0x748], 0
mov word [ebp - 0x758], ax
cmp word [edx], ax
jne 0x10038828
xor ecx, ecx
jmp 0x1003883f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038830
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x758]
call fcn.10003de0
lea edx, [ebp - 0x758]
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 1
call fcn.10058dd0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x744], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x1003887f
push dword [ebp - 0x758]
call esi
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x758], ax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
mov dword [ebp - 0x744], 7
mov dword [ebp - 0x748], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x428]
push str..
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x6d8]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x6dc], eax
cmp eax, 0xffffffff
je 0x1003895e
mov ebx, dword [ebp + 0xc]
lea esp, [esp]
lea ecx, [ebp - 0x6d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100389bb
push dword [ebp - 0x6dc]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x42c], 8
jb 0x10038972
push dword [ebp - 0x440]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x2c], 8
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
jb 0x1003899d
push dword [ebp + 0x18]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 0x28
cmp word [ebp - 0x6ac], 0x2e
mov eax, dword [ebp - 0x6dc]
je 0x10038940
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x1007d9c8
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
test byte [ebp - 0x6d8], 0x10
je 0x10038d01
cmp word [ebp - 0x6ac], 0x2e
je 0x10038c5f
cmp dword [ebp + 0x10], 0
jne 0x10038c5f
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 1
mov dword [ebp - 0x460], 0
mov byte [ebp - 4], 5
cmp dword [ebp + 0x2c], 8
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.10039590
push ecx
lea ecx, [ebp - 0x710]
mov dword [ebp - 0x704], 0
mov dword [ebp - 0x700], 0
mov dword [ebp - 0x6fc], 0
call fcn.10039d60
push ecx
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 6
call fcn.100396a0
test eax, eax
je 0x10038bc6
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x488], 0
mov byte [ebp - 0x468], 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x730]
mov byte [ebp - 4], 7
call fcn.10008e70
lea eax, [ebp - 0x730]
push eax
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 8
call fcn.1002ff60
cmp dword [ebp - 0x71c], 8
jb 0x10038b6b
push dword [ebp - 0x730]
call esi
add esp, 4
mov dword [ebp - 0x738], 0
mov dword [ebp - 0x740], 0
mov byte [ebp - 0x720], 1
lea eax, [ebp - 0x740]
push eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 9
call fcn.1002fb90
lea eax, [ebp - 0x488]
push eax
lea ecx, [edi + 0x14]
call fcn.1002fb90
lea ecx, [ebp - 0x740]
mov byte [ebp - 4], 7
call fcn.1002c560
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 6
call fcn.1002c560
mov eax, dword [ebp - 0x6fc]
test eax, eax
je 0x10038bda
push eax
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
push dword [ebp - 0x700]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x700], 0
push dword [ebp - 0x704]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
mov eax, dword [ebp - 0x45c]
add esp, 4
mov dword [ebp - 0x704], 0
test eax, eax
je 0x10038c20
push eax
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
mov dword [ebp - 4], 3
jmp 0x10038c5f
cmp ebx, 0xffffffff
jne 0x10038ca9
sub esp, 0x18
mov ecx, esp
xor eax, eax
push ebx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x18]
push eax
call fcn.10001f80
mov ecx, dword [ebp - 0x6e0]
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.100387b0
mov eax, dword [ebp - 0x6dc]
jmp 0x10038940
mov eax, dword [ebp - 0x6dc]
test ebx, ebx
je 0x10038940
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x18]
dec ebx
push eax
mov dword [ebp + 0xc], ebx
call fcn.10001f80
mov ecx, dword [ebp - 0x6e0]
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.100387b0
mov eax, dword [ebp - 0x6dc]
jmp 0x10038940
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 0x6dc]
je 0x10038940
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 1
mov dword [ebp - 0x460], 0
mov byte [ebp - 4], 0xc
cmp dword [ebp + 0x2c], 8
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.10039590
push ecx
lea ecx, [ebp - 0x710]
mov dword [ebp - 0x704], 0
mov dword [ebp - 0x700], 0
mov dword [ebp - 0x6fc], 0
call fcn.10039d60
push ecx
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 0xd
call fcn.100396a0
test eax, eax
je 0x10038e83
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x488], 0
mov byte [ebp - 0x468], 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x730]
mov byte [ebp - 4], 0xe
call fcn.10008e70
lea eax, [ebp - 0x730]
push eax
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 0xf
call fcn.1002ff60
cmp dword [ebp - 0x71c], 8
jb 0x10038e28
push dword [ebp - 0x730]
call esi
add esp, 4
mov dword [ebp - 0x738], 0
mov dword [ebp - 0x740], 0
mov byte [ebp - 0x720], 1
lea eax, [ebp - 0x740]
push eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 0x10
call fcn.1002fb90
lea eax, [ebp - 0x488]
push eax
lea ecx, [edi + 0x14]
call fcn.1002fb90
lea ecx, [ebp - 0x740]
mov byte [ebp - 4], 0xe
call fcn.1002c560
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 0xd
call fcn.1002c560
mov eax, dword [ebp - 0x6fc]
test eax, eax
je 0x10038e97
push eax
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
push dword [ebp - 0x700]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x700], 0
push dword [ebp - 0x704]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
mov eax, dword [ebp - 0x45c]
add esp, 4
mov dword [ebp - 0x704], 0
test eax, eax
je 0x10038edd
push eax
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
mov eax, dword [ebp - 0x6dc]
mov dword [ebp - 4], 3
jmp 0x10038940