Function at 0x443820
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 0x44385d
mov rcx, rsi
call fcn.0043afe0
mov rdi, rax
jmp 0x44385f
xor edi, edi
mov rcx, qword [0x00469b70]
call fcn.00452f20
mov rax, qword [0x00466430]
test rax, rax
je 0x443883
lea rcx, [0x004663e8]
cmp rax, rcx
jne 0x4438b5
lea rcx, [0x004663e8]
xor r15d, r15d
cmp rax, rcx
sete bl
mov ecx, 1
mov edx, 0x48
call fcn.004367e0
mov qword [0x00466430], rax
test rax, rax
je 0x443945
mov r15b, bl
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x4438d2
call fcn.00436800
mov rax, qword [0x00466430]
mov qword [rax + 0x38], 0
test rdi, rdi
je 0x4438fb
cmp byte [rdi], 0
je 0x443908
lea rdx, [0x00456c33]
mov rcx, rsi
call fcn.0043b0a0
test rax, rax
je 0x44395c
mov dword [rdi], 0x554e45
jmp 0x443a58
test r15d, r15d
je 0x44397f
mov rcx, rax
jmp 0x443cf9
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.00447bc0
mov rcx, qword [0x00466430]
mov dword [rcx], eax
mov dword [rcx + 8], 0
jmp 0x443d1a
mov ecx, 0xe
call sub.KERNEL32_SetLastError
mov rcx, rdi
call fcn.00436800
jmp 0x443e10
lea rdx, [0x00456c39]
mov rcx, rsi
call fcn.0043b0a0
test rax, rax
je 0x443a22
mov dword [rdi], 0x474e45
jmp 0x443a58
movsx esi, r14w
test sil, 4
jne 0x4439a6
test sil, 0x10
jne 0x4439bb
test sil, 0x20
jne 0x4439d4
test sil, 1
jne 0x4439ed
test sil, 2
jne 0x443a0a
jmp 0x443d6d
lea rdx, [0x00456c00]
mov rcx, rax
call fcn.00444320
test sil, 0x10
je 0x44398f
mov rcx, qword [0x00466430]
lea rdx, [0x00456c0c]
call fcn.00444320
test sil, 0x20
je 0x443995
mov rcx, qword [0x00466430]
lea rdx, [0x00456c17]
call fcn.00444320
test sil, 1
je 0x44399b
mov rcx, qword [0x00466430]
lea rdx, [0x00456c1f]
call fcn.00444320
test sil, 2
je 0x443d6d
mov rcx, qword [0x00466430]
lea rdx, [0x00456c2a]
call fcn.00444320
jmp 0x443d6d
lea rdx, [0x00456c3f]
mov rcx, rsi
call fcn.0043b0a0
test rax, rax
je 0x443a3e
mov dword [rdi], 0x415246
jmp 0x443a58
lea rdx, [0x00456c45]
mov rcx, rsi
call fcn.0043b0a0
test rax, rax
je 0x443a76
mov dword [rdi], 0x554544
mov edx, 0x2e
mov rcx, rsi
call fcn.0043bf10
test rax, rax
je 0x443a76
lea rcx, [rdi + 3]
mov rdx, rax
call fcn.0043be40
lea rdx, [0x00456c4b]
mov rcx, rsi
call fcn.0043be80
test eax, eax
je 0x443cf2
cmp byte [rdi], 0x4c
jne 0x443cc9
cmp byte [rdi + 1], 0x43
jne 0x443cc9
cmp byte [rdi + 2], 0x5f
jne 0x443cc9
mov rcx, rdi
call fcn.00436800
mov rcx, qword [0x00469b70]
call fcn.004530b0
mov rax, qword [0x00466430]
mov qword [rbp + 0x1a8], rax
mov rcx, qword [0x00469b70]
call fcn.00452f20
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, [0x00456c1f]
xor r13d, r13d
jmp 0x443c10
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 0x443c10
lea rcx, [rbp - 0x60]
mov rdx, r14
call fcn.0043be40
jmp 0x443b70
movzx ecx, byte [rsi]
cmp cl, 0xa
je 0x443bf0
cmp cl, 0x3d
je 0x443c40
test cl, cl
je 0x443e9f
movsxd rdx, eax
inc eax
mov byte [rbp + rdx + 0xa0], cl
inc rsi
jmp 0x443c10
mov rcx, r14
lea rdx, [0x00456c2a]
call fcn.0043be80
mov r12d, r13d
or r12d, 2
test eax, eax
cmovne r12w, r13w
mov rcx, r14
lea rdx, [0x00456c17]
call fcn.0043be80
mov ebx, r12d
or ebx, 0x20
test eax, eax
cmovne bx, r12w
mov rcx, r14
lea rdx, [0x00456c0c]
call fcn.0043be80
mov edi, ebx
or edi, 0x10
test eax, eax
cmovne di, bx
mov rcx, r14
lea rdx, [0x00456c00]
call fcn.0043be80
mov ebx, edi
or ebx, 4
test eax, eax
cmovne bx, di
mov rcx, r14
mov rdx, r15
call fcn.0043be80
xor r13d, r13d
test eax, eax
sete r13b
or r13d, ebx
jmp 0x443b70
mov rcx, qword [0x00466430]
mov dword [rcx + 8], 0
mov rdx, rdi
call fcn.004444a0
mov esi, eax
test esi, esi
je 0x443e3c
mov rcx, qword [0x00466430]
jmp 0x443d1a
mov rcx, qword [0x00466430]
call fcn.00443f40
mov rcx, qword [0x00466430]
call fcn.00436800
lea rcx, [0x004663e8]
mov qword [0x00466430], rcx
xor esi, esi
mov dword [rcx + 4], esi
mov rcx, rdi
call fcn.00436800
mov rax, qword [0x00466430]
mov ecx, dword [rax + 4]
mov edx, 1
call sub.KERNEL32_IsValidLocale
test eax, eax
mov rax, qword [0x00466430]
jne 0x443d4e
cmp dword [rax + 8], 0
je 0x443dd4
mov ecx, dword [rax + 4]
call sub.KERNEL32_SetThreadLocale
mov rcx, qword [0x00466430]
cmp dword [rcx + 8], 0
je 0x443d8e
mov dword [0x004661e0], 1
call fcn.00446460
mov rax, qword [0x00466430]
mov rsi, qword [rax + 0x38]
mov rcx, qword [0x00469b70]
call fcn.004530b0
jmp 0x443e1e
call fcn.00443f40
mov rcx, qword [0x00466430]
mov edx, r14d
call fcn.00444720
test eax, eax
je 0x443ddb
mov rax, qword [0x00466430]
mov ecx, dword [rax]
call fcn.0044a870
test eax, eax
je 0x443e71
mov rcx, qword [0x00469b70]
call fcn.004530b0
mov ecx, 0x20000106
call sub.KERNEL32_SetLastError
jmp 0x443e1c
mov ecx, 0x20000103
jmp 0x443de0
mov ecx, 0x20000102
call sub.KERNEL32_SetLastError
test r15d, r15d
je 0x443e10
mov rcx, qword [0x00466430]
call fcn.00443f40
mov rcx, qword [0x00466430]
call fcn.00436800
lea rax, [0x004663e8]
mov qword [0x00466430], rax
mov rcx, qword [0x00469b70]
call fcn.004530b0
xor esi, esi
mov rax, rsi
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
test r15d, r15d
je 0x443e5b
mov rcx, qword [0x00466430]
call fcn.00436800
lea rax, [0x004663e8]
mov qword [0x00466430], rax
mov rcx, qword [0x00469b70]
call fcn.004530b0
mov rcx, rdi
call fcn.00436800
jmp 0x443e1c
mov rax, qword [0x00466430]
mov ecx, dword [rax]
lea rdx, [rbp + 0xa0]
call sub.KERNEL32_GetCPInfo
test eax, eax
je 0x443dbc
mov eax, dword [rbp + 0xa0]
mov dword [0x004661e0], eax
jmp 0x443d6d
lea rdx, [rbp - 0x60]
mov rsi, qword [rbp + 0x1a8]
mov rcx, rsi
call fcn.004444a0
mov dword [rsi + 4], eax
mov edx, 1
mov ecx, eax
call sub.KERNEL32_IsValidLocale
test eax, eax
jne 0x443ecb
cmp dword [rsi + 8], 0
je 0x443f0c
mov rax, qword [0x00466430]
mov ecx, dword [rax + 4]
call sub.KERNEL32_SetThreadLocale
mov rcx, qword [0x00466430]
call fcn.00443f40
mov rcx, qword [0x00466430]
mov edx, r13d
call fcn.00444720
test eax, eax
jne 0x443d6d
mov ecx, 0x20000102
call sub.KERNEL32_SetLastError
jmp 0x443e10
mov ecx, 0x20000103
call sub.KERNEL32_SetLastError
jmp 0x443e10