Function at 0x180001250
Capabilities:
Check http status code
Connect to http server
Create http request
Get hostname
Get session user name
Get system information on windows
Parse url
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push rbp
push r13
push r15
lea rbp, [rsp - 0x1510]
mov eax, 0x1610
call fcn.1800025f0
sub rsp, rax
mov rax, qword [0x180005008]
xor rax, rsp
mov qword [rbp + 0x14e0], rax
xor r15d, r15d
mov qword [rbp - 0x80], r8
mov qword [rsp + 0x78], rdx
lea rcx, str.Mozilla_5.0
xor r9d, r9d
mov dword [rbp], r15d
xor r8d, r8d
mov dword [rbp + 0x18], 4
lea edx, [r15 + 1]
mov dword [rsp + 0x20], r15d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r13, rax
test rax, rax
jne 0x1800012ca
lea rcx, str.Failed_to_initialize_WinINet._n
call fcn.180001010
xor eax, eax
jmp 0x180001829
xorps xmm0, xmm0
lea rcx, [rbp + 0xc0]
xor eax, eax
xor edx, edx
movups xmmword [rbp - 0x70], xmm0
mov r8d, 0x208
mov dword [rbp - 0x70], 0x68
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0xc0]
mov dword [rbp - 0x50], 0x104
xor edx, edx
mov qword [rbp - 0x58], rax
mov r8d, 0x208
lea rcx, [rbp + 0x2d0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x2d0]
mov dword [rbp - 0x20], 0x104
lea r9, [rbp - 0x70]
mov qword [rbp - 0x28], rax
xor r8d, r8d
lea rcx, str.http:__192.168.0.65:8090_api_v1_status_
xor edx, edx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x180001374
lea rcx, str.Failed_to_parse_URL._n
call fcn.180001010
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x180001829
movzx r8d, word [rbp - 0x4c]
xor r9d, r9d
mov rdx, qword [rbp - 0x58]
mov rcx, r13
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x1600], rdi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x70], rax
mov rdi, rax
test rax, rax
jne 0x1800013d1
lea rcx, str.Failed_to_connect_to_server._n
call fcn.180001010
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x180001821
mov qword [rsp + 0x1630], rbx
lea rcx, [rbp + 8]
mov qword [rsp + 0x1608], rsi
mov qword [rsp + 0x15f8], r12
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x18000146d
movzx ecx, byte [rbp + 0x16]
movzx edx, byte [rbp + 0x15]
movzx r8d, byte [rbp + 0x14]
movzx r9d, byte [rbp + 0x13]
movzx eax, byte [rbp + 0x17]
movzx r10d, byte [rbp + 0x12]
movzx r11d, byte [rbp + 0x11]
movzx ebx, byte [rbp + 0x10]
movzx edi, word [rbp + 0xe]
movzx esi, word [rbp + 0xc]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], ecx
lea rcx, [rbp + 0x50]
mov dword [rsp + 0x58], edx
mov edx, 0x25
mov dword [rsp + 0x50], r8d
lea r8, str._08lX__04hX__04hX__02hhX_02hhX__02hhX_02hhX_02hhX_02hhX_02hhX_02hhX
mov dword [rsp + 0x48], r9d
mov r9d, dword [rbp + 8]
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
call fcn.180001130
mov rdi, qword [rsp + 0x70]
movzx eax, byte [rbp + 0x50]
test al, al
je 0x180001496
lea rbx, [rbp + 0x50]
nop dword [rax]
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx], al
lea rbx, [rbx + 1]
movzx eax, byte [rbx]
test al, al
jne 0x180001480
lea rdx, [rbp + 0x50]
lea rcx, str.___UUID:__s_n
call fcn.180001070
lea rbx, str.UnknownHostName
mov qword [rsp + 0x15f0], r14
nop word [rax + rax]
movups xmm0, xmmword [0x180005180]
mov eax, dword [0x1800051b8]
lea rdx, [0x180005170]
movups xmm1, xmmword [0x180005190]
mov r8, qword [rbp - 0x28]
xor r9d, r9d
movups xmmword [rbp + 0x78], xmm0
mov qword [rsp + 0x38], r15
mov rcx, rdi
movups xmm0, xmmword [0x1800051a0]
mov dword [rbp + 0xb0], eax
movzx eax, word [0x1800051bc]
movups xmmword [rbp + 0x98], xmm0
mov dword [rsp + 0x30], 0x80000000
movsd xmm0, qword [0x1800051b0]
mov qword [rsp + 0x28], r15
movsd qword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0x88], xmm1
mov word [rbp + 0xb4], ax
mov qword [rsp + 0x20], r15
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r12, rax
test rax, rax
je 0x1800017e1
lea rdx, [rbp + 4]
mov dword [rbp + 4], 0x10
lea rcx, [0x1800059b0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rsi, [0x1800059b0]
mov dword [rbp + 4], 0x101
test eax, eax
lea rdx, [rbp + 4]
lea rcx, [0x1800059c0]
cmove rsi, rbx
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
lea r14, [0x1800059c0]
lea rax, str.UnknownUserName
lea rcx, [rbp + 0x20]
cmove r14, rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [rbp + 0x20]
test ecx, ecx
je 0x1800015e1
sub ecx, 5
je 0x1800015d8
sub ecx, 1
je 0x1800015cf
cmp ecx, 3
je 0x1800015c6
lea rbx, str.UnknownArch
jmp 0x1800015e8
lea rbx, [0x18000517c]
jmp 0x1800015e8
lea rbx, str.IA64
jmp 0x1800015e8
lea rbx, [0x18000516c]
jmp 0x1800015e8
lea rbx, [0x18000512c]
mov ecx, 0x200
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x180001622
mov qword [rsp + 0x30], rbx
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], r14
lea r8, str.__uuid_:___s____hostname_:___s____username_:___s____arch_:___s__
mov edx, 0x200
mov qword [rsp + 0x20], rsi
mov rcx, rax
call fcn.1800010d0
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rdi + rax], r15b
jne 0x180001630
lea rcx, [rbp + 0x78]
mov r8, rbx
inc r8
cmp word [rcx + r8*2], r15w
jne 0x180001640
mov r9, rdi
mov dword [rsp + 0x20], eax
lea rdx, [rbp + 0x78]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1800017c5
lea r9, [rbp + 0x18]
mov qword [rsp + 0x20], r15
lea r8, [rbp]
mov edx, 0x20000013
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edx, dword [rbp]
cmp edx, 0xc8
je 0x1800016c5
lea rcx, str.____Response:_HTTP_error:__lu__retrying_in_6s_n
call fcn.180001010
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [rbp], 0xc8
lea rbx, str.UnknownHostName
mov rdi, qword [rsp + 0x70]
jne 0x1800014c0
lea rcx, str.___Received_200_n
call fcn.180001070
xorps xmm0, xmm0
lea r9, [rbp - 0x78]
mov r8d, 0x1000
lea rdx, [rbp + 0x4e0]
mov rcx, r12
mov edi, r15d
movups xmmword [rbp + 8], xmm0
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rsi, qword [rbp + 8]
test eax, eax
je 0x18000176a
mov r14, qword [rbp + 0x10]
mov rbx, r15
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x18000176a
mov edx, eax
mov rcx, rsi
add rdx, rbx
mov rax, 0xffffffffffffffff
cmovb rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1800017a0
mov r8d, dword [rbp - 0x78]
lea rcx, [r14 + rax]
lea rdx, [rbp + 0x4e0]
mov rsi, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rbp - 0x78]
lea r9, [rbp - 0x78]
add r14, rax
lea rdx, [rbp + 0x4e0]
mov r8d, 0x1000
mov rcx, r12
mov rdi, r14
mov rbx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180001704
mov rax, qword [rsp + 0x78]
mov rcx, r12
mov qword [rax], rsi
mov rax, qword [rbp - 0x80]
mov dword [rax], edi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
setne r15b
mov eax, r15d
jmp 0x180001801
lea rcx, str.Memory_allocation_failed._n
call fcn.180001010
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x70]
jmp 0x1800017f0
lea rcx, str.____Failed_to_send_request._n
call fcn.180001010
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x70]
jmp 0x1800017f0
lea rcx, [0x180005130]
call fcn.180001010
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov r14, qword [rsp + 0x15f0]
mov rbx, qword [rsp + 0x1630]
mov rsi, qword [rsp + 0x1608]
mov r12, qword [rsp + 0x15f8]
mov rdi, qword [rsp + 0x1600]
mov rcx, qword [rbp + 0x14e0]
xor rcx, rsp
call fcn.180001860
add rsp, 0x1610
pop r15
pop r13
pop rbp
ret