Function at 0x1003bb30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010cfe7
mov eax, dword fs:[0]
push eax
mov eax, 0x1444
call fcn.10068860
mov eax, dword [0x1015746c]
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 edi, ecx
mov dword [ebp - 0x1430], edi
call fcn.10036310
mov ecx, eax
call fcn.10036240
mov esi, eax
mov ebx, 1
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x143c], esi
push 0
push eax
mov dword [ebp - 0x1428], ebx
call fcn.10094f30
mov ecx, dword [esi]
lea eax, [ebp - 0x420]
add esp, 0xc
push 0x104
push eax
push esi
call dword [ecx + 0x18]
lea edx, [ebp - 0x420]
lea ecx, [edi + 8]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1003bbc0
sub edx, esi
lea eax, [ebp - 0x420]
sar edx, 1
push edx
push eax
call fcn.10005580
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x142c], 0
push 0
push eax
call fcn.10094f30
mov ecx, dword [ebp - 0x143c]
lea edx, [ebp - 0x1434]
add esp, 0xc
mov dword [ebp - 0x1450], 0
mov dword [ebp - 0x1438], 0
mov dword [ebp - 0x1434], 0
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x1438]
push edx
lea edx, [ebp - 0x1450]
push edx
push 0x104
lea edx, [ebp - 0x218]
push edx
push ecx
call dword [eax + 8]
test eax, eax
je 0x1003bf82
nop
cmp dword [ebp - 0x1434], 0
je 0x1003bf4d
push 0x800
lea eax, [ebp - 0x1420]
push 0
push eax
call fcn.10094f30
push 0x800
lea eax, [ebp - 0xc20]
push 0
push eax
call fcn.10094f30
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.1001a3c0
test eax, eax
je 0x1003c056
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1424], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x1003bdb6
movzx edi, ax
push 0
push edi
call fcn.1003b910
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003bd64
mov ecx, edi
shr ecx, 4
push 6
inc ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1003bd64
push edi
push eax
push ebx
call fcn.10005a20
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1003bd64
movzx edx, word [ebx]
mov ecx, 1
mov eax, dword [esi - 8]
mov edi, edx
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x1003bd3a
push edi
lea ecx, [ebp - 0x1424]
call fcn.10005150
movzx edx, word [ebx]
mov esi, dword [ebp - 0x1424]
movzx ecx, dx
lea eax, [ebx + 2]
push ecx
push eax
push edi
push esi
call fcn.100b0fa8
push eax
call fcn.100040d0
add esp, 0x14
cmp edi, dword [esi - 8]
jg 0x1003c060
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x1430]
mov ebx, dword [ebp - 0x1428]
mov dword [ebp - 4], 1
call fcn.10014d30
test eax, eax
je 0x1003be4a
mov ecx, str.HdDrv.sys
lea eax, [ebp - 0x218]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003bdea
test dx, dx
je 0x1003bdb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003bdea
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003bd90
xor eax, eax
jmp 0x1003bdef
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003bdc0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1424]
call fcn.10005580
mov esi, dword [ebp - 0x1424]
jmp 0x1003bd70
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003be2f
mov ecx, str.HdDrv_x64.sys
lea eax, [ebp - 0x218]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003be26
test dx, dx
je 0x1003be22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003be26
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003be00
xor eax, eax
jmp 0x1003be2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003be4a
push str..bak
push str..sys
lea ecx, [ebp - 0x1424]
call fcn.1000d480
mov esi, dword [ebp - 0x1424]
push esi
push dword [edi + 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 0x1003be8d
lea eax, [ebp - 0xc20]
push eax
push str.ERROR:_source_file_DO_NOT_exists___s
call fcn.100384f0
add esp, 8
xor ebx, ebx
mov dword [ebp - 0x1428], ebx
jmp 0x1003bf32
lea eax, [ebp - 0x1420]
mov ecx, edi
push eax
lea eax, [ebp - 0xc20]
push eax
call fcn.1003e200
movd xmm0, dword [ebp - 0x1438]
and ebx, eax
mov eax, dword [ebp - 0x142c]
inc eax
mov dword [ebp - 0x1428], ebx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x142c], 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 - 0x1448], 0x1003e580
mov dword [ebp - 0x1444], edi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
mulss xmm1, dword [0x10124954]
addss xmm1, dword [0x10124950]
cvttss2si eax, xmm1
mov dword [ebp - 0x1440], eax
lea eax, [ebp - 0x144c]
mov byte [ebp - 4], 2
push eax
call fcn.10049490
add esp, 4
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 - 0x1448], 0
mov dword [ebp - 0x1444], 0
or eax, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003bf4d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x143c]
lea edx, [ebp - 0x1434]
push edx
lea edx, [ebp - 0x1438]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x1450]
push edx
push 0x104
lea edx, [ebp - 0x218]
push edx
push ecx
call dword [eax + 8]
test eax, eax
jne 0x1003bc50
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.100042d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x142c], eax
push 0xd
push str.utils7z.dll
lea ecx, [ebp - 0x142c]
mov dword [ebp - 4], 3
call fcn.100184d0
mov esi, dword [ebp - 0x142c]
mov ecx, edi
push esi
push dword [edi + 0x6c]
call fcn.1003e200
push esi
push dword [edi + 0x6c]
push str.save_7z_from__s_to__s
call fcn.100384f0
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 0x1003bff4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x143c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
and ebx, 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 - 0x1448], 0x1003e510
mov dword [ebp - 0x1444], edi
mov dword [ebp - 0x1440], ebx
lea eax, [ebp - 0x144c]
mov dword [ebp - 4], 4
push eax
call fcn.10049490
add esp, 4
mov eax, ebx
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.10068438
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004170
push 0x80070057
call fcn.10004170
int3