Function at 0x4e6a3c
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x40
push 0
push 0
dec ecx
jne 0x4e6a44
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e7247
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x4e725c
call fcn.004047f4
mov bl, 1
mov dword [ebp - 0xb0], 0x9c
push 0xff
lea eax, [ebp - 0x1b0]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1b0]
call fcn.0040a0d8
lea eax, [ebp - 0xb0]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
jne 0x4e6abe
mov dword [ebp - 0xb0], 0x94
lea eax, [ebp - 0xb0]
push eax
call sub.kernel32.dll_GetVersionExA
xor ebx, ebx
mov eax, dword [ebp - 0xa0]
sub eax, 1
jb 0x4e6ad7
je 0x4e6b2f
dec eax
je 0x4e6be9
jmp 0x4e7192
lea eax, [ebp - 0x1b4]
push eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 0x1c0], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 0x1b8], 0
lea edx, [ebp - 0x1c4]
mov ecx, 1
mov eax, 0x4e7278
call fcn.0040a5c8
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 4]
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e7192
cmp dword [ebp - 0xac], 4
jne 0x4e6b76
cmp dword [ebp - 0xa8], 0
jne 0x4e6b76
mov eax, dword [ebp - 4]
mov edx, 0x4e7288
call fcn.00404a68
mov eax, dword [ebp - 4]
mov al, byte [ebp - 0x9b]
add al, 0xbe
sub al, 2
jae 0x4e7192
mov eax, dword [ebp - 4]
mov edx, 0x4e7294
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e7192
cmp dword [ebp - 0xac], 4
jne 0x4e6bba
cmp dword [ebp - 0xa8], 0xa
jne 0x4e6bba
mov eax, dword [ebp - 4]
mov edx, 0x4e72a4
call fcn.00404a68
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x9b], 0x41
jne 0x4e7192
mov eax, dword [ebp - 4]
mov edx, 0x4e72b0
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e7192
cmp dword [ebp - 0xac], 4
jne 0x4e7192
cmp dword [ebp - 0xa8], 0x5a
jne 0x4e7192
mov eax, dword [ebp - 4]
mov edx, 0x4e72c8
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e7192
mov esi, dword [ebp - 0xac]
mov eax, esi
add eax, 0xfffffffd
sub eax, 2
jb 0x4e6c00
je 0x4e6c52
jmp 0x4e6cd2
lea eax, [ebp - 0x1c8]
push eax
mov dword [ebp - 0x1c4], esi
mov byte [ebp - 0x1c0], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 0x1b8], 0
lea edx, [ebp - 0x1c4]
mov ecx, 1
mov eax, 0x4e72e4
call fcn.0040a5c8
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 4]
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e6cd2
mov eax, dword [ebp - 0xa8]
test eax, eax
jne 0x4e6c6e
mov eax, dword [ebp - 4]
mov edx, 0x4e72f8
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e6cd2
cmp eax, 1
jne 0x4e6c85
mov eax, dword [ebp - 4]
mov edx, 0x4e7308
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e6cd2
cmp dword [ebp - 0xa8], 2
jne 0x4e6cc2
lea eax, [ebp - 0x1cc]
mov ecx, 0x4e7314
mov edx, dword [ebp - 0xc]
call fcn.00404aac
mov eax, dword [ebp - 0x1cc]
call fcn.004099b4
test al, al
je 0x4e6cc2
mov eax, dword [ebp - 4]
mov edx, 0x4e7308
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e6cd2
mov eax, dword [ebp - 4]
mov edx, 0x4e7328
call fcn.00404a68
mov eax, dword [ebp - 4]
test bl, bl
je 0x4e6fc8
mov al, byte [ebp - 0x16]
cmp al, 1
jne 0x4e6e53
cmp dword [ebp - 0xac], 4
jne 0x4e6d03
mov eax, dword [ebp - 4]
mov edx, 0x4e7340
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
test byte [ebp - 0x17], 2
je 0x4e6d1e
mov eax, dword [ebp - 4]
mov edx, 0x4e7358
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
cmp dword [ebp - 0xac], 6
jne 0x4e6d67
cmp dword [ebp - 0xa8], 0
jne 0x4e6d67
lea eax, [ebp - 0x1d0]
mov ecx, 0x4e7314
mov edx, dword [ebp - 0xc]
call fcn.00404aac
mov eax, dword [ebp - 0x1d0]
call fcn.004099b4
test al, al
je 0x4e6d67
mov eax, dword [ebp - 4]
mov edx, 0x4e7370
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
cmp dword [ebp - 0xac], 6
jne 0x4e6d8e
cmp dword [ebp - 0xa8], 0
jne 0x4e6d8e
mov eax, dword [ebp - 4]
mov edx, 0x4e7384
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
cmp dword [ebp - 0xac], 6
jne 0x4e6dd7
cmp dword [ebp - 0xa8], 1
jne 0x4e6dd7
lea eax, [ebp - 0x1d4]
mov ecx, 0x4e7314
mov edx, dword [ebp - 0xc]
call fcn.00404aac
mov eax, dword [ebp - 0x1d4]
call fcn.004099b4
test al, al
je 0x4e6dd7
mov eax, dword [ebp - 4]
mov edx, 0x4e7398
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
cmp dword [ebp - 0xac], 6
jne 0x4e6dfe
cmp dword [ebp - 0xa8], 1
jne 0x4e6dfe
mov eax, dword [ebp - 4]
mov edx, 0x4e73b0
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
cmp dword [ebp - 0xac], 5
jne 0x4e6e3e
lea eax, [ebp - 0x1d8]
mov ecx, 0x4e7314
mov edx, dword [ebp - 0xc]
call fcn.00404aac
mov eax, dword [ebp - 0x1d8]
call fcn.004099b4
test al, al
je 0x4e6e3e
mov eax, dword [ebp - 4]
mov edx, 0x4e73c8
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
mov eax, dword [ebp - 4]
mov edx, 0x4e73ec
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
cmp al, 3
jne 0x4e70b6
cmp dword [ebp - 0xac], 5
jne 0x4e6ef0
cmp dword [ebp - 0xa8], 2
jne 0x4e6ef0
mov ax, word [ebp - 0x18]
test al, 0x80
je 0x4e6e8e
mov eax, dword [ebp - 4]
mov edx, 0x4e7404
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
test al, 2
je 0x4e6ea7
mov eax, dword [ebp - 4]
mov edx, 0x4e7420
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
test ah, 4
je 0x4e6ec1
mov eax, dword [ebp - 4]
mov edx, 0x4e743c
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
test ah, 2
je 0x4e6edb
mov eax, dword [ebp - 4]
mov edx, 0x4e7454
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
mov eax, dword [ebp - 4]
mov edx, 0x4e7460
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
cmp dword [ebp - 0xac], 5
jne 0x4e6f4d
cmp dword [ebp - 0xa8], 0
jne 0x4e6f4d
mov ax, word [ebp - 0x18]
test al, 0x80
je 0x4e6f1f
mov eax, dword [ebp - 4]
mov edx, 0x4e747c
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
test al, 2
je 0x4e6f38
mov eax, dword [ebp - 4]
mov edx, 0x4e7498
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
mov eax, dword [ebp - 4]
mov edx, 0x4e74b4
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
cmp dword [ebp - 0xac], 6
jne 0x4e6f99
cmp dword [ebp - 0xa8], 0
jne 0x4e6f99
mov ax, word [ebp - 0x18]
test al, 0x80
je 0x4e6f7c
mov eax, dword [ebp - 4]
mov edx, 0x4e74c4
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
test al, 2
je 0x4e70b6
mov eax, dword [ebp - 4]
mov edx, 0x4e74f4
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
mov eax, dword [ebp - 4]
mov edx, 0x4e74b4
call fcn.00404a68
mov eax, dword [ebp - 4]
test byte [ebp - 0x18], 2
je 0x4e70b6
mov eax, dword [ebp - 4]
mov edx, 0x4e7420
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e70b6
mov dl, 1
mov eax, dword [0x43eb50]
call fcn.0043ec50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e70af
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.0043ecf0
xor ecx, ecx
mov edx, 0x4e7524
mov eax, dword [ebp - 0x10]
call fcn.0043ed54
test al, al
je 0x4e7099
mov edx, 0x4e7560
mov eax, dword [ebp - 0x10]
call fcn.0043f404
test al, al
je 0x4e7091
lea ecx, [ebp - 8]
mov edx, 0x4e7560
mov eax, dword [ebp - 0x10]
call fcn.0043f248
mov edx, 0x4e7574
mov eax, dword [ebp - 8]
call fcn.00408f98
test al, al
je 0x4e704d
mov eax, dword [ebp - 4]
mov edx, 0x4e7340
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e7091
mov edx, 0x4e7584
mov eax, dword [ebp - 8]
call fcn.00408f98
test al, al
je 0x4e7070
mov eax, dword [ebp - 4]
mov edx, 0x4e74b4
call fcn.00404a68
mov eax, dword [ebp - 4]
jmp 0x4e7091
mov edx, 0x4e7598
mov eax, dword [ebp - 8]
call fcn.00408f98
test al, al
je 0x4e7091
mov eax, dword [ebp - 4]
mov edx, 0x4e75ac
call fcn.00404a68
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0043ecc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e70b6
mov eax, dword [ebp - 0x10]
call fcn.00403970
ret
mov eax, dword [ebp - 4]
push dword [eax]
push 0x4e75c4
lea eax, [ebp - 0x1dc]
lea edx, [ebp - 0x9c]
mov ecx, 0x80
call fcn.00404a10
push dword [ebp - 0x1dc]
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.00404b20
cmp dword [ebp - 0xac], 4
jne 0x4e7192
lea eax, [ebp - 0x1e0]
lea edx, [ebp - 0x9c]
mov ecx, 0x80
call fcn.00404a10
mov eax, dword [ebp - 0x1e0]
mov edx, 0x4e75d0
call fcn.00408f98
test al, al
je 0x4e7192
mov dl, 1
mov eax, dword [0x43eb50]
call fcn.0043ec50
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4e718b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x14]
call fcn.0043ecf0
xor ecx, ecx
mov edx, 0x4e75e8
mov eax, dword [ebp - 0x14]
call fcn.0043ed54
test al, al
je 0x4e7175
mov eax, dword [ebp - 4]
mov edx, 0x4e7630
call fcn.00404a68
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0043ecc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7192
mov eax, dword [ebp - 0x14]
call fcn.00403970
ret
lea eax, [ebp - 0x1e4]
push eax
mov edx, dword [ebp - 4]
mov edx, dword [edx]
lea eax, [ebp - 0x1e8]
mov ecx, 0x4e763c
call fcn.00404aac
mov eax, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x200], edx
mov byte [ebp - 0x1fc], 0
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x1f8], edx
mov byte [ebp - 0x1f4], 0
mov edx, dword [ebp - 0xa4]
and edx, 0xffff
mov dword [ebp - 0x1f0], edx
mov byte [ebp - 0x1ec], 0
lea edx, [ebp - 0x200]
mov ecx, 2
call fcn.0040a5c8
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 4]
call fcn.004047f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e724e
lea eax, [ebp - 0x1e8]
mov edx, 9
call fcn.004047c4
lea eax, [ebp - 0x1b4]
call fcn.004047a0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004047c4
ret