Function at 0x140031942
Capabilities:
Get geographical location

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
mov r15, rdx
mov rbx, rcx
lea rsi, [rsp + 0x188]
mov rcx, rsi
call fcn.140002b50
cmp byte [rsi], 0
movabs r12, 0x8000000000000000
je 0x14003198e
mov rax, qword [rsp + 0x190]
mov qword [rbx + 8], rax
mov qword [rbx], r12
jmp 0x1400324f4
cmp byte [rsp + 0x189], 0
je 0x140032031
movzx eax, byte [rsp + 0x18a]
cmp eax, 0x5b
je 0x140031dd2
cmp eax, 0x7b
jne 0x1400320e5
dec byte [r15 + 0x30]
je 0x1400320bc
inc qword [r15 + 0x28]
lea rdi, [r15 + 0x18]
lea rdx, [r12 + 1]
mov al, 1
mov dword [rsp + 0x58], eax
mov byte [rsp + 0x60], 2
xor r14d, r14d
mov r13, r12
lea r12, [rsp + 0x128]
lea rsi, [rsp + 0x90]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov rcx, r12
mov rdx, r15
call fcn.140002b50
cmp byte [rsp + 0x128], 0
jne 0x140032024
cmp byte [rsp + 0x129], 0
je 0x140032250
mov al, byte [rsp + 0x12a]
movzx ecx, al
cmp ecx, 0x2c
je 0x140031a59
cmp ecx, 0x7d
je 0x140032045
test r14b, 1
je 0x140031a91
jmp 0x140032275
test r14b, 1
je 0x140031a91
inc qword [r15 + 0x28]
mov rcx, rsi
mov rdx, r15
call fcn.140002b50
cmp byte [rsp + 0x90], 0
jne 0x1400320d8
cmp byte [rsp + 0x91], 0
je 0x14003232a
mov al, byte [rsp + 0x92]
cmp al, 0x22
jne 0x14003210e
inc qword [r15 + 0x28]
and qword [r15 + 0x10], 0
mov rcx, rsi
mov rdx, rdi
mov r8, r15
call fcn.140110b56
cmp dword [rsp + 0x90], 2
mov rbp, qword [rsp + 0x98]
je 0x140032344
mov r14, qword [rsp + 0xa0]
mov r9d, 2
mov rcx, rbp
mov rdx, r14
lea r8, [0x1403b0009]
call fcn.14006436c
test al, al
jne 0x140031cde
mov r9d, 6
mov rcx, rbp
mov rdx, r14
lea r8, [0x1403b0483]
call fcn.14006436c
test al, al
jne 0x140031d26
mov r9d, 0xa
mov rcx, rbp
mov rdx, r14
lea r8, [0x1403b001b]
call fcn.14006436c
test al, al
jne 0x140031c08
mov r9d, 9
mov rcx, rbp
mov rdx, r14
lea r8, [0x1403b0025]
call fcn.14006436c
test al, al
jne 0x140031d57
mov r9d, 8
mov rcx, rbp
mov rdx, r14
lea r8, [0x1403b0013]
call fcn.14006436c
test al, al
jne 0x140031c68
mov r9d, reloc.WS2_32.dll_listen
mov rcx, rbp
mov rdx, r14
lea r8, [0x1403b0489]
call fcn.14006436c
test al, al
jne 0x140031ba3
mov rcx, r15
call fcn.140018043
mov r14b, 1
test rax, rax
je 0x140031a0f
jmp 0x140032341
movabs rax, 0x8000000000000000
lea r14, [rax + 1]
cmp qword [rsp + 0x20], r14
jne 0x1400325c4
lea rcx, [rsp + 0x70]
mov rdx, r15
call fcn.1400193c2
mov rax, qword [rsp + 0x70]
cmp rax, r14
je 0x1400322fa
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, qword [rsp + 0x28]
call fcn.140166e5b
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov r14b, 1
jmp 0x140031a0f
movabs r14, 0x8000000000000000
cmp r13, r14
jne 0x140032587
lea rcx, [rsp + 0x158]
mov rdx, r15
call fcn.1400183a3
mov r13, qword [rsp + 0x158]
cmp r13, r14
je 0x1400322b0
mov rcx, r14
mov rdx, qword [rsp + 0x40]
call fcn.140112200
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x148], rax
jmp 0x140031cd1
movabs rax, 0x8000000000000000
lea r14, [rax + 1]
cmp qword [rsp + 0x48], r14
jne 0x1400325ae
lea rcx, [rsp + 0x108]
mov rdx, r15
call fcn.1400193c2
mov rax, qword [rsp + 0x108]
cmp rax, r14
je 0x1400322eb
mov qword [rsp + 0x48], rax
mov rcx, r14
mov rdx, qword [rsp + 0x68]
call fcn.140166e5b
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x138], rax
mov r14b, 1
mov rdx, qword [rsp + 0x38]
jmp 0x140031a0a
test byte [rsp + 0x58], 1
je 0x14003256b
mov rcx, r15
call fcn.140002c22
test rax, rax
jne 0x140032341
mov rcx, r15
call fcn.140016965
mov rbp, rdx
test rax, rax
jne 0x140032344
mov r14b, 1
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x150], rbp
jmp 0x140031dc3
cmp byte [rsp + 0x60], 2
jne 0x140032579
mov rcx, rsi
mov rdx, r15
call fcn.140018518
cmp byte [rsp + 0x90], 0
jne 0x1400320d8
mov al, byte [rsp + 0x91]
mov byte [rsp + 0x60], al
jmp 0x140031dc0
movabs rax, 0x8000000000000000
lea r14, [rax + 1]
cmp qword [rsp + 0x50], r14
jne 0x1400325a0
lea rcx, [rsp + 0x170]
mov rdx, r15
call fcn.1400193c2
mov rax, qword [rsp + 0x170]
cmp rax, r14
je 0x1400322c3
mov qword [rsp + 0x50], rax
mov rcx, r14
mov rdx, qword [rsp + 0x30]
call fcn.140166e5b
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x140], rax
mov r14b, 1
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
jmp 0x140031a05
dec byte [r15 + 0x30]
je 0x1400320bc
inc qword [r15 + 0x28]
mov qword [rsp + 0x108], r15
lea rsi, [rsp + 0x70]
mov rcx, rsi
mov rdx, r15
call fcn.140002b50
cmp byte [rsi], 0
je 0x140031e07
mov rdi, qword [rsp + 0x78]
jmp 0x14003216c
cmp byte [rsp + 0x71], 0
je 0x140032142
cmp byte [rsp + 0x72], 0x5d
je 0x14003215b
mov byte [rsp + 0x110], 0
mov rcx, r15
call fcn.140016965
mov rdi, rdx
test rax, rax
jne 0x14003216c
lea rsi, [rsp + 0x70]
mov rcx, rsi
mov rdx, r15
call fcn.140002b50
cmp byte [rsi], 0
jne 0x140031dfd
cmp byte [rsp + 0x71], 0
je 0x140032142
movzx eax, byte [rsp + 0x72]
cmp eax, 0x2c
jne 0x140032310
inc qword [r15 + 0x28]
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, r15
call fcn.140002b50
cmp byte [rsi], 0
jne 0x140032104
cmp byte [rsp + 0x91], 0
je 0x140032536
cmp byte [rsp + 0x92], 0x5d
je 0x14003254a
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, r15
call fcn.140016d18
cmp byte [rsi], 0
jne 0x140032104
lea rsi, [rsp + 0x90]
mov bpl, byte [rsi + 1]
lea rdx, [rsp + 0x108]
mov rcx, rsi
call fcn.140019de3
mov r14, qword [rsi]
movabs rax, 0x8000000000000001
cmp r14, rax
je 0x140032104
movabs rax, 0x8000000000000000
cmp r14, rax
je 0x14003263e
lea rsi, [rsp + 0x90]
mov r13, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
lea rdx, [rsp + 0x108]
mov rcx, rsi
call fcn.14001a03d
mov rax, qword [rsi]
movabs rsi, 0x8000000000000002
cmp rax, rsi
je 0x140032529
mov byte [rsp + 0x20], bpl
mov qword [rsp + 0x38], rax
movabs rcx, 0x8000000000000001
cmp rax, rcx
je 0x14003264f
mov qword [rsp + 0x60], r12
lea rbp, [rsp + 0x90]
mov r12, qword [rbp + 8]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x108]
mov rcx, rbp
call fcn.14001a03d
mov rax, qword [rbp]
cmp rax, rsi
je 0x14003255e
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rax
movabs rcx, 0x8000000000000001
cmp rax, rcx
je 0x140032665
lea rbp, [rsp + 0x90]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x108]
mov rcx, rbp
call fcn.14001a03d
mov r14, qword [rbp]
cmp r14, rsi
je 0x1400325f6
movabs rax, 0x8000000000000001
cmp r14, rax
je 0x14003267b
lea rax, [rsp + 0x98]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
mov rsi, rdi
mov rdi, r13
movabs r12, 0x8000000000000000
mov r13, qword [rsp + 0x58]
jmp 0x14003216f
mov rbp, qword [rsp + 0x130]
jmp 0x140032344
lea rdx, [rsp + 0x90]
mov qword [rdx], 5
jmp 0x1400320cb
test byte [rsp + 0x58], 1
movabs r12, 0x8000000000000000
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
jne 0x140032289
mov al, byte [rsp + 0x60]
cmp al, 2
je 0x140032297
cmp r13, r12
je 0x1400322d2
and al, 1
mov byte [rsp + 0x60], al
lea rax, [r12 + 1]
mov r14, qword [rsp + 0x50]
cmp r14, rax
cmove r14, r12
mov rbx, qword [rsp + 0x48]
cmp rbx, rax
cmove rbx, r12
mov rcx, qword [rsp + 0x20]
cmp rcx, rax
cmove rcx, r12
mov qword [rsp + 0x20], rcx
mov rbp, qword [rsp + 0x40]
mov qword [rsp + 0x28], rsi
jmp 0x1400323af
lea rdx, [rsp + 0x90]
mov qword [rdx], reloc.WS2_32.dll_setsockopt
mov rcx, r15
call fcn.1402e2afc
jmp 0x140031982
mov rbp, qword [rsp + 0x98]
jmp 0x140032344
lea r8, [0x1402ead30]
lea rdx, [rsp + 0x90]
mov rcx, r15
call fcn.1402de729
mov rdx, rax
jmp 0x140032508
mov rdi, qword [rsp + 0x98]
jmp 0x14003216c
movzx eax, al
cmp eax, 0x7d
movabs r12, 0x8000000000000000
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
lea rdx, [rsp + 0x90]
jne 0x140032264
mov qword [rdx], reloc.WS2_32.dll_select
jmp 0x14003226b
lea rdx, [rsp + 0x90]
mov qword [rdx], 2
mov rcx, r15
call fcn.1402e2afc
jmp 0x140032169
lea rdx, str.struct_User_with_6_elements
xor ecx, ecx
call fcn.1402dec7a
mov rdi, rax
mov r13, r12
inc byte [r15 + 0x30]
mov rcx, r15
call fcn.140002d46
mov rbp, rax
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], rdi
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], r14
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rsi
mov al, byte [rsp + 0x20]
mov byte [rsp + 0xf8], al
mov qword [rsp + 0x100], rbp
cmp r13, r12
mov rdx, rdi
jne 0x14003222f
test rbp, rbp
jne 0x140032482
jmp 0x140032495
test rbp, rbp
je 0x1400324bc
lea rcx, [rsp + 0x90]
call fcn.140009a8f
mov r13, r12
mov rdx, rbp
jmp 0x1400324d4
lea rdx, [rsp + 0x90]
mov qword [rdx], 3
jmp 0x140032339
mov qword [rdx], reloc.WS2_32.dll_recv
mov rcx, r15
call fcn.1402e2afc
jmp 0x1400322a8
lea rdx, [rsp + 0x90]
mov qword [rdx], 8
jmp 0x140032339
lea rcx, [0x1403b0009]
mov edx, 2
jmp 0x1400322a3
lea rcx, [0x1403b0483]
mov edx, 6
call fcn.1402dec24
mov rbp, rax
jmp 0x140032358
mov rbp, qword [rsp + 0x160]
mov r13, r14
mov r12, r14
jmp 0x14003234e
mov rbp, qword [rsp + 0x178]
mov qword [rsp + 0x50], r14
jmp 0x140032344
lea rcx, [0x1403b001b]
mov edx, 0xa
call fcn.1402dec24
mov rbp, rax
mov r13, r12
jmp 0x140032358
mov rbp, qword [rsp + 0x110]
mov qword [rsp + 0x48], r14
jmp 0x140032344
mov rbp, qword [rsp + 0x78]
movabs r12, 0x8000000000000000
mov rdi, qword [rsp + 0x30]
jmp 0x14003236f
cmp eax, 0x5d
jne 0x140032515
lea rdx, str.struct_User_with_6_elements
mov ecx, 1
jmp 0x140032164
lea rdx, [rsp + 0x90]
mov qword [rdx], 5
mov rcx, r15
call fcn.1402e2afc
mov rbp, rax
movabs r12, 0x8000000000000000
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
lea rax, [r12 + 1]
cmp rcx, rax
je 0x14003236f
mov rdx, rsi
call fcn.140112200
lea rsi, [r12 + 1]
mov rcx, qword [rsp + 0x48]
cmp rcx, rsi
je 0x140032388
mov rdx, qword [rsp + 0x68]
call fcn.140112200
mov rcx, qword [rsp + 0x50]
cmp rcx, rsi
je 0x14003239a
mov rdx, rdi
call fcn.140112200
cmp r13, r12
je 0x1400323ac
mov rcx, r13
mov rdx, qword [rsp + 0x40]
call fcn.1400a3a56
mov r13, r12
inc byte [r15 + 0x30]
mov rcx, r15
call fcn.140002cd1
mov rsi, rax
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], rbp
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xb0], rdi
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xf0], rax
mov al, byte [rsp + 0x60]
mov byte [rsp + 0xf8], al
mov qword [rsp + 0x100], rsi
cmp r13, r12
mov rdx, rbp
jne 0x14003249a
test rsi, rsi
mov rbx, qword [rsp + 0x120]
je 0x140032495
lea rcx, [rsp + 0x100]
mov rsi, rdx
call fcn.140009c2e
mov rdx, rsi
mov r13, r12
jmp 0x1400324d4
test rsi, rsi
mov rbx, qword [rsp + 0x120]
je 0x1400324bc
lea rcx, [rsp + 0x90]
call fcn.140009a8f
mov r13, r12
mov rdx, rsi
jmp 0x1400324d4
lea rsi, [rsp + 0xa0]
lea rdi, [rsp + 0x188]
mov ecx, listen
rep movsq qword [rdi], qword [rsi]
cmp r13, r12
je 0x140032508
lea rdi, [rbx + 0x10]
lea rsi, [rsp + 0x188]
mov ecx, listen
rep movsq qword [rdi], qword [rsi]
mov qword [rbx], r13
mov qword [rbx + 8], rdx
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.1402de4b0
jmp 0x140031982
lea rdx, [rsp + 0x90]
mov qword [rdx], 7
jmp 0x140032151
mov rdi, qword [rsp + 0x98]
jmp 0x140032624
lea rdx, [rsp + 0x90]
mov qword [rdx], 5
jmp 0x140032151
lea rdx, [rsp + 0x90]
mov qword [rdx], reloc.WS2_32.dll_select
jmp 0x140032151
mov rdi, qword [rsp + 0x98]
jmp 0x140032617
lea rcx, [0x1403b0009]
mov edx, 2
jmp 0x1400325ba
lea rcx, [0x1403b0483]
mov edx, 6
jmp 0x1400325ba
lea rcx, [0x1403b001b]
mov edx, 0xa
call fcn.1402decf1
mov rbp, rax
jmp 0x1400322bb
lea rcx, [0x1403b0025]
mov edx, 9
jmp 0x1400325ba
lea rcx, [0x1403b0013]
mov edx, 8
call fcn.1402decf1
jmp 0x140032341
lea rcx, [0x1403b0489]
mov edx, reloc.WS2_32.dll_listen
call fcn.1402decf1
mov rcx, qword [rsp + 0x20]
mov rbp, rax
movabs r12, 0x8000000000000000
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
jmp 0x140032367
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
call fcn.140112200
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov rdx, r12
call fcn.140112200
mov rcx, r14
mov rdx, r13
call fcn.1400a3a56
movabs r12, 0x8000000000000000
jmp 0x14003216c
lea rdx, str.struct_User_with_6_elements
mov ecx, 2
jmp 0x140032164
lea rdx, str.struct_User_with_6_elements
mov ecx, 3
call fcn.1402dec7a
mov rdi, rax
jmp 0x140032624
lea rdx, str.struct_User_with_6_elements
mov ecx, 4
call fcn.1402dec7a
mov rdi, rax
jmp 0x14003260d
lea rdx, str.struct_User_with_6_elements
mov ecx, 5
call fcn.1402dec7a
mov rdi, rax
jmp 0x1400325fe