Function at 0x14003a3b0
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x82a0]
mov eax, 0x83a0
call fcn.1400cf350
sub rsp, rax
mov rax, qword [0x1400fe4a8]
xor rax, rsp
mov qword [rbp + 0x8290], rax
xor esi, esi
mov qword [rbp - 0x70], rdx
mov r13d, esi
mov dword [rsp + 0x64], esi
mov rdi, rcx
mov qword [rbp - 0x78], rcx
call fcn.14003b350
test al, al
lea rcx, [rbp + 0x140]
mov ebx, esi
mov r15d, 4
cmovne ebx, r15d
call fcn.14003b5c0
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14003a421
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x180]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
call fcn.140028fc0
cmp qword [rax + 0x18], 8
jb 0x14003a455
mov rax, qword [rax]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, ebx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdx, qword [rbp + 0x198]
mov r14, rax
cmp rdx, 8
jb 0x14003a4af
mov rcx, qword [rbp + 0x180]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a4aa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a500
call fcn.1400ce80c
mov rdx, qword [rbp + 0x158]
mov qword [rbp + 0x190], rsi
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], si
cmp rdx, 0x10
jb 0x14003a50c
mov rcx, qword [rbp + 0x140]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a507
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a507
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce80c
mov qword [rsp + 0x83f0], r12
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], sil
test r14, r14
jne 0x14003a539
xor bl, bl
jmp 0x14003b083
movsd xmm0, qword [rdi + 0x80]
mov rcx, r14
mulsd xmm0, qword [0x1400d9aa0]
cvttsd2si edx, xmm0
mov r9d, edx
mov dword [rsp + 0x20], edx
mov r8d, edx
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x14003a574
xor bl, bl
test r14, r14
je 0x14003b083
jmp 0x14003b07a
call fcn.14003b350
test al, al
jne 0x14003a59b
mov r9d, r15d
mov dword [rsp + 0x50], 0xaa0
lea r8, [rsp + 0x50]
mov edx, 0x54
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xorps xmm0, xmm0
lea rcx, [rdi + 8]
xor eax, eax
cmp qword [rdi + 0x20], 0x10
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp], rax
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x60], 0x68
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x10], 1
mov dword [rbp], 1
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
jb 0x14003a5e7
mov rcx, qword [rdi + 8]
mov rax, qword [rdi + 0x18]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
call fcn.140028fc0
cmp qword [rbp + 0x218], 8
lea rcx, [rbp + 0x200]
lea r9, [rbp - 0x60]
cmovae rcx, qword [rbp + 0x200]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x14003a642
xor bl, bl
jmp 0x14003b03e
mov esi, dword [rbp - 0x40]
lea rcx, [rbp + 0x1c0]
mov r12, qword [rbp - 0x48]
xor ebx, ebx
mov qword [rbp + 0x1c0], rbx
mov qword [rbp + 0x1d0], rbx
mov qword [rbp + 0x1d8], 7
lea r15, [rsi + rsi]
lea eax, [rbx + 0xa]
cmp rsi, 7
ja 0x14003a695
mov r8, r15
mov qword [rbp + 0x1d0], rsi
mov rdx, r12
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + r15 + 0x1c0], bx
jmp 0x14003a6db
mov rdi, rsi
or rdi, 7
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.14001e0e0
mov r8, r15
mov qword [rbp + 0x1d0], rsi
mov rdx, r12
mov qword [rbp + 0x1d8], rdi
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [r15 + rbx], ax
mov qword [rbp + 0x1c0], rbx
xor ebx, ebx
mov esi, dword [rbp - 0x10]
lea rcx, [rbp + 0x1e0]
mov r12, qword [rbp - 0x18]
mov qword [rbp + 0x1e0], rbx
mov qword [rbp + 0x1f0], rbx
mov qword [rbp + 0x1f8], 7
lea r15, [rsi + rsi]
cmp rsi, 7
ja 0x14003a729
mov r8, r15
mov qword [rbp + 0x1f0], rsi
mov rdx, r12
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + r15 + 0x1e0], bx
jmp 0x14003a775
mov eax, 0xa
mov rdi, rsi
or rdi, 7
cmp rdi, 0xa
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.14001e0e0
mov r8, r15
mov qword [rbp + 0x1f0], rsi
mov rdx, r12
mov qword [rbp + 0x1f8], rdi
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [r15 + rbx], ax
mov qword [rbp + 0x1e0], rbx
xor ebx, ebx
mov edi, dword [rbp]
lea rcx, [rbp + 0x160]
mov r12, qword [rbp - 8]
mov qword [rbp + 0x160], rbx
mov qword [rbp + 0x170], rbx
mov qword [rbp + 0x178], 7
lea r15, [rdi + rdi]
cmp rdi, 7
ja 0x14003a7ca
mov r8, r15
mov qword [rbp + 0x170], rdi
mov rdx, r12
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + r15 + 0x160], bx
mov rsi, qword [rbp + 0x160]
jmp 0x14003a814
mov eax, 0xa
mov rbx, rdi
or rbx, 7
cmp rbx, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.14001e0e0
mov r8, r15
mov qword [rbp + 0x170], rdi
mov rdx, r12
mov qword [rbp + 0x178], rbx
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memcpy
xor ebx, ebx
mov word [r15 + rsi], bx
mov qword [rbp + 0x160], rsi
mov r9, qword [rbp + 0x178]
lea rcx, [rbp + 0x160]
mov rdx, qword [rbp + 0x170]
cmp r9, 8
mov r12, 0xffffffffffffffff
cmovae rcx, rsi
test rdx, rdx
je 0x14003a858
mov rax, rdx
mov r8, rcx
cmp word [r8], 0x23
je 0x14003a903
add r8, 2
sub rax, 1
jne 0x14003a843
mov r8, r12
cmp rdx, r8
mov qword [rbp + 0x140], rbx
lea rcx, [rbp + 0x140]
mov qword [rbp + 0x150], rbx
cmovb r8, rdx
mov qword [rbp + 0x158], 7
cmp r9, 8
lea rdx, [rbp + 0x160]
cmovae rdx, rsi
call fcn.14001e1e0
cmp qword [rbp + 0x158], 8
lea rdx, [rbp + 0x140]
mov r8, qword [rbp + 0x150]
lea rcx, [rbp + 0x1e0]
cmovae rdx, qword [rbp + 0x140]
call fcn.14002a460
mov qword [rbp + 0x1a0], rbx
mov rdi, rax
mov qword [rbp + 0x1b0], rbx
mov qword [rbp + 0x1b8], rbx
cmp qword [rax + 0x18], 8
mov rsi, qword [rax + 0x10]
jb 0x14003a8e6
mov rdi, qword [rax]
cmp rsi, 8
jae 0x14003a90e
movups xmm0, xmmword [rdi]
mov qword [rbp + 0x1b8], 7
movups xmmword [rbp + 0x1a0], xmm0
jmp 0x14003a957
sub r8, rcx
sar r8, 1
jmp 0x14003a85b
movabs rax, 0x7ffffffffffffffe
lea rcx, [rbp + 0x1a0]
mov rbx, rsi
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.14001e0e0
lea r8, [rsi*2 + 2]
mov qword [rbp + 0x1a0], rax
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x1b8], rbx
mov rdx, qword [rbp + 0x158]
mov qword [rbp + 0x1b0], rsi
cmp rdx, 8
jb 0x14003a9a7
mov rcx, qword [rbp + 0x140]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a9a2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003a9a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce80c
movzx r8d, word [rbp - 0x3c]
lea rdx, [rbp + 0x1c0]
xor esi, esi
mov qword [rbp + 0x158], 7
cmp qword [rbp + 0x1d8], 8
mov rcx, r14
mov qword [rbp + 0x150], rsi
cmovae rdx, qword [rbp + 0x1c0]
xor r9d, r9d
mov word [rbp + 0x140], si
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
test rax, rax
jne 0x14003a9f9
xor bl, bl
jmp 0x14003af4e
mov rsi, qword [rbp - 0x78]
cmp qword [rsi + 0x40], 0x10
lea rcx, [rsi + 0x28]
jb 0x14003aa0c
mov rcx, qword [rsi + 0x28]
mov rax, qword [rsi + 0x38]
lea rbx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x180]
cmovae rbx, qword [rbp + 0x1a0]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
call fcn.140028fc0
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14003aa5a
mov rdx, qword [rax]
xor ecx, ecx
mov r8d, 0x800000
cmp dword [rbp - 0x4c], 2
mov eax, ecx
cmove eax, r8d
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov r8, rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r8, qword [rbp + 0x198]
mov rdi, rax
cmp r8, 8
jb 0x14003aaaf
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
inc r8
call fcn.14003ba20
xor ecx, ecx
mov qword [rbp + 0x198], 7
mov qword [rbp + 0x190], rcx
mov word [rbp + 0x180], cx
test rdi, rdi
jne 0x14003aad6
xor bl, bl
jmp 0x14003af43
mov rbx, qword [rsi + 0x68]
xor eax, eax
mov qword [rbp - 0x80], rcx
mov byte [rsp + 0x41], al
mov eax, 0xffffffff
mov byte [rsp + 0x40], 1
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], cl
jne 0x14003aed6
movzx esi, byte [rsp + 0x41]
lea r9, str.Content_Length
mov rax, 0xffffffffffffffff
lea r12, [rbx + 0x20]
inc rax
cmp byte [r9 + rax], 0
jne 0x14003ab11
mov r8, qword [r12 + 0x18]
mov rcx, r12
cmp r8, 0x10
jb 0x14003ab2d
mov rcx, qword [r12]
mov rdx, qword [r12 + 0x10]
mov qword [rsp + 0x50], rdx
cmp rdx, rax
jne 0x14003abaa
mov r8, rdx
mov rdx, r9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003aba0
cmp qword [r12 + 0x38], 0x10
lea rcx, [r12 + 0x20]
jb 0x14003ab5d
mov rcx, qword [r12 + 0x20]
mov rax, qword [r12 + 0x30]
lea rdx, [rbp - 0x80]
mov qword [rbp + 0x10], rcx
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x18], rax
call fcn.140049a70
test al, al
sete r12b
mov byte [rsp + 0x40], r12b
bt r13d, 0xb
jae 0x14003adcb
btr r13d, 0xb
lea rcx, [rbp + 0x40]
call fcn.14002ab50
jmp 0x14003adcb
mov rdx, qword [rsp + 0x50]
mov r8, qword [r12 + 0x18]
cmp qword [r12 + 0x38], 0x10
lea rcx, [r12 + 0x20]
jb 0x14003abbc
mov rcx, qword [r12 + 0x20]
mov rax, qword [r12 + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], rcx
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x30], xmm0
cmp r8, 0x10
jb 0x14003abdc
mov r12, qword [r12]
mov qword [rsp + 0x78], rdx
lea rcx, [rbp + 0x260]
mov qword [rsp + 0x70], r12
lea rdx, [rsp + 0x50]
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
call fcn.140028fc0
mov r8d, 2
lea rdx, [0x1400d9a8c]
mov rcx, rax
call fcn.14002a460
xor r12d, r12d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x220]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
movups xmmword [rbp + 0x180], xmm0
mov qword [rax + 0x18], 7
movups xmmword [rbp + 0x190], xmm1
mov word [rax], r12w
call fcn.140028fc0
mov r9, rax
lea r8, [rbp + 0x180]
movzx edx, sil
lea rcx, [rbp + 0x240]
call fcn.14003a150
lea r8d, [r12 + 2]
lea rdx, [0x1400d9a84]
lea rcx, [rbp + 0x240]
call fcn.14002a460
mov qword [rbp + 0x140], r12
lea rcx, [rbp + 0x240]
mov qword [rbp + 0x150], r12
mov qword [rbp + 0x158], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x150], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
call fcn.14000ce00
mov rdx, qword [rbp + 0x198]
cmp rdx, 8
jb 0x14003ad0d
mov rcx, qword [rbp + 0x180]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ad08
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ae4a
call fcn.1400ce80c
lea rcx, [rbp + 0x260]
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], r12w
call fcn.14000ce00
lea rcx, [rbp + 0x220]
call fcn.14000ce00
mov eax, 0xffffffff
cmp qword [rbp + 0x150], rax
ja 0x14003ad56
mov r8d, dword [rbp + 0x150]
jmp 0x14003ad5a
int3
cmp qword [rbp + 0x158], 8
lea rdx, [rbp + 0x140]
mov r9d, 0x20000000
mov rcx, rdi
cmovae rdx, qword [rbp + 0x140]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x14003ae51
mov r8, qword [rbp + 0x158]
cmp r8, 8
jb 0x14003adab
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
inc r8
call fcn.14003ba20
mov qword [rbp + 0x150], r12
mov word [rbp + 0x140], r12w
movzx r12d, byte [rsp + 0x40]
mov qword [rbp + 0x158], 7
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14003adf8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14003adf3
nop
cmp rbx, qword [rax + 0x10]
jne 0x14003adf3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14003ade0
mov rbx, rax
jmp 0x14003ae1f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x14003ae1f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14003ae10
cmp byte [rbx + 0x19], 0
je 0x14003aaff
test r12b, r12b
jne 0x14003aec8
mov rax, qword [rbp - 0x80]
xor ebx, ebx
mov edx, 0xffffffff
mov ecx, ebx
cmp rax, rdx
cmovbe ecx, eax
jmp 0x14003b0b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
bt r13d, 0xd
jae 0x14003ae66
btr r13d, 0xd
lea rcx, [rbp + 0x40]
call fcn.14002ab50
bt r13d, 0xc
jae 0x14003ae79
lea rcx, [rbp + 0x220]
call fcn.140009ca0
mov rdx, qword [rbp + 0x158]
cmp rdx, 8
jb 0x14003af38
mov rcx, qword [rbp + 0x140]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aec1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003aec1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce80c
jmp 0x14003af38
xor ecx, ecx
mov eax, 0xffffffff
mov r12, 0xffffffffffffffff
lea rdx, str.Transfer_Encoding:_chunked_r_n
nop dword [rax]
inc r12
cmp word [rdx + r12*2], 0
jne 0x14003aee0
cmp r12, rax
jbe 0x14003aef4
int3
mov r9d, 0x20000000
mov r8d, r12d
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x14003b0af
bt r13d, 0xf
jae 0x14003af23
btr r13d, 0xf
lea rcx, [rbp + 0x40]
call fcn.14002ab50
test r13d, 0x4000
je 0x14003af38
lea rcx, [rbp + 0x220]
call fcn.140009ca0
xor bl, bl
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor esi, esi
mov r8, qword [rbp + 0x1b8]
cmp r8, 8
jb 0x14003af71
mov rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x1a0]
inc r8
call fcn.14003ba20
mov r8, qword [rbp + 0x178]
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], si
cmp r8, 8
jb 0x14003afad
mov rdx, qword [rbp + 0x160]
lea rcx, [rbp + 0x160]
inc r8
call fcn.14003ba20
mov r8, qword [rbp + 0x1f8]
mov qword [rbp + 0x170], rsi
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], si
cmp r8, 8
jb 0x14003afe9
mov rdx, qword [rbp + 0x1e0]
lea rcx, [rbp + 0x1e0]
inc r8
call fcn.14003ba20
mov r8, qword [rbp + 0x1d8]
mov qword [rbp + 0x1f0], rsi
mov qword [rbp + 0x1f8], 7
mov word [rbp + 0x1e0], si
cmp r8, 8
jb 0x14003b025
mov rdx, qword [rbp + 0x1c0]
lea rcx, [rbp + 0x1c0]
inc r8
call fcn.14003ba20
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], si
mov r8, qword [rbp + 0x218]
cmp r8, 8
jb 0x14003b061
mov rdx, qword [rbp + 0x200]
lea rcx, [rbp + 0x200]
inc r8
call fcn.14003ba20
mov qword [rbp + 0x210], rsi
mov qword [rbp + 0x218], 7
mov word [rbp + 0x200], si
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov r12, qword [rsp + 0x83f0]
movzx eax, bl
mov rcx, qword [rbp + 0x8290]
xor rcx, rsp
call fcn.1400ce8e0
add rsp, 0x83a0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
movzx r12d, byte [rsp + 0x40]
xor ebx, ebx
mov ecx, ebx
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14003b0fc
bt r13d, 0x11
jae 0x14003b0f0
btr r13d, 0x11
lea rcx, [rbp + 0x40]
call fcn.14002ab50
test r13d, 0x10000
jmp 0x14003af2a
mov rsi, rbx
nop
mov rax, qword [rbp - 0x78]
lea rdx, [rbp + 0x28a]
mov r8d, 0x8000
mov rcx, qword [rax + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003af38
mov eax, 0xffffffff
test r12b, r12b
je 0x14003b1ad
cmp rbx, rax
ja 0x14003b13c
mov r9d, ebx
jmp 0x14003b142
int3
lea r8, [0x1400d9a94]
mov edx, 8
lea rcx, [rbp + 0x280]
call fcn.14003ba60
mov word [rbp + 0x288], 0xa0d
lea rcx, [rbp + 0x280]
mov word [rbp + rbx + 0x28a], 0xa0d
mov r8d, 0xffffffff
mov eax, 8
nop
cmp byte [rcx], 0x30
jne 0x14003b190
add eax, r8d
inc rcx
cmp eax, 1
ja 0x14003b180
lea rdx, [rbp + 0x288]
lea rcx, [rbx + 4]
sub rdx, rax
add rcx, rax
cmp rcx, r8
jbe 0x14003b1bb
int3
lea rdx, [rbp + 0x28a]
cmp rbx, rax
ja 0x14003b1dd
mov ecx, ebx
test ecx, ecx
je 0x14003b1de
mov r8d, ecx
lea r9, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x14003b217
mov eax, dword [rsp + 0x50]
add rsi, rax
jmp 0x14003b1de
int3
test rbx, rbx
jg 0x14003b100
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x14003b238
bt r13d, 0x15
jae 0x14003b20b
btr r13d, 0x15
lea rcx, [rbp + 0x40]
call fcn.14002ab50
test r13d, 0x100000
jmp 0x14003af2a
bt r13d, 0x13
jae 0x14003b22c
btr r13d, 0x13
lea rcx, [rbp + 0x40]
call fcn.14002ab50
test r13d, 0x40000
jmp 0x14003af2a
xor r12d, r12d
mov dword [rsp + 0x64], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], r12
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x60], r12d
mov edx, 0x20000013
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14003b292
bt r13d, 0x17
jae 0x14003b286
btr r13d, 0x17
lea rcx, [rbp + 0x40]
call fcn.14002ab50
test r13d, 0x400000
jmp 0x14003af2a
mov eax, dword [rsp + 0x60]
add eax, 0xffffff38
test eax, 0xfffffffb
je 0x14003b2c3
bt r13d, 0x19
jae 0x14003b2b7
btr r13d, 0x19
lea rcx, [rbp + 0x40]
call fcn.14002ab50
test r13d, 0x1000000
jmp 0x14003af2a
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14003b31f
mov qword [rbx + 0x10], r12
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003b2dd
mov rax, qword [rbx]
mov byte [rax], r12b
mov dword [rsp + 0x50], r12d
lea r9, [rsp + 0x50]
mov r8d, 0x1000
lea rdx, [rbp + 0x280]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14003b326
mov r8d, dword [rsp + 0x50]
lea rdx, [rbp + 0x280]
mov rcx, rbx
call fcn.14001e150
cmp dword [rsp + 0x50], r12d
ja 0x14003b2e5
mov bl, 1
jmp 0x14003af3a
bt r13d, 0x1b
jae 0x14003b33b
btr r13d, 0x1b
lea rcx, [rbp + 0x40]
call fcn.14002ab50
test r13d, 0x4000000
jmp 0x14003af2a