Function at 0x4131c0
Capabilities:
Check os version
Get common file path
Get geographical location

Disassembly:
sub esp, 0x634
mov eax, dword [0x431114]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x114
mov esi, ecx
lea eax, [esp + 0x10]
push ebx
push eax
mov byte [esi + 5], bl
mov dword [esi], 0x18
call fcn.00416560
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x114
call edi
test eax, eax
jne 0x413227
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x114
call edi
test eax, eax
je 0x4134e0
push 0x11c
lea eax, [esp + 0x124]
push ebx
push eax
mov byte [esi + 4], bl
call fcn.00416560
add esp, 0xc
lea ecx, [esp + 0x120]
push ecx
mov dword [esp + 0x124], 0x11c
call edi
cmp byte [esp + 0x23a], 3
mov ecx, 1
jne 0x413267
mov byte [esi + 4], cl
mov eax, dword [esp + 0x1c]
sub eax, ecx
je 0x413316
sub eax, ecx
jne 0x413362
mov eax, dword [esp + 0x10]
cmp eax, 4
ja 0x41328a
mov dword [esi], 0x11
cmp eax, 5
jne 0x4132c5
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4132a2
mov dword [esi], 0x12
jmp 0x413362
cmp eax, ecx
jne 0x4132b1
mov dword [esi], 0x13
jmp 0x413362
cmp eax, 2
jne 0x413362
mov dword [esi], 0x14
jmp 0x413362
cmp eax, 6
jne 0x413303
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4132dd
mov dword [esi], 0x15
jmp 0x413362
cmp eax, ecx
jne 0x4132e9
mov dword [esi], 0x17
jmp 0x413362
cmp eax, 2
jne 0x4132f6
mov dword [esi], 0x18
jmp 0x413362
cmp eax, 3
jne 0x413362
mov dword [esi], 0x18
jmp 0x413362
cmp eax, 7
jne 0x413362
cmp dword [esp + 0x14], ebx
jne 0x413362
mov dword [esi], 0x18
jmp 0x413362
cmp dword [esp + 0x10], 4
mov dword [esi], 3
jne 0x413347
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41332f
mov dword [esi], ecx
jmp 0x413347
cmp eax, 0xa
jne 0x41333c
mov dword [esi], 2
jmp 0x413347
cmp eax, 0x5a
jne 0x413347
mov dword [esi], 3
mov edx, dword [esp + 0x18]
and edx, 0xffff0000
cmp edx, 0x45a0000
jne 0x41335f
mov dword [esi], 3
mov byte [esi + 5], cl
push 0xa
lea ecx, [esp + 0x240]
push ecx
push 9
xor eax, eax
push 0x400
mov byte [esi + 0x628], bl
mov word [esi + 0x72c], ax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0x23c]
push edx
mov ecx, esi
call fcn.00411ea0
cmp eax, 0xc04
mov dword [esi + 8], eax
jg 0x4133cc
je 0x4133c3
cmp eax, 0x404
je 0x4133ba
cmp eax, 0x804
jne 0x4133ea
mov dword [esi + 8], 0x8c0
jmp 0x4133ea
mov dword [esi + 8], 0x4c1
jmp 0x4133ea
mov dword [esi + 8], 0xcc1
jmp 0x4133ea
cmp eax, 0x1004
je 0x4133e3
cmp eax, 0x1404
jne 0x4133ea
mov dword [esi + 8], 0x14c1
jmp 0x4133ea
mov dword [esi + 8], 0x10c0
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
and eax, 0xff
add eax, 0xfffffff8
cmp eax, 0xb9
ja case.0x41340c.9
movzx eax, byte [eax + 0x41351c]
jmp dword [eax*4 + 0x4134fc]
mov dword [esi + 0xc], 0x3a4
jmp case.0x41340c.9
mov dword [esi + 0xc], 0x3a8
jmp case.0x41340c.9
mov dword [esi + 0xc], 0x3b6
jmp case.0x41340c.9
mov dword [esi + 0xc], 0x3b5
jmp case.0x41340c.9
mov dword [esi + 0xc], 0x4e3
jmp case.0x41340c.9
mov dword [esi + 0xc], 0x4e5
jmp case.0x41340c.9
mov dword [esi + 0xc], 0x4e9
push 0x104
cmp byte [esi + 5], bl
je 0x41349e
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x104
lea ebx, [esi + 0x114]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [esi + 0xc]
push ecx
push edi
lea edx, [esi + 0x218]
push edx
mov ecx, esi
call fcn.004121c0
mov eax, dword [esi + 0xc]
push eax
push ebx
lea ecx, [esi + 0x420]
push ecx
mov ecx, esi
call fcn.004121c0
jmp 0x4134e0
lea edi, [esi + 0x218]
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x104
lea ebx, [esi + 0x420]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, dword [esi + 0xc]
push edx
push edi
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.00412140
mov ecx, dword [esi + 0xc]
push ecx
push ebx
lea edx, [esi + 0x114]
push edx
mov ecx, esi
call fcn.00412140
mov ecx, dword [esp + 0x63c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004164fa
add esp, 0x634
ret