Function at 0x42ad10
Capabilities:
Get geographical location

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x120
call sub.kernel32.dll_GetUserDefaultLCID
mov ebx, eax
mov ecx, ebx
mov edx, 0x1e
lea r8, [rsp + 0x20]
mov r9d, 0x10
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42ad51
lea rcx, [0x00498450]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42ad64
lea rcx, [0x00498450]
lea rdx, [0x0042b170]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0x23
lea r8, [rsp + 0x20]
mov r9d, 0x80
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42ad9d
lea rcx, [rsp + 0x20]
lea rdx, [0x0042b174]
call fcn.0041dd20
test eax, eax
setne al
mov byte [0x0047dae0], al
mov ecx, ebx
mov edx, 0x28
lea r8, [rsp + 0x20]
mov r9d, 0x10
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42adcd
lea rcx, [0x00498574]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42ade0
lea rcx, [0x00498574]
lea rdx, [0x0042b178]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0x29
lea r8, [rsp + 0x20]
mov r9d, 0x10
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42ae10
lea rcx, [0x00498584]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42ae23
lea rcx, [0x00498584]
lea rdx, [0x0042b17c]
call fcn.00429fe0
mov dword [0x00498480], 0
mov ecx, ebx
mov edx, 0x21
lea r8, [rsp + 0x20]
mov r9d, 0x80
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42aec5
movzx rax, word [rsp + 0x20]
sub ax, 0x30
test ax, ax
je 0x42ae6d
sub ax, 1
test ax, ax
je 0x42ae8b
sub ax, 1
test ax, ax
jne 0x42aec5
jmp 0x42aea9
mov dword [0x00498480], 0
lea rdi, [0x004985a0]
lea rsi, [0x0042b180]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
jmp 0x42aec5
mov dword [0x00498480], 1
lea rdi, [0x004985a0]
lea rsi, [0x0042b190]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
jmp 0x42aec5
mov dword [0x00498480], 2
lea rdi, [0x004985a0]
lea rsi, [0x0042b1a0]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
mov ecx, ebx
mov edx, 0x1d
lea r8, [rsp + 0x20]
mov r9d, 0x10
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42aef5
lea rcx, [0x00498460]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42af08
lea rcx, [0x00498460]
lea rdx, [0x0042b1b0]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0x31
lea r8, [rsp + 0x20]
mov r9d, 0x20
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42af38
lea rcx, [0x00498494]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42af4b
lea rcx, [0x00498494]
lea rdx, [0x0042b1b4]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0x32
lea r8, [rsp + 0x20]
mov r9d, 0x20
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42af7b
lea rcx, [0x004984b4]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42af8e
lea rcx, [0x004984b4]
lea rdx, [0x0042b1bc]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0x33
lea r8, [rsp + 0x20]
mov r9d, 0x20
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42afbe
lea rcx, [0x004984d4]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42afd1
lea rcx, [0x004984d4]
lea rdx, [0x0042b1c4]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0x34
lea r8, [rsp + 0x20]
mov r9d, 0x20
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42b001
lea rcx, [0x004984f4]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42b014
lea rcx, [0x004984f4]
lea rdx, [0x0042b1cc]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0x35
lea r8, [rsp + 0x20]
mov r9d, 0x20
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42b044
lea rcx, [0x00498514]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42b057
lea rcx, [0x00498514]
lea rdx, [0x0042b1d4]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0x36
lea r8, [rsp + 0x20]
mov r9d, 0x20
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42b087
lea rcx, [0x00498534]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42b09a
lea rcx, [0x00498534]
lea rdx, [0x0042b1dc]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0x37
lea r8, [rsp + 0x20]
mov r9d, 0x20
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42b0ca
lea rcx, [0x00498554]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42b0dd
lea rcx, [0x00498554]
lea rdx, [0x0042b1e4]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0xe
lea r8, [rsp + 0x20]
mov r9d, 0x10
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42b10d
lea rcx, [0x00498470]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42b120
lea rcx, [0x00498470]
lea rdx, [0x0042b1ec]
call fcn.00429fe0
mov ecx, ebx
mov edx, 0xf
lea r8, [rsp + 0x20]
mov r9d, 0x10
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x42b150
lea rcx, [0x00498484]
lea rdx, [rsp + 0x20]
call fcn.00429fe0
jmp 0x42b163
lea rcx, [0x00498484]
lea rdx, [0x0042b1f0]
call fcn.00429fe0
add rsp, 0x120
pop rbx
pop rsi
pop rdi
ret