Function at 0x14000fd80
Capabilities:
Check http status code
Connect to http server
Create http request
Get geographical location
Parse url
Send data
Send http request

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x600
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov byte [r11 - 0x538], r15b
xor edx, edx
mov r8d, 0xff
lea rcx, [r11 - 0x537]
call fcn.14001e2f0
mov byte [rsp + 0x48], r15b
xor eax, eax
mov word [rsp + 0x49], ax
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x54], 3
lea rdx, [0x140037c00]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x140010266
mov rcx, rdi
call fcn.14001069c
test eax, eax
je 0x140010266
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x48]
lea rdx, str.Country
xor ecx, ecx
call fcn.140011934
test eax, eax
je 0x14000fe51
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [r15 + 1]
jmp 0x140010268
mov qword [rsp + 0x68], r15
mov r12, r15
mov qword [rsp + 0x60], r15
mov rbx, r15
mov qword [rsp + 0x58], rbx
mov esi, r15d
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.jupdate
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140010238
mov r12d, 0x68
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.14001e2f0
mov dword [rsp + 0x80], r12d
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x98], rax
mov ecx, pe_nt_image_headers64
mov dword [rsp + 0xa0], ecx
mov word [rsp + 0xa4], r15w
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xd0], ecx
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0xe0], ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, eax
lea r9, [rsp + 0x80]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
lea rdi, [0x140035cab]
mov qword [rsp + 0x20], rdi
mov r9, rdi
movzx r8d, word [rsp + 0xa4]
mov rdx, qword [rsp + 0x98]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140010238
lea rcx, [rsp + 0xf0]
cmp dword [rsp + 0xd0], r15d
mov rdx, qword [rsp + 0xc8]
jne 0x14000ff98
lea rdx, [0x140035d34]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [rsp + 0xe0], r15d
je 0x14000ffbe
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x4400000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
lea r9, str.HTTP_1.1
lea r8, [rsp + 0xf0]
lea rdx, str.HEAD
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140010238
mov esi, 1
mov edi, esi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x140010095
test edi, edi
je 0x14001022f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov ecx, eax
sub ecx, 0x2ee2
je 0x140010085
sub ecx, 5
je 0x140010085
cmp ecx, 0x16
je 0x140010085
xor edi, edi
mov dword [rsp + 0x44], edi
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
and qword [rsp + 0x20], rdi
lea r9d, [rdi + 7]
mov r8d, r15d
mov rdx, rbx
call qword [sym.imp.WININET.dll_InternetErrorDlg]
xor r15d, r15d
cmp eax, 0x2f00
jne 0x140010090
mov edi, esi
mov dword [rsp + 0x44], esi
jmp 0x140010090
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x44], r15d
jmp 0x140010010
test edi, edi
je 0x14001022f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
and dword [rsp + 0x4c], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4c]
mov edx, 0x20000013
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x1400100d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov edi, esi
mov dword [rsp + 0x44], esi
cmp dword [rsp + 0x4c], 0x197
jne 0x140010158
test edi, edi
je 0x140010158
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
and qword [rsp + 0x20], 0
mov r9d, 7
mov r8d, r15d
mov rdx, rbx
call qword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
je 0x14001011a
xor edi, edi
mov dword [rsp + 0x44], edi
jmp 0x140010156
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [rsp + 0x40], 4
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x4c]
mov edx, 0x20000013
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
jmp 0x1400100dc
cmp dword [rsp + 0x4c], 0xc8
jne 0x14001022f
mov dword [rsp + 0x40], pe_nt_image_headers64
xor r15d, r15d
mov byte [rsp + 0x1f0], r15b
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x1f1]
call fcn.14001e2f0
lea rdx, str.COUNTRY
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xf0]
mov edx, 0xffff
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x140010235
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x140010235
mov dword [rsp + 0x70], esi
lea r8d, [r15 + 3]
lea rdx, [rsp + 0xf0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
mov r8, r14
lea rdx, str.Country
xor ecx, ecx
call fcn.140010328
test eax, eax
je 0x140010238
mov r8, r14
lea rdx, str.Save_Country_Code__s_after_GetCountry__
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x1f0]
call fcn.1400113f8
jmp 0x140010238
mov esi, dword [rsp + 0x50]
jmp 0x140010238
mov esi, r15d
test rbx, rbx
je 0x140010246
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test r12, r12
je 0x140010254
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test r13, r13
je 0x140010262
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
jmp 0x140010268
xor eax, eax
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.14001eba0
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret