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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452b58
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x468744]
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.0043b5b2
add esp, 4
test eax, eax
je 0x41e218
movzx eax, word [ebx + 2]
add ebx, 2
push eax
call fcn.0043b5b2
add esp, 4
test eax, eax
jne 0x41e201
mov dword [ebp - 0x50], ebx
movzx eax, word [ebx]
mov byte [ebp - 0x4c], 1
mov byte [ebp - 0x4b], 0
test ax, ax
je 0x41e2ce
cmp ax, 0x22
jne 0x41e23e
cmp byte [ebp - 0x4a], 0
sete cl
mov byte [ebp - 0x4a], cl
jmp 0x41e2b5
mov cl, byte [ebp - 0x4a]
cmp ax, 0x28
jne 0x41e254
test cl, cl
jne 0x41e254
mov byte [ebp - 0x4c], cl
mov byte [ebp - 0x4b], 1
jmp 0x41e2b5
cmp ax, 0x2c
je 0x41e260
cmp ax, 0x29
jne 0x41e295
test cl, cl
jne 0x41e2a8
mov edx, dword [ebp - 0x54]
push edx
lea edx, [ebp - 0x48]
call fcn.0041b620
lea ecx, [ebp - 0x48]
lea edi, [ebp - 0x64]
call fcn.0040c790
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], 0
jae 0x41e28e
lea eax, [ebp - 0x48]
xor ecx, ecx
mov word [eax], cx
jmp 0x41e2b5
test cl, cl
jne 0x41e2a8
cmp byte [ebp - 0x4b], cl
jne 0x41e2a8
cmp byte [ebp - 0x4c], cl
je 0x41e2b5
lea esi, [ebp - 0x2c]
jmp 0x41e2ab
lea esi, [ebp - 0x48]
mov ebx, eax
call fcn.00420dc0
mov ebx, dword [ebp - 0x50]
movzx eax, word [ebx + 2]
add ebx, 2
mov dword [ebp - 0x50], ebx
test ax, ax
jne 0x41e22c
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x41e2de
lea eax, [ebp - 0x2c]
push 0x45846c
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e2f9
mov byte [ebp - 0x49], 1
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e304
lea eax, [ebp - 0x2c]
push 0x458470
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e31e
mov byte [ebp - 0x49], al
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e329
lea eax, [ebp - 0x2c]
push str.Is64
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e348
call fcn.00431270
mov byte [ebp - 0x49], al
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e353
lea eax, [ebp - 0x2c]
push str.IsIA64
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e372
call fcn.004312c0
mov byte [ebp - 0x49], al
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e37d
lea eax, [ebp - 0x2c]
push str.IsCmd
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e3df
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 0x41e7a7
cmp dword [esi + 0x14], ebx
jb 0x41e3cc
mov eax, dword [esi]
push eax
call fcn.00402130
test eax, eax
setg byte [ebp - 0x49]
jmp 0x41e7c4
mov eax, esi
push eax
call fcn.00402130
test eax, eax
setg byte [ebp - 0x49]
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e3ea
lea eax, [ebp - 0x2c]
push str.IfExists
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e42b
cmp dword [esi + 0x14], ebx
jb 0x41e416
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e7c4
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e436
lea eax, [ebp - 0x2c]
push str.IsLang
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e491
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 0x41e7a7
cmp dword [esi + 0x14], ebx
jb 0x41e476
mov eax, dword [esi]
jmp 0x41e478
mov eax, esi
push 0x46af9a
push eax
call fcn.0043a345
add esp, 8
test eax, eax
sete byte [ebp - 0x49]
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e49c
lea eax, [ebp - 0x2c]
push str.IfDrvExists
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e500
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 0x41e7a7
cmp dword [esi + 0x14], ebx
jb 0x41e4ec
mov eax, dword [esi]
push eax
call fcn.00406810
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e7c4
mov eax, esi
push eax
call fcn.00406810
cmp eax, 0xffffffff
setne byte [ebp - 0x49]
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e50b
lea eax, [ebp - 0x2c]
push str.IsOS
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e5bc
push str.nooscheck
call fcn.00402130
test eax, eax
je 0x41e538
mov byte [ebp - 0x49], 1
jmp 0x41e7c4
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 0x41e7a7
cmp dword [esi + 0x14], ebx
jb 0x41e566
mov eax, dword [esi]
jmp 0x41e568
mov eax, esi
call fcn.00430e70
cmp dword [esi + 0x30], ebx
mov edi, eax
lea eax, [esi + 0x1c]
jb 0x41e579
mov eax, dword [eax]
call fcn.00430e70
test edi, edi
je 0x41e595
test eax, eax
je 0x41e595
mov ecx, eax
call fcn.00430b60
mov byte [ebp - 0x49], al
jmp 0x41e7c4
push str.Unrecognized_OS_name_in_condition
push 0x4699d4
mov eax, 2
call fcn.0042d020
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x3c], 0xb
mov byte [ebp - 0x49], 0
jmp 0x41e7c1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e5c7
lea eax, [ebp - 0x2c]
push str.IsGroupSel
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e62f
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 0x41e7a7
cmp dword [esi + 0x14], ebx
jb 0x41e619
mov edx, dword [ebp - 0x54]
mov ecx, dword [esi]
add edx, 0x44
push edx
call fcn.00411400
mov byte [ebp - 0x49], al
jmp 0x41e7c4
mov edx, dword [ebp - 0x54]
add edx, 0x44
mov ecx, esi
push edx
call fcn.00411400
mov byte [ebp - 0x49], al
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e63a
lea eax, [ebp - 0x2c]
push str.IsVar
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e6a3
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 0x41e7a7
cmp dword [esi + 0x30], ebx
lea eax, [esi + 0x1c]
jb 0x41e67b
mov eax, dword [eax]
cmp dword [esi + 0x14], ebx
jb 0x41e684
mov edx, dword [esi]
jmp 0x41e686
mov edx, esi
mov ecx, dword [ebp - 0x54]
push eax
call fcn.00410df0
push eax
call fcn.0043a345
add esp, 8
test eax, eax
sete byte [ebp - 0x49]
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e6ae
lea eax, [ebp - 0x2c]
push str.IsWinN
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e6cd
call fcn.00431190
mov byte [ebp - 0x49], al
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e6d8
lea eax, [ebp - 0x2c]
push str.HasNET
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e734
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 0x41e7a7
cmp dword [esi + 0x14], ebx
jb 0x41e718
mov eax, dword [esi]
jmp 0x41e71a
mov eax, esi
push eax
call fcn.0043a74b
add esp, 4
push eax
call fcn.004318f0
add esp, 4
mov byte [ebp - 0x49], al
jmp 0x41e7c4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41e73f
lea eax, [ebp - 0x2c]
push str.NetRange
push eax
call fcn.0043a345
add esp, 8
test eax, eax
jne 0x41e7a7
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 0x41e7a7
cmp dword [esi + 0x14], ebx
jb 0x41e77b
mov eax, dword [esi]
jmp 0x41e77d
mov eax, esi
push eax
call fcn.0043a74b
mov edi, eax
lea eax, [esi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], ebx
jb 0x41e792
mov eax, dword [eax]
push eax
call fcn.0043a74b
add esp, 4
push eax
push edi
call fcn.00431d80
mov byte [ebp - 0x49], al
jmp 0x41e7c1
cmp dword [ebp - 0x1c], 0
je 0x41e7c4
push str.Syntax_error_found_in_condition
push 0x4699d4
mov eax, 2
call fcn.0042d020
add esp, 8
test esi, esi
je 0x41e7db
mov edi, dword [ebp - 0x60]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439b10
add esp, 4
cmp dword [ebp - 0x34], ebx
jb 0x41e7ec
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00439b10
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 0x41e811
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00439b10
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.00438786
mov esp, ebp
pop ebp
ret 8