Function at 0x140202d40
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 0x140202d8f
call fcn.1402022b0
mov r12, rax
mov r14, qword [0x140416ee8]
lea rax, [0x140346ce0]
test r14, r14
jne 0x140202dab
mov edi, r13d
mov qword [rbp - 0x41], r13
jmp 0x140202dc2
or rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [r14 + rdi*2], si
jne 0x140202db0
mov qword [rbp - 0x41], r13
test edi, edi
jne 0x140202dc8
mov qword [rbp - 0x49], rax
jmp 0x140202dea
mov edx, edi
lea rcx, [rbp - 0x49]
call fcn.1401fcb40
movsxd r9, edi
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x49]
call fcn.1402ba94c
mov edx, edi
lea rcx, [rbp - 0x49]
call fcn.1401fde50
nop
test r12, r12
je 0x140202e7c
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.1401fcb40
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.1402ba94c
mov edx, dword [rdi + 0xc]
lea rcx, [rbp - 0x49]
call fcn.1401fde50
nop
cmp dword [rbp - 0x51], 0
jle 0x140202e54
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
mov r8, qword [rbp - 0x49]
test r8, r8
je 0x140202e78
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], 0
jne 0x140202e61
test rax, rax
je 0x140202e78
mov edx, 3
jmp 0x140202e84
xor edx, edx
jmp 0x140202e81
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 0x140202ec7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jne 0x140202f93
jmp 0x140202f14
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.1401ffe30
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 0x140202f57
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
mov rcx, qword [rbx + 0xb0]
cmp qword [rcx + 0x40], 0
jne 0x140202f93
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x140202f8e
mov rcx, qword [rbx + 0xb0]
mov esi, dword [rcx + 0x58]
test esi, esi
jne 0x140202f93
mov rax, qword [rcx + 0x50]
mov qword [rcx + 0x40], rax
jmp 0x140202f93
mov esi, 0x2ee2
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140203369
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140202fa4
test rax, rax
je 0x140203369
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140203369
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jle 0x140203369
test esi, esi
jne 0x140203600
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ffe30
mov rdx, qword [rax]
lea rcx, str.PreAuthenticate:__ls_r_n
call fcn.1402b7a88
cmp dword [rbp - 0x51], esi
jle 0x14020300b
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.140200030
nop
mov r8d, 1
lea rdx, str.https
mov rcx, rax
call fcn.1401fce20
movzx r14d, al
cmp dword [rbp - 0x51], 0
jle 0x140203041
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
mov edi, 0x100
mov eax, 0x800100
test r14b, r14b
cmovne edi, eax
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ffe60
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, [0x14034cde0]
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 0x1402030a4
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
mov rax, qword [rbx + 0xb0]
cmp qword [rax + 0x48], 0
jne 0x1402030cf
mov rcx, rbx
call fcn.140203b10
mov esi, eax
test eax, eax
jne 0x1402030cf
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 0x1402031de
test r12, r12
je 0x1402031de
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov rdi, rax
test rax, rax
je 0x1402031de
mov qword [rbp - 0x61], r13
lea rax, [0x140346ce0]
mov qword [rbp - 0x69], rax
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.1401fde50
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 0x14020313f
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
test rdi, rdi
je 0x1402031de
cmp dword [rdi + 0x14], 0
jle 0x140203195
lea r9, [rdi + 0x18]
lea rdx, [rdi + 8]
lea r8, [0x140345f98]
lea rcx, [rbp - 0x59]
call fcn.1401fbc00
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 0x1402031b3
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
jmp 0x1402031b3
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 0x140203369
xor r9d, r9d
mov r8d, 0x7e4c00
lea rdx, [0x140202a90]
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
nop dword [rax + rax]
lea rdx, [rbp - 0x69]
lea rcx, [rbx + 0x80]
call fcn.140202310
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 0x14020327b
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 0x140203274
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x140203283
mov esi, 0x2ee2
jmp 0x140203283
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ffe60
mov r8, qword [rax]
mov edx, esi
lea rcx, str.PreAuthenticate:__d__ls_r_n
call fcn.1402b7a88
cmp dword [rbp - 0x51], 0
jle 0x1402032b0
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
cmp esi, 0x2f00
jne 0x1402032d0
cmp dword [rbp - 0x61], 0
jle 0x140203210
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
jmp 0x140203210
test esi, esi
jne 0x14020333e
mov rcx, qword [rbx + 0xb0]
xor edx, edx
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140203316
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 0x14020330f
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x14020331e
mov esi, 0x2ee2
jmp 0x14020331e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
jne 0x14020333e
cmp dword [rbp - 0x61], 0
jle 0x140203210
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
jmp 0x140203210
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 0x140203369
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
test esi, esi
jne 0x140203600
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.140200030
nop
lea r8d, [rsi + 1]
lea rdx, str.https
mov rcx, rax
call fcn.1401fce20
movzx r14d, al
cmp dword [rbp - 0x51], esi
jle 0x1402033a4
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
mov edi, r13d
mov eax, 0x800000
test r14b, r14b
cmovne edi, eax
mov ecx, dword [rbx + 0x64]
test ecx, ecx
je 0x1402033d9
cmp ecx, 1
je 0x1402033d5
lea eax, [rcx - 2]
cmp eax, 1
jbe 0x1402033d9
cmp ecx, 4
je 0x1402033d5
cmp ecx, 5
je 0x1402033d5
cmp ecx, 6
jne 0x1402033d9
bts edi, 8
xor r8d, r8d
lea rdx, str.POST
lea rcx, [rbx + 0x68]
call fcn.1401fce20
test al, al
je 0x1402033f4
bts edi, 8
lea rax, [0x14035a3f0]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r13
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ffe60
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 0x140203457
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
mov rcx, qword [rbx + 0xb0]
cmp qword [rcx + 0x48], 0
jne 0x14020349c
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x140203492
mov rcx, qword [rbx + 0xb0]
mov esi, dword [rcx + 0x58]
test esi, esi
jne 0x140203600
mov rax, qword [rcx + 0x50]
mov qword [rcx + 0x48], rax
jmp 0x14020349c
mov esi, 0x2ee2
jmp 0x140203600
mov rcx, qword [rbx + 0xb0]
xor r9d, r9d
mov r8d, 0x7e4c00
lea rdx, [0x140202a90]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
jne 0x1402034d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jne 0x140203600
test r12, r12
je 0x1402035d0
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov rdi, rax
test rax, rax
je 0x1402035d0
mov qword [rbp - 0x61], r13
lea rax, [0x140346ce0]
mov qword [rbp - 0x69], rax
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.1401fde50
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 0x140203531
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
test rdi, rdi
je 0x1402035d0
cmp dword [rdi + 0x14], 0
jle 0x140203587
lea r9, [rdi + 0x18]
lea rdx, [rdi + 8]
lea r8, [0x140345f98]
lea rcx, [rbp - 0x59]
call fcn.1401fbc00
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 0x1402035a5
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
jmp 0x1402035a5
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 0x140203600
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 0x140203610
test esi, esi
jne 0x140203ad4
lea rcx, [rbx + 0x80]
lea rdx, [rbp - 0x69]
call fcn.140202310
nop
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1402036a1
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140203630
test rax, rax
je 0x1402036a1
lea rdx, str.Content_Type:
lea rcx, [rbp - 0x69]
call fcn.1401fb190
mov edi, dword [rbp - 0x5d]
add edi, dword [rbx + 0x5c]
mov edx, edi
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
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.1402ba94c
mov edx, edi
lea rcx, [rbp - 0x69]
call fcn.1401fde50
lea rdx, [0x140347124]
lea rcx, [rbp - 0x69]
call fcn.1401fb190
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1402036b6
mov eax, r13d
jmp 0x1402036bc
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 0x140203715
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 0x14020370e
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x14020371d
mov esi, 0x2ee2
jmp 0x14020371d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
jne 0x14020373d
cmp dword [rbp - 0x61], 0
jle 0x140203600
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
jmp 0x140203600
cmp dword [rbp - 0x61], 0
jle 0x14020374c
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
test esi, esi
jne 0x140203ad4
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1402037ec
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jle 0x1402037ec
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 0x1402037d0
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 0x1402037c9
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x1402037d8
mov esi, 0x2ee2
jmp 0x1402037d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
je 0x140203610
test esi, esi
jne 0x140203ad4
mov rcx, qword [rbx + 0xb0]
xor edx, edx
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14020382e
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 0x140203827
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x140203836
mov esi, 0x2ee2
jmp 0x140203836
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
je 0x140203610
test esi, esi
jne 0x140203ad4
lea ecx, [rsi + 0x58]
call fcn.1402b6dbc
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14020386b
mov rdx, rbx
mov rcx, rax
call fcn.1402026f0
mov rcx, rax
jmp 0x14020386e
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 0x1402038c8
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 0x14020390f
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 0x140203ab5
lea r15, [0x140346ce0]
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], r13
mov edx, dword [rbp + 0x67]
shr edx, 1
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
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 0x140203aa6
mov edx, dword [rbp + 0x67]
shr edx, 1
lea rcx, [rbp - 0x69]
call fcn.1401fde50
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, [0x140347124]
lea rcx, [rbp - 0x69]
call fcn.1401fe690
mov r14, qword [rbp - 0x19]
mov eax, dword [rbp - 0x21]
cmp eax, 1
jle 0x140203a7f
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.1401fe990
test al, al
je 0x140203a53
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.1401ff5a0
nop
mov rcx, qword [rbx + 0xb0]
mov rcx, qword [rcx + 0x10]
add rcx, 8
mov r8, rax
lea rdx, [rbp - 0x59]
call fcn.14015b360
nop
cmp dword [rbp - 1], 0
jle 0x140203a53
mov rcx, qword [rbp - 9]
call fcn.1402b7350
nop
cmp dword [rbp - 0x31], 0
jle 0x140203a63
mov rcx, qword [rbp - 0x39]
call fcn.1402b7350
nop
cmp dword [rbp - 0x51], 0
jle 0x140203a72
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
add rdi, 0x10
dec rsi
jne 0x1402039f0
test r14, r14
je 0x140203aa6
lea r9, [fcn.140005eb0]
mov r8d, dword [r14 - 8]
mov edx, 0x10
mov rcx, r14
call fcn.1402b7cf4
lea rcx, [r14 - 8]
call fcn.1402b712c
nop
cmp dword [rbp - 0x61], 0
jle 0x140203ab5
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
mov rax, qword [rbx + 0xb0]
mov rbx, qword [rax + 0x10]
cmp dword [rbp - 0x41], 0
jle 0x140203acf
mov rcx, qword [rbp - 0x49]
call fcn.1402b7350
mov rax, rbx
jmp 0x140203af0
mov edx, esi
lea rcx, [rbp - 0x29]
call fcn.1400ebd30
lea rdx, [0x14040d570]
lea rcx, [rbp - 0x29]
call fcn.1402bece8
nop
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret