Function at 0x140095090
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:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x12b0
call fcn.1400de580
sub rsp, rax
mov qword [rsp + 0x170], 0xfffffffffffffffe
mov qword [rsp + 0x1300], rbx
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x12a0], rax
movzx esi, r8b
mov byte [rsp + 0x40], r8b
mov rbx, rcx
mov qword [rsp + 0xf0], rcx
cmp qword [rcx + 0x28], 0
ja 0x1400950fb
mov dword [rcx + 0x1a8], 3
xor al, al
jmp 0x14009661f
mov qword [rsp + 0x238], 7
xor ebp, ebp
mov qword [rsp + 0x230], rbp
mov word [rsp + 0x220], bp
or rdi, 0xffffffffffffffff
mov r9, rdi
xor r8d, r8d
lea rcx, [rsp + 0x218]
call fcn.140025740
nop
lea rcx, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae rcx, qword [rsp + 0x220]
lea rdx, [0x1400f3540]
call fcn.1400af0e8
test eax, eax
jne 0x140095175
lea r8d, [rbp + 3]
lea rdx, [0x1400f3540]
lea rcx, [rsp + 0x218]
call fcn.140025a70
jmp 0x1400951bb
lea rcx, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae rcx, qword [rsp + 0x220]
lea rdx, str.POST
call fcn.1400af0e8
test eax, eax
jne 0x1400965fb
lea r8d, [rax + 4]
lea rdx, str.POST
lea rcx, [rsp + 0x218]
call fcn.140025a70
mov r13b, 1
mov byte [rsp + 0x41], r13b
cmp qword [rbx], 0
jne 0x140095228
cmp qword [rbx + 0x1f8], 8
jb 0x1400951dc
mov rcx, qword [rbx + 0x1e0]
jmp 0x1400951e3
lea rcx, [rbx + 0x1e0]
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx], rax
test rax, rax
jne 0x140095228
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
cmp qword [rsp + 0x238], 8
jb 0x140095221
mov rcx, qword [rsp + 0x220]
call fcn.1400ad0b8
xor al, al
jmp 0x14009661f
mov eax, dword [rbx + 0x28c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 0x288]
mov r8d, dword [rbx + 0x284]
mov edx, dword [rbx + 0x280]
mov rcx, qword [rbx]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov word [rsp + 0x450], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x452]
call fcn.1400ad2f0
mov word [rsp + 0x870], bp
xor edx, edx
mov r8d, 0xa26
lea rcx, [rsp + 0x872]
call fcn.1400ad2f0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x180]
call fcn.1400ad2f0
mov dword [rsp + 0x180], 0x68
lea rax, [rsp + 0x450]
mov qword [rsp + 0x198], rax
mov dword [rsp + 0x1a0], 0x104
lea rax, [rsp + 0x870]
mov qword [rsp + 0x1c8], rax
mov dword [rsp + 0x1d0], 0x514
mov r12d, 1
mov dword [rsp + 0x190], r12d
cmp qword [rbx + 0x30], 8
jb 0x1400952f8
mov rcx, qword [rbx + 0x18]
jmp 0x1400952fc
lea rcx, [rbx + 0x18]
lea r9, [rsp + 0x180]
xor r8d, r8d
mov edx, dword [rbx + 0x28]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x1400965de
xor eax, eax
mov rcx, rdi
lea rdi, [rsp + 0x450]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x450]
call fcn.140025a70
xor r9d, r9d
movzx r8d, word [rsp + 0x1a4]
lea rdx, [rsp + 0x450]
mov rcx, qword [rbx]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0xf8], rax
test rax, rax
je 0x1400965de
mov ecx, ebp
mov edx, 0x800000
cmp dword [rsp + 0x194], 2
cmove ecx, edx
lea rdx, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae rdx, qword [rsp + 0x220]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, qword [rsp + 0x1c8]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
mov qword [rsp + 0x118], rax
test rax, rax
je 0x1400965cf
cmp byte [rbx + 8], 0
jne 0x140095400
cmp dword [rsp + 0x194], 2
jne 0x140095400
mov dword [rsp + 0x48], 0x3100
mov r9d, 4
lea r8, [rsp + 0x48]
lea edx, [r9 + 0x1b]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xor r13d, r13d
mov r15d, r13d
nop word [rax + rax]
mov eax, r15d
inc r15d
cmp eax, 1
jae 0x1400965a6
mov rax, qword [rbx + 0x170]
test rax, rax
je 0x140095467
cmp qword [rbx + 0x178], 8
jb 0x14009543e
mov rdx, qword [rbx + 0x160]
jmp 0x140095445
lea rdx, [rbx + 0x160]
mov r9d, 0x1000000
mov r8d, eax
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140095467
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
cmp qword [rbx + 0x138], 0
jbe 0x140095521
mov qword [rsp + 0x210], 7
mov qword [rsp + 0x208], r13
mov word [rsp + 0x1f8], r13w
mov r8d, 8
lea rdx, str.Cookie:
lea rcx, [rsp + 0x1f0]
call fcn.140025a70
nop
lea rdx, [rbx + 0x120]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x1f0]
call fcn.140025da0
lea rdx, [rsp + 0x1f8]
cmp qword [rsp + 0x210], 8
cmovae rdx, qword [rsp + 0x1f8]
mov r9d, 0x1000000
mov r8d, dword [rsp + 0x208]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140095509
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
cmp qword [rsp + 0x210], 8
jb 0x140095521
mov rcx, qword [rsp + 0x1f8]
call fcn.1400ad0b8
cmp qword [rbx + 0x198], 0
jbe 0x14009566d
xor eax, eax
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x100], 3
mov word [rsp + 0x240], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x242]
call fcn.1400ad2f0
cmp qword [rbx + 0x1a0], 8
jb 0x140095585
mov r8, qword [rbx + 0x188]
jmp 0x14009558c
lea r8, [rbx + 0x188]
mov edx, 0x104
lea rcx, [rsp + 0x240]
call fcn.1400aeb10
lea rdx, [rsp + 0x240]
mov qword [rsp + 0x108], rdx
mov r9d, 0x18
lea r8, [rsp + 0x100]
lea edx, [r9 + 0xe]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400955d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
mov rax, qword [rbx + 0x220]
test rax, rax
je 0x14009566d
cmp qword [rbx + 0x228], 8
jb 0x1400955fc
mov r8, qword [rbx + 0x210]
jmp 0x140095603
lea r8, [rbx + 0x210]
lea r9d, [rax + rax]
mov edx, 0x1002
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x140095625
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
mov rax, qword [rbx + 0x248]
test rax, rax
je 0x14009566d
cmp qword [rbx + 0x250], 8
jb 0x140095644
mov r8, qword [rbx + 0x238]
jmp 0x14009564b
lea r8, [rbx + 0x238]
lea r9d, [rax + rax]
mov edx, 0x1003
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14009566d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
test sil, sil
je 0x1400956a2
mov dword [rsp + 0x48], 2
mov r9d, 4
lea r8, [rsp + 0x48]
lea edx, [r9 + 0x3b]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400956a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
xor sil, sil
mov qword [rsp + 0x30], r13
mov eax, dword [rbx + 0x150]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x140095999
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x140095983
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x140095846
xor ecx, ecx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rcx
mov dword [rsp + 0x80], 3
mov dword [rsp + 0x84], r12d
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x9c], r12d
mov dword [rsp + 0x98], r13d
mov qword [rsp + 0x90], r13
xor eax, eax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rax
cmp qword [rbx + 0x30], 8
jb 0x140095797
mov rdx, qword [rbx + 0x18]
jmp 0x14009579b
lea rdx, [rbx + 0x18]
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x80]
mov rcx, qword [rbx]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x140095835
mov r9d, 0x18
lea r8, [rsp + 0xc0]
lea edx, [r9 + 0xe]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x140095806
mov qword [rsp + 0x30], r13
mov eax, dword [rbx + 0x150]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
movzx esi, sil
test eax, eax
cmovne esi, r12d
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140095819
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x14009593a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14009593a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
jmp 0x14009593a
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
je 0x140095960
xor eax, eax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0xd8], 3
mov word [rsp + 0x240], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x242]
call fcn.1400ad2f0
mov r8, rdi
mov edx, 0x104
lea rcx, [rsp + 0x240]
call fcn.1400aeb10
lea rdx, [rsp + 0x240]
mov qword [rsp + 0xe0], rdx
mov rdi, qword [rsp + 0xb8]
test rdi, rdi
je 0x14009590f
mov word [rsp + 0x660], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x662]
call fcn.1400ad2f0
mov r8, rdi
mov edx, 0x104
lea rcx, [rsp + 0x660]
call fcn.1400aeb10
lea rdx, [rsp + 0x660]
mov qword [rsp + 0xe8], rdx
mov r9d, 0x18
lea r8, [rsp + 0xd8]
lea edx, [r9 + 0xe]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14009593a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x14009594d
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140095960
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140095973
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test sil, sil
mov sil, byte [rsp + 0x40]
je 0x140095410
jmp 0x140095999
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
mov sil, byte [rsp + 0x40]
jmp 0x140095410
mov rdx, qword [rbx + 0x148]
test rdx, rdx
je 0x1400959cf
mov dword [rsp + 0x48], r13d
lea r9, [rsp + 0x48]
mov r8d, dword [rbx + 0x150]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x1400959cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140096590
mov dword [rsp + 0x44], r13d
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x16]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140095a1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140095fb1
mov ecx, dword [rsp + 0x44]
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.140097a1c
mov r13, rax
test rax, rax
je 0x140095fae
mov r8d, dword [rsp + 0x44]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.1400ad2f0
xor ebp, ebp
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9, r13
xor r8d, r8d
lea edx, [rdi + 0x17]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x140095fa1
xor eax, eax
mov rcx, rdi
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r13
lea rcx, [rbx + 0x60]
call fcn.140025a70
lea ecx, [rbp + 8]
call fcn.1400aee14
test rax, rax
je 0x140095ab9
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
jmp 0x140095abc
mov rax, rbp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x210], 7
mov qword [rsp + 0x208], rbp
mov word [rsp + 0x1f8], bp
xor r8d, r8d
lea rdx, [0x1400f9500]
lea rcx, [rsp + 0x1f0]
call fcn.140025a70
nop
cmp byte [rbx + 0x200], 0
jne 0x140095ba3
mov r8d, 0x19
lea rdx, str.charset_A_Za_z0_9___
lea rcx, [rsp + 0x1f0]
call fcn.140025a70
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbx + 0x60]
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x1f0]
call fcn.1400949d0
test al, al
je 0x140095ba3
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140095ba3
test rdx, rdx
jne 0x140095b8d
call fcn.1400aedac
mov rdi, qword [rsp + 0x68]
lea rcx, [rbx + 0xb0]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.140025740
mov r8d, 0x18
lea rdx, str.Content_Length:__0_9_
lea rcx, [rsp + 0x1f0]
call fcn.140025a70
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbx + 0x60]
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x1f0]
call fcn.1400949d0
test al, al
je 0x140095c3b
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140095c3b
test rdx, rdx
jne 0x140095c1f
call fcn.1400aedac
mov rdi, qword [rsp + 0x68]
cmp qword [rdi + 0x20], 8
jb 0x140095c2c
mov rcx, qword [rdi + 8]
jmp 0x140095c30
lea rcx, [rdi + 8]
call fcn.1400aff20
mov dword [rbx + 0xf0], eax
mov r8d, 0x12
lea rdx, str.Location:__0_9_
lea rcx, [rsp + 0x1f0]
call fcn.140025a70
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbx + 0x60]
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x1f0]
call fcn.1400949d0
test al, al
je 0x140095ccd
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140095ccd
test rdx, rdx
jne 0x140095cb7
call fcn.1400aedac
mov rdi, qword [rsp + 0x68]
lea rcx, [rbx + 0x258]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.140025740
mov r8d, 0x15
lea rdx, str.Set_Cookie:_b.__n
lea rcx, [rsp + 0x1f0]
call fcn.140025a70
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbx + 0x60]
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x1f0]
call fcn.1400949d0
test al, al
je 0x140095eff
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140095f04
mov rsi, rbp
test rdx, rdx
je 0x140095e0d
lea r12, [rbx + 0xf8]
or r14, 0xffffffffffffffff
movabs rbx, 0x6666666666666667
cmp rsi, rdx
jb 0x140095d72
call fcn.1400aedac
mov rdi, qword [rsp + 0x68]
lea rdx, [rdi + rbp]
mov r9, r14
xor r8d, r8d
mov rcx, r12
call fcn.140025da0
mov r11, qword [rsp + 0x70]
mov rcx, r11
mov rdi, qword [rsp + 0x68]
sub rcx, rdi
mov rax, rbx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
lea rax, [rdx + rax - 1]
cmp rsi, rax
je 0x140095dce
mov r8d, 2
lea rdx, [0x1400f3454]
mov rcx, r12
call fcn.1400258f0
mov r11, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
inc rsi
add rbp, 0x28
sub r11, rdi
mov rax, rbx
imul r11
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x140095d63
mov rbx, qword [rsp + 0xf0]
mov r14, qword [rsp + 0x118]
xor ebp, ebp
mov r12d, 1
mov qword [rsp + 0x140], 7
mov qword [rsp + 0x138], rbp
mov word [rsp + 0x128], bp
mov r8, r12
lea rdx, [0x1400f9598]
lea rcx, [rsp + 0x120]
call fcn.140025a70
nop
lea r8, [rsp + 0x120]
lea rdx, [rbx + 0xf8]
lea rcx, [rsp + 0x148]
call fcn.140093120
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbx + 0xf8]
call fcn.140025740
nop
cmp qword [rsp + 0x168], 8
jb 0x140095e8d
mov rcx, qword [rsp + 0x150]
call fcn.1400ad0b8
mov qword [rsp + 0x168], 7
mov qword [rsp + 0x160], rbp
mov word [rsp + 0x150], bp
cmp qword [rsp + 0x140], 8
jb 0x140095ec1
mov rcx, qword [rsp + 0x128]
call fcn.1400ad0b8
mov rdx, qword [rbx + 0x110]
test rdx, rdx
je 0x140095eff
dec rdx
lea rcx, [rbx + 0xf8]
call fcn.140037530
cmp word [rax], 0x3b
je 0x140095eff
mov r8, r12
lea rdx, [0x1400fe2fc]
lea rcx, [rbx + 0xf8]
call fcn.1400258f0
mov rdi, qword [rsp + 0x68]
jmp 0x140095f04
mov rdi, qword [rsp + 0x68]
cmp qword [rsp + 0x210], 8
jb 0x140095f21
mov rcx, qword [rsp + 0x1f8]
call fcn.1400ad0b8
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0x210], 7
mov qword [rsp + 0x208], rbp
mov word [rsp + 0x1f8], bp
test rdi, rdi
je 0x140095f88
mov rsi, qword [rsp + 0x70]
cmp rdi, rsi
je 0x140095f80
add rdi, 0x20
cmp qword [rdi], 8
jb 0x140095f5f
mov rcx, qword [rdi - 0x18]
call fcn.1400ad0b8
mov qword [rdi], 7
mov qword [rdi - 8], rbp
mov word [rdi - 0x18], bp
add rdi, 0x28
lea rax, [rdi - 0x20]
cmp rax, rsi
jne 0x140095f50
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400ad0b8
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rbp
mov rcx, qword [rsp + 0x50]
call fcn.1400ad0b8
mov rcx, r13
call fcn.1400afc58
xor r13d, r13d
jmp 0x140095fb1
xor r13d, r13d
mov dword [rsp + 0x44], r13d
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140095feb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140096072
mov ecx, dword [rsp + 0x44]
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.140097a1c
mov rsi, rax
test rax, rax
je 0x140096072
mov r8d, dword [rsp + 0x44]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.1400ad2f0
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9, rsi
xor r8d, r8d
lea edx, [rdi + 0x14]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14009606a
xor eax, eax
mov rcx, rdi
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x1b0]
mov rdx, rsi
call fcn.140025a70
mov rcx, rsi
call fcn.1400afc58
mov r12d, 0x2800
mov ebp, r13d
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x140096093
call fcn.1400afc58
mov qword [rbx + 0xd8], r13
mov rcx, r12
call fcn.140097a1c
mov qword [rbx + 0xd8], rax
test rax, rax
je 0x1400965a6
xor edx, edx
mov r8, r12
mov rcx, rax
call fcn.1400ad2f0
nop dword [rax + rax]
mov dword [rsp + 0x44], r13d
lea rdx, [rsp + 0x44]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400961a4
mov edx, ebp
mov rcx, rbx
call fcn.14008eac0
mov ecx, dword [rsp + 0x44]
inc ecx
call fcn.140097a1c
mov rdi, rax
test rax, rax
je 0x1400961b0
mov r8d, dword [rsp + 0x44]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.1400ad2f0
mov dword [rsp + 0x48], r13d
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14009619a
mov ecx, dword [rsp + 0x48]
lea eax, [rcx + rbp]
cmp eax, r12d
jbe 0x140096182
mov rsi, qword [rbx + 0xd8]
add r12d, r12d
mov ecx, r12d
call fcn.140097a1c
mov qword [rbx + 0xd8], rax
test rax, rax
je 0x1400961bc
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.1400ad2f0
mov r8d, ebp
mov rdx, rsi
mov rcx, qword [rbx + 0xd8]
call fcn.1400b01c0
mov rcx, rsi
call fcn.1400afc58
mov ecx, dword [rsp + 0x48]
mov r8d, ecx
mov ecx, ebp
add rcx, qword [rbx + 0xd8]
mov rdx, rdi
call fcn.1400b01c0
add ebp, dword [rsp + 0x48]
mov rcx, rdi
call fcn.1400afc58
jmp 0x1400961b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
cmp dword [rsp + 0x44], 0
jbe 0x1400961ce
jmp 0x1400960c0
mov qword [rbx + 0xd8], rsi
xor r13b, r13b
mov byte [rsp + 0x41], r13b
xor r13d, r13d
mov edx, ebp
mov rcx, rbx
call fcn.14008eac0
mov dword [rbx + 0xe0], ebp
mov ebp, r13d
mov r12d, 1
cmp qword [rbx + 0xd0], 8
jb 0x1400961fa
mov rcx, qword [rbx + 0xb8]
jmp 0x140096201
lea rcx, [rbx + 0xb8]
mov r8d, 5
lea rdx, str.utf_8
call fcn.1400b071c
test eax, eax
jne 0x14009621f
mov ebp, 0xfde9
mov r12d, r13d
mov r9d, dword [rbx + 0xe0]
inc r9d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r8, qword [rbx + 0xd8]
mov edx, r12d
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test eax, eax
jg 0x140096284
mov ebp, r13d
mov r12d, 1
mov r9d, dword [rbx + 0xe0]
inc r9d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r8, qword [rbx + 0xd8]
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test eax, eax
jle 0x140096314
movsxd r13, edi
mov eax, 2
mul r13
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140097a1c
mov rsi, rax
test rax, rax
je 0x140096311
lea r8, [r13 + r13]
xor edx, edx
mov rcx, rax
call fcn.1400ad2f0
mov r9d, dword [rbx + 0xe0]
inc r9d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
mov r8, qword [rbx + 0xd8]
mov edx, r12d
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x140096304
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x88]
mov rdx, rsi
call fcn.140025a70
mov rcx, rsi
call fcn.1400afc58
xor r13d, r13d
jmp 0x140096314
xor r13d, r13d
mov r12b, 1
lea rcx, [rsp + 0x220]
cmp qword [rsp + 0x238], 8
cmovae rcx, qword [rsp + 0x220]
mov edi, 3
mov r8, qword [rsp + 0x230]
cmp r8, rdi
cmovb rdi, r8
lea rdx, [0x1400f3540]
test rdi, rdi
je 0x14009637d
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140096369
add rcx, 2
add rdx, 2
sub rdi, 1
jne 0x140096351
jmp 0x14009637d
mov edi, 1
cmp word [rcx], ax
mov rax, 0xffffffffffffffff
cmovb edi, eax
jmp 0x140096380
mov edi, r13d
movsxd rax, edi
test edi, edi
jne 0x14009639b
cmp r8, 3
jb 0x1400965c1
mov eax, r13d
cmp r8, 3
setne al
test eax, eax
jne 0x1400965ba
cmp byte [rsp + 0x40], al
jne 0x1400965b3
mov qword [rsp + 0x210], 7
mov qword [rsp + 0x208], r13
mov word [rsp + 0x1f8], r13w
lea r8d, [rax + 8]
lea rdx, str._html_
lea rcx, [rsp + 0x1f0]
call fcn.140025a70
nop
mov ecx, 8
call fcn.1400aee14
test rax, rax
je 0x1400963fc
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
jmp 0x1400963ff
mov rax, r13
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbx + 0x88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rsp + 0x1f0]
call fcn.1400949d0
test al, al
je 0x1400964f8
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
mov rdi, qword [rsp + 0x68]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140096502
mov r8d, 9
lea rdx, str.__html_
lea rcx, [rsp + 0x1f0]
call fcn.140025a70
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbx + 0x88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rsp + 0x1f0]
call fcn.1400949d0
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
test al, al
je 0x1400964e9
mov rcx, rsi
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140096502
mov dword [rbx + 0x1a8], 0xd
xor r12b, r12b
jmp 0x140096502
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x140096549
cmp rdi, rsi
je 0x140096541
add rdi, 0x20
cmp qword [rdi], 8
jb 0x14009651f
mov rcx, qword [rdi - 0x18]
call fcn.1400ad0b8
mov qword [rdi], 7
mov qword [rdi - 8], r13
mov word [rdi - 0x18], r13w
add rdi, 0x28
lea rax, [rdi - 0x20]
cmp rax, rsi
jne 0x140096510
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400ad0b8
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov rcx, qword [rsp + 0x50]
call fcn.1400ad0b8
nop
cmp qword [rsp + 0x210], 8
jb 0x14009657b
mov rcx, qword [rsp + 0x1f8]
call fcn.1400ad0b8
test r12b, r12b
jne 0x1400965ab
mov sil, byte [rsp + 0x40]
mov r12d, 1
jmp 0x140095410
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
mov sil, byte [rsp + 0x40]
jmp 0x140095410
xor r13b, r13b
jmp 0x1400965c6
movzx r13d, byte [rsp + 0x41]
jmp 0x1400965c6
mov r13b, byte [rsp + 0x41]
jmp 0x1400965c6
mov r13b, byte [rsp + 0x41]
jmp 0x1400965c6
mov r13b, byte [rsp + 0x41]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x238], 8
jb 0x1400965f6
mov rcx, qword [rsp + 0x220]
call fcn.1400ad0b8
mov al, r13b
jmp 0x14009661f
mov dword [rbx + 0x1a8], 0x57
cmp qword [rsp + 0x238], 8
jb 0x14009661d
mov rcx, qword [rsp + 0x220]
call fcn.1400ad0b8
xor al, al
mov rcx, qword [rsp + 0x12a0]
xor rcx, rsp
call fcn.1400ad2c0
mov rbx, qword [rsp + 0x1300]
add rsp, 0x12b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret