Function at 0x14001b150
Capabilities:
Initialize winhttp library
Make an http request with a cookie
Prepare http request
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1110]
mov eax, 0x1210
call fcn.14003fab0
sub rsp, rax
movaps xmmword [rsp + 0x1200], xmm6
mov rax, qword [0x1400bc0f8]
xor rax, rsp
mov qword [rbp + 0x10f0], rax
movzx r14d, r8b
mov byte [rsp + 0x42], r8b
mov r12, rcx
cmp qword [rcx + 0x20], 0
ja 0x14001b1b2
mov dword [rcx + 0x160], 3
xor al, al
jmp 0x14001c5c6
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xor r15d, r15d
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], r15
mov rsi, rdx
cmp qword [rdx + 0x18], 8
jb 0x14001b1d4
mov rsi, qword [rdx]
mov rdi, qword [rdx + 0x10]
movabs rbx, 0x7ffffffffffffffe
cmp rdi, rbx
ja 0x14001c5fe
mov qword [rbp + 0x80], 7
cmp rdi, 8
jae 0x14001b214
mov qword [rbp + 0x78], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
lea rcx, [rbp + 0x68]
call fcn.14004c3b0
jmp 0x14001b25f
mov rax, rdi
or rax, 7
cmp rax, rbx
ja 0x14001b22f
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x68]
call fcn.14001cc70
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], rbx
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.14004c3b0
nop
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae rcx, qword [rbp + 0x68]
lea rdx, [0x140089668]
call fcn.140062c18
test eax, eax
jne 0x14001b28d
lea rbx, [0x140089668]
lea r8d, [rax + 3]
jmp 0x14001b2b9
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae rcx, qword [rbp + 0x68]
lea rbx, [0x140089670]
mov rdx, rbx
call fcn.140062c18
test eax, eax
jne 0x14001c573
lea r8d, [rax + 4]
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.14001cd60
mov r13b, 1
mov byte [rsp + 0x41], r13b
mov rcx, qword [r12]
test rcx, rcx
jne 0x14001b312
lea rcx, [r12 + 0x188]
cmp qword [rcx + 0x18], 8
jb 0x14001b2e8
mov rcx, qword [rcx]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rax
mov qword [r12], rax
test rax, rax
jne 0x14001b312
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001c578
mov eax, dword [r12 + 0x21c]
mov dword [rsp + 0x20], eax
mov r9d, dword [r12 + 0x218]
mov r8d, dword [r12 + 0x214]
mov edx, dword [r12 + 0x210]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.14004ca60
xor edx, edx
mov r8d, 0xa28
lea rcx, [rbp + 0x6c0]
call fcn.14004ca60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
mov dword [rbp - 0x30], 0x68
lea rax, [rbp + 0x2a0]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 0x104
lea rax, [rbp + 0x6c0]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0x514
mov eax, 1
mov dword [rbp - 0x20], eax
lea rbx, [r12 + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001b3ca
mov rcx, qword [rbx]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, dword [r12 + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x14001c583
lea rax, [rbp + 0x2a0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14001b3f2
lea rcx, [r12 + 0x30]
lea rdx, [rbp + 0x2a0]
call fcn.14001cd60
xor r9d, r9d
movzx r8d, word [rbp - 0xc]
lea rdx, [rbp + 0x2a0]
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14001c583
mov ecx, r15d
mov eax, 0x800000
cmp dword [rbp - 0x1c], 2
cmove ecx, eax
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae rdx, qword [rbp + 0x68]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rbp + 0x18]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14001c568
cmp byte [r12 + 8], 0
jne 0x14001b4b3
cmp dword [rbp - 0x1c], 2
jne 0x14001b4b3
mov dword [rbp + 0x40], 0x3100
mov r9d, 4
lea r8, [rbp + 0x40]
lea edx, [r9 + 0x1b]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov byte [rsp + 0x40], 0
mov ecx, r15d
movsd xmm6, qword [0x140089920]
mov eax, ecx
inc ecx
mov dword [rsp + 0x50], ecx
cmp eax, 3
jae 0x14001c547
mov rax, qword [r12 + 0x130]
test rax, rax
je 0x14001b517
lea rdx, [r12 + 0x120]
cmp qword [rdx + 0x18], 8
jb 0x14001b4f3
mov rdx, qword [rdx]
mov r9d, 0x1000000
mov r8d, eax
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x14001b517
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
cmp qword [r12 + 0x100], 0
jbe 0x14001b661
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], 7
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x48]
call fcn.14001cc70
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], 8
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [str.Cookie:]
movups xmmword [rax], xmm0
mov word [rax + 0x10], r15w
lea r9, [r12 + 0xf0]
cmp qword [r12 + 0x108], 8
jb 0x14001b585
mov r9, qword [r12 + 0xf0]
mov rdi, qword [r12 + 0x100]
mov rsi, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x14001b5d5
lea rax, [rdi + rsi]
mov qword [rbp + 0x58], rax
lea rbx, [rbp + 0x48]
cmp rcx, 8
cmovae rbx, qword [rbp + 0x48]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.14004c3b0
lea rax, [rsi + rdi]
mov word [rbx + rax*2], r15w
lea rbx, [r12 + 0x10]
jmp 0x14001b5e9
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x48]
call fcn.140015f70
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 8
cmovae rdx, qword [rbp + 0x48]
mov r9d, 0x1000000
mov r8d, dword [rbp + 0x58]
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x14001b621
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
mov rdx, qword [rbp + 0x60]
cmp rdx, 8
jb 0x14001b661
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b65c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c604
call fcn.14003f74c
cmp qword [r12 + 0x150], 0
jbe 0x14001b771
mov qword [rbp + 0x48], 3
mov qword [rbp + 0x58], r15
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call fcn.14004ca60
lea r8, [r12 + 0x140]
cmp qword [r8 + 0x18], 8
jb 0x14001b6a2
mov r8, qword [r8]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.140062b44
lea rax, [rbp + 0x90]
mov qword [rbp + 0x50], rax
mov r9d, 0x18
lea r8, [rbp + 0x48]
lea edx, [r9 + 0xe]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14001b6e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
mov rax, qword [r12 + 0x1c0]
test rax, rax
je 0x14001b771
lea r8, [r12 + 0x1b0]
cmp qword [r8 + 0x18], 8
jb 0x14001b70a
mov r8, qword [r8]
lea r9d, [rax + rax]
mov edx, 0x1002
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14001b72e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
mov rax, qword [r12 + 0x1e0]
test rax, rax
je 0x14001b771
lea r8, [r12 + 0x1d0]
cmp qword [r8 + 0x18], 8
jb 0x14001b74d
mov r8, qword [r8]
lea r9d, [rax + rax]
mov edx, 0x1003
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14001b771
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
test r14b, r14b
je 0x14001b7a6
mov dword [rbp + 0x40], 2
mov r9d, 4
lea r8, [rbp + 0x40]
lea edx, [r9 + 0x3b]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14001b7a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
xor dil, dil
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14001b9ac
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
lea rcx, [rbp - 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x14001bb5a
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x14001b8bd
mov dword [rbp - 0x58], 3
mov ecx, 1
mov dword [rbp - 0x54], ecx
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x3c], ecx
mov dword [rbp - 0x40], r15d
mov qword [rbp - 0x48], r15
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rax
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001b833
mov rdx, qword [rbx]
lea r9, [rbp + 0x48]
lea r8, [rbp - 0x58]
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x14001b968
mov r9d, 0x18
lea r8, [rbp + 0x48]
lea edx, [r9 + 0xe]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x14001b896
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
movzx edi, dil
test eax, eax
mov eax, 1
cmovne edi, eax
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14001b8a5
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14001b976
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14001b976
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x14001b994
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x48], 3
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x90]
call fcn.14004ca60
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.140062b44
lea rax, [rbp + 0x90]
mov qword [rbp + 0x50], rax
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x14001b94d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4b0]
call fcn.14004ca60
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x4b0]
call fcn.140062b44
lea rax, [rbp + 0x4b0]
mov qword [rbp + 0x58], rax
mov r9d, 0x18
lea r8, [rbp + 0x48]
lea edx, [r9 + 0xe]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14001b976
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001b985
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14001b994
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14001b9a3
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test dil, dil
je 0x14001c52f
mov rdx, qword [r12 + 0x110]
test rdx, rdx
je 0x14001b9e4
mov dword [rbp + 0x40], r15d
lea r9, [rbp + 0x40]
mov r8d, dword [r12 + 0x118]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x14001b9e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14001bb5a
mov dword [rbp - 0x80], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x16]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14001ba2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001bf55
mov ecx, dword [rbp - 0x80]
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.14003f754
mov r14, rax
test rax, rax
je 0x14001bf5c
mov r8d, dword [rbp - 0x80]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.14004ca60
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
lea edx, [rdi + 0x17]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14001bf4d
mov r8, rdi
inc r8
cmp word [r14 + r8*2], 0
jne 0x14001ba95
mov rdx, r14
lea rcx, [r12 + 0x50]
call fcn.14001cd60
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
mov qword [rbp + 0x58], r15
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
cmp byte [r12 + 0x1a8], 0
jne 0x14001bb6d
mov r8d, 0x19
lea rdx, str.charset_A_Za_z0_9___
lea rcx, [rbp - 0x78]
call fcn.14001cd60
mov byte [rsp + 0x28], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x50]
mov r13d, 1
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.140018cb0
test al, al
je 0x14001bb73
mov rax, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x14001bb73
lea rcx, [r12 + 0x90]
cmp rcx, rdx
je 0x14001bb73
mov r8, rdx
cmp qword [rdx + 0x18], 8
jb 0x14001bb4f
mov rdx, qword [rdx]
mov r8, qword [r8 + 0x10]
call fcn.14001cd60
jmp 0x14001bb73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
jmp 0x14001c52f
mov r13d, 1
mov r8d, 0x18
lea rdx, str.Content_Length:__0_9_
lea rcx, [rbp - 0x78]
call fcn.14001cd60
mov byte [rsp + 0x28], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x50]
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.140018cb0
test al, al
je 0x14001bbd9
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x48]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x14001bbd9
cmp qword [rcx + 0x18], 8
jb 0x14001bbcc
mov rcx, qword [rcx]
call fcn.140060340
mov dword [r12 + 0xc8], eax
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Location:__0_9_
lea rcx, [rbp - 0x78]
call fcn.14001cd60
mov byte [rsp + 0x28], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x50]
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.140018cb0
test al, al
je 0x14001bc4b
mov rax, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x14001bc4b
lea rcx, [r12 + 0x1f0]
cmp rcx, rdx
je 0x14001bc4b
mov r8, rdx
cmp qword [rdx + 0x18], 8
jb 0x14001bc42
mov rdx, qword [rdx]
mov r8, qword [r8 + 0x10]
call fcn.14001cd60
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.Set_Cookie:_b.__n
lea rcx, [rbp - 0x78]
call fcn.14001cd60
mov byte [rsp + 0x28], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x50]
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.140018cb0
test al, al
je 0x14001be96
mov rax, qword [rbp + 0x50]
sub rax, qword [rbp + 0x48]
sar rax, 5
test rax, rax
je 0x14001be96
mov rdi, r15
lea rbx, [r12 + 0xd0]
mov rsi, r15
nop dword [rax]
mov r8, qword [rbp + 0x48]
add r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14001bcc4
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, rbx
call fcn.14001cce0
mov rax, qword [rbp + 0x50]
sub rax, qword [rbp + 0x48]
sar rax, 5
dec rax
cmp rdi, rax
je 0x14001bd39
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x14001bd1a
lea r8, [rcx + 2]
mov qword [rbx + 0x10], r8
mov rax, rbx
cmp rdx, 8
jb 0x14001bd0c
mov rax, qword [rbx]
mov dword [rax + rcx*2], 0x20003b
mov word [rax + r8*2], r15w
jmp 0x14001bd39
mov qword [rsp + 0x20], 2
lea r9, [0x14008975c]
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, rbx
call fcn.140015f70
inc rdi
add rsi, 0x20
mov rax, qword [rbp + 0x50]
sub rax, qword [rbp + 0x48]
sar rax, 5
cmp rdi, rax
jb 0x14001bcb0
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 7
mov dword [rbp - 0x58], 0x20
lea r8, [rbp - 0x58]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14001c970
mov rdx, rax
mov rcx, rbx
call fcn.140016970
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001bdcd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bdc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c60a
call fcn.14003f74c
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14001be21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001be1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c610
call fcn.14003f74c
mov rcx, qword [r12 + 0xe0]
test rcx, rcx
je 0x14001be91
mov rax, rbx
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001be3e
mov rax, qword [rbx]
cmp word [rax + rcx*2 - 2], 0x3b
je 0x14001be91
mov rcx, qword [rbx + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14001be77
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp rdx, 8
jb 0x14001be67
mov rbx, qword [rbx]
mov edx, 0x3b
mov word [rbx + rcx*2], dx
mov word [rbx + rax*2], r15w
jmp 0x14001be91
mov qword [rsp + 0x20], r13
lea r9, [0x140089764]
xor r8d, r8d
mov rdx, r13
mov rcx, rbx
call fcn.140015f70
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14001bed6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bed1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c616
call fcn.14003f74c
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x14001bf4d
mov rdi, qword [rbp + 0x50]
cmp rbx, rdi
je 0x14001bf11
nop dword [rax]
mov rcx, rbx
call fcn.14001cbe0
add rbx, 0x20
cmp rbx, rdi
jne 0x14001bf00
mov rdx, qword [rbp + 0x58]
mov rbx, qword [rbp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001bf45
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c61c
mov rcx, rbx
call fcn.14003f74c
mov rcx, r14
call fcn.14003f74c
mov rdi, 0xffffffffffffffff
mov dword [rbp - 0x80], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x13]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14001bf94
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001c013
mov ecx, dword [rbp - 0x80]
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14003f754
mov rbx, rax
test rax, rax
je 0x14001c013
mov r8d, dword [rbp - 0x80]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.14004ca60
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14001c00b
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14001bff0
lea rcx, [r12 + 0x168]
mov rdx, rbx
call fcn.14001cd60
mov rcx, rbx
call fcn.14003f74c
mov r13d, 0x19000
mov r14d, r15d
mov rcx, qword [r12 + 0xb0]
test rcx, rcx
je 0x14001c036
call fcn.14003f74c
mov qword [r12 + 0xb0], r15
mov rcx, r13
call fcn.14003f754
mov qword [r12 + 0xb0], rax
test rax, rax
je 0x14001c544
xor edx, edx
mov r8, r13
mov rcx, rax
call fcn.14004ca60
nop dword [rax]
mov dword [rbp - 0x80], r15d
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x14001c191
lea r15, [r12 + 0xc0]
mov rdx, qword [r15]
test rdx, rdx
je 0x14001c0b2
mov ecx, dword [r12 + 0xc8]
test ecx, ecx
je 0x14001c0b2
mov eax, r14d
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm6
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
divsd xmm0, xmm1
call rdx
mov ecx, dword [rbp - 0x80]
inc ecx
call fcn.14003f754
mov rbx, rax
test rax, rax
je 0x14001c1a7
mov r8d, dword [rbp - 0x80]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.14004ca60
mov dword [rbp + 0x40], 0
lea r9, [rbp + 0x40]
mov r8d, dword [rbp - 0x80]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14001c187
mov ecx, dword [rbp + 0x40]
lea eax, [rcx + r14]
cmp eax, r13d
jbe 0x14001c16a
mov rsi, qword [r12 + 0xb0]
lea eax, [r13*2]
mov r13d, eax
mov edi, eax
mov ecx, eax
call fcn.14003f754
mov qword [r12 + 0xb0], rax
test rax, rax
je 0x14001c1b5
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.14004ca60
mov edi, r14d
mov r8d, r14d
mov rdx, rsi
mov rcx, qword [r12 + 0xb0]
call fcn.14004c3b0
mov rcx, rsi
call fcn.14003f74c
mov ecx, dword [rbp + 0x40]
mov rsi, qword [rsp + 0x48]
jmp 0x14001c16d
mov edi, r14d
mov r8d, ecx
mov rcx, qword [r12 + 0xb0]
add rcx, rdi
mov rdx, rbx
call fcn.14004c3b0
add r14d, dword [rbp + 0x40]
mov rcx, rbx
call fcn.14003f74c
jmp 0x14001c1a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
lea r15, [r12 + 0xc0]
cmp dword [rbp - 0x80], 0
jbe 0x14001c1c7
xor r15d, r15d
jmp 0x14001c060
mov qword [r12 + 0xb0], rsi
xor r13b, r13b
mov byte [rsp + 0x41], r13b
jmp 0x14001c1cd
movzx r13d, byte [rsp + 0x41]
mov rdx, qword [r15]
test rdx, rdx
je 0x14001c1fe
mov ecx, dword [r12 + 0xc8]
test ecx, ecx
je 0x14001c1fe
mov eax, r14d
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm6
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
divsd xmm0, xmm1
call rdx
mov dword [r12 + 0xb8], r14d
xor r15d, r15d
mov esi, r15d
mov ebx, 1
mov r14d, ebx
lea rcx, [r12 + 0x90]
cmp qword [rcx + 0x18], 8
jb 0x14001c226
mov rcx, qword [rcx]
mov r8d, 5
lea rdx, [0x140089768]
call fcn.140062dd4
test eax, eax
jne 0x14001c244
mov esi, 0xfde9
mov r14d, r15d
mov r9d, dword [r12 + 0xb8]
inc r9d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r8, qword [r12 + 0xb0]
mov edx, r14d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test eax, eax
jg 0x14001c2a9
mov esi, r15d
mov r14d, ebx
mov r9d, dword [r12 + 0xb8]
inc r9d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r8, qword [r12 + 0xb0]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test eax, eax
jle 0x14001c338
mov r15d, edi
mov eax, 2
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14003f754
mov rbx, rax
test rax, rax
je 0x14001c330
lea r8, [r15 + r15]
xor edx, edx
mov rcx, rax
call fcn.14004ca60
mov r9d, dword [r12 + 0xb8]
inc r9d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r8, qword [r12 + 0xb0]
mov edx, r14d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x14001c328
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x14001c310
lea rcx, [r12 + 0x70]
mov rdx, rbx
call fcn.14001cd60
mov rcx, rbx
call fcn.14003f74c
mov ebx, 1
xor r15d, r15d
mov byte [rsp + 0x40], 1
lea r8, [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x78]
cmp rdx, 3
jne 0x14001c547
lea rax, [0x140089668]
mov rcx, rax
test rdx, rdx
je 0x14001c388
sub r8, rax
nop
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14001c547
add rcx, 2
sub rdx, 1
jne 0x14001c370
movzx r14d, byte [rsp + 0x42]
test r14b, r14b
jne 0x14001c547
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x78]
call fcn.14001cc70
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], 8
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [str._html_]
movups xmmword [rax], xmm0
mov word [rax + 0x10], r15w
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
mov qword [rbp + 0x58], r15
mov byte [rsp + 0x28], r14b
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x70]
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.140018cb0
mov rdi, qword [rbp + 0x50]
mov rbx, qword [rbp + 0x48]
test al, al
je 0x14001c487
mov rax, rdi
sub rax, rbx
sar rax, 5
test rax, rax
je 0x14001c487
mov r8d, 9
lea rdx, str.__html_
lea rcx, [rbp - 0x78]
call fcn.14001cd60
mov byte [rsp + 0x28], r14b
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x70]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rbp - 0x78]
call fcn.140018cb0
mov rdi, qword [rbp + 0x50]
mov rbx, qword [rbp + 0x48]
test al, al
je 0x14001c476
mov rax, rdi
sub rax, rbx
sar rax, 5
test rax, rax
jne 0x14001c487
mov dword [r12 + 0x160], reloc.WS2_32.dll_listen
mov byte [rsp + 0x40], 0
test rbx, rbx
je 0x14001c4ea
cmp rbx, rdi
je 0x14001c4a6
mov rcx, rbx
call fcn.14001cbe0
add rbx, 0x20
cmp rbx, rdi
jne 0x14001c491
mov rbx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x58]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001c4d6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c622
mov rcx, rbx
call fcn.14003f74c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r15
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14001c52a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c525
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c628
call fcn.14003f74c
mov rsi, qword [rsp + 0x48]
cmp byte [rsp + 0x40], 0
jne 0x14001c547
lea rbx, [r12 + 0x10]
mov ecx, dword [rsp + 0x50]
jmp 0x14001b4c3
xor r13b, r13b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movzx eax, r13b
cmp byte [rsp + 0x40], 0
cmovne r15d, eax
movzx r13d, r15b
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14001c583
mov eax, 0x57
mov dword [r12 + 0x160], eax
xor r13b, r13b
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x14001c5c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c5bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c5f8
call fcn.14003f74c
movzx eax, r13b
mov rcx, qword [rbp + 0x10f0]
xor rcx, rsp
call fcn.14003fb10
mov rbx, qword [rsp + 0x1260]
movaps xmm6, xmmword [rsp + 0x1200]
add rsp, 0x1210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140062acc
int3
call fcn.140015880
nop
call fcn.140062acc
nop
call fcn.140062acc
nop
call fcn.140062acc
nop
call fcn.140062acc
nop
call fcn.140062acc
nop
call fcn.140062acc
nop
call fcn.140062acc
int3