Function at 0x418830
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov esi, esp
call sub.kernel32.dll_GetUserDefaultLCID
mov ebx, eax
push 0x10
push esi
push 0x1e
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x41885f
mov edx, esi
mov eax, 0x43de14
call fcn.00418160
jmp 0x41886e
mov edx, 0x418b30
mov eax, 0x43de14
call fcn.00418160
push 0x80
push esi
push 0x23
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x418897
mov edx, 0x418b34
mov eax, esi
call fcn.00413afc
cmp eax, 1
sbb eax, eax
inc eax
mov byte [0x4315e0], al
push 0x10
push esi
push 0x28
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x4188b4
mov edx, esi
mov eax, 0x43df38
call fcn.00418160
jmp 0x4188c3
mov edx, 0x418b38
mov eax, 0x43df38
call fcn.00418160
push 0x10
push esi
push 0x29
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x4188e0
mov edx, esi
mov eax, 0x43df48
call fcn.00418160
jmp 0x4188ef
mov edx, 0x418b3c
mov eax, 0x43df48
call fcn.00418160
xor eax, eax
mov dword [0x43de44], eax
push 0x80
push esi
push 0x21
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x41896c
movzx eax, word [esi]
sub ax, 0x30
je 0x41891d
dec ax
je 0x418936
dec ax
je 0x418952
jmp 0x41896c
xor eax, eax
mov dword [0x43de44], eax
push esi
mov esi, 0x418b40
mov edi, 0x43df5c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
jmp 0x41896c
mov dword [0x43de44], 1
push esi
mov esi, 0x418b50
mov edi, 0x43df5c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
jmp 0x41896c
mov dword [0x43de44], 2
push esi
mov esi, 0x418b60
mov edi, 0x43df5c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 0x10
push esi
push 0x1d
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x418989
mov edx, esi
mov eax, 0x43de24
call fcn.00418160
jmp 0x418998
mov edx, 0x418b70
mov eax, 0x43de24
call fcn.00418160
push 0x20
push esi
push 0x31
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x4189b5
mov edx, esi
mov eax, 0x43de58
call fcn.00418160
jmp 0x4189c4
mov edx, 0x418b74
mov eax, 0x43de58
call fcn.00418160
push 0x20
push esi
push 0x32
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x4189e1
mov edx, esi
mov eax, 0x43de78
call fcn.00418160
jmp 0x4189f0
mov edx, 0x418b7c
mov eax, 0x43de78
call fcn.00418160
push 0x20
push esi
push 0x33
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x418a0d
mov edx, esi
mov eax, 0x43de98
call fcn.00418160
jmp 0x418a1c
mov edx, 0x418b84
mov eax, 0x43de98
call fcn.00418160
push 0x20
push esi
push 0x34
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x418a39
mov edx, esi
mov eax, 0x43deb8
call fcn.00418160
jmp 0x418a48
mov edx, 0x418b8c
mov eax, 0x43deb8
call fcn.00418160
push 0x20
push esi
push 0x35
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x418a65
mov edx, esi
mov eax, 0x43ded8
call fcn.00418160
jmp 0x418a74
mov edx, 0x418b94
mov eax, 0x43ded8
call fcn.00418160
push 0x20
push esi
push 0x36
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x418a91
mov edx, esi
mov eax, 0x43def8
call fcn.00418160
jmp 0x418aa0
mov edx, 0x418b9c
mov eax, 0x43def8
call fcn.00418160
push 0x20
push esi
push 0x37
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x418abd
mov edx, esi
mov eax, 0x43df18
call fcn.00418160
jmp 0x418acc
mov edx, 0x418ba4
mov eax, 0x43df18
call fcn.00418160
push 0x10
push esi
push 0xe
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x418ae9
mov edx, esi
mov eax, 0x43de34
call fcn.00418160
jmp 0x418af8
mov edx, 0x418bac
mov eax, 0x43de34
call fcn.00418160
push 0x10
push esi
push 0xf
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x418b15
mov edx, esi
mov eax, 0x43de48
call fcn.00418160
jmp 0x418b24
mov edx, 0x418bb0
mov eax, 0x43de48
call fcn.00418160
add esp, 0x100
pop edi
pop esi
pop ebx
ret