Function at 0x140045ff0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x1400d08c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, r8
mov rdi, rdx
mov qword [rbp - 0x69], rdx
xor eax, eax
mov dword [rbp - 0x79], eax
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov dword [rbp - 0x79], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
movdqa xmm1, xmmword [0x14008cec0]
movdqu xmmword [rbp - 0x51], xmm1
movsd xmm0, qword [str.country_code]
movsd qword [rbp - 0x61], xmm0
mov eax, dword [0x14008dd08]
mov dword [rbp - 0x59], eax
mov byte [rbp - 0x55], 0
mov byte [rbp - 0x41], 0x2e
lea rax, [rbp - 0x61]
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x61]
mov rcx, r8
call fcn.1400341b0
mov byte [rbp - 0x11], 0
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140008ee0
mov byte [rbp - 0x11], 1
mov dword [rbp - 0x79], 0x31
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x31]
call fcn.140008ee0
nop
cmp byte [rbp - 0x11], 0
je 0x1400460df
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1400460df
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400460da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046695
call fcn.140063654
mov dword [rbp - 0x79], 0x3f
lea rdx, [rbp - 0x31]
mov rcx, qword [rdi]
call fcn.140008d00
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x14004612e
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046128
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004669b
call fcn.140063654
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x140046169
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046164
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466a1
call fcn.140063654
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
movdqa xmm1, xmmword [0x1400bcbb0]
movdqu xmmword [rbp - 0x21], xmm1
mov byte [rbp - 0x31], 0
movups xmmword [rbp - 0x61], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_getpeername]
movdqu xmmword [rbp - 0x51], xmm1
mov eax, dword [str.state]
mov dword [rbp - 0x61], eax
movzx eax, byte [0x14008dd14]
mov byte [rbp - 0x5d], al
mov byte [rbp - 0x5c], 0
mov byte [rbp - 0x41], 0x2e
lea rax, [rbp - 0x61]
mov qword [rbp - 0x39], rax
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x71]
mov rcx, rsi
call fcn.1400276c0
mov rdx, qword [rbp - 0x71]
mov byte [rbp - 0x11], 0
test rdx, rdx
je 0x1400461e8
lea rcx, [rbp - 9]
call fcn.140008ee0
mov byte [rbp - 0x11], 1
mov ebx, 0x7bf
mov al, 1
jmp 0x1400461ef
mov ebx, 0xbf
xor al, al
mov dword [rbp - 0x79], ebx
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 9]
test al, al
cmovne rdx, rcx
lea rcx, [rbp + 0x17]
call fcn.140008ee0
or ebx, 0x40
mov dword [rbp - 0x79], ebx
cmp byte [rbp - 0x11], 0
je 0x140046250
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140046250
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004624b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466a7
call fcn.140063654
mov rcx, qword [rdi]
add rcx, 0x20
lea rdx, [rbp + 0x17]
call fcn.140008d00
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14004629c
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046296
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466ad
call fcn.140063654
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x1400462d7
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400462d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466b3
call fcn.140063654
movdqa xmm0, xmmword [0x1400bcbb0]
movdqu xmmword [rbp - 0x51], xmm0
mov byte [rbp - 0x61], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140046323
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004631e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466b9
call fcn.140063654
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_connect]
movdqu xmmword [rbp - 0x51], xmm1
mov dword [rbp - 0x61], 0x79746963
mov byte [rbp - 0x5d], 0
mov byte [rbp - 0x41], 0x2e
lea rax, [rbp - 0x61]
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.1400341b0
mov byte [rbp - 0x11], 0
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140008ee0
mov byte [rbp - 0x11], 1
or ebx, 0xc000
mov dword [rbp - 0x79], ebx
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x17]
call fcn.140008ee0
bts ebx, 0xd
cmp byte [rbp - 0x11], 0
je 0x1400463c9
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1400463c9
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400463c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466bf
call fcn.140063654
or ebx, 0x1800
mov dword [rbp - 0x79], ebx
mov rcx, qword [rdi]
add rcx, 0x40
lea rdx, [rbp + 0x17]
call fcn.140008d00
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14004641e
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046418
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466c5
call fcn.140063654
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x140046459
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046454
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466cb
call fcn.140063654
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
movdqa xmm1, xmmword [0x14008cec0]
movdqu xmmword [rbp - 0x51], xmm1
movsd xmm0, qword [str.street_line1]
movsd qword [rbp - 0x61], xmm0
mov eax, dword [0x14008dd20]
mov dword [rbp - 0x59], eax
mov byte [rbp - 0x55], 0
mov byte [rbp - 0x41], 0x2e
lea rax, [rbp - 0x61]
mov qword [rbp - 0x39], rax
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.14002e2e0
mov rcx, qword [rdi]
add rcx, 0x60
mov rdx, rax
call fcn.140008d00
mov r8, qword [rbp - 0x19]
cmp r8, 0xf
jbe 0x1400464c9
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.14000a130
movdqa xmm0, xmmword [0x1400bcbb0]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x140046515
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046510
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400466d1
call fcn.140063654
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
movdqa xmm1, xmmword [0x14008cec0]
movdqu xmmword [rbp - 0x51], xmm1
movsd xmm0, qword [str.street_line2]
movsd qword [rbp - 0x61], xmm0
mov eax, dword [0x14008dd30]
mov dword [rbp - 0x59], eax
mov byte [rbp - 0x55], 0
mov byte [rbp - 0x41], 0x2e
lea rax, [rbp - 0x61]
mov qword [rbp - 0x39], rax
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.14002e2e0
mov rcx, qword [rdi]
sub rcx, 0xffffffffffffff80
mov rdx, rax
call fcn.140008d00
mov r8, qword [rbp - 0x19]
cmp r8, 0xf
jbe 0x140046585
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.14000a130
movdqa xmm0, xmmword [0x1400bcbb0]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x1400465d1
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400465cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004668f
call fcn.140063654
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
movdqa xmm1, xmmword [0x14008ce90]
movdqu xmmword [rbp - 0x51], xmm1
movsd xmm0, qword [str.post_code]
movsd qword [rbp - 0x61], xmm0
movzx eax, byte [0x14008dd40]
mov byte [rbp - 0x59], al
mov byte [rbp - 0x58], 0
mov byte [rbp - 0x41], 0x2e
lea rax, [rbp - 0x61]
mov qword [rbp - 0x39], rax
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.14002e2e0
mov rcx, qword [rdi]
add rcx, 0xa0
mov rdx, rax
call fcn.140008d00
mov r8, qword [rbp - 0x19]
cmp r8, 0xf
jbe 0x140046645
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.14000a130
movdqa xmm0, xmmword [0x1400bcbb0]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
mov r8, qword [rbp - 0x49]
cmp r8, 0xf
jbe 0x14004666d
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
call fcn.14000a130
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400633b0
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret
call fcn.14006c380
nop
call fcn.14006c380
int3
call fcn.14006c380
nop
call fcn.14006c380
nop
call fcn.14006c380
int3
call fcn.14006c380
nop
call fcn.14006c380
nop
call fcn.14006c380
nop
call fcn.14006c380
int3
call fcn.14006c380
nop
call fcn.14006c380
int3
call fcn.14006c380
int3