Function at 0x100f5c5e
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x101dc354]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x480], edx
push 0x208
lea eax, [ebp - 0x210]
mov dword [ebp - 0x47c], ecx
push esi
mov edi, esi
mov dword [ebp - 0x468], esi
mov ebx, esi
mov dword [ebp - 0x46c], edi
push eax
mov dword [ebp - 0x464], ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
or dword [ebp - 0x474], 0xffffffff
lea eax, [ebp - 0x460]
add esp, 0xc
mov dword [ebp - 0x470], esi
push 0x250
push esi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [ebp - 0x478], esi
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x100f5d95
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100f5d08
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x100f5d0f
mov esi, 0x80004005
push 0x10039f98
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0x480]
mov dword [ecx], eax
mov eax, dword [ebp - 0x474]
cmp eax, 0xffffffff
je 0x100f5d40
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov eax, dword [ebp - 0x470]
test eax, eax
je 0x100f5d54
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
mov eax, dword [ebp - 0x468]
test eax, eax
je 0x100f5d68
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
test edi, edi
je 0x100f5d76
lea eax, [edi - 4]
push eax
call fcn.100b84f9
pop ecx
test ebx, ebx
je 0x100f5d84
lea eax, [ebx - 4]
push eax
call fcn.100b84f9
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b88c0
leave
ret
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.100a7590
mov esi, eax
test esi, esi
jns 0x100f5dcf
lea eax, [ebp - 0x210]
push eax
push 0x10039fd0
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x14
jmp 0x100f5d24
lea ecx, [ebp - 0x468]
call fcn.100b15f5
mov esi, eax
test esi, esi
jns 0x100f5ded
push dword [ebp - 0x468]
push 0x1003a00c
jmp 0x100f5dba
mov edx, 0x10030408
lea ecx, [ebp - 0x468]
call fcn.100a8220
mov esi, eax
test esi, esi
jns 0x100f5e10
push dword [ebp - 0x468]
push 0x1003a048
jmp 0x100f5dba
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x464]
push eax
call fcn.100a7590
mov esi, eax
test esi, esi
jns 0x100f5e50
lea eax, [ebp - 0x210]
push eax
push 0x1003a080
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x14
mov ebx, dword [ebp - 0x464]
jmp 0x100f5d24
lea ecx, [ebp - 0x464]
call fcn.100b15f5
mov esi, eax
test esi, esi
jns 0x100f5e72
mov ebx, dword [ebp - 0x464]
push ebx
push 0x1003a0c0
jmp 0x100f5dba
push 0x10039f80
mov edx, 0x10008b10
lea ecx, [ebp - 0x464]
call fcn.100a9500
mov esi, eax
test esi, esi
jns 0x100f5ea4
push 0x1003a100
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x10
jmp 0x100f5e45
mov ebx, dword [ebp - 0x464]
mov ecx, ebx
call fcn.100b7fb2
push dword [ebp - 0x468]
neg eax
sbb eax, eax
and eax, 1
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x470]
push eax
call fcn.100a7590
mov esi, eax
test esi, esi
jns 0x100f5ee0
push 0x1003a130
jmp 0x100f5d14
mov edx, 0x1003a170
lea ecx, [ebp - 0x470]
call fcn.100a8220
mov esi, eax
test esi, esi
jns 0x100f5f00
push 0x1003a194
jmp 0x100f5d14
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x470]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov dword [ebp - 0x474], eax
cmp eax, 0xffffffff
je 0x100f6020
mov eax, dword [ebp - 0x47c]
test eax, eax
je 0x100f5f3c
mov ecx, eax
call fcn.101410db
cmp eax, 1
je 0x100f5d24
test byte [ebp - 0x460], 0x10
jne 0x100f6005
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x468]
lea eax, [ebp - 0x46c]
push 0x10008194
push eax
call fcn.100a6b40
mov esi, eax
add esp, 0x10
test esi, esi
js 0x100f6032
cmp dword [ebp - 0x464], 0
mov edi, dword [ebp - 0x46c]
je 0x100f5fa5
lea eax, [ebp - 0x460]
mov edx, edi
push eax
mov ecx, ebx
call fcn.100f6052
mov esi, eax
push edi
test esi, esi
js 0x100f6028
push 0x1003a224
jmp 0x100f5fde
lea eax, [ebp - 0x478]
xor edx, edx
push eax
mov ecx, edi
call fcn.100ebf39
test eax, eax
jns 0x100f5fcf
push edi
push 0x1003a240
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x14
cmp dword [ebp - 0x478], 4
jne 0x100f5fef
push edi
push 0x1003a260
xor eax, eax
push eax
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x14
test edi, edi
je 0x100f6005
lea eax, [edi - 4]
push eax
call fcn.100b84f9
xor edi, edi
pop ecx
mov dword [ebp - 0x46c], edi
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x100f5f22
xor eax, eax
inc eax
jmp 0x100f5d26
push 0x1003a200
jmp 0x100f5dba
push 0x1003a1c8
push 1
push esi
push 0x4000000
call fcn.100ab973
mov edi, dword [ebp - 0x46c]
add esp, 0x10
jmp 0x100f5d24