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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452b88
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x469738]
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.0043b172
add esp, 4
test eax, eax
je 0x41e1c8
movzx eax, word [ebx + 2]
add ebx, 2
push eax
call fcn.0043b172
add esp, 4
test eax, eax
jne 0x41e1b1
mov dword [ebp - 0x50], ebx
movzx eax, word [ebx]
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0
test ax, ax
je 0x41e27e
cmp ax, 0x22
jne 0x41e1ee
cmp byte [ebp - 0x4a], 0
sete cl
mov byte [ebp - 0x4a], cl
jmp 0x41e265
mov cl, byte [ebp - 0x4a]
cmp ax, 0x28
jne 0x41e204
test cl, cl
jne 0x41e204
mov byte [ebp - 0x4c], cl
mov byte [ebp - 0x4b], 1
jmp 0x41e265
cmp ax, 0x2c
je 0x41e210
cmp ax, 0x29
jne 0x41e245
test cl, cl
jne 0x41e258
mov edx, dword [ebp - 0x54]
push edx
lea edx, [ebp - 0x48]
call fcn.0041b5c0
lea ecx, [ebp - 0x48]
lea edi, [ebp - 0x64]
call fcn.0040c760
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], 0
jae 0x41e23e
lea eax, [ebp - 0x48]
xor ecx, ecx
mov word [eax], cx
jmp 0x41e265
test cl, cl
jne 0x41e258
cmp byte [ebp - 0x4b], cl
jne 0x41e258
cmp byte [ebp - 0x4c], cl
je 0x41e265
lea esi, [ebp - 0x2c]
jmp 0x41e25b
lea esi, [ebp - 0x48]
mov ebx, eax
call fcn.00420bb0
mov ebx, dword [ebp - 0x50]
movzx eax, word [ebx + 2]
add ebx, 2
mov dword [ebp - 0x50], ebx
test ax, ax
jne 0x41e1dc
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x41e28e
lea eax, [ebp - 0x2c]
push 0x45938c
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e2a9
mov byte [ebp - 0x49], 1
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e2b4
lea eax, [ebp - 0x2c]
push 0x459390
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e2ce
mov byte [ebp - 0x49], al
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e2d9
lea eax, [ebp - 0x2c]
push str.Is64
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e2f8
call fcn.00431430
mov byte [ebp - 0x49], al
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e303
lea eax, [ebp - 0x2c]
push str.IsIA64
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e322
call fcn.00431480
mov byte [ebp - 0x49], al
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e32d
lea eax, [ebp - 0x2c]
push str.IsCmd
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e38f
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 0x41e75b
cmp dword [esi + 0x14], ebx
jb 0x41e37c
mov eax, dword [esi]
push eax
call fcn.00402130
test eax, eax
setg byte [ebp - 0x49]
jmp 0x41e778
mov eax, esi
push eax
call fcn.00402130
test eax, eax
setg byte [ebp - 0x49]
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e39a
lea eax, [ebp - 0x2c]
push str.IfExists
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e3db
cmp dword [esi + 0x14], ebx
jb 0x41e3c6
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e778
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e3e6
lea eax, [ebp - 0x2c]
push str.IsLang
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e441
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 0x41e75b
cmp dword [esi + 0x14], ebx
jb 0x41e426
mov eax, dword [esi]
jmp 0x41e428
mov eax, esi
push 0x46be9a
push eax
call fcn.00439f05
add esp, 8
test eax, eax
sete byte [ebp - 0x49]
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e44c
lea eax, [ebp - 0x2c]
push str.IfDrvExists
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e4b0
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 0x41e75b
cmp dword [esi + 0x14], ebx
jb 0x41e49c
mov eax, dword [esi]
push eax
call fcn.00406870
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e778
mov eax, esi
push eax
call fcn.00406870
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e4bb
lea eax, [ebp - 0x2c]
push str.IsOS
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e56c
push str.nooscheck
call fcn.00402130
test eax, eax
je 0x41e4e8
mov byte [ebp - 0x49], 1
jmp 0x41e778
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 0x41e75b
cmp dword [esi + 0x14], ebx
jb 0x41e516
mov eax, dword [esi]
jmp 0x41e518
mov eax, esi
call fcn.00431030
cmp dword [esi + 0x30], ebx
mov edi, eax
lea eax, [esi + 0x1c]
jb 0x41e529
mov eax, dword [eax]
call fcn.00431030
test edi, edi
je 0x41e545
test eax, eax
je 0x41e545
mov ecx, eax
call fcn.00430d20
mov byte [ebp - 0x49], al
jmp 0x41e778
push str.Unrecognized_OS_name_in_condition
push 0x46a9d4
mov eax, 2
call fcn.0042d150
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x3c], 0xb
mov byte [ebp - 0x49], 0
jmp 0x41e775
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e577
lea eax, [ebp - 0x2c]
push str.IsGroupSel
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e5df
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 0x41e75b
cmp dword [esi + 0x14], ebx
jb 0x41e5c9
mov edx, dword [ebp - 0x54]
mov ecx, dword [esi]
add edx, 0x44
push edx
call fcn.004113c0
mov byte [ebp - 0x49], al
jmp 0x41e778
mov edx, dword [ebp - 0x54]
add edx, 0x44
mov ecx, esi
push edx
call fcn.004113c0
mov byte [ebp - 0x49], al
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e5ea
lea eax, [ebp - 0x2c]
push str.IsVar
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e657
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 0x41e75b
cmp dword [esi + 0x30], ebx
lea eax, [esi + 0x1c]
jb 0x41e62b
mov eax, dword [eax]
cmp dword [esi + 0x14], ebx
jb 0x41e634
mov edx, dword [esi]
jmp 0x41e636
mov edx, esi
push eax
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00410dd0
add esp, 4
push eax
call fcn.00439f05
add esp, 8
test eax, eax
sete byte [ebp - 0x49]
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e662
lea eax, [ebp - 0x2c]
push str.IsWinN
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e681
call fcn.00431350
mov byte [ebp - 0x49], al
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e68c
lea eax, [ebp - 0x2c]
push str.HasNET
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e6e8
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 0x41e75b
cmp dword [esi + 0x14], ebx
jb 0x41e6cc
mov eax, dword [esi]
jmp 0x41e6ce
mov eax, esi
push eax
call fcn.0043a30b
add esp, 4
push eax
call fcn.00431ab0
add esp, 4
mov byte [ebp - 0x49], al
jmp 0x41e778
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e6f3
lea eax, [ebp - 0x2c]
push str.NetRange
push eax
call fcn.00439f05
add esp, 8
test eax, eax
jne 0x41e75b
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 0x41e75b
cmp dword [esi + 0x14], ebx
jb 0x41e72f
mov eax, dword [esi]
jmp 0x41e731
mov eax, esi
push eax
call fcn.0043a30b
mov edi, eax
lea eax, [esi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], ebx
jb 0x41e746
mov eax, dword [eax]
push eax
call fcn.0043a30b
add esp, 4
push eax
push edi
call fcn.00431fc0
mov byte [ebp - 0x49], al
jmp 0x41e775
cmp dword [ebp - 0x1c], 0
je 0x41e778
push str.Syntax_error_found_in_condition
push 0x46a9d4
mov eax, 2
call fcn.0042d150
add esp, 8
test esi, esi
je 0x41e78f
mov edi, dword [ebp - 0x60]
mov eax, esi
call fcn.0040d7d0
push esi
call fcn.004396db
add esp, 4
cmp dword [ebp - 0x34], ebx
jb 0x41e7a0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004396db
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 0x41e7c5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004396db
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.00438351
mov esp, ebp
pop ebp
ret 8