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

Disassembly:
mov eax, 0x46f821
call fcn.00453e8c
sub esp, 0xe2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0xe
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0xf2]
mov word [ebp - 0xf4], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x636]
mov word [ebp - 0x638], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0x48b110
call fcn.00434b53
lea eax, [ebp - 0xf4]
push eax
push dword [ebp + 8]
call fcn.00435509
add esp, 0x14
cmp eax, ebx
jge 0x41e2e1
mov ecx, dword [ebp - 0x10]
call fcn.00401166
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.0042a5ce
mov ecx, edi
mov esi, eax
call fcn.0042d992
test eax, eax
je 0x41e082
cmp dword [esi + 8], 5
jne 0x41e040
cmp dword [esi + 0xc], 2
jae 0x41e049
call fcn.0043da6e
test al, al
je 0x41e07b
call fcn.0043da6e
test al, al
jne 0x41e2dc
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp word [ebp - 0x124], 1
jae 0x41e2dc
mov eax, 0x48b904
jmp 0x41e097
mov ecx, edi
call fcn.0042d938
test eax, eax
mov eax, 0x48b8e4
jne 0x41e097
mov eax, 0x48b8d0
push edi
push eax
call fcn.0043620c
pop ecx
test eax, eax
pop ecx
je 0x41e147
cmp dword [esi], 2
jne 0x41e140
call fcn.004359c5
test eax, eax
jne 0x41e0d2
mov eax, 0x4b2
push eax
mov dword [0x497200], eax
call fcn.00434a24
pop ecx
push 1
jmp 0x41e2e3
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xe36]
mov word [ebp - 0xe38], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xe38]
mov esi, 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41e114
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xe38]
push eax
call fcn.0041dc92
test eax, eax
je 0x41e139
lea eax, [ebp - 0xe38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x41e140
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xe38]
push eax
call fcn.0041dc92
test eax, eax
jne 0x41e140
push 2
jmp 0x41e2e3
xor eax, eax
jmp 0x41e2e4
cmp dword [esi + 0x14], 2
jne 0x41e153
cmp dword [esi + 8], 4
je 0x41e15e
mov ecx, edi
call fcn.0042d992
test eax, eax
je 0x41e16c
mov ecx, edi
call fcn.0042d8ff
push 3
jmp 0x41e2e3
mov eax, dword [0x475774]
mov edi, 0x4755e0
mov esi, 0x4755d8
cmp eax, ebx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], esi
jne 0x41e18a
mov eax, 0x493568
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.004011a9
mov eax, dword [0x47576c]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x70], esi
jne 0x41e1b2
mov eax, 0x493568
lea ecx, [ebp - 0x11]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.004011a9
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x68]
push ebx
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 1
push eax
call fcn.0042def1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
mov bl, al
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00401093
test bl, bl
je 0x41e2dc
lea eax, [ebp + 0xb]
mov ebx, 0x4b7
push 0
push eax
lea ecx, [ebp - 0x40]
mov dword [0x497200], ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.0040190c
lea eax, [ebp - 0xf4]
mov dword [ebp - 4], 2
test eax, eax
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x98], esi
lea eax, [ebp - 0xf4]
jne 0x41e247
mov eax, 0x493568
lea ecx, [ebp - 0x12]
push 0
push ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.004011a9
mov esi, dword [ebp - 0xb0]
mov byte [ebp - 4], 3
test esi, esi
mov edi, 0x4755fc
jne 0x41e26e
mov esi, edi
lea eax, [ebp - 0x11c]
push ebx
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x268]
call fcn.0040f4f8
mov eax, dword [eax + 8]
mov byte [ebp - 4], 4
test eax, eax
jne 0x41e294
mov eax, 0x475650
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00423c3a
add esp, 0xc
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 3
call fcn.00402424
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.00401093
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x41e2c9
mov eax, edi
push eax
call fcn.00434730
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00401093
or eax, 0xffffffff
jmp 0x41e2e4
push 0xfffffffffffffffe
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4