Function at 0x10036230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026013b
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x102fb070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10010ce0
mov ecx, eax
call fcn.10066127
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.1005acab
add esp, 4
push dword [ebp - 0x174]
push 1
push 0x102ddc5c
push 0xffffffffffffffff
test eax, eax
je 0x100362b1
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.10032250
xor ecx, ecx
mov dword [ebp - 0x30], 0
add esp, 0x18
mov word [ebp - 0x40], cx
cmp esi, eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x28]
cmovb eax, esi
cmp dword [ebp - 0x14], 8
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10006680
lea ecx, [ebp - 0x28]
call fcn.100042b0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 0x10
jb 0x1003634b
cmp edx, 8
lea esi, [ebp - 0x28]
push 0x20
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + 0x10]
push 0x102df57c
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x10036369
push 0x10
push 0x102df57c
mov byte [ebp - 0x178], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x178]
push 0x10
call fcn.10008770
mov edx, dword [ebp - 0x174]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10036374
mov eax, dword [ebp - 0x14]
sub ecx, esi
mov esi, dword [ebp - 0x18]
sub eax, esi
sar ecx, 1
mov dword [ebp - 0x174], esi
cmp ecx, eax
ja 0x100363c5
cmp dword [ebp - 0x14], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], edi
push eax
mov eax, dword [ebp - 0x174]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.100ccba0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100363dd
push ecx
push edx
mov byte [ebp - 0x174], 0
push dword [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10008770
call fcn.10063dd9
test al, al
je 0x10036458
mov eax, dword [0x1030bab4]
test eax, eax
je 0x10036458
cmp dword [eax + 4], 4
jl 0x10036458
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
push 0
cmovae edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x170]
push 0
push 0x102ddbc0
push 0xa9
push str.CDoInstallAssist::FreeResource7zFileToPath::_lambda_b10cacaa6d2413b9e6a7ccc4fc4879de_::operator___
push 4
call fcn.10025da0
mov esi, eax
test edi, edi
mov byte [ebp - 4], 1
mov ecx, 0x102de530
cmovne ecx, edi
push ecx
lea ecx, [esi + 0x30]
push ecx
call fcn.10021c60
mov ecx, dword [0x1030bab4]
add esp, 8
push esi
call fcn.10025f50
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0
call fcn.100221e0
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x28]
jne 0x1003648a
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100364d4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1006ce7c
add esp, 4
jmp 0x100364d4
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100364d4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1006a4a9
mov ecx, dword [ebp - 0x2c]
add esp, 8
test ecx, ecx
je 0x100364d4
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1003650a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10036500
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036527
push edx
push ecx
call fcn.10053aa5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10053a94
mov esp, ebp
pop ebp
ret 8
call fcn.100d7e3e
int3