Function at 0x116cee0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa50
push ebx
push esi
push edi
call fcn.01165630
test eax, eax
je 0x116d121
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x116cf21
cmp word [eax], 0
je 0x116cf21
lea edx, [ebp - 0xa50]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x116cf10
jmp 0x116cf44
mov edx, dword [ebp + 0xc]
push 0x1000000
lea ecx, [ebp - 0xa50]
push ecx
push 0xffffffffffffffff
xor eax, eax
push edx
push eax
push eax
mov word [ebp - 0xa50], ax
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x116cf9c
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0xa50]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x116cfb2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x116d1af
cmp eax, 3
je 0x116d1af
cmp eax, 0x12
je 0x116d1af
mov esi, dword [ebp + 0x14]
mov eax, 1
mov byte [esi + 0x149c], al
jmp 0x116d33d
lea edx, [ebp - 0x250]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x116d1d1
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0xa50]
lea ebx, [esi + 0x400]
mov edx, ebx
mov ecx, eax
sub edx, ecx
jmp 0x116cfd0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x116cfd0
push ebx
lea edi, [ebp - 0x224]
call fcn.01168ee0
jmp 0x116cff0
movzx ecx, word [edi]
mov word [eax], cx
add edi, 2
add eax, 2
test cx, cx
jne 0x116cff0
push 0
push 0
push 0x1000000
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov byte [esi], cl
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov edx, dword [ebp - 0x234]
push 1
push 0
push 0
push edx
call fcn.011788a0
mov ecx, dword [ebp - 0x230]
xor edi, edi
add eax, ecx
adc edx, edi
mov dword [esi + 0xc04], edx
mov edx, dword [ebp - 0x250]
mov dword [esi + 0xc00], eax
mov dword [esi + 0xc08], edx
lea eax, [ebp - 0x1c]
lea edx, [esi + 0xc80]
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x116d060
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x248]
mov dword [esi + 0x1480], edx
mov edx, dword [ebp - 0x240]
mov dword [esi + 0x1488], ecx
mov ecx, dword [ebp - 0x238]
mov dword [esi + 0x148c], edx
mov dword [esi + 0x1484], eax
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x23c]
mov dword [esi + 0x1494], ecx
lea edi, [esi + 0xc14]
push edx
mov ecx, edi
mov dword [esi + 0x1490], eax
call fcn.0116a180
lea eax, [ebp - 0x24c]
push eax
lea ecx, [esi + 0xc38]
call fcn.0116a180
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [esi + 0xc5c]
call fcn.0116a180
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
sub edx, 0x3c
shl edx, 4
or edx, dword [edi + 4]
shr eax, 1
shl edx, 5
or edx, dword [edi + 8]
shl edx, 5
or edx, dword [edi + 0xc]
shl edx, 6
or edx, dword [edi + 0x10]
shl edx, 5
or edx, eax
mov dword [esi + 0xc0c], edx
jmp 0x116d33d
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x116d141
cmp byte [eax], 0
je 0x116d141
lea edx, [ebp - 0x650]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x116d135
jmp 0x116d168
mov edx, dword [ebp + 0x10]
push 0
push 0
push 0x1000000
lea ecx, [ebp - 0x650]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [ebp - 0x650], 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x116d1bf
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x650]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x116d1f2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x116d1af
cmp eax, 3
je 0x116d1af
mov esi, dword [ebp + 0x14]
mov eax, 1
mov byte [esi + 0x149c], al
jmp 0x116d33d
mov esi, dword [ebp + 0x14]
xor eax, eax
mov byte [esi + 0x149c], al
jmp 0x116d33d
lea edx, [ebp - 0x140]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x116d1f2
mov dword [ebp + 8], 0xffffffff
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebp + 0x14]
cmp eax, 0x12
setne al
mov byte [esi + 0x149c], al
jmp 0x116d33d
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x650]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x116d201
push esi
lea edi, [ebp - 0x114]
call fcn.01168e40
mov cl, byte [edi]
mov byte [eax], cl
inc edi
inc eax
test cl, cl
jne 0x116d217
mov edi, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0x1000000
lea eax, [esi + 0x400]
push eax
push 0xffffffffffffffff
xor edx, edx
push esi
push edx
push edx
mov word [eax], dx
call edi
mov eax, dword [ebp - 0x124]
push 1
push 0
push 0
push eax
call fcn.011788a0
mov ecx, dword [ebp - 0x120]
xor ebx, ebx
add eax, ecx
adc edx, ebx
push 0x1000000
mov dword [esi + 0xc00], eax
mov dword [esi + 0xc04], edx
mov edx, dword [ebp - 0x140]
lea eax, [esi + 0xc80]
push eax
mov dword [esi + 0xc08], edx
push 0xffffffffffffffff
xor ecx, ecx
lea edx, [ebp - 0x10]
push edx
push ecx
push ecx
mov word [eax], cx
call edi
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
mov dword [esi + 0x1480], eax
mov eax, dword [ebp - 0x130]
mov dword [esi + 0x1484], ecx
mov ecx, dword [ebp - 0x12c]
mov dword [esi + 0x148c], eax
mov dword [esi + 0x1488], edx
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x12c]
mov dword [esi + 0x1490], ecx
lea edi, [esi + 0xc14]
push eax
mov ecx, edi
mov dword [esi + 0x1494], edx
call fcn.0116a180
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [esi + 0xc38]
call fcn.0116a180
lea edx, [ebp - 0x134]
push edx
lea ecx, [esi + 0xc5c]
call fcn.0116a180
mov eax, dword [edi]
mov ecx, dword [edi + 0x14]
sub eax, 0x3c
shl eax, 4
or eax, dword [edi + 4]
shr ecx, 1
shl eax, 5
or eax, dword [edi + 8]
shl eax, 5
or eax, dword [edi + 0xc]
shl eax, 6
or eax, dword [edi + 0x10]
shl eax, 5
or eax, ecx
mov dword [esi + 0xc0c], eax
mov eax, dword [ebp + 8]
pop edi
mov dword [esi + 0x1498], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10