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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x468738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, 7
xor esi, esi
xor edx, edx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], esi
mov dword [ebp - 0x34], ecx
xor ecx, ecx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
xor edi, edi
mov byte [ebp - 0x4a], cl
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 2
movzx edx, word [eax]
push edx
mov byte [ebp - 0x49], 0
mov ebx, eax
mov dword [ebp - 0x50], eax
call fcn.0043a5f2
add esp, 4
test eax, eax
je 0x41e058
movzx eax, word [ebx + 2]
add ebx, 2
push eax
call fcn.0043a5f2
add esp, 4
test eax, eax
jne 0x41e041
mov dword [ebp - 0x50], ebx
movzx eax, word [ebx]
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0
test ax, ax
je 0x41e10e
cmp ax, 0x22
jne 0x41e07e
cmp byte [ebp - 0x4a], 0
sete cl
mov byte [ebp - 0x4a], cl
jmp 0x41e0f5
mov cl, byte [ebp - 0x4a]
cmp ax, 0x28
jne 0x41e094
test cl, cl
jne 0x41e094
mov byte [ebp - 0x4c], cl
mov byte [ebp - 0x4b], 1
jmp 0x41e0f5
cmp ax, 0x2c
je 0x41e0a0
cmp ax, 0x29
jne 0x41e0d5
test cl, cl
jne 0x41e0e8
mov edx, dword [ebp - 0x54]
push edx
lea edx, [ebp - 0x48]
call fcn.0041b450
lea ecx, [ebp - 0x48]
lea edi, [ebp - 0x64]
call fcn.0040c5b0
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], 0
jae 0x41e0ce
lea eax, [ebp - 0x48]
xor ecx, ecx
mov word [eax], cx
jmp 0x41e0f5
test cl, cl
jne 0x41e0e8
cmp byte [ebp - 0x4b], cl
jne 0x41e0e8
cmp byte [ebp - 0x4c], cl
je 0x41e0f5
lea esi, [ebp - 0x2c]
jmp 0x41e0eb
lea esi, [ebp - 0x48]
mov ebx, eax
call fcn.00420c20
mov ebx, dword [ebp - 0x50]
movzx eax, word [ebx + 2]
add ebx, 2
mov dword [ebp - 0x50], ebx
test ax, ax
jne 0x41e06c
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x41e11e
lea eax, [ebp - 0x2c]
push 0x45838c
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e139
mov byte [ebp - 0x49], 1
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e144
lea eax, [ebp - 0x2c]
push 0x458390
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e15e
mov byte [ebp - 0x49], al
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e169
lea eax, [ebp - 0x2c]
push str.Is64
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e188
call fcn.00430aa0
mov byte [ebp - 0x49], al
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e193
lea eax, [ebp - 0x2c]
push str.IsIA64
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e1b2
call fcn.00430af0
mov byte [ebp - 0x49], al
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e1bd
lea eax, [ebp - 0x2c]
push str.IsCmd
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e21f
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
setne al
test al, al
jne 0x41e5eb
cmp dword [esi + 0x14], ebx
jb 0x41e20c
mov eax, dword [esi]
push eax
call fcn.00402130
test eax, eax
setg byte [ebp - 0x49]
jmp 0x41e608
mov eax, esi
push eax
call fcn.00402130
test eax, eax
setg byte [ebp - 0x49]
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e22a
lea eax, [ebp - 0x2c]
push str.IfExists
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e26b
cmp dword [esi + 0x14], ebx
jb 0x41e256
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e608
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e276
lea eax, [ebp - 0x2c]
push str.IsLang
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e2d1
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
setne al
test al, al
jne 0x41e5eb
cmp dword [esi + 0x14], ebx
jb 0x41e2b6
mov eax, dword [esi]
jmp 0x41e2b8
mov eax, esi
push 0x46aeba
push eax
call fcn.00439385
add esp, 8
test eax, eax
sete byte [ebp - 0x49]
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e2dc
lea eax, [ebp - 0x2c]
push str.IfDrvExists
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e340
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
setne al
test al, al
jne 0x41e5eb
cmp dword [esi + 0x14], ebx
jb 0x41e32c
mov eax, dword [esi]
push eax
call fcn.00406830
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e608
mov eax, esi
push eax
call fcn.00406830
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e34b
lea eax, [ebp - 0x2c]
push str.IsOS
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e3fc
push str.nooscheck
call fcn.00402130
test eax, eax
je 0x41e378
mov byte [ebp - 0x49], 1
jmp 0x41e608
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
setne al
test al, al
jne 0x41e5eb
cmp dword [esi + 0x14], ebx
jb 0x41e3a6
mov eax, dword [esi]
jmp 0x41e3a8
mov eax, esi
call fcn.004306a0
cmp dword [esi + 0x30], ebx
mov edi, eax
lea eax, [esi + 0x1c]
jb 0x41e3b9
mov eax, dword [eax]
call fcn.004306a0
test edi, edi
je 0x41e3d5
test eax, eax
je 0x41e3d5
mov ecx, eax
call fcn.00430390
mov byte [ebp - 0x49], al
jmp 0x41e608
push str.Unrecognized_OS_name_in_condition
push 0x4699dc
mov eax, 2
call fcn.0042c820
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x3c], 0xb
mov byte [ebp - 0x49], 0
jmp 0x41e605
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e407
lea eax, [ebp - 0x2c]
push str.IsGroupSel
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e46f
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
setne al
test al, al
jne 0x41e5eb
cmp dword [esi + 0x14], ebx
jb 0x41e459
mov edx, dword [ebp - 0x54]
mov ecx, dword [esi]
add edx, 0x44
push edx
call fcn.00411270
mov byte [ebp - 0x49], al
jmp 0x41e608
mov edx, dword [ebp - 0x54]
add edx, 0x44
mov ecx, esi
push edx
call fcn.00411270
mov byte [ebp - 0x49], al
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e47a
lea eax, [ebp - 0x2c]
push str.IsVar
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e4e7
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
setne al
test al, al
jne 0x41e5eb
cmp dword [esi + 0x30], ebx
lea eax, [esi + 0x1c]
jb 0x41e4bb
mov eax, dword [eax]
cmp dword [esi + 0x14], ebx
jb 0x41e4c4
mov edx, dword [esi]
jmp 0x41e4c6
mov edx, esi
push eax
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00410c80
add esp, 4
push eax
call fcn.00439385
add esp, 8
test eax, eax
sete byte [ebp - 0x49]
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e4f2
lea eax, [ebp - 0x2c]
push str.IsWinN
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e511
call fcn.004309c0
mov byte [ebp - 0x49], al
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e51c
lea eax, [ebp - 0x2c]
push str.HasNET
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e578
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
setne al
test al, al
jne 0x41e5eb
cmp dword [esi + 0x14], ebx
jb 0x41e55c
mov eax, dword [esi]
jmp 0x41e55e
mov eax, esi
push eax
call fcn.0043978b
add esp, 4
push eax
call fcn.00431120
add esp, 4
mov byte [ebp - 0x49], al
jmp 0x41e608
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e583
lea eax, [ebp - 0x2c]
push str.NetRange
push eax
call fcn.00439385
add esp, 8
test eax, eax
jne 0x41e5eb
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
setne al
test al, al
jne 0x41e5eb
cmp dword [esi + 0x14], ebx
jb 0x41e5bf
mov eax, dword [esi]
jmp 0x41e5c1
mov eax, esi
push eax
call fcn.0043978b
mov edi, eax
lea eax, [esi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], ebx
jb 0x41e5d6
mov eax, dword [eax]
push eax
call fcn.0043978b
add esp, 4
push eax
push edi
call fcn.004315b0
mov byte [ebp - 0x49], al
jmp 0x41e605
cmp dword [ebp - 0x1c], 0
je 0x41e608
push str.Syntax_error_found_in_condition
push 0x4699dc
mov eax, 2
call fcn.0042c820
add esp, 8
test esi, esi
je 0x41e61f
mov edi, dword [ebp - 0x60]
mov eax, esi
call fcn.0040d650
push esi
call fcn.00438b5b
add esp, 4
cmp dword [ebp - 0x34], ebx
jb 0x41e630
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00438b5b
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], ebx
jb 0x41e655
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00438b5b
add esp, 4
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004377d1
mov esp, ebp
pop ebp
ret 8