Function at 0x140205460
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Send data
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc8
mov qword [rbp + 7], 0xfffffffffffffffe
mov rbx, rcx
xor r13d, r13d
mov esi, r13d
mov rcx, qword [rcx + 0xb0]
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r12, qword [rbx + 0xa8]
test r12, r12
jne 0x1402054af
call fcn.1402049d0
mov r12, rax
mov r14, qword [0x14041a158]
lea rax, [0x140348ca0]
test r14, r14
jne 0x1402054cb
mov edi, r13d
mov qword [rbp - 0x41], r13
jmp 0x1402054e2
or rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [r14 + rdi*2], si
jne 0x1402054d0
mov qword [rbp - 0x41], r13
test edi, edi
jne 0x1402054e8
mov qword [rbp - 0x49], rax
jmp 0x14020550a
mov edx, edi
lea rcx, [rbp - 0x49]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x49]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rbp - 0x49]
call fcn.140200570
nop
test r12, r12
je 0x14020559c
mov rax, qword [r12]
lea r8, [rbx + 8]
lea rdx, [rbp - 0x59]
mov rcx, r12
call qword [rax + 0x10]
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x49]
call fcn.1401ff260
movsxd r9, dword [rdi + 0xc]
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
mov r8, qword [rdi]
mov rcx, qword [rbp - 0x49]
call fcn.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [rbp - 0x49]
call fcn.140200570
nop
cmp dword [rbp - 0x51], 0
jle 0x140205574
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
mov r8, qword [rbp - 0x49]
test r8, r8
je 0x140205598
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], 0
jne 0x140205581
test rax, rax
je 0x140205598
mov edx, 3
jmp 0x1402055a4
xor edx, edx
jmp 0x1402055a1
mov edx, 1
xor r8d, r8d
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rax
mov rax, qword [rbx + 0xb0]
mov qword [rax + 0x38], rcx
mov r8, qword [rbx + 0xb0]
mov rcx, qword [r8 + 0x38]
test rcx, rcx
jne 0x1402055e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jne 0x1402056b3
jmp 0x140205634
mov edx, 3
lea r9d, [rdx + 1]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rbx + 0xb0]
mov r9d, 4
lea r8, [rbx + 0x78]
lea edx, [r9 + 1]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rbx + 0xb0]
mov r9d, 4
lea r8, [rbx + 0x78]
lea edx, [r9 + 2]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x59]
call fcn.140202550
mov rcx, qword [rbx + 0xb0]
xor r9d, r9d
movzx r8d, word [rbx + 0x48]
mov rdx, qword [rax]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rcx, qword [rbx + 0xb0]
mov qword [rcx + 0x40], rax
cmp dword [rbp - 0x51], 0
jle 0x140205677
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
mov rcx, qword [rbx + 0xb0]
cmp qword [rcx + 0x40], 0
jne 0x1402056b3
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x1402056ae
mov rcx, qword [rbx + 0xb0]
mov esi, dword [rcx + 0x58]
test esi, esi
jne 0x1402056b3
mov rax, qword [rcx + 0x50]
mov qword [rcx + 0x40], rax
jmp 0x1402056b3
mov esi, 0x2ee2
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140205a89
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1402056c4
test rax, rax
je 0x140205a89
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140205a89
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jle 0x140205a89
test esi, esi
jne 0x140205d20
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.140202550
mov rdx, qword [rax]
lea rcx, str.PreAuthenticate:__ls_r_n
call fcn.1402ba358
cmp dword [rbp - 0x51], esi
jle 0x14020572b
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.140202750
nop
mov r8d, 1
lea rdx, str.https
mov rcx, rax
call fcn.1401ff540
movzx r14d, al
cmp dword [rbp - 0x51], 0
jle 0x140205761
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
mov edi, 0x100
mov eax, 0x800100
test r14b, r14b
cmovne edi, eax
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.140202580
mov rcx, qword [rbx + 0xb0]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rax]
lea rdx, [0x14034ee10]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, qword [rbx + 0xb0]
mov qword [rcx + 0x48], rax
cmp dword [rbp - 0x51], 0
jle 0x1402057c4
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
mov rax, qword [rbx + 0xb0]
cmp qword [rax + 0x48], 0
jne 0x1402057ef
mov rcx, rbx
call fcn.140206230
mov esi, eax
test eax, eax
jne 0x1402057ef
mov rcx, qword [rbx + 0xb0]
mov rax, qword [rcx + 0x50]
mov qword [rcx + 0x48], rax
mov rax, qword [rbx + 0xb0]
cmp qword [rax + 0x48], 0
je 0x1402058fe
test r12, r12
je 0x1402058fe
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov rdi, rax
test rax, rax
je 0x1402058fe
mov qword [rbp - 0x61], r13
lea rax, [0x140348ca0]
mov qword [rbp - 0x69], rax
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.140200570
nop
mov r9, qword [rdi]
lea r8, [rbp - 0x69]
lea rdx, [rbx + 8]
mov rcx, rdi
call qword [r9 + 8]
mov rdi, rax
cmp dword [rbp - 0x61], 0
jle 0x14020585f
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
test rdi, rdi
je 0x1402058fe
cmp dword [rdi + 0x14], 0
jle 0x1402058b5
lea r9, [rdi + 0x18]
lea rdx, [rdi + 8]
lea r8, [0x140347f58]
lea rcx, [rbp - 0x59]
call fcn.1401fe320
mov rcx, qword [rbx + 0xb0]
mov r9d, dword [rbp - 0x4d]
mov r8, qword [rbp - 0x59]
mov edx, 0x1002
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [rbp - 0x51], 0
jle 0x1402058d3
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
jmp 0x1402058d3
mov rcx, qword [rbx + 0xb0]
mov r9d, dword [rdi + 0x24]
mov r8, qword [rdi + 0x18]
mov edx, 0x1002
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rbx + 0xb0]
mov r9d, dword [rdi + 0x34]
mov r8, qword [rdi + 0x28]
mov edx, 0x1003
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x140205a89
xor r9d, r9d
mov r8d, 0x7e4c00
lea rdx, [0x1402051b0]
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
nop dword [rax + rax]
lea rdx, [rbp - 0x69]
lea rcx, [rbx + 0x80]
call fcn.140204a30
nop
mov rcx, qword [rbx + 0xb0]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, dword [rbp - 0x5d]
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14020599b
mov rcx, qword [rbx + 0xb0]
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x140205994
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x1402059a3
mov esi, 0x2ee2
jmp 0x1402059a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.140202580
mov r8, qword [rax]
mov edx, esi
lea rcx, str.PreAuthenticate:__d__ls_r_n
call fcn.1402ba358
cmp dword [rbp - 0x51], 0
jle 0x1402059d0
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
cmp esi, 0x2f00
jne 0x1402059f0
cmp dword [rbp - 0x61], 0
jle 0x140205930
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
jmp 0x140205930
test esi, esi
jne 0x140205a5e
mov rcx, qword [rbx + 0xb0]
xor edx, edx
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140205a36
mov rcx, qword [rbx + 0xb0]
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x140205a2f
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x140205a3e
mov esi, 0x2ee2
jmp 0x140205a3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
jne 0x140205a5e
cmp dword [rbp - 0x61], 0
jle 0x140205930
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
jmp 0x140205930
mov rcx, qword [rbx + 0xb0]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rax, qword [rbx + 0xb0]
mov qword [rax + 0x48], r13
cmp dword [rbp - 0x61], 0
jle 0x140205a89
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
test esi, esi
jne 0x140205d20
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.140202750
nop
lea r8d, [rsi + 1]
lea rdx, str.https
mov rcx, rax
call fcn.1401ff540
movzx r14d, al
cmp dword [rbp - 0x51], esi
jle 0x140205ac4
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
mov edi, r13d
mov eax, 0x800000
test r14b, r14b
cmovne edi, eax
mov ecx, dword [rbx + 0x64]
test ecx, ecx
je 0x140205af9
cmp ecx, 1
je 0x140205af5
lea eax, [rcx - 2]
cmp eax, 1
jbe 0x140205af9
cmp ecx, 4
je 0x140205af5
cmp ecx, 5
je 0x140205af5
cmp ecx, 6
jne 0x140205af9
bts edi, 8
xor r8d, r8d
lea rdx, str.POST
lea rcx, [rbx + 0x68]
call fcn.1401ff540
test al, al
je 0x140205b14
bts edi, 8
lea rax, [0x14035c450]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r13
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.140202580
mov rcx, qword [rbx + 0xb0]
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x39]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rax]
mov rdx, qword [rbx + 0x68]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, qword [rbx + 0xb0]
mov qword [rcx + 0x48], rax
cmp dword [rbp - 0x51], 0
jle 0x140205b77
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
mov rcx, qword [rbx + 0xb0]
cmp qword [rcx + 0x48], 0
jne 0x140205bbc
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x140205bb2
mov rcx, qword [rbx + 0xb0]
mov esi, dword [rcx + 0x58]
test esi, esi
jne 0x140205d20
mov rax, qword [rcx + 0x50]
mov qword [rcx + 0x48], rax
jmp 0x140205bbc
mov esi, 0x2ee2
jmp 0x140205d20
mov rcx, qword [rbx + 0xb0]
xor r9d, r9d
mov r8d, 0x7e4c00
lea rdx, [0x1402051b0]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
jne 0x140205bf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jne 0x140205d20
test r12, r12
je 0x140205cf0
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov rdi, rax
test rax, rax
je 0x140205cf0
mov qword [rbp - 0x61], r13
lea rax, [0x140348ca0]
mov qword [rbp - 0x69], rax
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.140200570
nop
mov r9, qword [rdi]
lea r8, [rbp - 0x69]
lea rdx, [rbx + 8]
mov rcx, rdi
call qword [r9 + 8]
mov rdi, rax
cmp dword [rbp - 0x61], 0
jle 0x140205c51
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
test rdi, rdi
je 0x140205cf0
cmp dword [rdi + 0x14], 0
jle 0x140205ca7
lea r9, [rdi + 0x18]
lea rdx, [rdi + 8]
lea r8, [0x140347f58]
lea rcx, [rbp - 0x59]
call fcn.1401fe320
mov rcx, qword [rbx + 0xb0]
mov r9d, dword [rbp - 0x4d]
mov r8, qword [rbp - 0x59]
mov edx, 0x1002
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [rbp - 0x51], 0
jle 0x140205cc5
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
jmp 0x140205cc5
mov rcx, qword [rbx + 0xb0]
mov r9d, dword [rdi + 0x24]
mov r8, qword [rdi + 0x18]
mov edx, 0x1002
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rbx + 0xb0]
mov r9d, dword [rdi + 0x34]
mov r8, qword [rdi + 0x28]
mov edx, 0x1003
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rcx, qword [rbx + 0xb0]
cmp byte [rcx + 4], 0
jne 0x140205d20
mov dword [rbp + 0x67], 2
mov r9d, 4
lea r8, [rbp + 0x67]
lea edx, [r9 + 0x3b]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
nop dword [rax]
cmp esi, 0x2f00
je 0x140205d30
test esi, esi
jne 0x1402061f4
lea rcx, [rbx + 0x80]
lea rdx, [rbp - 0x69]
call fcn.140204a30
nop
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x140205dc1
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140205d50
test rax, rax
je 0x140205dc1
lea rdx, str.Content_Type:
lea rcx, [rbp - 0x69]
call fcn.1401fd8b0
mov edi, dword [rbp - 0x5d]
add edi, dword [rbx + 0x5c]
mov edx, edi
lea rcx, [rbp - 0x69]
call fcn.1401ff260
movsxd r9, dword [rbx + 0x5c]
mov ecx, dword [rbp - 0x61]
movsxd rax, dword [rbp - 0x5d]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rbp - 0x69]
lea rcx, [rax + rcx*2]
mov r8, qword [rbx + 0x50]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rbp - 0x69]
call fcn.140200570
lea rdx, [0x1403490e4]
lea rcx, [rbp - 0x69]
call fcn.1401fd8b0
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140205dd6
mov eax, r13d
jmp 0x140205ddc
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rbx + 0xb0]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, dword [rbp - 0x5d]
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140205e35
mov rcx, qword [rbx + 0xb0]
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x140205e2e
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x140205e3d
mov esi, 0x2ee2
jmp 0x140205e3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
jne 0x140205e5d
cmp dword [rbp - 0x61], 0
jle 0x140205d20
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
jmp 0x140205d20
cmp dword [rbp - 0x61], 0
jle 0x140205e6c
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
test esi, esi
jne 0x1402061f4
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140205f0c
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jle 0x140205f0c
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
mov rdi, qword [rcx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r8d, eax
mov rcx, qword [rbx + 0xb0]
xor r9d, r9d
mov rdx, rdi
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x140205ef0
mov rcx, qword [rbx + 0xb0]
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x140205ee9
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x140205ef8
mov esi, 0x2ee2
jmp 0x140205ef8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
je 0x140205d30
test esi, esi
jne 0x1402061f4
mov rcx, qword [rbx + 0xb0]
xor edx, edx
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140205f4e
mov rcx, qword [rbx + 0xb0]
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x140205f47
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x140205f56
mov esi, 0x2ee2
jmp 0x140205f56
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
je 0x140205d30
test esi, esi
jne 0x1402061f4
lea ecx, [rsi + 0x58]
call fcn.1402b968c
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x140205f8b
mov rdx, rbx
mov rcx, rax
call fcn.140204e10
mov rcx, rax
jmp 0x140205f8e
mov rcx, r13
mov rax, qword [rbx + 0xb0]
mov qword [rax + 0x10], rcx
mov dword [rbp + 0x67], 4
mov dword [rbp + 0x77], r13d
mov dword [rbp + 0x6f], r13d
mov rcx, qword [rbx + 0xb0]
mov qword [rsp + 0x28], r13
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x6f]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x140205fe8
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 0x10]
mov eax, dword [rbp + 0x6f]
mov dword [rcx + 0x40], eax
mov dword [rbp + 0x67], 4
mov rcx, qword [rbx + 0xb0]
mov qword [rsp + 0x28], r13
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x77]
xor r8d, r8d
mov edx, 0x20000005
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14020602f
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 0x10]
mov eax, dword [rbp + 0x77]
mov dword [rcx + 0x44], eax
mov dword [rbp + 0x67], r13d
mov rcx, qword [rbx + 0xb0]
mov qword [rsp + 0x28], r13
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x16]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1402061d5
lea r15, [0x140348ca0]
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], r13
mov edx, dword [rbp + 0x67]
shr edx, 1
lea rcx, [rbp - 0x69]
call fcn.1401ff260
mov rcx, qword [rbx + 0xb0]
mov qword [rsp + 0x28], r13
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x69]
xor r8d, r8d
lea edx, [r8 + 0x16]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1402061c6
mov edx, dword [rbp + 0x67]
shr edx, 1
lea rcx, [rbp - 0x69]
call fcn.140200570
lea rax, vtable.Core::Array_class_Core::String_.0
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x21], r13d
mov qword [rbp - 0x19], r13
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [0x1403490e4]
lea rcx, [rbp - 0x69]
call fcn.140200db0
mov r14, qword [rbp - 0x19]
mov eax, dword [rbp - 0x21]
cmp eax, 1
jle 0x14020619f
lea rdi, [r14 + 0x10]
lea esi, [rax - 1]
nop
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], r13
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], r13
mov edx, 0x3a
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x59]
mov rcx, rdi
call fcn.1402010b0
test al, al
je 0x140206173
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.140201cc0
nop
mov rcx, qword [rbx + 0xb0]
mov rcx, qword [rcx + 0x10]
add rcx, 8
mov r8, rax
lea rdx, [rbp - 0x59]
call fcn.14015c5f0
nop
cmp dword [rbp - 1], 0
jle 0x140206173
mov rcx, qword [rbp - 9]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x31], 0
jle 0x140206183
mov rcx, qword [rbp - 0x39]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x51], 0
jle 0x140206192
mov rcx, qword [rbp - 0x59]
call fcn.1402b9c20
add rdi, 0x10
dec rsi
jne 0x140206110
test r14, r14
je 0x1402061c6
lea r9, [fcn.140005eb0]
mov r8d, dword [r14 - 8]
mov edx, 0x10
mov rcx, r14
call fcn.1402ba5c4
lea rcx, [r14 - 8]
call fcn.1402b99fc
nop
cmp dword [rbp - 0x61], 0
jle 0x1402061d5
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
mov rax, qword [rbx + 0xb0]
mov rbx, qword [rax + 0x10]
cmp dword [rbp - 0x41], 0
jle 0x1402061ef
mov rcx, qword [rbp - 0x49]
call fcn.1402b9c20
mov rax, rbx
jmp 0x140206210
mov edx, esi
lea rcx, [rbp - 0x29]
call fcn.1400ecfd0
lea rdx, [0x140410358]
lea rcx, [rbp - 0x29]
call fcn.1402c1558
nop
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret