Function at 0x180089400
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 - 0x1130]
mov eax, 0x1230
call fcn.180358570
sub rsp, rax
movaps xmmword [rsp + 0x1220], xmm6
mov rax, qword [0x18054e100]
xor rax, rsp
mov qword [rbp + 0x1110], rax
mov rsi, rcx
cmp qword [rcx + 0x20], 0
ja 0x180089459
mov dword [rcx + 0x160], 3
xor al, al
jmp 0x18008a4c3
lea rcx, [rbp + 0x30]
call fcn.18008a780
nop
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rcx, qword [rbp + 0x30]
lea rdx, [0x18043c5a0]
call fcn.1803604c0
lea rcx, [rbp + 0x30]
test eax, eax
jne 0x18008948e
lea rbx, [0x18043c5a0]
jmp 0x1800894b3
cmp qword [rbp + 0x48], 7
cmova rcx, qword [rbp + 0x30]
lea rbx, str.POST
mov rdx, rbx
call fcn.1803604c0
test eax, eax
jne 0x18008a4a6
lea rcx, [rbp + 0x30]
mov rdx, rbx
call fcn.180085c80
mov dil, 1
mov rcx, qword [rsi]
xor r12d, r12d
test rcx, rcx
jne 0x180089503
lea rcx, [rsi + 0x188]
cmp qword [rcx + 0x18], 7
jbe 0x1800894da
mov rcx, qword [rcx]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rax
mov qword [rsi], rax
test rax, rax
jne 0x180089503
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18008a4ab
mov eax, dword [rsi + 0x21c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x218]
mov r8d, dword [rsi + 0x214]
mov edx, dword [rsi + 0x210]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov word [rbp + 0x2c0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x2c2]
call fcn.18038da60
mov word [rbp + 0x6e0], r12w
xor edx, edx
mov r8d, 0xa26
lea rcx, [rbp + 0x6e2]
call fcn.18038da60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
lea rax, [rbp + 0x2c0]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 0x104
lea rax, [rbp + 0x6e0]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 0x514
mov eax, 1
mov dword [rbp - 0x50], eax
lea rbx, [rsi + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1800895c4
mov rcx, qword [rbx]
lea r9, [rbp - 0x60]
xor r8d, r8d
mov edx, dword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x18008a4b6
lea rcx, [rsi + 0x30]
lea rdx, [rbp + 0x2c0]
call fcn.180085c80
xor r9d, r9d
movzx r8d, word [rbp - 0x3c]
lea rdx, [rbp + 0x2c0]
mov rcx, qword [rsi]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x18008a4b6
mov ecx, r12d
mov eax, 0x800000
cmp dword [rbp - 0x4c], 2
cmove ecx, eax
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rdx, qword [rbp + 0x30]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, qword [rbp - 0x18]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r13, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x18008a49b
cmp byte [rsi + 8], r12b
jne 0x18008968b
cmp dword [rbp - 0x4c], 2
jne 0x18008968b
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 r15b, r15b
mov ecx, r12d
movsd xmm6, qword [0x1805043f8]
mov r14, 0xffffffffffffffff
mov eax, ecx
inc ecx
mov dword [rbp - 0x80], ecx
cmp eax, 3
jae 0x18008a480
mov r8, qword [rsi + 0x130]
test r8, r8
je 0x1800896ec
lea rdx, [rsi + 0x120]
cmp qword [rdx + 0x18], 7
jbe 0x1800896cd
mov rdx, qword [rdx]
mov r9d, 0x1000000
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1800896ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
cmp qword [rsi + 0x100], 0
jbe 0x180089766
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov r8d, 8
lea rdx, str.Cookie:
lea rcx, [rbp + 0x10]
call fcn.18008a510
nop
lea rdx, [rsi + 0xf0]
lea rcx, [rbp + 0x10]
call fcn.1800855f0
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rdx, qword [rbp + 0x10]
mov r9d, 0x1000000
mov r8d, dword [rbp + 0x20]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x18008975d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
lea rcx, [rbp + 0x10]
call fcn.18008cc80
cmp qword [rsi + 0x150], 0
jbe 0x180089872
mov qword [rsp + 0x50], 3
mov qword [rsp + 0x60], r12
mov word [rbp + 0xb0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xb2]
call fcn.18038da60
lea r8, [rsi + 0x140]
cmp qword [r8 + 0x18], 7
jbe 0x1800897af
mov r8, qword [r8]
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.180360b90
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x58], rax
mov r9d, 0x18
lea r8, [rsp + 0x50]
lea edx, [r9 + 0xe]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1800897f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
mov rax, qword [rsi + 0x1c0]
test rax, rax
je 0x180089872
lea r9d, [rax + rax]
lea r8, [rsi + 0x1b0]
cmp qword [r8 + 0x18], 7
jbe 0x180089815
mov r8, qword [r8]
mov edx, 0x1002
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x180089833
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
mov rax, qword [rsi + 0x1e0]
test rax, rax
je 0x180089872
lea r9d, [rax + rax]
lea r8, [rsi + 0x1d0]
cmp qword [r8 + 0x18], 7
jbe 0x180089854
mov r8, qword [r8]
mov edx, 0x1003
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x180089872
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
xor dil, dil
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1800899c1
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x18008a463
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x180089afa
mov dword [rbp + 0x50], 3
mov r14d, 1
mov dword [rbp + 0x54], r14d
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x6c], r14d
mov dword [rbp + 0x68], r12d
mov qword [rbp + 0x60], r12
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x180089904
mov rdx, qword [rbx]
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x50]
mov rcx, qword [rsi]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x180089ae9
mov r9d, 0x18
lea r8, [rsp + 0x50]
lea edx, [r9 + 0xe]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x180089964
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
movzx edi, dil
test eax, eax
cmovne edi, r14d
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180089974
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180089984
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r14, 0xffffffffffffffff
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x18008999a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1800899a9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1800899b8
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test dil, dil
je 0x18008a46f
mov rdx, qword [rsi + 0x110]
test rdx, rdx
je 0x1800899f7
mov dword [rsp + 0x48], r12d
lea r9, [rsp + 0x48]
mov r8d, dword [rsi + 0x118]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x1800899f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
xor edx, edx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x18008a463
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x16]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x180089a44
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180089f6d
mov ecx, dword [rsp + 0x40]
mov eax, 2
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.180357d9c
mov r15, rax
mov qword [rsp + 0x48], rax
mov r8d, dword [rsp + 0x40]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.18038da60
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r15
xor r8d, r8d
lea edx, [r8 + 0x16]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x180089f65
mov rdx, r14
inc rdx
cmp word [r15 + rdx*2], 0
jne 0x180089aa3
mov rax, qword [rsi + 0x68]
cmp rdx, rax
ja 0x180089bd0
lea r14, [rsi + 0x50]
cmp rax, 7
jbe 0x180089ac9
mov r14, qword [rsi + 0x50]
mov qword [rsi + 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r15
mov rcx, r14
call fcn.18038d320
mov word [r14 + rbx], r12w
jmp 0x180089bdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
jmp 0x180089984
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x1800899a9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x50], 3
mov word [rbp + 0xb0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xb2]
call fcn.18038da60
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0xb0]
call fcn.180360b90
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x58], rax
mov rbx, qword [rbp + 0x28]
test rbx, rbx
je 0x180089b9f
mov word [rbp + 0x4d0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x4d2]
call fcn.18038da60
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x4d0]
call fcn.180360b90
lea rax, [rbp + 0x4d0]
mov qword [rsp + 0x60], rax
mov r9d, 0x18
lea r8, [rsp + 0x50]
lea edx, [r9 + 0xe]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x18008998b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
jmp 0x18008998b
mov r9, r15
lea rcx, [rsi + 0x50]
call fcn.18008ab00
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
xor r8d, r8d
lea rdx, [0x18043c44c]
lea rcx, [rbp + 0x10]
call fcn.18008a510
nop
cmp byte [rsi + 0x1a8], 0
jne 0x180089ca9
lea rdx, str.charset_A_Za_z0_9___
lea rcx, [rbp + 0x10]
call fcn.180085c80
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x50]
lea rcx, [rbp + 0x10]
call fcn.180088f80
test al, al
je 0x180089ca9
mov rax, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
sub rax, r9
sar rax, 5
test rax, rax
je 0x180089ca9
lea rcx, [rsi + 0x90]
cmp rcx, r9
je 0x180089ca9
mov rdx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x180089c72
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x180089ca4
mov rdi, rcx
cmp rax, 7
jbe 0x180089c87
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.18038d320
mov word [rbx + rdi], r12w
jmp 0x180089ca9
call fcn.18008ab00
lea rdx, str.Content_Length:__0_9_
lea rcx, [rbp + 0x10]
call fcn.180085c80
lea r9, [rsi + 0x50]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x10]
call fcn.180088f80
test al, al
je 0x180089cff
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x180089cff
cmp qword [rcx + 0x18], 7
jbe 0x180089cf4
mov rcx, qword [rcx]
call fcn.180361cc0
mov dword [rsi + 0xc8], eax
lea rdx, str.Location:__0_9_
lea rcx, [rbp + 0x10]
call fcn.180085c80
lea r9, [rsi + 0x50]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x10]
call fcn.180088f80
test al, al
je 0x180089d91
mov rax, qword [rsp + 0x58]
mov r9, qword [rsp + 0x50]
sub rax, r9
sar rax, 5
test rax, rax
je 0x180089d91
lea rcx, [rsi + 0x1f0]
cmp rcx, r9
je 0x180089d91
mov rdx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x180089d5a
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x180089d8c
mov rdi, rcx
cmp rax, 7
jbe 0x180089d6f
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.18038d320
mov word [rdi + rbx], r12w
jmp 0x180089d91
call fcn.18008ab00
lea rdx, str.Set_Cookie:_b.__n
lea rcx, [rbp + 0x10]
call fcn.180085c80
lea r9, [rsi + 0x50]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x10]
call fcn.180088f80
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
test al, al
je 0x180089ef8
mov r14, rdi
sub r14, r13
sar r14, 5
test r14, r14
je 0x180089ef8
mov rbx, r12
mov rdi, r13
lea r12, [r14 - 1]
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsi + 0xd0]
call fcn.1800855f0
cmp rbx, r12
je 0x180089e17
lea rdx, [0x18043c444]
lea rcx, [rsi + 0xd0]
call fcn.180085bf0
inc rbx
add rdi, 0x20
cmp rbx, r14
jb 0x180089df0
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xor r12d, r12d
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
lea r8d, [r12 + 1]
lea rdx, [0x18043c450]
lea rcx, [rbp + 0x50]
call fcn.18008a510
nop
lea rbx, [rsi + 0xd0]
lea r8, [rbp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.180085740
mov rdx, rax
mov rcx, rbx
call fcn.1800856a0
lea rcx, [rbp + 0x90]
call fcn.18008cc80
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x180089ebd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180089eb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008a4fb
call fcn.180357650
mov rax, qword [rsi + 0xe0]
test rax, rax
je 0x180089eee
cmp qword [rbx + 0x18], 7
jbe 0x180089ed3
mov rbx, qword [rbx]
cmp word [rbx + rax*2 - 2], 0x3b
je 0x180089eee
lea rcx, [rsi + 0xd0]
lea rdx, [0x18043c454]
call fcn.180085bf0
mov rdi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x48]
lea rcx, [rbp + 0x10]
call fcn.18008cc80
nop
test r13, r13
je 0x180089f5a
mov rbx, r13
cmp r13, rdi
je 0x180089f21
nop
mov rcx, rbx
call fcn.18008cc80
add rbx, 0x20
cmp rbx, rdi
jne 0x180089f10
mov rdx, qword [rsp + 0x60]
sub rdx, r13
and rdx, 0xffffffffffffffe0
mov rax, r13
cmp rdx, 0x1000
jb 0x180089f52
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008a501
mov rcx, r13
call fcn.180357650
mov r14, 0xffffffffffffffff
mov r13, qword [rbp - 0x78]
mov rcx, r15
call fcn.180357650
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x13]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x180089fa3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18008a00d
mov ecx, dword [rsp + 0x40]
mov eax, 2
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.180357d9c
mov rbx, rax
mov r8d, dword [rsp + 0x40]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.18038da60
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x18008a005
lea rcx, [rsi + 0x168]
mov rdx, rbx
call fcn.180085c80
mov rcx, rbx
call fcn.180357650
xor ebx, ebx
mov r12d, 0x2800
mov r14d, ebx
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x18008a030
call fcn.180357650
mov qword [rsi + 0xb0], rbx
mov rcx, r12
call fcn.180357d9c
mov qword [rsi + 0xb0], rax
xor edx, edx
mov r8, r12
mov rcx, rax
call fcn.18038da60
nop dword [rax]
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x18008a152
mov rdx, qword [rsi + 0xc0]
test rdx, rdx
je 0x18008a09d
mov ecx, dword [rsi + 0xc8]
test ecx, ecx
je 0x18008a09d
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.180357d9c
mov r15, rax
mov r8d, dword [rsp + 0x40]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.18038da60
mov dword [rsp + 0x48], ebx
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, r15
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x18008a148
mov ecx, dword [rsp + 0x48]
lea eax, [rcx + r14]
cmp eax, r12d
jbe 0x18008a12e
mov rdi, qword [rsi + 0xb0]
add r12d, r12d
mov ecx, r12d
call fcn.180357d9c
mov qword [rsi + 0xb0], rax
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.18038da60
mov r8d, r14d
mov rdx, rdi
mov rcx, qword [rsi + 0xb0]
call fcn.18038d320
mov rcx, rdi
call fcn.180357650
mov ecx, dword [rsp + 0x48]
xor ebx, ebx
mov r8d, ecx
mov ecx, r14d
add rcx, qword [rsi + 0xb0]
mov rdx, r15
call fcn.18038d320
add r14d, dword [rsp + 0x48]
mov rcx, r15
call fcn.180357650
jmp 0x18008a15e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
cmp dword [rsp + 0x40], 0
ja 0x18008a050
mov rdx, qword [rsi + 0xc0]
test rdx, rdx
je 0x18008a19c
mov ecx, dword [rsi + 0xc8]
test ecx, ecx
je 0x18008a19c
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 + 0xb8], r14d
lea rcx, [rsi + 0x90]
cmp qword [rcx + 0x18], 7
jbe 0x18008a1b4
mov rcx, qword [rcx]
mov r8d, 5
lea rdx, [0x18043c458]
call fcn.180360778
mov r12d, ebx
test eax, eax
setne r12b
mov r15d, 0xfde9
test eax, eax
cmovne r15d, ebx
mov r9d, dword [rsi + 0xb8]
inc r9d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r8, qword [rsi + 0xb0]
mov edx, r12d
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r14d, eax
test eax, eax
jg 0x18008a23e
mov r15d, ebx
mov eax, 1
mov r12d, eax
mov r9d, dword [rsi + 0xb8]
inc r9d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r8, qword [rsi + 0xb0]
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r14d, eax
test eax, eax
jle 0x18008a2ac
mov ebx, r14d
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180357d9c
mov rdi, rax
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rax
call fcn.18038da60
mov r9d, dword [rsi + 0xb8]
inc r9d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
mov r8, qword [rsi + 0xb0]
mov edx, r12d
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x18008a2a4
lea rcx, [rsi + 0x70]
mov rdx, rdi
call fcn.180085c80
mov rcx, rdi
call fcn.180357650
mov r15b, 1
lea r8, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova r8, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
cmp rdx, 3
jne 0x18008a485
lea rax, [0x18043c5a0]
mov rcx, rax
test rdx, rdx
je 0x18008a2f8
sub r8, rax
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x18008a485
add rcx, 2
sub rdx, 1
jne 0x18008a2e0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xor r12d, r12d
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
lea r8d, [r12 + 8]
lea rdx, str._html_
lea rcx, [rbp + 0x70]
call fcn.18008a510
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x70]
lea rcx, [rbp + 0x70]
call fcn.180088f80
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
test al, al
je 0x18008a3b9
mov rax, r14
sub rax, rdi
sar rax, 5
test rax, rax
je 0x18008a3b9
lea rdx, str.__html_
lea rcx, [rbp + 0x70]
call fcn.180085c80
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x70]
lea rcx, [rbp + 0x70]
call fcn.180088f80
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
test al, al
je 0x18008a3ac
mov rax, r14
sub rax, rdi
sar rax, 5
test rax, rax
jne 0x18008a3b9
mov dword [rsi + 0x160], 0xd
xor r15b, r15b
test rdi, rdi
je 0x18008a41e
mov rbx, rdi
cmp rdi, r14
je 0x18008a3d7
mov rcx, rbx
call fcn.18008cc80
add rbx, 0x20
cmp rbx, r14
jne 0x18008a3c6
mov rdx, qword [rsp + 0x78]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x18008a408
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008a507
mov rcx, rdi
call fcn.180357650
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x18008a46f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a45c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008a4f5
call fcn.180357650
jmp 0x18008a46f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
test r15b, r15b
jne 0x18008a48b
lea rbx, [rsi + 0x10]
mov ecx, dword [rbp - 0x80]
jmp 0x180089699
xor dil, dil
jmp 0x18008a48e
movzx edi, r15b
jmp 0x18008a48e
mov dil, 1
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov r14, qword [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x18008a4b6
mov eax, 0x57
mov ecx, 0x160
mov dword [rsi + rcx], eax
xor dil, dil
lea rcx, [rbp + 0x30]
call fcn.18008cc80
movzx eax, dil
mov rcx, qword [rbp + 0x1110]
xor rcx, rsp
call fcn.180357630
mov rbx, qword [rsp + 0x1280]
movaps xmm6, xmmword [rsp + 0x1220]
add rsp, 0x1230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18035e820
nop
call fcn.18035e820
nop
call fcn.18035e820
nop
call fcn.18035e820
int3