Function at 0x601370
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x0061f040]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x40], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor edi, edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x0061bb1b]
call fcn.00601ab0
nop
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.NZT_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x6014e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, str.WinHttpOpen_failed:
add r9, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r9 + rbx], 0
jne 0x601424
mov rax, qword [r15 + 0x18]
cmp rbx, rax
ja 0x6014d6
mov rdi, r15
cmp rax, 0xf
jbe 0x601447
mov rdi, qword [r15]
mov qword [r15 + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.00612990
mov byte [rdi + rbx], 0
xor edi, edi
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x601499
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x601494
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x601a3f
mov rcx, r8
call fcn.00603a68
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
mov qword [r14 + 0x10], rdi
mov rax, r15
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.00603530
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbx
mov rcx, r15
call fcn.00601bb0
jmp 0x60145f
mov r8d, 0x50
xor r9d, r9d
lea rdx, str.64.95.10.243
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
test rax, rax
jne 0x60157f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, str.WinHttpConnect_failed:
add r9, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r9 + rbx], 0
jne 0x601521
mov rax, qword [r15 + 0x18]
cmp rbx, rax
ja 0x601566
mov rdi, r15
cmp rax, 0xf
jbe 0x601540
mov rdi, qword [r15]
mov qword [r15 + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.00612990
mov byte [rdi + rbx], 0
xor edi, edi
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x60145f
mov rdx, rbx
mov rcx, r15
call fcn.00601bb0
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x60145f
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str._api_mytest
lea rdx, str.POST
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
jne 0x601640
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, str.WinHttpOpenRequest_failed:
add r9, rax
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r9 + rbx], 0
jne 0x6015d0
mov rax, qword [r15 + 0x18]
cmp rbx, rax
ja 0x60161e
mov rdi, r15
cmp rax, 0xf
jbe 0x6015ef
mov rdi, qword [r15]
mov qword [r15 + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.00612990
mov byte [rdi + rbx], 0
xor edi, edi
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x60145f
mov rdx, rbx
mov rcx, r15
call fcn.00601bb0
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x60145f
mov r9, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x60164d
mov r9, qword [r14]
mov eax, dword [r14 + 0x10]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x6016f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, str.WinHttpSendRequest_failed:
add r9, rax
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [r9 + rbx], 0
jne 0x601690
mov rax, qword [r15 + 0x18]
cmp rbx, rax
ja 0x6016c9
cmp rax, 0xf
mov rdi, r15
jbe 0x6016af
mov rdi, qword [r15]
mov qword [r15 + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.00612990
mov byte [rdi + rbx], 0
xor edi, edi
jmp 0x6016d4
mov rdx, rbx
mov rcx, r15
call fcn.00601bb0
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x60145f
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x60172f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, str.WinHttpReceiveResponse_failed:
add r9, rax
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r9 + rbx], 0
jne 0x601720
jmp 0x60169a
mov dword [rsp + 0x60], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rbx, 0xffffffffffffffff
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x60]
mov r8d, 0x3ff
lea rdx, [rbp - 0x70]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x601925
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x601812
cmp rax, 0x400
jae 0x601a33
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rsi, rbx
inc rsi
cmp byte [rax + rsi], 0
jne 0x6017a4
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x6017f1
lea rax, [rsi + rcx]
mov qword [rsp + 0x78], rax
lea rdi, [rsp + 0x68]
cmp rdx, 0xf
cmova rdi, qword [rsp + 0x68]
add rdi, rcx
mov r8, rsi
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.00612990
mov byte [rdi + rsi], 0
jmp 0x601807
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x70]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.00601cf0
cmp dword [rsp + 0x60], 0
ja 0x601760
lea rax, [rsp + 0x68]
cmp r15, rax
je 0x601869
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova r9, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
mov rax, qword [r15 + 0x18]
cmp rbx, rax
ja 0x60185e
mov rdi, r15
cmp rax, 0xf
jbe 0x601846
mov rdi, qword [r15]
mov qword [r15 + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.00612990
mov byte [rdi + rbx], 0
jmp 0x601869
mov rdx, rbx
mov rcx, r15
call fcn.00601bb0
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x6018c3
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x6018be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x601a39
call fcn.00603a68
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], bl
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x601910
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x60190b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x601a3f
mov rcx, r8
call fcn.00603a68
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
jmp 0x6014a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, str.WinHttpReadData_failed:
add r9, rax
nop dword [rax + rax]
inc rbx
cmp byte [r9 + rbx], 0
jne 0x601940
mov rax, qword [r15 + 0x18]
cmp rbx, rax
ja 0x601977
mov rdi, r15
cmp rax, 0xf
jbe 0x60195f
mov rdi, qword [r15]
mov qword [r15 + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.00612990
mov byte [rdi + rbx], 0
jmp 0x601982
mov rdx, rbx
mov rcx, r15
call fcn.00601bb0
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x6019d8
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x6019d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x601a27
call fcn.00603a68
xor edi, edi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], dil
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x601499
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x601494
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x601a2d
jmp 0x601491
call fcn.00609ebc
nop
call fcn.00609ebc
nop
call fcn.00603658
nop
call fcn.00609ebc
nop
call fcn.00609ebc
int3