Function at 0x140010590
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
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 - 0x1180]
mov eax, 0x1280
call fcn.14001e620
sub rsp, rax
movaps xmmword [rsp + 0x1270], xmm6
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rbp + 0x1160], rax
movzx r15d, r8b
mov byte [rsp + 0x48], r8b
mov rdi, rdx
mov r12, rcx
cmp qword [rcx + 0x20], 0
ja 0x1400105f5
mov dword [rcx + 0x160], 3
xor al, al
jmp 0x140011aa8
xor r13d, r13d
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], r13
mov rsi, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14001061b
mov rdi, qword [rdx]
cmp rsi, 8
jae 0x14001063d
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb8], 7
mov ebx, 7
jmp 0x140010686
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0xa0]
call fcn.14000fb40
mov qword [rbp + 0xa0], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.14001ff70
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xb0], rsi
lea rcx, [rbp + 0xa0]
cmp rbx, 8
cmovae rcx, qword [rbp + 0xa0]
lea rdx, [0x14004c460]
call fcn.140029298
test eax, eax
jne 0x1400106bd
lea rbx, [0x14004c460]
lea r8d, [rax + 3]
jmp 0x1400106ef
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rcx, qword [rbp + 0xa0]
lea rbx, str.POST
mov rdx, rbx
call fcn.140029298
test eax, eax
jne 0x140011a54
lea r8d, [rax + 4]
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.14000fbb0
mov bl, 1
mov byte [rsp + 0x41], bl
mov rcx, qword [r12]
test rcx, rcx
jne 0x140010749
lea rcx, [r12 + 0x188]
cmp qword [rcx + 0x18], 8
jb 0x14001071f
mov rcx, qword [rcx]
mov dword [rsp + 0x20], r13d
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 0x140010749
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140011a59
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 + 0x310]
call fcn.140020860
xor edx, edx
mov r8d, 0xa28
lea rcx, [rbp + 0x730]
call fcn.140020860
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x10], 0x68
lea rax, [rbp + 0x310]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x30], 0x104
lea rax, [rbp + 0x730]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], 0x514
mov esi, 1
mov dword [rbp + 0x20], esi
lea r14, [r12 + 0x10]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x140010801
mov rcx, qword [r14]
lea r9, [rbp + 0x10]
xor r8d, r8d
mov edx, dword [r12 + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x140011a63
lea rax, [rbp + 0x310]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140010830
lea rcx, [r12 + 0x30]
lea rdx, [rbp + 0x310]
call fcn.14000fbb0
xor r9d, r9d
movzx r8d, word [rbp + 0x34]
lea rdx, [rbp + 0x310]
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140011a63
mov ecx, r13d
mov edx, 0x800000
cmp dword [rbp + 0x24], 2
cmove ecx, edx
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rdx, qword [rbp + 0xa0]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rbp + 0x58]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140011a48
cmp byte [r12 + 8], 0
jne 0x1400108f5
cmp dword [rbp + 0x24], 2
jne 0x1400108f5
mov dword [rsp + 0x50], 0x3100
mov r9d, 4
lea r8, [rsp + 0x50]
lea edx, [r9 + 0x1b]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xor dil, dil
mov byte [rsp + 0x40], dil
mov ecx, r13d
movsd xmm6, qword [0x14004c5a0]
nop dword [rax + rax]
mov eax, ecx
inc ecx
mov dword [rsp + 0x50], ecx
cmp eax, 3
jae 0x140011a2c
mov rax, qword [r12 + 0x130]
test rax, rax
je 0x140010964
lea rdx, [r12 + 0x120]
cmp qword [rdx + 0x18], 8
jb 0x140010940
mov rdx, qword [rdx]
mov r9d, 0x1000000
mov r8d, eax
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140010964
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
cmp qword [r12 + 0x100], 0
jbe 0x140010a62
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r13w
mov r8d, 8
lea rdx, str.Cookie:
lea rcx, [rbp + 0x80]
call fcn.14000fbb0
nop
lea rdx, [r12 + 0xf0]
cmp qword [r12 + 0x108], 8
jb 0x1400109c9
mov rdx, qword [r12 + 0xf0]
mov r8, qword [r12 + 0x100]
lea rcx, [rbp + 0x80]
call fcn.140010060
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
mov r9d, 0x1000000
mov r8d, dword [rbp + 0x90]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140010a1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x140010a62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010a5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011ae0
call fcn.14001df5c
cmp qword [r12 + 0x150], 0
jbe 0x140010b6e
mov qword [rbp - 0x10], 3
mov qword [rbp], r13
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x100]
call fcn.140020860
lea r8, [r12 + 0x140]
cmp qword [r8 + 0x18], 8
jb 0x140010aa3
mov r8, qword [r8]
mov edx, 0x104
lea rcx, [rbp + 0x100]
call fcn.1400291c4
lea rax, [rbp + 0x100]
mov qword [rbp - 8], rax
mov r9d, 0x18
lea r8, [rbp - 0x10]
lea edx, [r9 + 0xe]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x140010ae8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
mov rax, qword [r12 + 0x1c0]
test rax, rax
je 0x140010b6e
lea r8, [r12 + 0x1b0]
cmp qword [r8 + 0x18], 8
jb 0x140010b07
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 0x140010b2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
mov rax, qword [r12 + 0x1e0]
test rax, rax
je 0x140010b6e
lea r8, [r12 + 0x1d0]
cmp qword [r8 + 0x18], 8
jb 0x140010b4a
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 0x140010b6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
test r15b, r15b
je 0x140010ba5
mov dword [rsp + 0x4c], 2
mov r9d, 4
lea r8, [rsp + 0x4c]
lea edx, [r9 + 0x3b]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x140010ba5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
xor dil, dil
mov eax, dword [r12 + 0x118]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9, qword [r12 + 0x110]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x140010dbc
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
lea rcx, [rsp + 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x140011a02
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140010cc4
mov dword [rbp - 0x30], 3
mov ebx, 1
mov dword [rbp - 0x2c], ebx
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x14], ebx
mov dword [rbp - 0x18], r13d
mov qword [rbp - 0x20], r13
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140010c3f
mov rdx, qword [r14]
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x30]
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x140010d6f
mov r9d, 0x18
lea r8, [rbp - 0x60]
lea edx, [r9 + 0xe]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x140010c9d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
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
cmovne edi, ebx
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140010cac
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140010d7d
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140010d7d
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x140010d9b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x48], 3
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x100]
call fcn.140020860
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x100]
call fcn.1400291c4
lea rax, [rbp + 0x100]
mov qword [rbp - 0x40], rax
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140010d54
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x520]
call fcn.140020860
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0x520]
call fcn.1400291c4
lea rax, [rbp + 0x520]
mov qword [rbp - 0x38], 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 0x140010d7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140010d8c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140010d9b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140010daa
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test dil, dil
movzx edi, byte [rsp + 0x40]
mov ecx, dword [rsp + 0x50]
je 0x140010910
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140011a02
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, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140010e09
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400113b8
mov ecx, dword [rsp + 0x44]
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.14001e5fc
mov r15, rax
test rax, rax
je 0x1400113b8
mov r8d, dword [rsp + 0x44]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.140020860
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9, r15
xor r8d, r8d
lea edx, [rbx + 0x17]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400113b0
mov r8, rbx
inc r8
cmp word [r15 + r8*2], 0
jne 0x140010e72
mov rdx, r15
lea rcx, [r12 + 0x50]
call fcn.14000fbb0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r13w
xor r8d, r8d
lea rdx, [0x14004c438]
lea rcx, [rbp + 0x80]
call fcn.14000fbb0
nop
cmp byte [r12 + 0x1a8], 0
jne 0x140010f61
mov r8d, 0x19
lea rdx, str.charset_A_Za_z0_9___
lea rcx, [rbp + 0x80]
call fcn.14000fbb0
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x50]
mov edi, 1
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.14000eca0
test al, al
je 0x140010f66
mov rax, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
sub rax, r8
sar rax, 5
test rax, rax
je 0x140010f66
lea rcx, [r12 + 0x90]
cmp rcx, r8
je 0x140010f66
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140010f56
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.14000fbb0
jmp 0x140010f66
mov edi, 1
mov r8d, 0x18
lea rdx, str.Content_Length:__0_9_
lea rcx, [rbp + 0x80]
call fcn.14000fbb0
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x50]
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.14000eca0
test al, al
je 0x140010fd5
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x140010fd5
cmp qword [rcx + 0x18], 8
jb 0x140010fc8
mov rcx, qword [rcx]
call fcn.140029844
mov dword [r12 + 0xc8], eax
mov r8d, 0x12
lea rdx, str.Location:__0_9_
lea rcx, [rbp + 0x80]
call fcn.14000fbb0
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x50]
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.14000eca0
test al, al
je 0x140011050
mov rax, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
sub rax, r8
sar rax, 5
test rax, rax
je 0x140011050
lea rcx, [r12 + 0x1f0]
cmp rcx, r8
je 0x140011050
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140011047
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.14000fbb0
mov r8d, 0x15
lea rdx, str.Set_Cookie:_b.__n
lea rcx, [rbp + 0x80]
call fcn.14000fbb0
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x50]
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.14000eca0
test al, al
je 0x140011298
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
sub rax, rbx
sar rax, 5
test rax, rax
je 0x14001129d
mov rdi, r13
mov rsi, r13
nop word [rax + rax]
lea r8, [rsi + rbx]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1400110d1
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [r12 + 0xd0]
call fcn.140010060
mov rcx, qword [rsp + 0x60]
mov rax, rcx
mov rbx, qword [rsp + 0x58]
sub rax, rbx
sar rax, 5
dec rax
cmp rdi, rax
je 0x140011122
mov r8d, 2
lea rdx, [0x14004c554]
lea rcx, [r12 + 0xd0]
call fcn.140010060
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
inc rdi
add rsi, 0x20
sub rcx, rbx
sar rcx, 5
cmp rdi, rcx
jb 0x1400110c0
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], r13w
mov esi, 1
mov r8d, esi
lea rdx, str.__t__:_n_
lea rcx, [rbp + 0xc0]
call fcn.14000fbb0
nop
lea rdi, [r12 + 0xd0]
lea r8, [rbp + 0xc0]
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.14000fdf0
mov rbx, rax
cmp rdi, rax
je 0x1400111be
mov rcx, rdi
call fcn.14000c930
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 8
jb 0x140011204
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400111ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011ae6
call fcn.14001df5c
mov qword [rbp + 0xf0], r13
mov qword [rbp + 0xf8], 7
mov word [rbp + 0xe0], r13w
mov rdx, qword [rbp + 0xd8]
cmp rdx, 8
jb 0x140011264
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001125f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011aec
call fcn.14001df5c
mov rdx, qword [r12 + 0xe0]
test rdx, rdx
je 0x140011298
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001127e
mov rax, qword [rdi]
cmp word [rax + rdx*2 - 2], 0x3b
je 0x140011298
mov r8, rsi
lea rdx, [0x14004c55c]
mov rcx, rdi
call fcn.140010060
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x1400112e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400112de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011af2
call fcn.14001df5c
mov rbx, qword [rsp + 0x58]
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r13w
test rbx, rbx
je 0x1400113ab
mov rdi, qword [rsp + 0x60]
cmp rbx, rdi
je 0x140011372
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140011354
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001134f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011af8
mov rcx, r8
call fcn.14001df5c
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
add rbx, 0x20
cmp rbx, rdi
jne 0x140011315
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400113a3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011af8
mov rcx, rbx
call fcn.14001df5c
mov rsi, qword [rsp + 0x70]
mov rcx, r15
call fcn.14001df5c
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, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1400113f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140011476
mov ecx, dword [rsp + 0x44]
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.14001e5fc
mov rbx, rax
test rax, rax
je 0x140011476
mov r8d, dword [rsp + 0x44]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.140020860
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor r8d, r8d
lea edx, [rdi + 0x14]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14001146e
mov r8, rdi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140011453
lea rcx, [r12 + 0x168]
mov rdx, rbx
call fcn.14000fbb0
mov rcx, rbx
call fcn.14001df5c
mov r15d, 0x2800
mov r14d, r13d
mov rcx, qword [r12 + 0xb0]
test rcx, rcx
je 0x140011499
call fcn.14001df5c
mov qword [r12 + 0xb0], r13
mov rcx, r15
call fcn.14001e5fc
mov qword [r12 + 0xb0], rax
test rax, rax
je 0x140011a1e
xor edx, edx
mov r8, r15
mov rcx, rax
call fcn.140020860
nop
mov dword [rsp + 0x44], r13d
lea rdx, [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400115df
mov rdx, qword [r12 + 0xc0]
test rdx, rdx
je 0x140011511
mov ecx, dword [r12 + 0xc8]
test ecx, ecx
je 0x140011511
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 + 0x44]
inc ecx
call fcn.14001e5fc
mov rbx, rax
test rax, rax
je 0x1400115ed
mov r8d, dword [rsp + 0x44]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.140020860
mov dword [rsp + 0x4c], r13d
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400115d5
mov ecx, dword [rsp + 0x4c]
lea eax, [rcx + r14]
cmp eax, r15d
jbe 0x1400115ba
mov rdi, qword [r12 + 0xb0]
add r15d, r15d
mov esi, r15d
mov ecx, r15d
call fcn.14001e5fc
mov qword [r12 + 0xb0], rax
test rax, rax
je 0x1400115f9
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.140020860
mov r8d, r14d
mov rdx, rdi
mov rcx, qword [r12 + 0xb0]
call fcn.14001ff70
mov rcx, rdi
call fcn.14001df5c
mov ecx, dword [rsp + 0x4c]
mov rsi, qword [rsp + 0x70]
mov r8d, ecx
mov ecx, r14d
add rcx, qword [r12 + 0xb0]
mov rdx, rbx
call fcn.14001ff70
add r14d, dword [rsp + 0x4c]
mov rcx, rbx
call fcn.14001df5c
jmp 0x1400115ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
cmp dword [rsp + 0x44], 0
jbe 0x140011606
jmp 0x1400114c0
mov qword [r12 + 0xb0], rdi
mov byte [rsp + 0x41], 0
mov rdx, qword [r12 + 0xc0]
test rdx, rdx
je 0x14001163c
mov ecx, dword [r12 + 0xc8]
test ecx, ecx
je 0x14001163c
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
mov esi, r13d
mov ebx, 1
mov r14d, ebx
lea rcx, [r12 + 0x90]
cmp qword [rcx + 0x18], 8
jb 0x140011661
mov rcx, qword [rcx]
mov r8d, 5
lea rdx, [0x14004c560]
call fcn.140029454
test eax, eax
jne 0x14001167f
mov esi, 0xfde9
mov r14d, r13d
mov r9d, dword [r12 + 0xb8]
inc r9d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
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 0x1400116e4
mov esi, r13d
mov r14d, ebx
mov r9d, dword [r12 + 0xb8]
inc r9d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
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 0x140011775
mov r15d, edi
mov eax, 2
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001e5fc
mov rbx, rax
test rax, rax
je 0x140011770
lea r8, [r15 + r15]
xor edx, edx
mov rcx, rax
call fcn.140020860
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 0x140011768
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140011750
lea rcx, [r12 + 0x70]
mov rdx, rbx
call fcn.14000fbb0
mov rcx, rbx
call fcn.14001df5c
mov ebx, 1
mov dil, 1
mov byte [rsp + 0x40], dil
lea r8, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae r8, qword [rbp + 0xa0]
cmp qword [rbp + 0xb0], 3
jne 0x140011a27
mov edx, 3
lea rax, [0x14004c460]
mov rcx, rax
sub r8, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140011a27
add rcx, 2
sub rdx, 1
jne 0x1400117c0
movzx r15d, byte [rsp + 0x48]
test r15b, r15b
jne 0x140011a27
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r13w
lea r8d, [rdx + 8]
lea rdx, str._html_
lea rcx, [rbp + 0x80]
call fcn.14000fbb0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x28], r15b
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x70]
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.14000eca0
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
test al, al
je 0x1400118e6
mov rax, rsi
sub rax, rbx
sar rax, 5
test rax, rax
je 0x1400118e6
mov r8d, 9
lea rdx, str.__html_
lea rcx, [rbp + 0x80]
call fcn.14000fbb0
mov byte [rsp + 0x28], r15b
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [r12 + 0x70]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rbp + 0x80]
call fcn.14000eca0
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
test al, al
je 0x1400118d0
mov rax, rsi
sub rax, rbx
sar rax, 5
test rax, rax
jne 0x1400118e6
mov dword [r12 + 0x160], 0xd
xor dil, dil
mov byte [rsp + 0x40], dil
jmp 0x1400118eb
movzx edi, byte [rsp + 0x40]
test rbx, rbx
je 0x1400119a4
cmp rbx, rsi
je 0x14001195d
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14001193f
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14001193a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011afe
mov rcx, r8
call fcn.14001df5c
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
add rbx, 0x20
cmp rbx, rsi
jne 0x140011900
mov rbx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001198e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011afe
mov rcx, rbx
call fcn.14001df5c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x1400119ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400119e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011b04
call fcn.14001df5c
mov rsi, qword [rsp + 0x70]
test dil, dil
jne 0x140011a2c
lea r14, [r12 + 0x10]
mov ecx, dword [rsp + 0x50]
jmp 0x140010910
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 0x160], eax
movzx edi, byte [rsp + 0x40]
mov ecx, dword [rsp + 0x50]
jmp 0x140010910
xor bl, bl
movzx edi, byte [rsp + 0x40]
jmp 0x140011a31
mov rsi, qword [rsp + 0x70]
movzx ebx, byte [rsp + 0x41]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movzx eax, bl
test dil, dil
cmovne r13d, eax
movzx ebx, r13b
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x140011a63
mov eax, 0x57
mov dword [r12 + 0x160], eax
xor bl, bl
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x140011aa5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011aa0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011ada
call fcn.14001df5c
movzx eax, bl
mov rcx, qword [rbp + 0x1160]
xor rcx, rsp
call fcn.14001df00
mov rbx, qword [rsp + 0x12d0]
movaps xmm6, xmmword [rsp + 0x1270]
add rsp, 0x1280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140024798
nop
call fcn.140024798
nop
call fcn.140024798
nop
call fcn.140024798
nop
call fcn.140024798
nop
call fcn.140024798
nop
call fcn.140024798
nop
call fcn.140024798
int3