Function at 0x419150
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44abee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov ebp, ecx
xor ebx, ebx
push edi
mov edi, dword [esp + 0xcc]
mov byte [ebp + 0x2b8], bl
mov eax, dword [edi + 4]
mov ecx, dword [eax]
mov eax, dword [edi + 8]
cmp eax, 3
mov dword [esp + 0x10], ebp
jb 0x419688
cmp eax, 5
ja 0x419688
mov ebp, dword [ecx]
mov eax, 0xf
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0xc4], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
lea esi, [ebp + 8]
mov byte [esp + 0xc4], 2
jb 0x4191e0
mov eax, dword [esi + 4]
jmp 0x4191e3
lea eax, [esi + 4]
push 0x3a
push eax
call fcn.0043dae5
add esp, 8
test eax, eax
jne 0x419230
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
add eax, 0x1c8
push eax
lea ecx, [esp + 0x3c]
call fcn.004019c0
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x419217
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x44]
cmp byte [eax + ecx - 1], 0x5c
je 0x419230
push 0x44f4ec
lea ecx, [esp + 0x34]
call fcn.0040bc00
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.0040b9c0
mov ebp, dword [ebp]
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
lea esi, [ebp + 8]
jb 0x419250
mov eax, dword [esi + 4]
jmp 0x419253
lea eax, [esi + 4]
push 0x3a
push eax
call fcn.0043dae5
add esp, 8
test eax, eax
jne 0x4192a1
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
add edx, 0x1c8
push edx
lea ecx, [esp + 0x20]
call fcn.004019c0
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x419288
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x28]
cmp byte [eax + ecx - 1], 0x5c
je 0x4192a1
push 0x44f4ec
lea ecx, [esp + 0x18]
call fcn.0040bc00
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x20]
call fcn.0040b9c0
cmp dword [esp + 0x44], ebx
je 0x4195cb
cmp dword [esp + 0x28], ebx
je 0x4195cb
mov esi, dword [ebp]
mov ebp, 0xf
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp esi, dword [edi + 4]
mov byte [esp + 0xc4], 4
je 0x4192f6
push 0xffffffffffffffff
lea eax, [esi + 8]
push ebx
push eax
lea ecx, [esp + 0x74]
call fcn.004019c0
mov eax, dword [edi + 4]
cmp esi, eax
je 0x4192ff
mov esi, dword [esi]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
cmp esi, eax
mov byte [esp + 0xc4], 5
je 0x419333
push 0xffffffffffffffff
add esi, 8
push ebx
push esi
lea ecx, [esp + 0x90]
call fcn.004019c0
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x419342
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x419476
push str.Script_error:_file_is_missing_:
lea ecx, [esp + 0x50]
call fcn.004166d0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xd0], 6
call fcn.0040b9c0
push str.__line:
lea ecx, [esp + 0x50]
call fcn.0040bc00
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x4193b7
nop
push 0xffffffffffffffff
push ebx
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x58]
call fcn.0040b9c0
push 1
push 0x44f5bc
lea ecx, [esp + 0x54]
call fcn.0040bab0
mov esi, dword [esi]
cmp esi, dword [edi + 4]
jne 0x419390
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x14]
add ecx, 0x2dc
call fcn.0040bcc0
mov eax, dword [esp + 0x64]
mov esi, 0x10
cmp eax, esi
jb 0x4193e5
mov edx, dword [esp + 0x50]
push edx
call fcn.0043c389
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x41940a
mov eax, dword [esp + 0x88]
push eax
call fcn.0043c389
add esp, 4
cmp dword [esp + 0x80], esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x419435
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0043c389
add esp, 4
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x419457
mov edx, dword [esp + 0x18]
push edx
call fcn.0043c389
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x41971e
mov eax, dword [esp + 0x34]
jmp 0x419715
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x10]
mov ebp, 0x10
mov edi, 1
cmp eax, ebp
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x2bc], edi
jae 0x41949d
lea eax, [esp + 0x6c]
mov ecx, dword [str.rebootalways]
push ecx
push eax
call fcn.0043cd34
add esp, 8
test eax, eax
jne 0x4194c4
mov dword [esi + 0x2bc], 2
mov byte [esi + 0x2b8], 1
jmp 0x41951c
cmp dword [esp + 0x80], ebp
mov eax, dword [esp + 0x6c]
jae 0x4194d5
lea eax, [esp + 0x6c]
mov edx, dword [str.rebootnormal]
push edx
push eax
call fcn.0043cd34
add esp, 8
test eax, eax
jne 0x4194f1
mov dword [esi + 0x2bc], edi
jmp 0x41951c
cmp dword [esp + 0x80], ebp
mov eax, dword [esp + 0x6c]
jae 0x419502
lea eax, [esp + 0x6c]
mov ecx, dword [str.rebootnone]
push ecx
push eax
call fcn.0043cd34
add esp, 8
test eax, eax
jne 0x41951c
mov dword [esi + 0x2bc], ebx
cmp dword [esp + 0x9c], ebp
mov eax, dword [esp + 0x88]
jae 0x419533
lea eax, [esp + 0x88]
mov edx, dword [str.langinstall]
push edx
push eax
call fcn.0043cd34
add esp, 8
test eax, eax
je 0x41956e
cmp dword [esp + 0x9c], ebp
mov eax, dword [esp + 0x88]
jae 0x41955e
lea eax, [esp + 0x88]
mov ecx, dword [str.nolanginstall]
push ecx
push eax
call fcn.0043cd34
add esp, 8
cmp dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x18]
jae 0x41957c
lea ecx, [esp + 0x18]
cmp dword [esp + 0x48], ebp
mov eax, dword [esp + 0x34]
jae 0x41958a
lea eax, [esp + 0x34]
push esi
push 0x414a40
push 0x40
push ecx
push ebx
push eax
push ebx
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupInstallFileA]
lea ecx, [esp + 0x84]
call fcn.00401850
lea ecx, [esp + 0x68]
call fcn.00401850
lea ecx, [esp + 0x14]
call fcn.00401850
lea ecx, [esp + 0x30]
call fcn.00401850
mov al, 1
jmp 0x419720
push str.Script_error:_invalid_argument__line:
lea ecx, [esp + 0x50]
call fcn.004166d0
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
mov byte [esp + 0xc4], 3
je 0x419617
lea ebx, [ebx]
push 0xffffffffffffffff
push ebx
lea edx, [esi + 8]
push edx
lea ecx, [esp + 0x58]
call fcn.0040b9c0
push 1
push 0x44f5bc
lea ecx, [esp + 0x54]
call fcn.0040bab0
mov esi, dword [esi]
cmp esi, dword [edi + 4]
jne 0x4195f0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
add ecx, 0x2dc
call fcn.0040bcc0
mov eax, dword [esp + 0x64]
mov esi, 0x10
cmp eax, esi
jb 0x419645
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0043c389
add esp, 4
cmp dword [esp + 0x2c], esi
mov edi, 0xf
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x419669
mov edx, dword [esp + 0x18]
push edx
call fcn.0043c389
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x41971e
mov eax, dword [esp + 0x34]
jmp 0x419715
push 0x31
push str.Script_error:_invalid_number_of_arguments__line:
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
call fcn.00401ab0
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0xc4], ebx
je 0x4196f1
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0xac]
call fcn.0040b9c0
push 1
push 0x44f5bc
lea ecx, [esp + 0xa8]
call fcn.0040bab0
mov esi, dword [esi]
cmp esi, dword [edi + 4]
jne 0x4196c4
lea edx, [esp + 0xa0]
push edx
lea ecx, [ebp + 0x2dc]
call fcn.0040bcc0
cmp dword [esp + 0xb8], 0x10
jb 0x41971e
mov eax, dword [esp + 0xa4]
push eax
call fcn.0043c389
add esp, 4
xor al, al
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 4