Function at 0x14004a910
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 [0x1401d0680]
xor rax, rsp
mov qword [rbp + 7], rax
mov r12, rdx
mov r15, rcx
mov qword [rbp - 0x51], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
mov r8d, 1
lea rdx, [0x140150d28]
lea rcx, [rbp - 0x79]
call fcn.14001b1d0
nop
lea r8, [rbp - 0x79]
mov rdx, r12
lea rcx, [rbp - 0x11]
call fcn.14005e250
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x14004a9c1
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a9bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a9bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140147368
movdqa xmm0, xmmword [0x140152710]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x79], 0
mov r14, qword [rbp - 0x11]
mov r13, qword [rbp - 9]
xor esi, esi
cmp r14, r13
je 0x14004aece
mov r8d, reloc.WS2_32.dll_shutdown
movabs rdx, 0x8000000000000000
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], 0xf
jbe 0x14004aa1f
mov rsi, qword [r14]
cmp rdi, rcx
ja 0x14004afb5
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
cmp rdi, 0xf
ja 0x14004aa46
mov qword [rbp - 0x21], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x31], xmm0
jmp 0x14004aac9
mov rbx, rdi
or rbx, 0xf
cmp rbx, rcx
jbe 0x14004aa5b
mov rbx, rcx
lea rax, [rdx + 0x27]
jmp 0x14004aa7d
cmp rbx, 0x16
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14004aa9f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004afbb
mov rcx, rax
call fcn.14014732c
mov rcx, rax
test rax, rax
je 0x14004af27
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14004aaad
test rcx, rcx
je 0x14004aaab
call fcn.14014732c
jmp 0x14004aaad
xor eax, eax
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 [rsp + 0x20], xmm0
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea r8d, [rax + 1]
lea rdx, [0x1401515c4]
lea rcx, [rsp + 0x20]
call fcn.14001b1d0
nop
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x49]
call fcn.14005e250
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14004ab4d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ab48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004af19
call fcn.140147368
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov rdx, qword [rbp - 0x41]
mov rax, rdx
mov rbx, qword [rbp - 0x49]
sub rax, rbx
sar rax, 5
cmp rax, 2
jae 0x14004ac17
test rbx, rbx
je 0x14004abd2
lea r8, [rbp - 0x49]
mov rcx, rbx
call fcn.14000a030
mov rdx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x49]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004abc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004af20
call fcn.140147368
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rsi
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x14004aeb9
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004aeb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004aeb4
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, 0xf
jbe 0x14004ac2b
mov rdx, qword [rbx]
cmp r8, 5
jne 0x14004aca9
mov rcx, rsi
lea r10, str.netID
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x14004ac58
cmp rcx, 5
jne 0x14004ac40
mov eax, esi
jmp 0x14004ac5d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004aca9
add rbx, 0x20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x14004ac78
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 0x14004afce
cmp dword [rdi], 0x22
je 0x14004afc1
mov dword [r15 + 0x20], eax
jmp 0x14004ae2f
mov rdx, rbx
cmp r9, 0xf
jbe 0x14004acb5
mov rdx, qword [rbx]
cmp r8, 6
jne 0x14004ad09
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 0x14004ace8
cmp rcx, 6
jne 0x14004acd0
mov eax, esi
jmp 0x14004aced
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004ad09
lea rcx, [rbx + 0x20]
xor edx, edx
lea r8d, [rax + 0xa]
call fcn.1400415c0
mov dword [r15 + 0x24], eax
jmp 0x14004ae2f
mov rdx, rbx
cmp r9, 0xf
jbe 0x14004ad15
mov rdx, qword [rbx]
cmp r8, 5
jne 0x14004ad92
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 0x14004ad48
cmp rcx, 5
jne 0x14004ad30
mov eax, esi
jmp 0x14004ad4d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004ad92
lea rcx, [rbx + 0x40]
xor edx, edx
lea r8d, [rax + 0xa]
call fcn.1400415c0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov rcx, qword [rbp - 0x49]
add rcx, 0x20
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.1400415c0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r15 + 0x28], xmm0
movss dword [r15 + 0x2c], xmm6
jmp 0x14004ae2f
mov rdx, rbx
cmp r9, 0xf
jbe 0x14004ad9e
mov rdx, qword [rbx]
cmp r8, 4
jne 0x14004aded
mov rcx, rsi
lea r10, str.name
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x14004adc8
cmp rcx, 4
jne 0x14004adb0
mov eax, esi
jmp 0x14004adcd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004aded
lea rdx, [rbx + 0x20]
cmp r15, rdx
je 0x14004ae33
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14004ade8
mov rdx, qword [rdx]
mov rcx, r15
jmp 0x14004ae2a
mov rcx, rbx
cmp r9, 0xf
jbe 0x14004adf9
mov rcx, qword [rbx]
cmp r8, 7
jne 0x14004ae33
lea rdx, str.country
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004ae33
lea rdx, [rbx + 0x20]
lea rcx, [r15 + 0x30]
cmp rcx, rdx
je 0x14004ae33
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14004ae2a
mov rdx, qword [rdx]
call fcn.140008e20
mov rbx, qword [rbp - 0x49]
test rbx, rbx
je 0x14004ae82
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x41]
mov rcx, rbx
call fcn.14000a030
mov rdx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x49]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ae7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004af20
call fcn.140147368
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x14004aeb9
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004aeb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004af27
call fcn.140147368
add r14, 0x20
cmp r14, r13
jne 0x14004a9e5
mov r13, qword [rbp - 9]
mov r14, qword [rbp - 0x11]
test r14, r14
je 0x14004af34
lea r8, [rbp - 0x11]
mov rdx, r13
mov rcx, r14
call fcn.14000a030
mov rdx, qword [rbp - 1]
mov rcx, qword [rbp - 0x11]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004af2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004af2e
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.140147368
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x14004af6c
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x14004af67
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004afae
mov rcx, r8
call fcn.140147368
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.140147480
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.1400016c0
nop
call fcn.140001620
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