Function at 0x140003cdc
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 - 0x11e0]
mov eax, 0x12e0
call fcn.140033090
sub rsp, rax
movaps xmmword [rsp + 0x12d0], xmm6
mov rax, qword [0x14004b010]
xor rax, rsp
mov qword [rbp + 0x11c0], rax
mov byte [rsp + 0x44], r8b
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x50], r14d
cmp qword [rcx + 0x40], r14
ja 0x140003d41
mov dword [rcx + 0x1a0], 3
xor al, al
jmp 0x140004eea
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xf0], r14
mov qword [rbp + 0xf8], r14
lea rcx, [rbp + 0xe0]
call fcn.1400027d0
nop
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rcx, qword [rbp + 0xe0]
lea rdx, [0x140044350]
call fcn.14001b888
test eax, eax
jne 0x140003d93
lea rbx, [0x140044350]
jmp 0x140003dc1
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rcx, qword [rbp + 0xe0]
lea rbx, str.POST
mov rdx, rbx
call fcn.14001b888
test eax, eax
jne 0x140004ecd
mov rdx, rbx
lea rcx, [rbp + 0xe0]
call fcn.1400024b8
mov r13d, 1
cmp qword [rsi + 0x20], r14
jne 0x140003e14
lea rcx, [rsi + 0x1a8]
cmp qword [rcx + 0x18], 8
jb 0x140003ded
mov rcx, qword [rcx]
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsi + 0x20], rax
test rax, rax
jne 0x140003e14
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140004ed2
mov eax, dword [rsi + 0x23c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x238]
mov r8d, dword [rsi + 0x234]
mov edx, dword [rsi + 0x230]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x370]
call fcn.1400134d0
xor edx, edx
mov r8d, 0xa28
lea rcx, [rbp + 0x790]
call fcn.1400134d0
mov ebx, 0x68
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.1400134d0
mov dword [rbp + 0x50], ebx
lea rax, [rbp + 0x370]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x70], 0x104
lea rax, [rbp + 0x790]
mov qword [rbp + 0x98], rax
mov dword [rbp + 0xa0], 0x514
mov dword [rbp + 0x60], r13d
lea rbx, [rsi + 0x30]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140003eb9
mov rcx, qword [rbx]
lea r9, [rbp + 0x50]
xor r8d, r8d
mov edx, dword [rsi + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x140004edb
lea rcx, [rsi + 0x50]
lea rdx, [rbp + 0x370]
call fcn.1400024b8
xor r9d, r9d
movzx r8d, word [rbp + 0x74]
lea rdx, [rbp + 0x370]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140004edb
mov ecx, r14d
mov eax, 0x800000
cmp dword [rbp + 0x64], 2
cmove ecx, eax
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rdx, qword [rbp + 0xe0]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, qword [rbp + 0x98]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r15, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140004ec2
xor edi, edi
lea r14d, [rdi + 4]
cmp byte [rsi + 0x28], dil
jne 0x140003f90
cmp dword [rbp + 0x64], 2
jne 0x140003f90
mov dword [rsp + 0x4c], 0x3100
mov r9d, r14d
lea r8, [rsp + 0x4c]
lea edx, [rdi + 0x1f]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [rsp + 0x78], r13d
mov r9d, r14d
lea r8, [rsp + 0x78]
mov edx, 0x4d
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov r14b, dil
mov ecx, edi
mov r12d, 3
movsd xmm6, qword [0x140044d20]
mov eax, ecx
add ecx, r13d
mov dword [rsp + 0x4c], ecx
cmp eax, r12d
jae 0x140004eb0
cmp qword [rsi + 0x150], rdi
jbe 0x140004010
lea rdx, [rsi + 0x140]
cmp qword [rdx + 0x18], 8
jb 0x140003fea
mov rdx, qword [rdx]
mov r9d, 0x1000000
mov r8d, dword [rsi + 0x150]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140004010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
cmp qword [rsi + 0x120], rdi
jbe 0x1400040be
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], di
lea rdx, str.Cookie:
lea rcx, [rbp + 0xc0]
call fcn.1400024b8
nop
lea r8, [rsi + 0x110]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140004065
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0xc0]
call fcn.14000261c
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 8
cmovae rdx, qword [rbp + 0xc0]
mov r9d, 0x1000000
mov r8d, dword [rbp + 0xd0]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1400040b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
lea rcx, [rbp + 0xc0]
call fcn.1400025b8
cmp qword [rsi + 0x190], rdi
jbe 0x1400041c3
mov qword [rbp + 0x18], 3
mov qword [rbp + 0x28], rdi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.1400134d0
lea r8, [rsi + 0x180]
cmp qword [r8 + 0x18], 8
jb 0x1400040fc
mov r8, qword [r8]
mov edx, 0x104
lea rcx, [rbp + 0x160]
call fcn.14001b32c
lea rax, [rbp + 0x160]
mov qword [rbp + 0x20], rax
mov r9d, 0x18
lea r8, [rbp + 0x18]
lea edx, [r9 + 0xe]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14000413f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
cmp qword [rsi + 0x1e0], rdi
jbe 0x1400041c3
lea r8, [rsi + 0x1d0]
cmp qword [r8 + 0x18], 8
jb 0x140004159
mov r8, qword [r8]
mov r9d, dword [rsi + 0x1e0]
add r9d, r9d
mov edx, 0x1002
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x140004181
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
cmp qword [rsi + 0x200], rdi
jbe 0x1400041c3
lea r8, [rsi + 0x1f0]
cmp qword [r8 + 0x18], 8
jb 0x14000419b
mov r8, qword [r8]
mov r9d, dword [rsi + 0x200]
add r9d, r9d
mov edx, 0x1003
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400041c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
cmp byte [rsp + 0x44], dil
je 0x1400041fa
mov dword [rsp + 0x48], 2
mov r9d, 4
lea r8, [rsp + 0x48]
lea edx, [r9 + 0x3b]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400041fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
cmp qword [rsi + 0x170], r13
jae 0x14000422a
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jmp 0x1400044ac
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
xor ecx, ecx
test eax, eax
je 0x140004e99
cmp qword [rsi + 0x170], rcx
jbe 0x1400042fe
mov qword [rbp - 0x18], rcx
mov dword [rbp - 0x28], r12d
mov dword [rbp - 0x24], r12d
lea rax, [rsi + 0x160]
cmp qword [rax + 0x18], 8
jb 0x140004273
mov rax, qword [rax]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0xc], r13d
mov dword [rbp - 0x10], ecx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140004298
mov rdx, qword [rbx]
lea r9, [rbp + 0x30]
lea r8, [rbp - 0x28]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
xor ebx, ebx
test eax, eax
je 0x140004473
lea r9d, [rbx + 0x18]
lea r8, [rbp + 0x30]
lea edx, [rbx + 0x26]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x140004473
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140004473
mov dil, r13b
jmp 0x140004473
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1400043bf
mov dword [rbp - 8], r12d
mov dword [rbp - 4], r12d
mov qword [rbp], rax
mov dword [rbp + 0x14], r13d
mov dword [rbp + 0x10], ecx
mov qword [rbp + 8], rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000433c
mov rdx, qword [rbx]
lea r9, [rbp - 0x58]
lea r8, [rbp - 8]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
xor ebx, ebx
test eax, eax
je 0x140004467
lea r9d, [rbx + 0x18]
lea r8, [rbp - 0x58]
lea edx, [rbx + 0x26]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x140004398
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
movzx edi, dil
test eax, eax
cmovne edi, r13d
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400043a7
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140004473
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140004473
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140004491
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x40], r12d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.1400134d0
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x160]
call fcn.14001b32c
lea rax, [rbp + 0x160]
mov qword [rbp - 0x38], rax
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x14000444c
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x580]
call fcn.1400134d0
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x580]
call fcn.14001b32c
lea rax, [rbp + 0x580]
mov qword [rbp - 0x30], rax
mov r9d, 0x18
lea r8, [rbp - 0x40]
lea edx, [r9 + 0xe]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x140004473
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140004482
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140004491
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400044a0
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test dil, dil
lea rbx, [rsi + 0x30]
mov edi, 0
mov ecx, dword [rsp + 0x4c]
je 0x140003fbe
mov rdx, qword [rsi + 0x130]
test rdx, rdx
je 0x1400044eb
mov dword [rsp + 0x48], edi
lea r9, [rsp + 0x48]
mov r8d, dword [rsi + 0x138]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x1400044eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140004e7b
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea ebx, [r9 + 0x16]
mov edx, ebx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140004539
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400049f3
mov ecx, dword [rsp + 0x40]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140010328
mov r12, rax
mov r8d, dword [rsp + 0x40]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.1400134d0
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r12
xor r8d, r8d
mov edx, ebx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400049eb
lea rbx, [rsi + 0x70]
mov rdx, r12
mov rcx, rbx
call fcn.1400024b8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], di
lea rdx, [0x140043a48]
lea rcx, [rbp + 0x120]
call fcn.1400024b8
nop
cmp byte [rsi + 0x1c8], dil
jne 0x140004641
lea rdx, str.charset_A_Za_z0_9___
lea rcx, [rbp + 0x120]
call fcn.1400024b8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rbp + 0x120]
call fcn.140003434
test al, al
je 0x140004641
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x140004641
lea rcx, [rsi + 0xb0]
call fcn.14000d3b0
lea rdx, str.Content_Length:__0_9_
lea rcx, [rbp + 0x120]
call fcn.1400024b8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rbp + 0x120]
call fcn.140003434
test al, al
je 0x14000469c
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x14000469c
cmp qword [rcx + 0x18], 8
jb 0x140004691
mov rcx, qword [rcx]
call fcn.14001b9f8
mov dword [rsi + 0xe8], eax
lea rdx, str.Location:__0_9_
lea rcx, [rbp + 0x120]
call fcn.1400024b8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rbp + 0x120]
call fcn.140003434
test al, al
je 0x1400046ee
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x1400046ee
lea rcx, [rsi + 0x210]
call fcn.14000d3b0
lea rdx, str.Set_Cookie:_b.__n
lea rcx, [rbp + 0x120]
call fcn.1400024b8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rbp + 0x120]
call fcn.140003434
test al, al
je 0x1400049d4
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
sub rdi, rbx
sar rdi, 5
xor eax, eax
test rdi, rdi
je 0x1400049d4
mov r14d, eax
lea r15, [rsi + 0xf0]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140004755
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, r15
call fcn.14000261c
lea rax, [rdi - 1]
cmp r14, rax
je 0x14000477f
mov r8d, 2
lea rdx, [0x140044444]
mov rcx, r15
call fcn.14000261c
add r14, r13
add rbx, 0x20
cmp r14, rdi
jb 0x140004748
xor r15d, r15d
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], r15w
lea rdx, str._0__
lea rcx, [rbp + 0xc0]
call fcn.1400024b8
nop
lea rbx, [rsi + 0xf0]
mov r14d, r15d
mov rdi, qword [rbx + 0x10]
mov r9, qword [rbp + 0xd0]
test rdi, rdi
je 0x14000482d
mov rcx, r15
test r9, r9
je 0x14000482d
cmp qword [rbp + 0xd8], 8
setae r8b
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400047fe
mov rdx, qword [rbx]
lea rax, [rbp + 0xc0]
test r8b, r8b
cmovne rax, qword [rbp + 0xc0]
movzx eax, word [rax + rcx*2]
cmp word [rdx + r14*2], ax
je 0x140004825
add rcx, r13
cmp rcx, r9
jae 0x14000482d
jmp 0x1400047f1
add r14, r13
cmp r14, rdi
jb 0x1400047dd
dec rdi
jmp 0x14000487c
mov rcx, r15
test r9, r9
je 0x140004880
cmp qword [rbp + 0xd8], 8
setae r8b
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140004853
mov rdx, qword [rbx]
lea rax, [rbp + 0xc0]
test r8b, r8b
cmovne rax, qword [rbp + 0xc0]
movzx eax, word [rax + rcx*2]
cmp word [rdx + rdi*2], ax
je 0x140004879
add rcx, r13
cmp rcx, r9
jae 0x140004880
jmp 0x140004846
sub rdi, r13
test edi, edi
jns 0x140004832
mov qword [rbp + 0x100], r15
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], 7
mov word [rbp + 0x100], r15w
lea rdx, [0x140043a48]
lea rcx, [rbp + 0x100]
call fcn.1400024b8
mov r15d, dword [rsp + 0x50]
or r15d, r13d
mov dword [rsp + 0x50], r15d
cmp rdi, r14
jb 0x140004932
cmp r14, qword [rbx + 0x10]
jae 0x140004932
sub rdi, r14
lea r9, [rdi + r13]
mov r8, r14
lea rdx, [rbp + 0x140]
mov rcx, rbx
call fcn.14000d1d0
mov rdi, rax
lea rax, [rbp + 0x100]
cmp rax, rdi
je 0x140004926
lea rcx, [rbp + 0x100]
call fcn.1400025b8
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x110], xmm1
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
lea rcx, [rbp + 0x140]
call fcn.1400025b8
lea rax, [rbp + 0x100]
cmp rbx, rax
je 0x140004978
mov rcx, rbx
call fcn.1400025b8
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x110]
movups xmmword [rbx + 0x10], xmm1
xor edi, edi
mov qword [rbp + 0x110], rdi
mov qword [rbp + 0x118], 7
mov word [rbp + 0x100], di
jmp 0x14000497a
xor edi, edi
and r15d, 0xfffffffe
mov dword [rsp + 0x50], r15d
lea rcx, [rbp + 0x100]
call fcn.1400025b8
nop
lea rcx, [rbp + 0xc0]
call fcn.1400025b8
mov rcx, qword [rsi + 0x100]
test rcx, rcx
je 0x1400049cf
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400049b5
mov rax, qword [rbx]
cmp word [rax + rcx*2 - 2], 0x3b
je 0x1400049cf
mov r8, r13
lea rdx, [0x14004444c]
mov rcx, rbx
call fcn.14000261c
mov r15, qword [rsp + 0x58]
lea rcx, [rbp + 0x120]
call fcn.1400025b8
nop
lea rcx, [rsp + 0x60]
call fcn.14000d120
mov rcx, r12
call fcn.140010068
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea r14d, [r9 + 0x13]
mov edx, r14d
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140004a2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140004a97
mov ecx, dword [rsp + 0x40]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140010328
mov rbx, rax
mov r8d, dword [rsp + 0x40]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.1400134d0
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor r8d, r8d
mov edx, r14d
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x140004a8f
mov rdx, rbx
mov rcx, rsi
call fcn.1400024b8
mov rcx, rbx
call fcn.140010068
mov ebx, 0x2800
mov r12d, ebx
mov r14d, edi
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x140004aba
call fcn.140010068
mov qword [rsi + 0xd0], rdi
mov rcx, rbx
call fcn.140010328
mov qword [rsi + 0xd0], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.1400134d0
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140004bdf
mov rdx, qword [rsi + 0xe0]
test rdx, rdx
je 0x140004b23
mov ecx, dword [rsi + 0xe8]
test ecx, ecx
je 0x140004b23
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 [rsp + 0x40]
inc ecx
call fcn.140010328
mov r15, rax
mov r8d, dword [rsp + 0x40]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.1400134d0
mov dword [rsp + 0x48], edi
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, r15
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140004bd0
mov ecx, dword [rsp + 0x48]
lea eax, [rcx + r14]
cmp eax, r12d
jbe 0x140004bb6
mov rdi, qword [rsi + 0xd0]
add r12d, r12d
mov ecx, r12d
call fcn.140010328
mov qword [rsi + 0xd0], rax
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.1400134d0
mov r8d, r14d
mov rdx, rdi
mov rcx, qword [rsi + 0xd0]
call fcn.1400136c0
mov rcx, rdi
call fcn.140010068
mov ecx, dword [rsp + 0x48]
xor edi, edi
mov r8d, ecx
mov ecx, r14d
add rcx, qword [rsi + 0xd0]
mov rdx, r15
call fcn.1400136c0
add r14d, dword [rsp + 0x48]
mov rcx, r15
call fcn.140010068
mov r15, qword [rsp + 0x58]
jmp 0x140004beb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
cmp dword [rsp + 0x40], edi
ja 0x140004ad6
mov rdx, qword [rsi + 0xe0]
test rdx, rdx
je 0x140004c28
mov ecx, dword [rsi + 0xe8]
test ecx, ecx
je 0x140004c28
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 [rsi + 0xd8], r14d
mov r14d, edi
mov r15d, r13d
lea rcx, [rsi + 0xb0]
cmp qword [rcx + 0x18], 8
jb 0x140004c46
mov rcx, qword [rcx]
mov r8d, 5
lea rdx, [0x140044450]
call fcn.14001b658
test eax, eax
jne 0x140004c65
mov r14d, 0xfde9
mov r15d, edi
mov r9d, dword [rsi + 0xd8]
add r9d, r13d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r8, qword [rsi + 0xd0]
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
xor ebx, ebx
test eax, eax
jg 0x140004cc4
mov r14d, ebx
mov r15d, r13d
mov r9d, dword [rsi + 0xd8]
add r9d, r13d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r8, qword [rsi + 0xd0]
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test eax, eax
jle 0x140004d37
mov ebx, edi
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140010328
mov r12, rax
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rax
call fcn.1400134d0
mov r9d, dword [rsi + 0xd8]
add r9d, r13d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
mov r8, qword [rsi + 0xd0]
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edi, edi
test eax, eax
jle 0x140004d2d
lea rcx, [rsi + 0x90]
mov rdx, r12
call fcn.1400024b8
mov rcx, r12
call fcn.140010068
jmp 0x140004d39
xor edi, edi
mov r14b, r13b
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rcx, qword [rbp + 0xe0]
mov r12d, 3
cmp qword [rbp + 0xf0], r12
jne 0x140004eb3
mov r8d, r12d
lea rdx, [0x140044350]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140004eb3
add rcx, 2
add rdx, 2
sub r8, r13
jne 0x140004d70
cmp byte [rsp + 0x44], dil
jne 0x140004eb3
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], di
lea rdx, str._html_
lea rcx, [rbp + 0xc0]
call fcn.1400024b8
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
lea rbx, [rsi + 0x90]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rbp + 0xc0]
call fcn.140003434
test al, al
je 0x140004e5d
mov rax, qword [rsp + 0x68]
sub rax, qword [rsp + 0x60]
sar rax, 5
test rax, rax
je 0x140004e5d
lea rdx, str.__html_
lea rcx, [rbp + 0xc0]
call fcn.1400024b8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rcx, [rbp + 0xc0]
call fcn.140003434
test al, al
je 0x140004e50
mov rax, qword [rsp + 0x68]
sub rax, qword [rsp + 0x60]
sar rax, 5
test rax, rax
jne 0x140004e5d
mov dword [rsi + 0x1a0], 0xd
mov r14b, dil
lea rcx, [rsp + 0x60]
call fcn.14000d120
nop
lea rcx, [rbp + 0xc0]
call fcn.1400025b8
mov r15, qword [rsp + 0x58]
jmp 0x140004e87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
test r14b, r14b
jne 0x140004eb3
lea rbx, [rsi + 0x30]
mov ecx, dword [rsp + 0x4c]
jmp 0x140003fbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a0], eax
mov ecx, dword [rsp + 0x4c]
xor edi, edi
jmp 0x140003fbe
mov r13b, dil
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdi, qword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x140004edb
mov eax, 0x57
mov dword [rsi + 0x1a0], eax
mov r13b, r14b
lea rcx, [rbp + 0xe0]
call fcn.1400025b8
mov al, r13b
mov rcx, qword [rbp + 0x11c0]
xor rcx, rsp
call fcn.140010040
lea r11, [rsp + 0x12e0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret