Function at 0x1800372c0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rsp + 0xf0], rbx
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13d, r9d
mov r12, r8
mov rdi, rdx
xor r14d, r14d
mov dword [rbp - 0x49], r14d
mov rcx, rdx
call fcn.180039ca0
test eax, eax
je 0x180037326
mov r8d, r13d
mov rdx, r12
mov rcx, rdi
call qword [0x1800d6f78]
jmp 0x1800375e9
xor edx, edx
lea rcx, [rbp - 0x11]
call fcn.180027da0
mov r11, rax
mov ebx, 1
mov esi, ebx
mov dword [rbp - 0x49], ebx
mov r8, qword [rax + 0x10]
cmp r8, r8
cmp qword [rax + 0x18], 8
jb 0x18003734f
mov r11, qword [rax]
mov edx, 8
cmp r8, rdx
cmovb rdx, r8
lea rcx, str.indesign
or r15d, 0xffffffff
test rdx, rdx
je 0x180037394
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r11], ax
jne 0x180037388
add r11, 2
add rcx, 2
dec rdx
jne 0x180037370
jmp 0x180037394
mov edx, ebx
cmp word [r11], ax
cmovb edx, r15d
jmp 0x180037397
mov edx, r14d
movsxd rax, edx
test edx, edx
jne 0x1800373b3
cmp r8, 8
jae 0x1800373a9
mov eax, r15d
jmp 0x1800373b3
mov eax, r14d
cmp r8, 8
setne al
test eax, eax
sete al
test al, al
jne 0x18003744a
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180027da0
mov r11, rax
mov esi, 3
mov r8, qword [rax + 0x10]
cmp r8, r8
cmp qword [rax + 0x18], 8
jb 0x1800373e4
mov r11, qword [rax]
mov edx, reloc.WS2_32.dll_recv
cmp r8, rdx
cmovb rdx, r8
lea rcx, str.citymakerconnect
test rdx, rdx
je 0x18003741e
nop dword [rax]
movzx eax, word [rcx]
cmp word [r11], ax
jne 0x180037418
add r11, 2
add rcx, 2
dec rdx
jne 0x180037400
jmp 0x18003741e
cmovb ebx, r15d
jmp 0x180037421
mov ebx, r14d
movsxd rax, ebx
test ebx, ebx
jne 0x18003743d
cmp r8, 0x10
jae 0x180037433
mov eax, r15d
jmp 0x18003743d
mov eax, r14d
cmp r8, 0x10
setne al
test eax, eax
sete al
test al, al
jne 0x18003744a
xor bl, bl
jmp 0x18003744c
mov bl, 1
test sil, 2
je 0x180037476
and esi, 0xfffffffd
cmp qword [rbp - 0x21], 8
jb 0x180037465
mov rcx, qword [rbp - 0x39]
call fcn.18007a7a4
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r14
mov word [rbp - 0x39], r14w
test sil, 1
je 0x18003748c
cmp qword [rbp + 7], 8
jb 0x18003748c
mov rcx, qword [rbp - 0x11]
call fcn.18007a7a4
test bl, bl
jne 0x1800375c7
lea rdx, [0x1800ac2bc]
mov rcx, rdi
call fcn.18007b05c
test rax, rax
je 0x1800375c7
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.180029240
nop
lea rbx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rbx, qword [rbp - 0x11]
call fcn.180039e60
mov rdx, qword [rax]
test rdx, rdx
je 0x1800374d9
mov rcx, rbx
call rdx
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r14
mov word [rbp - 0x39], r14w
mov r8d, 4
lea rdx, [0x1800ac2c8]
lea rcx, [rbp - 0x39]
call fcn.180004cc0
nop
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x11]
call fcn.180029050
test al, al
sete bl
cmp qword [rbp - 0x21], 8
jb 0x180037523
mov rcx, qword [rbp - 0x39]
call fcn.18007a7a4
test bl, bl
je 0x1800375b7
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 7]
mov rcx, rdi
call qword [0x1800d95d8]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800375b7
mov rcx, rax
call fcn.180027010
mov rcx, rbx
test al, al
je 0x1800375b0
call qword [0x1800d9668]
call fcn.180039e60
mov rdx, qword [rax]
test rdx, rdx
je 0x180037585
mov rcx, rdi
call rdx
call fcn.180039e60
mov rdx, qword [rax]
test rdx, rdx
je 0x18003759c
lea rcx, [0x1800ac2d8]
call rdx
nop
cmp qword [rbp + 7], 8
jb 0x1800375ac
mov rcx, qword [rbp - 0x11]
call fcn.18007a7a4
xor eax, eax
jmp 0x1800375e9
call qword [0x1800d9668]
nop
cmp qword [rbp + 7], 8
jb 0x1800375c7
mov rcx, qword [rbp - 0x11]
call fcn.18007a7a4
mov r8d, r13d
mov rdx, r12
mov rcx, rdi
call qword [0x1800d6f78]
mov rbx, rax
test rax, rax
je 0x1800375e6
mov rcx, rdi
call fcn.180041120
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18007a7c0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret