Function at 0x420450
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x458718
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
xor esi, esi
mov ecx, 7
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
mov dword [esp + 0x70], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], si
xor bl, bl
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x70], 2
movzx ecx, word [eax]
push ecx
mov byte [esp + 0x19], bl
mov ebp, eax
call fcn.00440c13
add esp, 4
test eax, eax
je 0x4204f4
lea esp, [esp]
movzx edx, word [ebp + 2]
add ebp, 2
push edx
call fcn.00440c13
add esp, 4
test eax, eax
jne 0x4204e0
movzx eax, word [ebp]
cmp ax, si
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 0
je 0x420650
jmp 0x420510
cmp ax, 0x22
jne 0x420520
test bl, bl
sete bl
jmp 0x420640
cmp ax, 0x28
jne 0x420538
test bl, bl
jne 0x420538
mov byte [esp + 0x17], bl
mov byte [esp + 0x16], 1
jmp 0x420640
cmp ax, 0x2c
je 0x420544
cmp ax, 0x29
jne 0x420576
test bl, bl
jne 0x4205e5
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
call fcn.0041d570
lea ecx, [esp + 0x48]
push ecx
lea esi, [esp + 0x1c]
call fcn.0040da30
lea edi, [esp + 0x48]
call fcn.00422500
jmp 0x420640
test bl, bl
jne 0x4205e5
cmp byte [esp + 0x16], bl
jne 0x4205e5
cmp byte [esp + 0x17], bl
je 0x420640
or edx, 0xffffffff
sub edx, dword [esp + 0x40]
movzx esi, ax
cmp edx, 1
ja 0x42059e
call fcn.0043c490
mov edi, dword [esp + 0x40]
add edi, 1
lea eax, [esp + 0x2c]
call fcn.00404600
test al, al
je 0x420640
mov eax, dword [esp + 0x30]
mov ecx, 8
cmp dword [esp + 0x44], ecx
jae 0x4205c9
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x40]
mov word [eax + edx*2], si
cmp dword [esp + 0x44], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], edi
jae 0x42063a
lea eax, [esp + 0x30]
jmp 0x42063a
movzx esi, ax
or eax, 0xffffffff
sub eax, dword [esp + 0x5c]
cmp eax, 1
ja 0x4205f9
call fcn.0043c490
mov edi, dword [esp + 0x5c]
add edi, 1
lea eax, [esp + 0x48]
call fcn.00404600
test al, al
je 0x420640
mov eax, dword [esp + 0x4c]
mov ecx, 8
cmp dword [esp + 0x60], ecx
jae 0x420620
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov word [eax + edx*2], si
cmp dword [esp + 0x60], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], edi
jae 0x42063a
lea eax, [esp + 0x4c]
mov word [eax + edi*2], 0
movzx eax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x420510
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x42065f
lea eax, [esp + 0x30]
push 0x45e484
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
mov ebx, 8
jne 0x420680
mov byte [esp + 0x15], 1
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x42068e
lea eax, [esp + 0x30]
push 0x45e488
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x4206a9
mov byte [esp + 0x15], al
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x4206b7
lea eax, [esp + 0x30]
push str.Is64
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x4206d7
call fcn.00435e20
mov byte [esp + 0x15], al
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x4206e5
lea eax, [esp + 0x30]
push str.IsIA64
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x420705
call fcn.00435e70
mov byte [esp + 0x15], al
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x420713
lea eax, [esp + 0x30]
push str.IsCmd
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x420778
lea ecx, [esp + 0x18]
call fcn.0040d9c0
cmp eax, 1
setne al
test al, al
jne 0x420b98
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x420762
mov eax, dword [eax + 4]
mov edx, eax
call fcn.00401ee0
test eax, eax
setg byte [esp + 0x15]
jmp 0x420bb6
add eax, 4
mov edx, eax
call fcn.00401ee0
test eax, eax
setg byte [esp + 0x15]
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x420786
lea eax, [esp + 0x30]
push str.IfExists
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x4207d6
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x4207bf
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [esp + 0x15]
jmp 0x420bb6
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [esp + 0x15]
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x4207e4
lea eax, [esp + 0x30]
push str.IsLang
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x42083f
lea ecx, [esp + 0x18]
call fcn.0040d9c0
cmp eax, 1
setne al
test al, al
jne 0x420b98
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x420822
mov eax, dword [eax + 4]
jmp 0x420825
add eax, 4
push 0x470d0a
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
sete byte [esp + 0x15]
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x42084d
lea eax, [esp + 0x30]
push str.IfDrvExists
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x4208b2
lea ecx, [esp + 0x18]
call fcn.0040d9c0
cmp eax, 1
setne al
test al, al
jne 0x420b98
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x42089c
mov eax, dword [eax + 4]
push eax
call fcn.00406f10
cmp eax, 0xffffffff
setne byte [esp + 0x15]
jmp 0x420bb6
add eax, 4
push eax
call fcn.00406f10
cmp eax, 0xffffffff
setne byte [esp + 0x15]
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x4208c0
lea eax, [esp + 0x30]
push str.IsOS
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x420985
mov edx, str.nooscheck
call fcn.00401ee0
test eax, eax
je 0x4208ee
mov byte [esp + 0x15], 1
jmp 0x420bb6
lea ecx, [esp + 0x18]
call fcn.0040d9c0
cmp eax, 2
setne al
test al, al
jne 0x420b98
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x42091a
mov eax, dword [eax + 4]
jmp 0x42091d
add eax, 4
call fcn.00435bb0
mov edi, 1
lea esi, [esp + 0x18]
mov ebp, eax
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x42093c
mov eax, dword [eax + 4]
jmp 0x42093f
add eax, 4
call fcn.00435bb0
test ebp, ebp
je 0x42095c
test eax, eax
je 0x42095c
mov edi, ebp
call fcn.00435a10
mov byte [esp + 0x15], al
jmp 0x420bb6
push str.Unrecognized_OS_name_in_condition
push 0x46fa40
mov eax, 2
call fcn.00431730
mov eax, dword [esp + 0x30]
mov dword [eax + 0x38], 0xb
mov byte [esp + 0x1d], 0
jmp 0x420bb3
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x420993
lea eax, [esp + 0x30]
push str.IsGroupSel
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x4209eb
lea ecx, [esp + 0x18]
call fcn.0040d9c0
cmp eax, 1
setne al
test al, al
jne 0x420b98
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x4209d1
mov eax, dword [eax + 4]
jmp 0x4209d4
add eax, 4
mov ecx, dword [esp + 0x28]
push eax
add ecx, 0x40
push ecx
call fcn.00413150
mov byte [esp + 0x15], al
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x4209f9
lea eax, [esp + 0x30]
push str.IsVar
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x420a79
lea ecx, [esp + 0x18]
call fcn.0040d9c0
cmp eax, 2
setne al
test al, al
jne 0x420b98
mov edi, 1
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x420a3a
mov ebp, dword [eax + 4]
jmp 0x420a3d
lea ebp, [eax + 4]
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x420a52
mov ecx, dword [eax + 4]
jmp 0x420a55
lea ecx, [eax + 4]
mov edx, dword [esp + 0x28]
push ebp
push ecx
push edx
call fcn.00412a70
add esp, 4
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
sete byte [esp + 0x15]
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x420a87
lea eax, [esp + 0x30]
push str.IsWinN
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x420aa7
call fcn.00435d40
mov byte [esp + 0x15], al
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x420ab5
lea eax, [esp + 0x30]
push str.HasNET
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x420b11
lea ecx, [esp + 0x18]
call fcn.0040d9c0
cmp eax, 1
setne al
test al, al
jne 0x420b98
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x420af3
mov eax, dword [eax + 4]
jmp 0x420af6
add eax, 4
push eax
call fcn.0043ef57
add esp, 4
push eax
call fcn.00436370
add esp, 4
mov byte [esp + 0x15], al
jmp 0x420bb6
cmp dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
jae 0x420b1f
lea eax, [esp + 0x30]
push str.NetRange
push eax
call fcn.0043e79a
add esp, 8
test eax, eax
jne 0x420b98
lea ecx, [esp + 0x18]
call fcn.0040d9c0
cmp eax, 2
setne al
test al, al
jne 0x420b98
xor edi, edi
lea esi, [esp + 0x18]
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x420b59
mov eax, dword [eax + 4]
jmp 0x420b5c
add eax, 4
push eax
call fcn.0043ef57
add esp, 4
mov edi, 1
lea esi, [esp + 0x18]
mov ebp, eax
call fcn.0040d9f0
cmp dword [eax + 0x18], ebx
jb 0x420b7f
mov eax, dword [eax + 4]
jmp 0x420b82
add eax, 4
push eax
call fcn.0043ef57
add esp, 4
push eax
push ebp
call fcn.00436880
mov byte [esp + 0x1d], al
jmp 0x420bb3
cmp dword [esp + 0x40], 0
je 0x420bb6
push str.Syntax_error_found_in_condition
push 0x46fa40
mov eax, 2
call fcn.00431730
add esp, 8
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x420bde
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push ecx
call fcn.00411dd0
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x60], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
jb 0x420bfd
mov eax, dword [esp + 0x4c]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], si
jb 0x420c21
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0043e965
add esp, 4
mov al, byte [esp + 0x15]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0043d02a
add esp, 0x60
ret 8