Function at 0x440770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45163a
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x464080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406320
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x440809
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00416400
push eax
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00410a80
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004063c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.004063a0
lea ecx, [ebp - 0x10]
call fcn.004062e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x244]
mov eax, dword [edx + 0xb64]
push eax
push 0x457534
lea ecx, [ebp - 0x10]
push ecx
call fcn.00407120
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00414010
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44086a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004063a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004063a0
jmp 0x440ab7
lea ecx, [ebp - 0x20]
call fcn.004062e0
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x244]
add edx, 0xb64
push edx
lea ecx, [ebp - 0x14]
call fcn.00406300
mov byte [ebp - 4], 4
push 0x457540
lea ecx, [ebp - 0x14]
call fcn.00414f30
cmp dword [ebp + 0xc], 0
je 0x4408b5
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.004063e0
lea ecx, [ebp - 0x1c]
push ecx
push 0x457544
lea edx, [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00418af0
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004063c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x23c]
call fcn.004063a0
push 0x457548
lea edx, [ebp - 0x20]
push edx
call fcn.00418ca0
add esp, 8
movzx eax, al
test eax, eax
je 0x440a84
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004188f0
lea ecx, [ebp - 0x14]
call fcn.00419570
cmp eax, 2
jle 0x440a26
lea ecx, [ebp - 0x14]
call fcn.00414010
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440a26
lea ecx, [ebp - 0x14]
call fcn.00414010
push eax
call sym.Install_style.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
mov ecx, dword [ebp - 0x244]
add ecx, 0xb24
call fcn.00419570
test eax, eax
jne 0x4409ae
push 0
lea ecx, [ebp - 0x14]
call fcn.00414010
push eax
mov ecx, dword [ebp - 0x244]
add ecx, 0xb64
call fcn.00412120
test eax, eax
jne 0x4409ae
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x244]
add ecx, 0xb24
call fcn.004063c0
jmp 0x440a26
mov ecx, dword [ebp - 0x244]
add ecx, 0xb24
call fcn.00419570
test eax, eax
jne 0x440a26
lea ecx, [ebp - 0x14]
call fcn.00419570
mov esi, eax
mov ecx, dword [ebp - 0x244]
add ecx, 0xb64
call fcn.00419570
cmp esi, eax
jle 0x440a26
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x14]
call fcn.00414010
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x45754c
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp - 0x244]
call sym.Install_style.exe_private:_bool___thiscall_CNsInstaller::AddDelInfo_struct_tagDelInfo__
push 0x457550
lea ecx, [ebp - 0x14]
call fcn.00414f30
lea eax, [ebp - 0x1c]
push eax
push 0x457554
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00418af0
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004063c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x240]
call fcn.004063a0
jmp 0x440901
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004063a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004063a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004063a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004063a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0042047a
mov esp, ebp
pop ebp
ret 8