Function at 0x427400
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x248
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1b0], xmm6
mov rsi, rdx
mov r14d, ecx
xor r15d, r15d
test rsi, rsi
je 0x42743d
mov rcx, rsi
call fcn.00420520
mov rdi, rax
jmp 0x42743f
xor edi, edi
mov rax, qword [0x00441500]
test rax, rax
je 0x427457
lea rcx, [0x004414b8]
cmp rax, rcx
jne 0x427489
lea rcx, [0x004414b8]
xor r15d, r15d
cmp rax, rcx
sete bl
mov ecx, 1
mov edx, 0x48
call fcn.0041bda0
mov qword [0x00441500], rax
test rax, rax
je 0x42751d
mov r15b, bl
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x4274a6
call fcn.0041bdc0
mov rax, qword [0x00441500]
mov qword [rax + 0x38], 0
test rdi, rdi
je 0x4274cf
cmp byte [rdi], 0
je 0x4274e0
lea rdx, [0x00437493]
mov rcx, rsi
call fcn.004205e0
test rax, rax
je 0x427536
mov dword [rdi], 0x554e45
jmp 0x427632
test r15d, r15d
je 0x427559
mov rcx, rax
jmp 0x4278b9
call sub.KERNEL32_GetUserDefaultLCID
mov esi, eax
lea rbx, [rbp - 0x60]
mov edx, 0xb
mov r9d, 7
mov ecx, esi
mov r8, rbx
call sub.KERNEL32_GetLocaleInfoA
mov rcx, rbx
call fcn.0042afa0
mov rcx, qword [0x00441500]
mov dword [rcx], eax
mov dword [rcx + 8], 0
jmp 0x4278da
mov ecx, 0xe
call sub.KERNEL32_SetLastError
mov rcx, rdi
call fcn.0041bdc0
xor eax, eax
jmp 0x42793d
lea rdx, [0x00437499]
mov rcx, rsi
call fcn.004205e0
test rax, rax
je 0x4275fc
mov dword [rdi], 0x474e45
jmp 0x427632
movsx esi, r14w
test sil, 4
jne 0x427580
test sil, 0x10
jne 0x427595
test sil, 0x20
jne 0x4275ae
test sil, 1
jne 0x4275c7
test sil, 2
jne 0x4275e4
jmp 0x42792d
lea rdx, [0x00437460]
mov rcx, rax
call fcn.00427e90
test sil, 0x10
je 0x427569
mov rcx, qword [0x00441500]
lea rdx, [0x0043746c]
call fcn.00427e90
test sil, 0x20
je 0x42756f
mov rcx, qword [0x00441500]
lea rdx, [0x00437477]
call fcn.00427e90
test sil, 1
je 0x427575
mov rcx, qword [0x00441500]
lea rdx, [0x0043747f]
call fcn.00427e90
test sil, 2
je 0x42792d
mov rcx, qword [0x00441500]
lea rdx, [0x0043748a]
call fcn.00427e90
jmp 0x42792d
lea rdx, [0x0043749f]
mov rcx, rsi
call fcn.004205e0
test rax, rax
je 0x427618
mov dword [rdi], 0x415246
jmp 0x427632
lea rdx, [0x004374a5]
mov rcx, rsi
call fcn.004205e0
test rax, rax
je 0x427650
mov dword [rdi], 0x554544
mov edx, 0x2e
mov rcx, rsi
call fcn.00421450
test rax, rax
je 0x427650
lea rcx, [rdi + 3]
mov rdx, rax
call fcn.00421380
lea rdx, [0x004374ab]
mov rcx, rsi
call fcn.004213c0
test eax, eax
je 0x4278b2
cmp byte [rdi], 0x4c
jne 0x427889
cmp byte [rdi + 1], 0x43
jne 0x427889
cmp byte [rdi + 2], 0x5f
jne 0x427889
mov rcx, rdi
call fcn.0041bdc0
mov rax, qword [0x00441500]
mov qword [rbp + 0x1a8], rax
xorps xmm6, xmm6
movaps xmmword [rbp + 0x190], xmm6
movaps xmmword [rbp + 0x180], xmm6
movaps xmmword [rbp + 0x170], xmm6
movaps xmmword [rbp + 0x160], xmm6
movaps xmmword [rbp + 0x150], xmm6
movaps xmmword [rbp + 0x140], xmm6
movaps xmmword [rbp + 0x130], xmm6
movaps xmmword [rbp + 0x120], xmm6
movaps xmmword [rbp + 0x110], xmm6
movaps xmmword [rbp + 0x100], xmm6
movaps xmmword [rbp + 0xf0], xmm6
movaps xmmword [rbp + 0xe0], xmm6
movaps xmmword [rbp + 0xd0], xmm6
movaps xmmword [rbp + 0xc0], xmm6
movaps xmmword [rbp + 0xb0], xmm6
movaps xmmword [rbp + 0xa0], xmm6
xor eax, eax
lea r14, [rbp + 0xa0]
lea r15, [0x0043747f]
xor r13d, r13d
jmp 0x4277d0
movaps xmmword [rbp + 0x190], xmm6
movaps xmmword [rbp + 0x180], xmm6
movaps xmmword [rbp + 0x170], xmm6
movaps xmmword [rbp + 0x160], xmm6
movaps xmmword [rbp + 0x150], xmm6
movaps xmmword [rbp + 0x140], xmm6
movaps xmmword [rbp + 0x130], xmm6
movaps xmmword [rbp + 0x120], xmm6
movaps xmmword [rbp + 0x110], xmm6
movaps xmmword [rbp + 0x100], xmm6
movaps xmmword [rbp + 0xf0], xmm6
movaps xmmword [rbp + 0xe0], xmm6
movaps xmmword [rbp + 0xd0], xmm6
movaps xmmword [rbp + 0xc0], xmm6
movaps xmmword [rbp + 0xb0], xmm6
movaps xmmword [rbp + 0xa0], xmm6
inc rsi
xor eax, eax
jmp 0x4277d0
lea rcx, [rbp - 0x60]
mov rdx, r14
call fcn.00421380
jmp 0x427730
movzx ecx, byte [rsi]
cmp cl, 0xa
je 0x4277b0
cmp cl, 0x3d
je 0x427800
test cl, cl
je 0x427a34
movsxd rdx, eax
inc eax
mov byte [rbp + rdx + 0xa0], cl
inc rsi
jmp 0x4277d0
mov rcx, r14
lea rdx, [0x0043748a]
call fcn.004213c0
mov r12d, r13d
or r12d, 2
test eax, eax
cmovne r12w, r13w
mov rcx, r14
lea rdx, [0x00437477]
call fcn.004213c0
mov ebx, r12d
or ebx, 0x20
test eax, eax
cmovne bx, r12w
mov rcx, r14
lea rdx, [0x0043746c]
call fcn.004213c0
mov edi, ebx
or edi, 0x10
test eax, eax
cmovne di, bx
mov rcx, r14
lea rdx, [0x00437460]
call fcn.004213c0
mov ebx, edi
or ebx, 4
test eax, eax
cmovne bx, di
mov rcx, r14
mov rdx, r15
call fcn.004213c0
xor r13d, r13d
test eax, eax
sete r13b
or r13d, ebx
jmp 0x427730
mov rcx, qword [0x00441500]
mov dword [rcx + 8], 0
mov rdx, rdi
call fcn.00428010
mov esi, eax
test esi, esi
je 0x4279d7
mov rcx, qword [0x00441500]
jmp 0x4278da
mov rcx, qword [0x00441500]
call fcn.00427ab0
mov rcx, qword [0x00441500]
call fcn.0041bdc0
lea rcx, [0x004414b8]
mov qword [0x00441500], rcx
xor esi, esi
mov dword [rcx + 4], esi
mov rcx, rdi
call fcn.0041bdc0
mov rax, qword [0x00441500]
mov ecx, dword [rax + 4]
mov edx, 1
call sub.KERNEL32_IsValidLocale
test eax, eax
mov rax, qword [0x00441500]
jne 0x42790e
cmp dword [rax + 8], 0
je 0x427994
mov ecx, dword [rax + 4]
call sub.KERNEL32_SetThreadLocale
mov rcx, qword [0x00441500]
cmp dword [rcx + 8], 0
je 0x427958
mov dword [0x004412b0], 1
call fcn.00429fc0
mov rax, qword [0x00441500]
mov rax, qword [rax + 0x38]
movaps xmm6, xmmword [rbp + 0x1b0]
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.00427ab0
mov rcx, qword [0x00441500]
mov edx, r14d
call fcn.00428290
test eax, eax
je 0x42799b
mov rax, qword [0x00441500]
mov ecx, dword [rax]
call fcn.0042d750
test eax, eax
je 0x427a06
mov ecx, 0x20000106
call sub.KERNEL32_SetLastError
xor eax, eax
jmp 0x42793d
mov ecx, 0x20000103
jmp 0x4279a0
mov ecx, 0x20000102
call sub.KERNEL32_SetLastError
test r15d, r15d
je 0x4279ff
mov rcx, qword [0x00441500]
call fcn.00427ab0
mov rcx, qword [0x00441500]
call fcn.0041bdc0
lea rax, [0x004414b8]
mov qword [0x00441500], rax
xor eax, eax
jmp 0x42793d
test r15d, r15d
je 0x427527
mov rcx, qword [0x00441500]
call fcn.0041bdc0
lea rax, [0x004414b8]
mov qword [0x00441500], rax
jmp 0x427527
xor eax, eax
jmp 0x42793d
mov rax, qword [0x00441500]
mov ecx, dword [rax]
lea rdx, [rbp + 0xa0]
call sub.KERNEL32_GetCPInfo
test eax, eax
je 0x427986
mov eax, dword [rbp + 0xa0]
mov dword [0x004412b0], eax
jmp 0x42792d
lea rdx, [rbp - 0x60]
mov rsi, qword [rbp + 0x1a8]
mov rcx, rsi
call fcn.00428010
mov dword [rsi + 4], eax
mov edx, 1
mov ecx, eax
call sub.KERNEL32_IsValidLocale
test eax, eax
jne 0x427a60
cmp dword [rsi + 8], 0
je 0x427a9c
mov rax, qword [0x00441500]
mov ecx, dword [rax + 4]
call sub.KERNEL32_SetThreadLocale
mov rcx, qword [0x00441500]
call fcn.00427ab0
mov rcx, qword [0x00441500]
mov edx, r13d
call fcn.00428290
test eax, eax
jne 0x42792d
mov ecx, 0x20000102
jmp 0x42798b
mov ecx, 0x20000103
jmp 0x42798b