Function at 0x140002230
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 1], r12
mov qword [rbp + 0xf], r12
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r12w
lea r8d, [r12 + 0xa]
lea rdx, str.ip_api.com
lea rcx, [rbp - 1]
call fcn.140002a40
nop
mov rdi, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400022a7
mov rbx, qword [rsi]
add rdi, rbx
jmp 0x1400022ad
add rdi, rsi
mov rbx, rsi
mov qword [rbp - 0x69], r12
mov rcx, r12
mov qword [rbp - 0x59], rcx
mov r8d, 7
mov qword [rbp - 0x51], r8
mov word [rbp - 0x69], r12w
mov rdx, rdi
sub rdx, rbx
cmp rdx, 8
jb 0x1400022e7
lea rcx, [rbp - 0x69]
call fcn.140003c10
mov rcx, r12
mov qword [rbp - 0x59], rcx
mov r8, qword [rbp - 0x51]
lea rax, [rbp - 0x69]
mov qword [rbp - 0x49], rax
cmp rbx, rdi
je 0x140002338
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x14000231f
lea rax, [rcx + 1]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x69]
cmp r8, 8
cmovae rax, qword [rbp - 0x69]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r12w
jmp 0x140002328
lea rcx, [rbp - 0x69]
call fcn.1400033b0
inc rbx
mov r8, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x59]
cmp rbx, rdi
jne 0x1400022f4
mov rax, r8
sub rax, rcx
cmp rax, 6
jb 0x1400023d7
lea rax, [rcx + 6]
mov qword [rbp - 0x59], rax
lea rdi, [rbp - 0x69]
cmp r8, 8
cmovae rdi, qword [rbp - 0x69]
lea r8, [rcx + rcx]
lea rax, [0x140006434]
lea rsi, str._json_
cmp rax, rdi
jbe 0x140002392
lea rax, [r8 + rdi]
cmp rsi, rax
ja 0x140002392
cmp rdi, rsi
ja 0x140002387
mov rbx, r12
jmp 0x140002397
mov rbx, rdi
sub rbx, rsi
sar rbx, 1
jmp 0x140002397
mov ebx, 6
lea rcx, [rdi + 0xc]
add r8, 2
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 0xc
sub r8, rbx
lea rdx, [rsi + 0xc]
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x69]
jmp 0x1400023ec
mov ebx, 6
mov qword [rsp + 0x28], rbx
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.140003a70
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rcx, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x29]
mov rax, rdx
sub rax, rcx
cmp rax, 0x13
jb 0x140002461
lea rdi, [rcx + 0x13]
mov qword [rbp - 0x31], rdi
lea rbx, [rbp - 0x41]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x41]
lea rcx, [rbx + rcx*2]
mov r8d, 0x26
lea rdx, str._fieldscountryCode
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r12w
lea rax, [rbp - 0x41]
jmp 0x140002478
mov qword [rsp + 0x20], 0x13
mov edx, 0x13
lea rcx, [rbp - 0x41]
call fcn.1400035e0
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x11], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x1400024e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400024e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e30
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r12w
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x14000253a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002535
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002535
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e30
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], r12w
lea r8, [rbp - 0x21]
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x1f]
call fcn.140001830
nop
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x41]
call fcn.140002050
mov rbx, qword [0x1400086e0]
mov r14, qword [rbp - 0x29]
mov rdi, qword [rbp - 0x41]
mov rsi, qword [0x1400086e8]
cmp rbx, rsi
je 0x1400025c7
mov r15, qword [rbp - 0x31]
nop dword [rax]
lea rdx, [rbp - 0x41]
cmp r14, 0x10
cmovae rdx, rdi
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400025ad
mov rcx, qword [rbx]
cmp r8, r15
jne 0x1400025bb
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400025c4
add rbx, 0x20
cmp rbx, rsi
jne 0x140002590
cmp rbx, rsi
setne bl
cmp r14, 0x10
jb 0x140002605
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400025fc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140003e30
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x140002643
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000263e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000263e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e30
mov qword [rbp + 0x2f], r12
mov qword [rbp + 0x37], 0xf
mov byte [rbp + 0x1f], 0
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140002696
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002691
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002691
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e30
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r12w
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1400026ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003e30
movzx eax, bl
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140003e10
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret