Function at 0x1402a7890
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x808
mov eax, edx
mov rsi, rcx
mov dword [rcx], edx
lea rdx, [rcx + 8]
lea r8, [rcx + 0x18]
mov ecx, eax
call fcn.1402a7190
test eax, eax
je 0x1402a8068
mov edi, eax
lea rax, [0x1402a6260]
mov qword [rsi + 0x2d0], rax
lea rax, [0x1402a6310]
mov qword [rsi + 0x2c8], rax
cmp dword [rsi], 0x1cc7a
jne 0x1402a7903
lea rax, [0x1402a68a0]
mov qword [rsi + 0x2d0], rax
lea rax, [0x1402a6a00]
mov qword [rsi + 0x2c8], rax
lea r15, [rsi + 0x38]
lea rdx, [0x1403d59ca]
mov rcx, r15
mov r8d, 1
call fcn.14030ee50
lea rbx, [rsi + 0x28]
lea rdx, [0x1403d5af8]
mov rcx, rbx
mov r8d, 1
call fcn.14030ee50
lea r12, [rsp + 0x30]
mov ecx, edi
mov edx, 0xf
mov r8, r12
mov r9d, 0x3e8
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
lea r14, [rsp + 0x20]
mov rcx, r14
mov rdx, r12
call fcn.14030f140
cmp rbx, r14
je 0x1402a797d
cmp byte [rbx + 0xe], 0
je 0x1402a7973
mov rcx, rbx
call fcn.14030abf0
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
jmp 0x1402a798e
cmp byte [rsp + 0x2e], 0
je 0x1402a798e
lea rcx, [rsp + 0x20]
call fcn.14030abf0
lea rbx, [rsp + 0x30]
mov ecx, edi
mov edx, 0xe
mov r8, rbx
mov r9d, 0x3e8
call qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
mov rcx, r14
mov rdx, rbx
call fcn.14030f140
cmp r15, r14
je 0x1402a79d3
cmp byte [r15 + 0xe], 0
je 0x1402a79c8
mov rcx, r15
call fcn.14030abf0
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [r15], xmm0
jmp 0x1402a79e4
cmp byte [rsp + 0x2e], 0
je 0x1402a79e4
lea rcx, [rsp + 0x20]
call fcn.14030abf0
lea rbx, [rsp + 0x30]
mov r15, qword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
xor r13d, r13d
xor r12d, r12d
jmp 0x1402a7a3f
mov rcx, qword [rsi + r13 + 0x398]
call fcn.140309590
mov rax, qword [rsp + 0x20]
mov qword [rsi + r13 + 0x398], rax
mov eax, dword [rsp + 0x28]
mov dword [rsi + r13 + 0x3a0], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsi + r13 + 0x3a4], eax
add r12, 4
add r13, 0x10
cmp r13, 0xc0
je 0x1402a7c41
lea rax, str.89:_____ABCDEFGHIJKLMNO__._0
mov ebp, dword [r12 + rax]
mov r8d, 0x7d0
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, edi
mov edx, ebp
mov r8, rbx
mov r9d, 0x3e8
call r15
test eax, eax
je 0x1402a7ac0
mov rcx, r14
mov rdx, rbx
call fcn.140255d40
lea rax, [rsi + r13]
add rax, 0x2d8
cmp rax, r14
je 0x1402a7ae4
mov eax, dword [rsi + r13 + 0x2e4]
test eax, eax
jle 0x1402a7b19
cmp eax, 0x18
jb 0x1402a7b0c
mov rcx, qword [rsi + r13 + 0x2d8]
lock sub dword [rcx - 4], 1
jne 0x1402a7b19
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x1402a7b19
mov qword [rsp + 0x28], 0
lea rax, [0x1406036b0]
mov qword [rsp + 0x20], rax
lea rax, [rsi + r13]
add rax, 0x2d8
cmp rax, r14
jne 0x1402a7a88
mov eax, dword [rsp + 0x2c]
test eax, eax
jle 0x1402a7b3e
cmp eax, 0x18
jb 0x1402a7c23
mov rcx, qword [rsp + 0x20]
lock sub dword [rcx - 4], 1
jne 0x1402a7b3e
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x1402a7b3e
mov rcx, qword [rsi + r13 + 0x2d8]
call fcn.140309590
mov rax, qword [rsp + 0x20]
mov qword [rsi + r13 + 0x2d8], rax
mov eax, dword [rsp + 0x28]
mov dword [rsi + r13 + 0x2e0], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsi + r13 + 0x2e4], eax
lea rax, [0x1403d5b30]
mov ebp, dword [r12 + rax]
mov r8d, 0x7d0
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, edi
mov edx, ebp
mov r8, rbx
mov r9d, 0x3e8
call r15
test eax, eax
je 0x1402a7bd0
mov rcx, r14
mov rdx, rbx
call fcn.140255d40
lea rax, [rsi + r13]
add rax, 0x398
cmp rax, r14
je 0x1402a7bf4
mov eax, dword [rsi + r13 + 0x3a4]
test eax, eax
jle 0x1402a7a05
cmp eax, 0x18
jb 0x1402a79f8
mov rcx, qword [rsi + r13 + 0x398]
lock sub dword [rcx - 4], 1
jne 0x1402a7a05
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x1402a7a05
mov qword [rsp + 0x28], 0
lea rax, [0x1406036b0]
mov qword [rsp + 0x20], rax
lea rax, [rsi + r13]
add rax, 0x398
cmp rax, r14
jne 0x1402a7b87
mov eax, dword [rsp + 0x2c]
test eax, eax
jle 0x1402a7a2a
cmp eax, 0x18
jb 0x1402a7c32
mov rcx, qword [rsp + 0x20]
lock sub dword [rcx - 4], 1
jne 0x1402a7a2a
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x1402a7a2a
mov rcx, qword [rsp + 0x20]
call fcn.140309590
jmp 0x1402a7b3e
mov rcx, qword [rsp + 0x20]
call fcn.140309590
jmp 0x1402a7a2a
lea rbx, [rsp + 0x30]
xor r13d, r13d
xor r12d, r12d
jmp 0x1402a7c92
mov rcx, qword [rsi + r13 + 0x4c8]
call fcn.140309590
mov rax, qword [rsp + 0x20]
mov qword [rsi + r13 + 0x4c8], rax
mov eax, dword [rsp + 0x28]
mov dword [rsi + r13 + 0x4d0], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsi + r13 + 0x4d4], eax
add r12, 4
add r13, 0x10
cmp r13, 0x70
je 0x1402a7e91
lea rax, [0x1403d5b60]
mov ebp, dword [r12 + rax]
mov r8d, 0x7d0
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, edi
mov edx, ebp
mov r8, rbx
mov r9d, 0x3e8
call r15
test eax, eax
je 0x1402a7d10
mov rcx, r14
mov rdx, rbx
call fcn.140255d40
lea rax, [rsi + r13]
add rax, 0x458
cmp rax, r14
je 0x1402a7d34
mov eax, dword [rsi + r13 + 0x464]
test eax, eax
jle 0x1402a7d69
cmp eax, 0x18
jb 0x1402a7d5c
mov rcx, qword [rsi + r13 + 0x458]
lock sub dword [rcx - 4], 1
jne 0x1402a7d69
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x1402a7d69
mov qword [rsp + 0x28], 0
lea rax, [0x1406036b0]
mov qword [rsp + 0x20], rax
lea rax, [rsi + r13]
add rax, 0x458
cmp rax, r14
jne 0x1402a7cdb
mov eax, dword [rsp + 0x2c]
test eax, eax
jle 0x1402a7d8e
cmp eax, 0x18
jb 0x1402a7e73
mov rcx, qword [rsp + 0x20]
lock sub dword [rcx - 4], 1
jne 0x1402a7d8e
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x1402a7d8e
mov rcx, qword [rsi + r13 + 0x458]
call fcn.140309590
mov rax, qword [rsp + 0x20]
mov qword [rsi + r13 + 0x458], rax
mov eax, dword [rsp + 0x28]
mov dword [rsi + r13 + 0x460], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsi + r13 + 0x464], eax
lea rax, str.1234567
mov ebp, dword [r12 + rax]
mov r8d, 0x7d0
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, edi
mov edx, ebp
mov r8, rbx
mov r9d, 0x3e8
call r15
test eax, eax
je 0x1402a7e20
mov rcx, r14
mov rdx, rbx
call fcn.140255d40
lea rax, [rsi + r13]
add rax, 0x4c8
cmp rax, r14
je 0x1402a7e44
mov eax, dword [rsi + r13 + 0x4d4]
test eax, eax
jle 0x1402a7c5b
cmp eax, 0x18
jb 0x1402a7c4e
mov rcx, qword [rsi + r13 + 0x4c8]
lock sub dword [rcx - 4], 1
jne 0x1402a7c5b
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x1402a7c5b
mov qword [rsp + 0x28], 0
lea rax, [0x1406036b0]
mov qword [rsp + 0x20], rax
lea rax, [rsi + r13]
add rax, 0x4c8
cmp rax, r14
jne 0x1402a7dd7
mov eax, dword [rsp + 0x2c]
test eax, eax
jle 0x1402a7c80
cmp eax, 0x18
jb 0x1402a7e82
mov rcx, qword [rsp + 0x20]
lock sub dword [rcx - 4], 1
jne 0x1402a7c80
add rcx, 0xfffffffffffffffc
call fcn.140309590
jmp 0x1402a7c80
mov rcx, qword [rsp + 0x20]
call fcn.140309590
jmp 0x1402a7d8e
mov rcx, qword [rsp + 0x20]
call fcn.140309590
jmp 0x1402a7c80
xor edi, edi
jmp 0x1402a7ebe
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + rdi + 0x128], xmm0
add rdi, 0x10
cmp rdi, 0xc0
je 0x1402a7f78
lea rdx, [rsi + rdi]
add rdx, 0x2d8
mov rcx, rbx
xor r8d, r8d
mov r9d, 0x1f
call fcn.14031b270
lea rcx, [rsi + rdi]
add rcx, 0x68
cmp rcx, rbx
je 0x1402a7f00
cmp byte [rsi + rdi + 0x76], 0
je 0x1402a7ef3
call fcn.14030abf0
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + rdi + 0x68], xmm0
jmp 0x1402a7f0f
cmp byte [rsp + 0x3e], 0
je 0x1402a7f0f
mov rcx, rbx
call fcn.14030abf0
lea rdx, [rsi + rdi]
add rdx, 0x398
mov rcx, rbx
xor r8d, r8d
mov r9d, 0x1f
call fcn.14031b270
lea rcx, [rsi + rdi]
add rcx, 0x128
cmp rcx, rbx
je 0x1402a7f60
cmp byte [rsi + rdi + 0x136], 0
je 0x1402a7ea0
call fcn.14030abf0
jmp 0x1402a7ea0
cmp byte [rsp + 0x3e], 0
je 0x1402a7ead
mov rcx, rbx
call fcn.14030abf0
jmp 0x1402a7ead
xor edi, edi
jmp 0x1402a7f9b
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + rdi + 0x258], xmm0
add rdi, 0x10
cmp rdi, 0x70
je 0x1402a8068
lea rdx, [rsi + rdi]
add rdx, 0x458
mov rcx, rbx
xor r8d, r8d
mov r9d, 0x1f
call fcn.14031b270
lea rcx, [rsi + rdi]
add rcx, 0x1e8
cmp rcx, rbx
je 0x1402a7ff0
cmp byte [rsi + rdi + 0x1f6], 0
je 0x1402a7fd6
call fcn.14030abf0
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + rdi + 0x1e8], xmm0
jmp 0x1402a7fff
cmp byte [rsp + 0x3e], 0
je 0x1402a7fff
mov rcx, rbx
call fcn.14030abf0
lea rdx, [rsi + rdi]
add rdx, 0x4c8
mov rcx, rbx
xor r8d, r8d
mov r9d, 0x1f
call fcn.14031b270
lea rcx, [rsi + rdi]
add rcx, 0x258
cmp rcx, rbx
je 0x1402a8050
cmp byte [rsi + rdi + 0x266], 0
je 0x1402a7f80
call fcn.14030abf0
jmp 0x1402a7f80
cmp byte [rsp + 0x3e], 0
je 0x1402a7f8d
mov rcx, rbx
call fcn.14030abf0
jmp 0x1402a7f8d
add rsp, 0x808
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret