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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451ee8
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.0043a5e2
add esp, 4
test eax, eax
je 0x41e068
movzx eax, word [ebx + 2]
add ebx, 2
push eax
call fcn.0043a5e2
add esp, 4
test eax, eax
jne 0x41e051
mov dword [ebp - 0x50], ebx
movzx eax, word [ebx]
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0
test ax, ax
je 0x41e11e
cmp ax, 0x22
jne 0x41e08e
cmp byte [ebp - 0x4a], 0
sete cl
mov byte [ebp - 0x4a], cl
jmp 0x41e105
mov cl, byte [ebp - 0x4a]
cmp ax, 0x28
jne 0x41e0a4
test cl, cl
jne 0x41e0a4
mov byte [ebp - 0x4c], cl
mov byte [ebp - 0x4b], 1
jmp 0x41e105
cmp ax, 0x2c
je 0x41e0b0
cmp ax, 0x29
jne 0x41e0e5
test cl, cl
jne 0x41e0f8
mov edx, dword [ebp - 0x54]
push edx
lea edx, [ebp - 0x48]
call fcn.0041b460
lea ecx, [ebp - 0x48]
lea edi, [ebp - 0x64]
call fcn.0040c5c0
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], 0
jae 0x41e0de
lea eax, [ebp - 0x48]
xor ecx, ecx
mov word [eax], cx
jmp 0x41e105
test cl, cl
jne 0x41e0f8
cmp byte [ebp - 0x4b], cl
jne 0x41e0f8
cmp byte [ebp - 0x4c], cl
je 0x41e105
lea esi, [ebp - 0x2c]
jmp 0x41e0fb
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 0x41e07c
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x41e12e
lea eax, [ebp - 0x2c]
push 0x45838c
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e149
mov byte [ebp - 0x49], 1
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e154
lea eax, [ebp - 0x2c]
push 0x458390
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e16e
mov byte [ebp - 0x49], al
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e179
lea eax, [ebp - 0x2c]
push str.Is64
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e198
call fcn.00430aa0
mov byte [ebp - 0x49], al
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e1a3
lea eax, [ebp - 0x2c]
push str.IsIA64
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e1c2
call fcn.00430af0
mov byte [ebp - 0x49], al
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e1cd
lea eax, [ebp - 0x2c]
push str.IsCmd
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e22f
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 0x41e5fb
cmp dword [esi + 0x14], ebx
jb 0x41e21c
mov eax, dword [esi]
push eax
call fcn.00402130
test eax, eax
setg byte [ebp - 0x49]
jmp 0x41e618
mov eax, esi
push eax
call fcn.00402130
test eax, eax
setg byte [ebp - 0x49]
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e23a
lea eax, [ebp - 0x2c]
push str.IfExists
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e27b
cmp dword [esi + 0x14], ebx
jb 0x41e266
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e618
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e286
lea eax, [ebp - 0x2c]
push str.IsLang
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e2e1
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 0x41e5fb
cmp dword [esi + 0x14], ebx
jb 0x41e2c6
mov eax, dword [esi]
jmp 0x41e2c8
mov eax, esi
push 0x46aeba
push eax
call fcn.00439375
add esp, 8
test eax, eax
sete byte [ebp - 0x49]
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e2ec
lea eax, [ebp - 0x2c]
push str.IfDrvExists
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e350
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 0x41e5fb
cmp dword [esi + 0x14], ebx
jb 0x41e33c
mov eax, dword [esi]
push eax
call fcn.00406830
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e618
mov eax, esi
push eax
call fcn.00406830
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e35b
lea eax, [ebp - 0x2c]
push str.IsOS
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e40c
push str.nooscheck
call fcn.00402130
test eax, eax
je 0x41e388
mov byte [ebp - 0x49], 1
jmp 0x41e618
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 0x41e5fb
cmp dword [esi + 0x14], ebx
jb 0x41e3b6
mov eax, dword [esi]
jmp 0x41e3b8
mov eax, esi
call fcn.004306a0
cmp dword [esi + 0x30], ebx
mov edi, eax
lea eax, [esi + 0x1c]
jb 0x41e3c9
mov eax, dword [eax]
call fcn.004306a0
test edi, edi
je 0x41e3e5
test eax, eax
je 0x41e3e5
mov ecx, eax
call fcn.00430390
mov byte [ebp - 0x49], al
jmp 0x41e618
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 0x41e615
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e417
lea eax, [ebp - 0x2c]
push str.IsGroupSel
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e47f
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 0x41e5fb
cmp dword [esi + 0x14], ebx
jb 0x41e469
mov edx, dword [ebp - 0x54]
mov ecx, dword [esi]
add edx, 0x44
push edx
call fcn.00411280
mov byte [ebp - 0x49], al
jmp 0x41e618
mov edx, dword [ebp - 0x54]
add edx, 0x44
mov ecx, esi
push edx
call fcn.00411280
mov byte [ebp - 0x49], al
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e48a
lea eax, [ebp - 0x2c]
push str.IsVar
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e4f7
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 0x41e5fb
cmp dword [esi + 0x30], ebx
lea eax, [esi + 0x1c]
jb 0x41e4cb
mov eax, dword [eax]
cmp dword [esi + 0x14], ebx
jb 0x41e4d4
mov edx, dword [esi]
jmp 0x41e4d6
mov edx, esi
push eax
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00410c90
add esp, 4
push eax
call fcn.00439375
add esp, 8
test eax, eax
sete byte [ebp - 0x49]
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e502
lea eax, [ebp - 0x2c]
push str.IsWinN
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e521
call fcn.004309c0
mov byte [ebp - 0x49], al
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e52c
lea eax, [ebp - 0x2c]
push str.HasNET
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e588
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 0x41e5fb
cmp dword [esi + 0x14], ebx
jb 0x41e56c
mov eax, dword [esi]
jmp 0x41e56e
mov eax, esi
push eax
call fcn.0043977b
add esp, 4
push eax
call fcn.00431120
add esp, 4
mov byte [ebp - 0x49], al
jmp 0x41e618
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e593
lea eax, [ebp - 0x2c]
push str.NetRange
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41e5fb
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 0x41e5fb
cmp dword [esi + 0x14], ebx
jb 0x41e5cf
mov eax, dword [esi]
jmp 0x41e5d1
mov eax, esi
push eax
call fcn.0043977b
mov edi, eax
lea eax, [esi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], ebx
jb 0x41e5e6
mov eax, dword [eax]
push eax
call fcn.0043977b
add esp, 4
push eax
push edi
call fcn.004315b0
mov byte [ebp - 0x49], al
jmp 0x41e615
cmp dword [ebp - 0x1c], 0
je 0x41e618
push str.Syntax_error_found_in_condition
push 0x4699dc
mov eax, 2
call fcn.0042c820
add esp, 8
test esi, esi
je 0x41e62f
mov edi, dword [ebp - 0x60]
mov eax, esi
call fcn.0040d660
push esi
call fcn.00438b4b
add esp, 4
cmp dword [ebp - 0x34], ebx
jb 0x41e640
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00438b4b
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 0x41e665
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00438b4b
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.004377c1
mov esp, ebp
pop ebp
ret 8