Function at 0x4070e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43ed32
mov eax, dword fs:[0]
push eax
mov eax, 0x424c
call fcn.00429090
mov eax, dword [0x451c14]
xor eax, esp
mov dword [esp + 0x4248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451c14]
xor eax, esp
push eax
lea eax, [esp + 0x4260]
mov dword fs:[0], eax
xor ebx, ebx
push 0x800
lea eax, [esp + 0x5c]
push ebx
push eax
mov byte [esp + 0x27], 1
mov dword [esp + 0x58], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x60], ebx
call fcn.00428ee0
add esp, 0xc
mov dword [esp + 0x4268], ebx
push 0x4445a4
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], ebx
call fcn.004025b0
push 0x4445a4
lea ecx, [esp + 0x24]
mov byte [esp + 0x426c], 1
call fcn.004025b0
push 0x10
push str.SOFTWARE__MFG__
lea ecx, [esp + 0x24]
mov byte [esp + 0x4270], 2
call fcn.004020d0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jl 0x4071ce
push str.__MFG__
push ecx
call fcn.00427573
mov ecx, dword [esp + 0x24]
add esp, 8
cmp eax, ebx
je 0x4071ce
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jle 0x4071ce
push 0x45fce2
push str.__MFG__
lea ecx, [esp + 0x24]
push ecx
call fcn.00405290
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x50]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push ecx
push 0x80000002
mov esi, ecx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x407580
push esi
lea ecx, [esp + 0x5c]
push 0x400
push ecx
mov byte [esp + 0x5c], 1
mov dword [esp + 0x60], VariantClear
call fcn.0042771d
add esp, 0xc
push 0x2000
lea ecx, [esp + 0x2260]
push ebx
push ecx
call fcn.00428ee0
mov edx, dword [esp + 0x58]
add esp, 0xc
push edx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2260]
call fcn.0040c960
add esp, 4
test eax, eax
jne 0x4075b0
mov eax, dword [esp + 0x24]
cmp eax, ebx
lea edi, [esp + 0x225c]
jle 0x4074fc
mov ebp, eax
cmp edi, ebx
je 0x4074d6
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407273
sub eax, edx
sar eax, 1
je 0x4074d6
push 0x800
lea eax, [esp + 0x1260]
push ebx
push eax
call fcn.00428ee0
add esp, 0xc
push 0x800
lea ecx, [esp + 0x1a60]
push ebx
push ecx
call fcn.00428ee0
add esp, 0xc
push 0x800
lea edx, [esp + 0xa60]
push ebx
push edx
call fcn.00428ee0
mov eax, dword [esp + 0x28]
add esp, 0xc
push str.Installed
push edi
push eax
push str._s_s_s
lea edx, [esp + 0x126c]
call fcn.004059c0
push 1
push 0x800
lea ecx, [esp + 0xa74]
push ecx
push str.UserGuideDir
push 0x80000002
lea edx, [esp + 0x1280]
call fcn.0040c7a0
add esp, 0x24
test eax, eax
jne 0x4074d6
push 1
push 0x800
lea edx, [esp + 0x1a64]
push edx
push str.UserGuideFile
push 0x80000002
lea edx, [esp + 0x1270]
call fcn.0040c7a0
add esp, 0x14
test eax, eax
jne 0x4074d6
lea eax, [esp + 0xa5c]
push eax
lea ecx, [esp + 0x24]
push 0x44507c
push ecx
call fcn.00402350
add esp, 0xc
lea edx, [esp + 0x1a5c]
push edx
lea eax, [esp + 0xa60]
push eax
push 0x445094
mov edx, eax
call fcn.004059c0
add esp, 0xc
lea ecx, [esp + 0xa5c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4074d6
mov ecx, str.MANUAL
lea esi, [esp + 0x20]
call fcn.004054b0
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 0xc]
sub ecx, eax
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.004054e0
mov eax, str.MANUAL_
lea ebx, [esp + 0x24]
mov byte [esp + 0x4268], 3
call fcn.00401b80
mov ecx, 0x4457a0
mov esi, ebx
call fcn.004054b0
push 0x4445a4
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00402050
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.00405560
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x426c], 4
call fcn.00406160
mov bl, 3
lea ecx, [esp + 0x28]
mov byte [esp + 0x4268], bl
call fcn.004023d0
push 0x200
lea edx, [esp + 0x860]
push 0
push edx
call fcn.00428ee0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push 0xff
push eax
lea ecx, [esp + 0x864]
push pe_nt_image_headers32
push ecx
call fcn.00426b21
lea edx, [esp + 0xa6c]
push edx
lea eax, [esp + 0x870]
push eax
push str.Add_Model:___s___ManualPath:___s_
mov ecx, 0x463520
call fcn.0040bf70
add esp, 0x1c
lea edx, [esp + 0x85c]
lea eax, [esp + 0x30]
call fcn.0040bb80
lea ecx, [esp + 0x30]
push ecx
push 0x463500
mov byte [esp + 0x4270], 5
call fcn.00408fa0
push 0x3ff
lea edx, [esp + 0xa60]
push edx
push 0x400
push eax
call fcn.00426b21
add esp, 0x10
lea esi, [esp + 0x30]
mov byte [esp + 0x4268], bl
call fcn.00409210
lea ecx, [esp + 0x24]
mov byte [esp + 0x4268], 2
call fcn.004023d0
xor ebx, ebx
mov eax, edi
lea edx, [eax + 2]
jmp 0x4074e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4074e0
sub eax, edx
sar eax, 1
sub ebp, 1
lea edi, [edi + eax*2 + 2]
jne 0x407266
cmp dword [0x463508], ebx
jne 0x407508
mov byte [esp + 0x1b], bl
mov byte [esp + 0x4268], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4268], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407557
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4268], 0xffffffff
cmp byte [esp + 0x50], bl
je 0x407577
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x407577
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x1b]
jmp 0x407633
push str.fail_to_reg_init
mov ecx, 0x463520
call fcn.0040bf70
mov byte [esp + 0x426c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4075de
push str.fail_to_enumkey
mov ecx, 0x463520
call fcn.0040bf70
mov byte [esp + 0x426c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4268], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407611
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4268], 0xffffffff
cmp byte [esp + 0x50], bl
je 0x407631
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x407631
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x4260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4248]
xor ecx, esp
call fcn.0042683e
add esp, 0x4258
ret