Function at 0x437c90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4470f6
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.004056c0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x437d29
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0040e2a0
push eax
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00410e10
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x278], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x278]
lea edi, [ebp - 0x18]
call fcn.00405770
mov byte [ebp - 4], 0
lea eax, [ebp - 0x238]
call fcn.004058e0
lea esi, [ebp - 0x10]
call fcn.00405680
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x270]
mov edx, dword [ecx + 0xb58]
push edx
push 0x44dba0
lea edi, [ebp - 0x10]
call fcn.00405e60
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.00405900
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437d89
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.004058e0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.004058e0
jmp 0x437fce
lea esi, [ebp - 0x20]
call fcn.00405680
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x270]
add eax, 0xb58
lea esi, [ebp - 0x14]
call fcn.004056a0
mov byte [ebp - 4], 4
push 0x44dbac
lea ecx, [ebp - 0x14]
call fcn.0040cdc0
cmp dword [ebp + 0xc], 0
je 0x437dd1
mov edx, dword [ebp + 0xc]
lea edi, [ebp - 0x14]
call fcn.004057e0
lea eax, [ebp - 0x1c]
push eax
push 0x44dbb0
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00410c60
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x280]
lea edi, [ebp - 0x20]
call fcn.00405770
mov byte [ebp - 4], 4
lea eax, [ebp - 0x23c]
call fcn.004058e0
push 0x44dbb4
lea eax, [ebp - 0x20]
push eax
call fcn.00410e90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x437f9b
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.00410a60
lea eax, [ebp - 0x14]
call fcn.00405820
cmp eax, 2
jle 0x437f3e
lea eax, [ebp - 0x14]
call fcn.00405900
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437f3e
lea eax, [ebp - 0x14]
call fcn.00405900
push eax
call sym.Install_time.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
mov eax, dword [ebp - 0x270]
add eax, 0xb24
call fcn.00405820
test eax, eax
jne 0x437ec8
lea eax, [ebp - 0x14]
call fcn.00405900
mov esi, dword [ebp - 0x270]
add esi, 0xb58
xor ecx, ecx
mov edx, eax
call fcn.0040a110
test eax, eax
jne 0x437ec8
mov edi, dword [ebp - 0x270]
add edi, 0xb24
lea eax, [ebp - 0x14]
call fcn.00405770
jmp 0x437f3e
mov eax, dword [ebp - 0x270]
add eax, 0xb24
call fcn.00405820
test eax, eax
jne 0x437f3e
lea eax, [ebp - 0x14]
call fcn.00405820
mov esi, eax
mov eax, dword [ebp - 0x270]
add eax, 0xb58
call fcn.00405820
cmp esi, eax
jle 0x437f3e
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x14]
call fcn.00405900
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x44dbb8
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp - 0x270]
call sym.Install_time.exe_private:_bool___thiscall_CNsInstaller::AddDelInfo_struct_tagDelInfo__
push 0x44dbbc
lea ecx, [ebp - 0x14]
call fcn.0040cdc0
lea eax, [ebp - 0x1c]
push eax
push 0x44dbc0
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00410c60
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x288]
lea edi, [ebp - 0x20]
call fcn.00405770
mov byte [ebp - 4], 4
lea eax, [ebp - 0x240]
call fcn.004058e0
jmp 0x437e1c
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
call fcn.004058e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
call fcn.004058e0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.004058e0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.004058e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00417bfa
mov esp, ebp
pop ebp
ret 8