Function at 0x4115e0
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
mov eax, dword [0x46b880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x248]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x20a
push ebx
push eax
call fcn.00425c30
add esp, 0xc
test edi, edi
jne 0x41161f
or eax, 0xffffffff
jmp 0x41186b
test esi, esi
je 0x411638
push 0x104
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.0042d385
add esp, 0xc
push 0x104
lea eax, [ebp - 0x248]
push edi
push eax
call fcn.0042d340
add esp, 0xc
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x411869
xor esi, esi
lea eax, [ebp - 0x2c8]
push 0x80
push esi
push eax
mov dword [ebp - 0x524], esi
call fcn.00425c30
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x528], esi
push 0x8000
push eax
mov dword [ebp - 0x520], esi
mov dword [ebp - 0x51c], esi
call fcn.0042fdf3
mov esi, eax
add esp, 0x14
test esi, esi
js 0x41183c
push 0x80
lea eax, [ebp - 0x2c8]
push eax
push esi
call fcn.0043ceb5
add esp, 0xc
cmp eax, 0x80
jne 0x411854
lea eax, [ebp - 0x2c8]
push eax
call sym.FortiClientInstaller.exe_FCP_verify_object_hdr
pop ecx
test eax, eax
je 0x4116fa
test esi, esi
jle 0x41183c
push esi
call fcn.0043c528
jmp 0x41183b
lea eax, [ebp - 0x4ec]
push eax
call sym.FortiClientInstaller.exe_FCP_get_file_size
pop ecx
mov ecx, dword [ebp - 0x294]
add ecx, dword [ebp - 0x298]
cmp eax, ecx
jae 0x41181b
push 4
lea eax, [ebp - 0x2c8]
push str.FVDB
push eax
call fcn.0042f390
add esp, 0xc
test eax, eax
je 0x411787
push 4
lea eax, [ebp - 0x2c8]
push str.FVEN
push eax
call fcn.0042f390
add esp, 0xc
test eax, eax
je 0x411787
push 4
lea eax, [ebp - 0x2c8]
push str.ASEN
push eax
call fcn.0042f390
add esp, 0xc
test eax, eax
je 0x411787
push 4
lea eax, [ebp - 0x2c8]
push 0x44f2c4
push eax
call fcn.0042f390
add esp, 0xc
test eax, eax
jne 0x41181b
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x520]
push eax
push 0x12
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c8]
push eax
call sym.FortiClientInstaller.exe_FCP_break_obj_header
add esp, 0x14
lea eax, [ebp - 0x3c]
xor ebx, ebx
push 0x12
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x51c]
xor eax, eax
push dword [ebp - 0x520]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x3c]
push eax
push str.part_obj
push str._s__s_05d_05d
lea eax, [ebp - 0x248]
push 0x104
push eax
call fcn.00408fc5
lea eax, [ebp - 0x528]
push eax
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x4ec]
push eax
call sym.FortiClientInstaller.exe_FCP_append_objdata_ff
add esp, 0x2c
mov dword [ebp - 0x524], 1
mov ebx, eax
test esi, esi
jle 0x411826
push esi
call fcn.0043c528
pop ecx
cmp dword [ebp - 0x524], 0
je 0x41183c
lea eax, [ebp - 0x4ec]
push eax
call sym.FortiClientInstaller.exe_FCP_delete_file
pop ecx
lea eax, [ebp - 0x518]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41166c
jmp 0x411862
test esi, esi
jle 0x41185f
push esi
call fcn.0043c528
pop ecx
or ebx, 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423dc5
mov esp, ebp
pop ebp
ret