Function at 0x140037070
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x140158638]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, rdx
mov r15, rcx
mov qword [rbp - 0x51], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov word [rsp + 0x20], 0xa
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x11]
call fcn.140049540
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003711c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037117
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037117
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e4e30
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
mov r14, qword [rbp - 0x11]
mov r13, qword [rbp - 9]
cmp r14, r13
je 0x1400375de
mov r8, 0xffffffffffffffff
lea edx, [r8 + 0x17]
movabs rcx, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], rsi
mov rdi, qword [r14 + 0x10]
mov rsi, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140037177
mov rsi, qword [r14]
cmp rdi, rcx
ja 0x1400376c5
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x14003719b
mov qword [rbp - 0x21], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x31], xmm0
jmp 0x1400371e4
mov rbx, rdi
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400371ac
mov rbx, rcx
jmp 0x1400371b4
cmp rbx, 0x16
cmovb rbx, rdx
mov rdx, rbx
add rdx, 1
cmovb rdx, r8
lea rcx, [rbp - 0x31]
call fcn.14001fe20
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], 1
mov qword [rbp - 0x61], reloc.WS2_32.dll_ntohs
mov word [rbp - 0x79], 0x7c
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x49]
call fcn.140049540
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x140037258
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037253
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037629
call fcn.1400e4e30
xor esi, esi
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x61], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x79], sil
mov rdx, qword [rbp - 0x41]
mov rax, rdx
mov rbx, qword [rbp - 0x49]
sub rax, rbx
sar rax, 5
cmp rax, 2
jae 0x140037321
test rbx, rbx
je 0x1400372dc
lea r8, [rbp - 0x49]
mov rcx, rbx
call fcn.140005bd0
mov rdx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x49]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400372cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037630
call fcn.1400e4e30
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rsi
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1400375c9
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400375c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400375c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8, qword [rbx + 0x10]
mov rdx, rbx
mov r9, qword [rbx + 0x18]
cmp r9, 0x10
jb 0x140037335
mov rdx, qword [rbx]
cmp r8, 5
jne 0x1400373b9
mov rcx, rsi
lea r10, str.netID
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140037368
cmp rcx, 5
jne 0x140037350
mov eax, esi
jmp 0x14003736d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400373b9
add rbx, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
cmp qword [rbx + 0x18], 0x10
jb 0x140037388
mov rbx, qword [rbx]
mov dword [rax], esi
mov r8d, 0xa
lea rdx, [rbp - 0x59]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rbp - 0x59]
je 0x1400376d8
cmp dword [rdi], 0x22
je 0x1400376cb
mov dword [r15 + 0x20], eax
jmp 0x14003753f
mov rdx, rbx
cmp r9, 0x10
jb 0x1400373c5
mov rdx, qword [rbx]
cmp r8, 6
jne 0x140037419
mov rcx, rsi
lea r10, str.userID
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1400373f8
cmp rcx, 6
jne 0x1400373e0
mov eax, esi
jmp 0x1400373fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140037419
lea rcx, [rbx + 0x20]
xor edx, edx
lea r8d, [rax + 0xa]
call fcn.14002db30
mov dword [r15 + 0x24], eax
jmp 0x14003753f
mov rdx, rbx
cmp r9, 0x10
jb 0x140037425
mov rdx, qword [rbx]
cmp r8, 5
jne 0x1400374a2
mov rcx, rsi
lea r10, str.posXY
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140037458
cmp rcx, 5
jne 0x140037440
mov eax, esi
jmp 0x14003745d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400374a2
lea rcx, [rbx + 0x40]
xor edx, edx
lea r8d, [rax + 0xa]
call fcn.14002db30
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov rcx, qword [rbp - 0x49]
add rcx, 0x20
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.14002db30
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r15 + 0x28], xmm0
movss dword [r15 + 0x2c], xmm6
jmp 0x14003753f
mov rdx, rbx
cmp r9, 0x10
jb 0x1400374ae
mov rdx, qword [rbx]
cmp r8, 4
jne 0x1400374fd
mov rcx, rsi
lea r10, str.name
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1400374d8
cmp rcx, 4
jne 0x1400374c0
mov eax, esi
jmp 0x1400374dd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400374fd
lea rdx, [rbx + 0x20]
cmp r15, rdx
je 0x140037543
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400374f8
mov rdx, qword [rdx]
mov rcx, r15
jmp 0x14003753a
mov rcx, rbx
cmp r9, 0x10
jb 0x140037509
mov rcx, qword [rbx]
cmp r8, 7
jne 0x140037543
lea rdx, str.country
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140037543
lea rdx, [rbx + 0x20]
lea rcx, [r15 + 0x30]
cmp rcx, rdx
je 0x140037543
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003753a
mov rdx, qword [rdx]
call fcn.1400201c0
mov rbx, qword [rbp - 0x49]
test rbx, rbx
je 0x140037592
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x41]
mov rcx, rbx
call fcn.140005bd0
mov rdx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x49]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003758c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037630
call fcn.1400e4e30
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1400375c9
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400375c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037637
call fcn.1400e4e30
add r14, 0x20
cmp r14, r13
jne 0x140037142
mov r13, qword [rbp - 9]
mov r14, qword [rbp - 0x11]
test r14, r14
je 0x140037644
lea r8, [rbp - 0x11]
mov rdx, r13
mov rcx, r14
call fcn.140005bd0
mov rdx, qword [rbp - 1]
mov rcx, qword [rbp - 0x11]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003763e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003763e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400e4e30
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14003767c
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140037677
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400376be
mov rcx, r8
call fcn.1400e4e30
mov qword [r12 + 0x10], rsi
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400e4f50
mov rbx, qword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14001fc10
nop
lea rcx, str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
lea rcx, str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3