Function at 0x407d1a
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x441537
call fcn.0041e7e0
sub esp, 0x11c
mov eax, dword [0x459790]
push ebx
push esi
push edi
mov esi, 0x9c
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc8]
push 0
push eax
mov ebx, ecx
call fcn.0041f0f0
add esp, 0xc
push 0x44381a
mov ecx, ebx
mov dword [ebp - 0xc8], esi
call fcn.00401e0c
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
mov edi, 0x444690
je 0x407f7d
call fcn.0043776a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xcc], eax
and dword [ebp - 4], 0
call fcn.0043776a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xd0], eax
push str._OSInfo
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 1
call fcn.00401e0c
push dword [ebp - 0xc4]
lea eax, [ebp - 0xcc]
push str._MajorVersion____d_
push eax
call fcn.00401750
mov eax, dword [ebp - 0xcc]
add esp, 0xc
push dword [eax - 0xc]
lea ecx, [ebp - 0xd0]
push eax
call fcn.00401697
push dword [ebp - 0xc0]
lea eax, [ebp - 0xcc]
push str._MinorVersion____d_
push eax
call fcn.00401750
mov eax, dword [ebp - 0xcc]
add esp, 0xc
push dword [eax - 0xc]
lea ecx, [ebp - 0xd0]
push eax
call fcn.00401697
push dword [ebp - 0xbc]
lea eax, [ebp - 0xcc]
push str._BuildNumber____d_
push eax
call fcn.00401750
mov eax, dword [ebp - 0xcc]
add esp, 0xc
push dword [eax - 0xc]
lea ecx, [ebp - 0xd0]
push eax
call fcn.00401697
push dword [ebp - 0xb8]
lea eax, [ebp - 0xcc]
push str._PlatformId____d_
push eax
call fcn.00401750
mov eax, dword [ebp - 0xcc]
add esp, 0xc
push dword [eax - 0xc]
lea ecx, [ebp - 0xd0]
push eax
call fcn.00401697
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xcc]
push str._CSDVersion____s_
push eax
call fcn.00401750
mov eax, dword [ebp - 0xcc]
add esp, 0xc
push dword [eax - 0xc]
lea ecx, [ebp - 0xd0]
push eax
call fcn.00401697
movzx eax, word [ebp - 0x34]
push eax
lea eax, [ebp - 0xcc]
push str._ServicePackMajor____d_
push eax
call fcn.00401750
mov eax, dword [ebp - 0xcc]
add esp, 0xc
push dword [eax - 0xc]
lea ecx, [ebp - 0xd0]
push eax
call fcn.00401697
movzx eax, word [ebp - 0x32]
push eax
lea eax, [ebp - 0xcc]
push str._ServicePackMinor____d_
push eax
call fcn.00401750
mov eax, dword [ebp - 0xcc]
add esp, 0xc
push dword [eax - 0xc]
lea ecx, [ebp - 0xd0]
push eax
call fcn.00401697
movzx eax, word [ebp - 0x30]
push eax
lea eax, [ebp - 0xcc]
push str._SuiteFlags____x_
push eax
call fcn.00401750
mov esi, dword [ebp - 0xcc]
add esp, 0xc
push dword [esi - 0xc]
lea ecx, [ebp - 0xd0]
push esi
call fcn.00401697
push edi
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00401ea1
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00401703
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.00401139
mov ecx, dword [ebp - 0xd0]
add ecx, 0xfffffff0
call fcn.00401139
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401139
push str._LocaleInfo_
mov ecx, ebx
mov dword [ebp - 0xf8], str.LocalUserDefault
mov dword [ebp - 0xf4], str.LocalSystemDefault
mov dword [ebp - 0xf0], 0x400
mov dword [ebp - 0xec], 0x800
mov dword [ebp - 0x110], str.IDefaultAnsiCodepage
mov dword [ebp - 0x10c], str.IDefaultCodepage
mov dword [ebp - 0x108], str.IDefaultLanguage
mov dword [ebp - 0x104], str.IDefaultCountry
mov dword [ebp - 0x100], str.ILanguage
mov dword [ebp - 0xfc], str.ICountry
mov dword [ebp - 0x128], 0x1004
mov dword [ebp - 0x124], 0xb
mov dword [ebp - 0x120], 9
mov dword [ebp - 0x11c], 0xa
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x114], 5
call fcn.00401f1f
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
push dword [ebp + eax - 0xf8]
lea ecx, [ebp - 0xd4]
call fcn.0040200e
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xe0]
push 0x444528
push eax
mov dword [ebp - 4], 3
call fcn.00401763
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004017e4
mov ecx, dword [ebp - 0xe0]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00401139
xor esi, esi
push dword [ebp + esi - 0x110]
lea ecx, [ebp - 0xd8]
call fcn.0040200e
mov byte [ebp - 4], 5
call fcn.0043776a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push 0x444524
push eax
mov byte [ebp - 4], 6
call fcn.00401763
push 0x444520
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 7
call fcn.00401ea1
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.004017e4
mov ecx, dword [ebp - 0xe4]
add ecx, 0xfffffff0
call fcn.00401139
mov ecx, dword [ebp - 0xdc]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401139
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + esi - 0x128]
mov eax, dword [ebp - 0xd0]
push dword [ebp + eax - 0xf0]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x40814e
cmp eax, 0x1c
ja 0x40814e
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401e0c
push 0x44451c
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00401ea1
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.004017e4
mov ecx, dword [ebp - 0xe8]
add ecx, 0xfffffff0
call fcn.00401139
mov ecx, dword [ebp - 0xcc]
add ecx, 0xfffffff0
call fcn.00401139
mov ecx, dword [ebp - 0xd8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00401139
add esi, 4
cmp esi, 0x18
jl 0x40808a
push edi
mov ecx, ebx
call fcn.00401f1f
mov ecx, dword [ebp - 0xd4]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401139
add dword [ebp - 0xd0], 4
cmp dword [ebp - 0xd0], 8
jl 0x408030
push str.__LocaleInfo__n
mov ecx, ebx
call fcn.00401f1f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0041f181
leave
ret