Function at 0x140025e18
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140055910]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, r8
mov r12, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x28], r8
xor ebx, ebx
mov r14d, ebx
lea r15d, [rbx + 5]
mov dword [rsp + 0x24], ebx
mov qword [r8 + 0x10], rbx
mov rax, r8
cmp qword [r8 + 0x18], 8
jb 0x140025e7b
mov rax, qword [r8]
mov word [rax], bx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], 0xf
mov byte [rsp + 0x68], bl
mov eax, r15d
dec r15d
mov dword [rsp + 0x30], r15d
test eax, eax
jle 0x140025ee1
lea rdx, [rsp + 0x24]
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
nop dword [rax + rax]
test eax, eax
jne 0x140025eff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r14d, 0x80004005
test ecx, ecx
cmovs r14d, ecx
cmp qword [rsp + 0x78], rbx
jne 0x140025f8f
lea rdx, str.Payload_is_empty
xor ecx, ecx
call fcn.14000b12c
jmp 0x1400261d1
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x140025ee1
lea ecx, [rax + 1]
lea rdx, [0x1400563c4]
call fcn.140030efc
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140025f2b
mov r14d, 0x8007000e
jmp 0x140025ee1
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, rdi
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
nop dword [rax + rax]
test eax, eax
je 0x140025ebb
mov eax, dword [rsp + 0x24]
mov byte [rax + rdi], bl
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14000bb24
nop
jmp 0x140025f82
mov rcx, rdi
call fcn.14002fd38
jmp 0x140025e93
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_mbstowcs]
nop dword [rax + rax]
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
test rax, rax
je 0x140025fd7
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400262fc
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
sar rax, 1
je 0x14002620c
mov r8, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_mbstowcs]
nop dword [rax + rax]
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
cmp rdi, rax
je 0x140026179
movabs rdx, 0x7ffffffffffffffe
movzx ecx, word [rdi]
mov word [rsp + 0x20], cx
mov r12, qword [rsi + 0x10]
mov r13, qword [rsi + 0x18]
cmp r12, r13
jae 0x14002606c
lea rax, [r12 + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp r13, 8
jb 0x14002605c
mov rax, qword [rsi]
mov word [rax + r12*2], cx
mov word [rax + r12*2 + 2], bx
jmp 0x140026165
mov rax, rdx
sub rax, r12
cmp rax, 1
jb 0x140026212
lea r15, [r12 + 1]
or r15, 7
cmp r15, rdx
jbe 0x14002608f
mov r15, rdx
jmp 0x1400260ab
mov rcx, r13
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r13, rax
ja 0x14002608a
lea rax, [rcx + r13]
cmp r15, rax
cmovb r15, rax
lea rdx, [r15 + 1]
call fcn.14000d67c
mov qword [rsp + 0x28], rax
lea rcx, [r12 + 1]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], r15
lea r15, [r12 + r12]
mov qword [rsp + 0x40], r15
mov rcx, rax
cmp r13, 8
jb 0x140026138
mov r15, qword [rsi]
lea r8, [r12 + r12]
mov rdx, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r12, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
movzx ecx, word [rsp + 0x20]
mov word [r12 + rax], cx
mov word [r12 + rax + 2], bx
lea rdx, [r13*2 + 2]
cmp rdx, 0x1000
jb 0x14002612e
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x1400261bb
mov r15, rcx
mov rcx, r15
call fcn.14002fd38
jmp 0x140026158
mov r8, r15
mov rdx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r12, qword [rsp + 0x28]
movzx ecx, word [rsp + 0x20]
mov word [r12 + r15], cx
mov word [r12 + r15 + 2], bx
movabs rdx, 0x7ffffffffffffffe
mov qword [rsi], r12
add rdi, 2
cmp rdi, qword [rsp + 0x38]
jne 0x140026032
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x1400261d1
mov rax, qword [rsp + 0x58]
sub rax, rdi
sar rax, 1
lea rdx, [rax + rax]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400261c8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400261c8
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
mov rcx, rdi
call fcn.14002fd38
nop
lea rcx, [rsp + 0x68]
call fcn.14000bbb0
mov eax, r14d
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14002fd10
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400262e4
nop
call fcn.14000e988
int3