Function at 0x180003290
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x1800a5088]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov qword [rbp - 0x30], rdx
mov rdi, rcx
mov qword [rbp - 0x28], rcx
xor r15d, r15d
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r15b
lea r12d, [r8 - 8]
cmp r8d, r12d
jbe 0x180003563
lea ebx, [r8 - 0x7e]
lea rdx, [0x180000000]
lea r10, [r15 - 1]
mov r8d, 0x2274
cmp ebx, 8
ja case.0x18000331a.1
mov ecx, dword [rdx + rbx*4 + 0x3a60]
add rcx, rdx
jmp rcx
mov byte [rbp - 0x10], 0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
lea rax, [rbp - 0x20]
mov r8, r10
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180003340
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.180044ec0
nop
lea r15, [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
mov r13, qword [rbp - 0x38]
cmp r13, 0x10
cmovae r15, rsi
mov r14, qword [rbp - 0x40]
cmp r14, 0x10
jae 0x180003387
movups xmm0, xmmword [r15]
mov qword [rbp - 0x78], 0xf
jmp 0x18000340a
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rax, [rdi + 1]
cmp rax, 0x1000
jb 0x1800033dc
lea rcx, [rax + 0x27]
cmp rcx, rax
mov rax, 0xffffffffffffffff
cmovbe rcx, rax
call fcn.180052564
mov rcx, rax
test rax, rax
je 0x180003a54
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800033e9
test rax, rax
je 0x1800033e9
mov rcx, rax
call fcn.180052564
mov qword [rsp + 0x70], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.180053e80
mov qword [rbp - 0x78], rdi
movups xmm0, xmmword [rsp + 0x70]
mov rdi, qword [rbp - 0x28]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x80], r14
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18000344d
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003448
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003a54
call fcn.180051f84
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x60], xmm0
cmp r13, 0x10
jb 0x180003494
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18000348c
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003a5a
mov rcx, rsi
call fcn.180051f84
lea r8, [rbp - 0x70]
mov rdx, rdi
mov ecx, 0x5f
call fcn.180012010
lea rdx, [rbp - 0x70]
mov ecx, 0x66
call fcn.1800234d0
lea rdx, [0x180000000]
mov r8d, 0x2274
xor r15d, r15d
lea r10, [r15 - 1]
jmp case.0x18000331a.1
mov r8d, 4
lea rdx, [0x18008fb65]
lea rcx, [rbp - 0x1e]
call fcn.18005c310
mov dword [rbp - 0x1a], 0x3a22646f
movzx eax, word [0x18008fb9e]
mov word [rbp - 0x16], ax
movzx eax, byte [0x18008fba0]
mov byte [rbp - 0x14], al
lea rdx, [0x180000000]
mov r8d, 0x2274
mov r10, 0xffffffffffffffff
jmp case.0x18000331a.1
mov r8d, 2
lea rdx, [0x18008fbe8]
lea rcx, [rbp - 0x20]
call fcn.18005c310
mov byte [rbp - 0x1e], 0
lea rdx, [0x180000000]
mov r8d, 0x2274
mov r10, 0xffffffffffffffff
jmp case.0x18000331a.1
mov byte [rbp - 0x13], 0
jmp case.0x18000331a.1
mov byte [rbp - 0x13], 0x69
jmp case.0x18000331a.1
mov word [rbp - 0x12], r8w
dec ebx
lea eax, [rbx + 0x7e]
cmp eax, r12d
ja 0x180003307
movzx ebx, byte [rsp + 0x50]
mov rcx, qword [rbp - 0x58]
cmp rcx, 0x10
jb 0x1800035a4
lea rdx, [rcx + 1]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000359f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003a4e
call fcn.180051f84
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180051f60
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x58]
cmp rdx, rcx
jae 0x1800035f8
lea rax, [rdx + 1]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
cmp rcx, 0x10
cmovae rax, qword [rbp - 0x70]
mov word [rax + rdx], 0x7d
jmp 0x18000360b
mov r9b, 0x7d
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x70]
call fcn.180046820
mov r9d, 0x32
lea r8, [rbp - 8]
mov edx, 0x1009
lea ecx, [r9 + 0x4d]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x18000363c
lea r8, [rbp - 8]
mov edx, 0x1009
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
mov rax, qword [0x1800a9f10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0xe
xor r9d, r9d
lea r8, [rbp - 0x70]
xor edx, edx
xor ecx, ecx
call fcn.180013fb0
mov ebx, eax
jmp 0x180003568
mov rdi, qword [rdi + 0x28]
test rdi, rdi
je 0x180003864
mov ecx, 0x695f
mov edx, 0x64
lea eax, [rdx + 0xe]
lea r13d, [rdx + 8]
lea r12d, [rdx + 0xb]
lea r14d, [rdx - 2]
lea r8d, [rdx + 6]
mov rsi, qword [rbp - 0x30]
nop dword [rax]
nop dword [rax + rax]
mov ebx, r13d
cmp ebx, 0x15f0
ja 0x18000374f
je 0x180003713
cmp ebx, 0x6c
je 0x180003708
cmp ebx, 0x798
je 0x1800036fd
cmp ebx, 0xec4
jne 0x180003845
mov word [rsp + 0x56], r12w
mov word [rsp + 0x57], r14w
mov word [rsp + 0x5c], r8w
mov word [rsp + 0x5d], r12w
mov word [rsp + 0x5e], r14w
jmp 0x180003845
mov word [rsp + 0x55], r13w
jmp 0x180003845
mov word [rsp + 0x54], r14w
jmp 0x180003845
mov dword [rsp + 0x5f], 0x64695f
mov byte [rbp - 0x30], 0
lea rcx, [rbp - 0x30]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x180003726
movzx eax, word [0x18008fc0c]
mov word [rcx], ax
lea rdx, [0x18008fc10]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x18000382d
cmp ebx, 0x1d1c
je 0x180003a32
cmp ebx, 0x2448
je 0x1800039ca
cmp ebx, 0x2b74
jne 0x180003845
mov rdx, qword [rdi + 8]
mov rax, rdx
lea r9, [rsp + 0x54]
sub r9, rdx
movzx r8d, byte [rax]
movzx ecx, byte [rax + r9]
sub r8d, ecx
jne 0x180003797
inc rax
test ecx, ecx
jne 0x180003782
test r8d, r8d
jne 0x180003875
mov rax, qword [rdi + 0x28]
mov rdx, qword [rax + 8]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r8b
mov r8, r10
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1800037c0
lea rcx, [rsp + 0x70]
call fcn.180044ec0
nop
lea r9, [rsi + 0x20]
mov qword [rsp + 0x20], r15
xor edx, edx
mov r8d, 0x95
lea rcx, [rsp + 0x70]
call fcn.180012e00
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18000382d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003828
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003a42
call fcn.180051f84
mov r10, 0xffffffffffffffff
mov eax, 0x72
mov ecx, 0x695f
lea edx, [rax - 0xe]
lea r8d, [rax - 8]
add ebx, 0x72c
cmp ebx, 0x3234
jbe 0x1800036b3
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x1800036b0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeaps]
mov bl, 1
jmp 0x180003568
mov rax, rdx
lea r9, [rsp + 0x5c]
sub r9, rdx
movzx r8d, byte [rax]
movzx ecx, byte [rax + r9]
sub r8d, ecx
jne 0x180003895
inc rax
test ecx, ecx
jne 0x180003880
test r8d, r8d
jne 0x1800038bc
mov rax, qword [rdi + 0x28]
mov rdx, qword [rax + 8]
mov r8, r10
inc r8
cmp byte [rdx + r8], 0
jne 0x1800038a5
mov rcx, rsi
call fcn.180044ec0
jmp 0x18000382d
mov rax, rdx
lea r9, [rbp - 0x30]
sub r9, rdx
nop word [rax + rax]
movzx r8d, byte [rax]
movzx ecx, byte [rax + r9]
sub r8d, ecx
jne 0x1800038e5
inc rax
test ecx, ecx
jne 0x1800038d0
test r8d, r8d
jne 0x18000397f
mov rax, qword [rdi + 0x28]
mov rdx, qword [rax + 8]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r8b
mov r8, r10
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180003910
lea rcx, [rsp + 0x70]
call fcn.180044ec0
nop
mov r8d, 0xaa
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.180033790
mov qword [rsi + 0x40], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18000382d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003828
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003a48
jmp 0x180003828
lea r8, [rbp - 0x28]
sub r8, rdx
nop word [rax + rax]
movzx ecx, byte [rdx]
movzx eax, byte [rdx + r8]
sub ecx, eax
jne 0x1800039a3
inc rdx
test eax, eax
jne 0x180003990
test ecx, ecx
jne 0x180003834
mov rcx, qword [rdi + 0x28]
xor edx, edx
lea r8d, [rdx + 0xa]
mov rcx, qword [rcx + 8]
call fcn.1800599d0
mov qword [rsi + 0x88], rax
jmp 0x18000382d
mov byte [rbp - 0x28], 0
lea rax, [rbp - 0x28]
dec rax
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x1800039d5
movzx ecx, word [0x18008fc00]
mov word [rax], cx
movzx ecx, byte [0x18008fc02]
mov byte [rax + 2], cl
mov r8d, 2
lea rdx, [0x18008fc04]
lea rcx, [rbp - 0x28]
call fcn.180062ed0
lea rcx, [rbp - 0x28]
dec rcx
nop
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x180003a10
movzx eax, word [0x18008fc08]
mov word [rcx], ax
movzx eax, byte [0x18008fc0a]
mov byte [rcx + 2], al
jmp 0x18000382d
mov word [rbp - 0x2e], ax
mov dword [rbp - 0x2d], 0x746567
jmp 0x180003845
call fcn.180063ba4
int3
call fcn.180063ba4
nop
call fcn.180063ba4
nop
call fcn.180063ba4
nop
call fcn.180063ba4
int3