Function at 0x406720
Capabilities:
Get geographical location
Link many functions at runtime

Disassembly:
sub esp, 8
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
mov ebx, dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
shr eax, 0x1f
not al
and al, 1
mov byte [0x42de23], al
je 0x406a9e
push edi
push 0x419264
call ebx
mov edi, eax
push 0x41958c
push edi
call esi
push 0x41959c
push edi
mov dword [0x42de50], eax
call esi
push 0x4195ac
push edi
mov dword [0x42df3c], eax
call esi
push 0x4195bc
push edi
mov dword [0x42df34], eax
call esi
push 0x4195cc
push edi
mov dword [0x42df24], eax
call esi
push 0x4195ac
push edi
mov dword [0x42de8c], eax
call esi
push 0x4195dc
push edi
mov dword [0x42df34], eax
call esi
push 0x4195f0
push edi
mov dword [0x42df38], eax
call esi
push 0x419600
push edi
mov dword [0x42def8], eax
call esi
push 0x419610
mov dword [0x42ded8], eax
call ebx
mov edi, eax
push 0x419618
push edi
call esi
push 0x419630
push edi
mov dword [0x42deac], eax
call esi
push 0x419644
mov dword [0x42de90], eax
call ebx
mov edi, eax
push 0x41964c
push edi
call esi
push 0x419658
push edi
mov dword [0x42de88], eax
call esi
push 0x419664
push edi
mov dword [0x42de9c], eax
call esi
push 0x419670
mov dword [0x42df04], eax
call ebx
mov edi, eax
push 0x419678
push edi
call esi
push 0x419688
push edi
mov dword [0x42dee0], eax
call esi
push 0x419698
push edi
mov dword [0x42dea4], eax
call esi
mov dword [0x42df14], eax
push 0x4196a8
push edi
call esi
push 0x4196b8
push edi
mov dword [0x42de5c], eax
call esi
push 0x4196c8
push edi
mov dword [0x42de84], eax
call esi
push 0x4196dc
push edi
mov dword [0x42df1c], eax
call esi
push 0x4196ec
push edi
mov dword [0x42de6c], eax
call esi
push 0x4196fc
push edi
mov dword [0x42de70], eax
call esi
push 0x41970c
push edi
mov dword [0x42dee8], eax
call esi
push 0x41971c
push edi
mov dword [0x42defc], eax
call esi
push 0x41972c
push edi
mov dword [0x42de64], eax
call esi
push 0x419738
push edi
mov dword [0x42de94], eax
call esi
push 0x419748
push edi
mov dword [0x42df00], eax
call esi
push 0x419754
push edi
mov dword [0x42de74], eax
call esi
push 0x419760
push edi
mov dword [0x42de48], eax
call esi
push 0x419544
mov dword [0x42dea8], eax
call ebx
mov edi, eax
push 0x41976c
push edi
call esi
push 0x419780
push edi
mov dword [0x42df08], eax
call esi
push 0x419794
push edi
mov dword [0x42de58], eax
call esi
push 0x4197a0
push edi
mov dword [0x42dedc], eax
call esi
push 0x4197b4
push edi
mov dword [0x42deb4], eax
call esi
push 0x4197c4
push edi
mov dword [0x42dec4], eax
call esi
push 0x4197d4
mov dword [0x42ded0], eax
push edi
call esi
push 0x4197ec
push edi
mov dword [0x42df30], eax
call esi
push 0x419800
push edi
mov dword [0x42de68], eax
call esi
push 0x41980c
push edi
mov dword [0x42debc], eax
call esi
push 0x419820
push edi
mov dword [0x42def4], eax
call esi
push 0x41982c
push edi
mov dword [0x42df10], eax
call esi
push 0x41983c
push edi
mov dword [0x42df0c], eax
call esi
push 0x41984c
push edi
mov dword [0x42de98], eax
call esi
push 0x419860
push edi
mov dword [0x42df40], eax
call esi
push 0x419870
push edi
mov dword [0x42de4c], eax
call esi
push 0x419880
push edi
mov dword [0x42deb8], eax
call esi
push 0x419890
push edi
mov dword [0x42df20], eax
call esi
push 0x41989c
push edi
mov dword [0x42df18], eax
call esi
push 0x4198b0
push edi
mov dword [0x42de78], eax
call esi
push 0x4198c4
push edi
mov dword [0x42de60], eax
call esi
push 0x4198d8
push edi
mov dword [0x42def0], eax
call esi
push 0x4198e8
push edi
mov dword [0x42df2c], eax
call esi
push 0x4198f8
push edi
mov dword [0x42deb0], eax
call esi
push 0x41990c
push edi
mov dword [0x42de7c], eax
call esi
push 0x419920
push edi
mov dword [0x42dee4], eax
call esi
push 0x41993c
push edi
mov dword [0x42de80], eax
call esi
push 0x419954
push edi
mov dword [0x42ded4], eax
call esi
push 0x419970
push edi
mov dword [0x42de54], eax
call esi
push 0x419984
push edi
mov dword [0x42df28], eax
call esi
push 0x41999c
push edi
mov dword [0x42dea0], eax
call esi
push 0x4199b4
push edi
mov dword [0x42dec0], eax
call esi
mov dword [0x42decc], eax
pop edi
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
push 8
lea ecx, [esp + 0xc]
push ecx
push 0x1004
push eax
mov dword [0x42dec8], eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
lea ecx, [esp + 8]
call fcn.00406c90
mov edx, dword [0x42dec8]
push edx
mov dword [0x42deec], eax
call dword [sym.imp.kernel32.dll_SetThreadLocale]
push 0x4199c8
push 0x4199d8
call ebx
push eax
call esi
test eax, eax
pop esi
pop ebx
je 0x406af6
movzx ecx, word [0x42dec8]
push ecx
call eax
add esp, 8
ret