Function at 0x10036ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e43c1
mov eax, dword fs:[0]
push eax
mov eax, 0x1438
call fcn.1005a4d0
mov eax, dword [0x101237f8]
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 ebx, ecx
call fcn.100310d0
mov ecx, eax
call fcn.10031000
mov esi, eax
mov edi, 1
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x1444], esi
push 0
push eax
call fcn.1006a830
mov ecx, dword [esi]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0x104
push eax
push esi
call dword [ecx + 0x18]
lea edx, [ebp - 0x218]
lea eax, [edx + 2]
lea ecx, [ebx + 8]
mov dword [ebp - 0x1424], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10036f47
sub edx, dword [ebp - 0x1424]
lea eax, [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.100055f0
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x1424], 0
push 0
push eax
call fcn.1006a830
add esp, 0xc
mov dword [ebp - 0x1440], 0
lea ecx, [ebp - 0x1428]
mov dword [ebp - 0x142c], 0
mov dword [ebp - 0x1428], 0
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x142c]
push ecx
lea ecx, [ebp - 0x1440]
push ecx
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push esi
call dword [eax + 8]
test eax, eax
je 0x1003714c
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x1428], 0
je 0x1003711d
push 0x800
lea eax, [ebp - 0x1420]
push 0
push eax
call fcn.1006a830
push 0x800
lea eax, [ebp - 0xc20]
push 0
push eax
call fcn.1006a830
add esp, 0x18
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
push dword [ebx + 4]
lea eax, [ebp - 0x1420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10037074
lea eax, [ebp - 0xc20]
push eax
push str.ERROR:_source_file_DO_NOT_exists___s
call fcn.100350d0
add esp, 8
xor edi, edi
jmp 0x1003711d
lea eax, [ebp - 0x1420]
mov ecx, ebx
push eax
lea eax, [ebp - 0xc20]
push eax
call fcn.10037840
movd xmm0, dword [ebp - 0x142c]
and edi, eax
mov eax, dword [ebp - 0x1424]
inc eax
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x1424], eax
mov dword [ebp - 0x1438], 0x10037ba0
mov dword [ebp - 0x1434], ebx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
mulss xmm1, dword [0x100f7380]
addss xmm1, dword [0x100f737c]
cvttss2si eax, xmm1
mov dword [ebp - 0x1430], eax
lea eax, [ebp - 0x143c]
mov dword [ebp - 4], 0
push eax
call fcn.1002fdf0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x1438], 0
mov dword [ebp - 0x1434], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x1428]
push ecx
lea ecx, [ebp - 0x142c]
push ecx
lea ecx, [ebp - 0x1440]
push ecx
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jne 0x10036fe0
mov eax, dword [ebx + 4]
sub eax, 0x10
push eax
call fcn.10004340
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1424], eax
push 0xd
push str.utils7z.dll
lea ecx, [ebp - 0x1424]
mov dword [ebp - 4], 1
call fcn.100105a0
mov esi, dword [ebp - 0x1424]
mov ecx, ebx
push esi
push dword [ebx + 0x6c]
call fcn.10037840
push esi
push dword [ebx + 0x6c]
push str.save_7z_from__s_to__s
call fcn.100350d0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100371be
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1444]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
and edi, eax
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x1438], 0x10037b30
mov dword [ebp - 0x1434], ebx
mov dword [ebp - 0x1430], edi
lea eax, [ebp - 0x143c]
mov dword [ebp - 4], 2
push eax
call fcn.1002fdf0
add esp, 4
mov eax, edi
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.1005a0a8
mov esp, ebp
pop ebp
ret