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

Disassembly:
sub esp, 0x498
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x94
mov esi, ecx
lea eax, [esp + 0x10]
push ebx
push eax
mov byte [esi + 4], bl
mov dword [esi], 0x13
call fcn.10008400
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x94
call edi
test eax, eax
jne 0x10005c47
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x94
call edi
test eax, eax
je 0x10005e89
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x10005cbc
sub eax, 1
jne 0x10005d0b
mov eax, dword [esp + 0x10]
cmp eax, 4
ja 0x10005c68
mov dword [esi], 0x11
cmp eax, 5
jne 0x10005c9a
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x10005c80
mov dword [esi], 0x12
jmp 0x10005d0b
cmp eax, 1
jne 0x10005c8d
mov dword [esi], 0x13
jmp 0x10005d0b
cmp eax, 2
jne 0x10005d0b
mov dword [esi], 0x14
jmp 0x10005d0b
cmp eax, 6
jne 0x10005d0b
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x10005caf
mov dword [esi], 0x15
jmp 0x10005d0b
cmp eax, 1
jne 0x10005d0b
mov dword [esi], 0x17
jmp 0x10005d0b
cmp dword [esp + 0x10], 4
mov dword [esi], 3
jne 0x10005cf1
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x10005cd9
mov dword [esi], 1
jmp 0x10005cf1
cmp eax, 0xa
jne 0x10005ce6
mov dword [esi], 2
jmp 0x10005cf1
cmp eax, 0x5a
jne 0x10005cf1
mov dword [esi], 3
mov eax, dword [esp + 0x18]
and eax, 0xffff0000
cmp eax, 0x45a0000
jne 0x10005d07
mov dword [esi], 3
mov byte [esi + 4], 1
push 0xa
lea edx, [esp + 0xa4]
push edx
push 9
xor ecx, ecx
push 0x400
mov byte [esi + 0x628], bl
mov word [esi + 0x72c], cx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.100053f0
cmp eax, 0xc04
mov dword [esi + 8], eax
jg 0x10005d75
je 0x10005d6c
cmp eax, 0x404
je 0x10005d63
cmp eax, 0x804
jne 0x10005d93
mov dword [esi + 8], 0x8c0
jmp 0x10005d93
mov dword [esi + 8], 0x4c1
jmp 0x10005d93
mov dword [esi + 8], 0xcc1
jmp 0x10005d93
cmp eax, 0x1004
je 0x10005d8c
cmp eax, 0x1404
jne 0x10005d93
mov dword [esi + 8], 0x14c1
jmp 0x10005d93
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.0x10005db5.9
movzx ecx, byte [eax + 0x10005ec4]
jmp dword [ecx*4 + 0x10005ea4]
mov dword [esi + 0xc], 0x3a4
jmp case.0x10005db5.9
mov dword [esi + 0xc], 0x3a8
jmp case.0x10005db5.9
mov dword [esi + 0xc], 0x3b6
jmp case.0x10005db5.9
mov dword [esi + 0xc], 0x3b5
jmp case.0x10005db5.9
mov dword [esi + 0xc], 0x4e3
jmp case.0x10005db5.9
mov dword [esi + 0xc], 0x4e5
jmp case.0x10005db5.9
mov dword [esi + 0xc], 0x4e9
push 0x104
cmp byte [esi + 4], bl
je 0x10005e47
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 edx, dword [esi + 0xc]
push edx
push edi
lea eax, [esi + 0x218]
push eax
mov ecx, esi
call fcn.10005710
mov ecx, dword [esi + 0xc]
push ecx
push ebx
lea edx, [esi + 0x420]
push edx
mov ecx, esi
call fcn.10005710
jmp 0x10005e89
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 eax, dword [esi + 0xc]
push eax
push edi
lea ecx, [esi + 0x10]
push ecx
mov ecx, esi
call fcn.10005690
mov edx, dword [esi + 0xc]
push edx
push ebx
lea eax, [esi + 0x114]
push eax
mov ecx, esi
call fcn.10005690
mov ecx, dword [esp + 0x4a0]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10007cb4
add esp, 0x498
ret