Function at 0x407d4d
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x44315e
call fcn.00420410
sub esp, 0x11c
mov eax, dword [0x45b790]
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.00420d20
add esp, 0xc
push 0x445802
mov ecx, ebx
mov dword [ebp - 0xc8], esi
call fcn.00401e25
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
mov edi, 0x446678
je 0x407fb0
call fcn.0043939a
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.0043939a
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.00401e25
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.00401eba
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.00401f38
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
push dword [ebp + eax - 0xf8]
lea ecx, [ebp - 0xd4]
call fcn.00402027
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xe0]
push 0x446510
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.00402027
mov byte [ebp - 4], 5
call fcn.0043939a
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 0x44650c
push eax
mov byte [ebp - 4], 6
call fcn.00401763
push 0x446508
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 7
call fcn.00401eba
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 0x408181
cmp eax, 0x1c
ja 0x408181
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00401e25
push 0x446504
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00401eba
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 0x4080bd
push edi
mov ecx, ebx
call fcn.00401f38
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 0x408063
push str.__LocaleInfo__n
mov ecx, ebx
call fcn.00401f38
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00420db1
leave
ret