Function at 0x1401ef180
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 0x1401ef1cf
call fcn.1401ee6f0
mov r12, rax
mov r14, qword [0x1403ec168]
lea rax, [0x140323de0]
test r14, r14
jne 0x1401ef1eb
mov edi, r13d
mov qword [rbp - 0x41], r13
jmp 0x1401ef202
or rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [r14 + rdi*2], si
jne 0x1401ef1f0
mov qword [rbp - 0x41], r13
test edi, edi
jne 0x1401ef208
mov qword [rbp - 0x49], rax
jmp 0x1401ef22a
mov edx, edi
lea rcx, [rbp - 0x49]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x49]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rbp - 0x49]
call fcn.1401ea290
nop
test r12, r12
je 0x1401ef2bc
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.1401e9030
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.14029b4d8
mov edx, dword [rdi + 0xc]
lea rcx, [rbp - 0x49]
call fcn.1401ea290
nop
cmp dword [rbp - 0x51], 0
jle 0x1401ef294
mov rcx, qword [rbp - 0x59]
call fcn.140298600
mov r8, qword [rbp - 0x49]
test r8, r8
je 0x1401ef2b8
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], 0
jne 0x1401ef2a1
test rax, rax
je 0x1401ef2b8
mov edx, 3
jmp 0x1401ef2c4
xor edx, edx
jmp 0x1401ef2c1
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 0x1401ef307
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jne 0x1401ef3d3
jmp 0x1401ef354
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.1401ec270
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 0x1401ef397
mov rcx, qword [rbp - 0x59]
call fcn.140298600
mov rcx, qword [rbx + 0xb0]
cmp qword [rcx + 0x40], 0
jne 0x1401ef3d3
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x1401ef3ce
mov rcx, qword [rbx + 0xb0]
mov esi, dword [rcx + 0x58]
test esi, esi
jne 0x1401ef3d3
mov rax, qword [rcx + 0x50]
mov qword [rcx + 0x40], rax
jmp 0x1401ef3d3
mov esi, 0x2ee2
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1401ef7a9
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401ef3e4
test rax, rax
je 0x1401ef7a9
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1401ef7a9
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jle 0x1401ef7a9
test esi, esi
jne 0x1401efa40
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ec270
mov rdx, qword [rax]
lea rcx, str.PreAuthenticate:__ls_r_n
call fcn.140298d38
cmp dword [rbp - 0x51], esi
jle 0x1401ef44b
mov rcx, qword [rbp - 0x59]
call fcn.140298600
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ec470
nop
mov r8d, 1
lea rdx, str.https
mov rcx, rax
call fcn.1401e9310
movzx r14d, al
cmp dword [rbp - 0x51], 0
jle 0x1401ef481
mov rcx, qword [rbp - 0x59]
call fcn.140298600
mov edi, 0x100
mov eax, 0x800100
test r14b, r14b
cmovne edi, eax
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ec2a0
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, [0x140329c10]
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 0x1401ef4e4
mov rcx, qword [rbp - 0x59]
call fcn.140298600
mov rax, qword [rbx + 0xb0]
cmp qword [rax + 0x48], 0
jne 0x1401ef50f
mov rcx, rbx
call fcn.1401eff50
mov esi, eax
test eax, eax
jne 0x1401ef50f
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 0x1401ef61e
test r12, r12
je 0x1401ef61e
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov rdi, rax
test rax, rax
je 0x1401ef61e
mov qword [rbp - 0x61], r13
lea rax, [0x140323de0]
mov qword [rbp - 0x69], rax
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.1401ea290
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 0x1401ef57f
mov rcx, qword [rbp - 0x69]
call fcn.140298600
test rdi, rdi
je 0x1401ef61e
cmp dword [rdi + 0x14], 0
jle 0x1401ef5d5
lea r9, [rdi + 0x18]
lea rdx, [rdi + 8]
lea r8, [0x1403232c8]
lea rcx, [rbp - 0x59]
call fcn.1401e80f0
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 0x1401ef5f3
mov rcx, qword [rbp - 0x59]
call fcn.140298600
jmp 0x1401ef5f3
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 0x1401ef7a9
xor r9d, r9d
mov r8d, 0x7e4c00
lea rdx, [0x1401eeed0]
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
nop dword [rax + rax]
lea rdx, [rbp - 0x69]
lea rcx, [rbx + 0x80]
call fcn.1401ee750
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 0x1401ef6bb
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 0x1401ef6b4
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x1401ef6c3
mov esi, 0x2ee2
jmp 0x1401ef6c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ec2a0
mov r8, qword [rax]
mov edx, esi
lea rcx, str.PreAuthenticate:__d__ls_r_n
call fcn.140298d38
cmp dword [rbp - 0x51], 0
jle 0x1401ef6f0
mov rcx, qword [rbp - 0x59]
call fcn.140298600
cmp esi, 0x2f00
jne 0x1401ef710
cmp dword [rbp - 0x61], 0
jle 0x1401ef650
mov rcx, qword [rbp - 0x69]
call fcn.140298600
jmp 0x1401ef650
test esi, esi
jne 0x1401ef77e
mov rcx, qword [rbx + 0xb0]
xor edx, edx
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1401ef756
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 0x1401ef74f
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x1401ef75e
mov esi, 0x2ee2
jmp 0x1401ef75e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
jne 0x1401ef77e
cmp dword [rbp - 0x61], 0
jle 0x1401ef650
mov rcx, qword [rbp - 0x69]
call fcn.140298600
jmp 0x1401ef650
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 0x1401ef7a9
mov rcx, qword [rbp - 0x69]
call fcn.140298600
test esi, esi
jne 0x1401efa40
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ec470
nop
lea r8d, [rsi + 1]
lea rdx, str.https
mov rcx, rax
call fcn.1401e9310
movzx r14d, al
cmp dword [rbp - 0x51], esi
jle 0x1401ef7e4
mov rcx, qword [rbp - 0x59]
call fcn.140298600
mov edi, r13d
mov eax, 0x800000
test r14b, r14b
cmovne edi, eax
mov ecx, dword [rbx + 0x64]
test ecx, ecx
je 0x1401ef819
cmp ecx, 1
je 0x1401ef815
lea eax, [rcx - 2]
cmp eax, 1
jbe 0x1401ef819
cmp ecx, 4
je 0x1401ef815
cmp ecx, 5
je 0x1401ef815
cmp ecx, 6
jne 0x1401ef819
bts edi, 8
xor r8d, r8d
lea rdx, str.POST
lea rcx, [rbx + 0x68]
call fcn.1401e9310
test al, al
je 0x1401ef834
bts edi, 8
lea rax, [0x140335d30]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r13
lea rdx, [rbp - 0x59]
lea rcx, [rbx + 8]
call fcn.1401ec2a0
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 0x1401ef897
mov rcx, qword [rbp - 0x59]
call fcn.140298600
mov rcx, qword [rbx + 0xb0]
cmp qword [rcx + 0x48], 0
jne 0x1401ef8dc
add rcx, 0x18
mov rax, qword [rcx]
mov edx, dword [rbx + 0x78]
call qword [rax + 8]
test al, al
je 0x1401ef8d2
mov rcx, qword [rbx + 0xb0]
mov esi, dword [rcx + 0x58]
test esi, esi
jne 0x1401efa40
mov rax, qword [rcx + 0x50]
mov qword [rcx + 0x48], rax
jmp 0x1401ef8dc
mov esi, 0x2ee2
jmp 0x1401efa40
mov rcx, qword [rbx + 0xb0]
xor r9d, r9d
mov r8d, 0x7e4c00
lea rdx, [0x1401eeed0]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
jne 0x1401ef913
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test eax, eax
jne 0x1401efa40
test r12, r12
je 0x1401efa10
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
mov rdi, rax
test rax, rax
je 0x1401efa10
mov qword [rbp - 0x61], r13
lea rax, [0x140323de0]
mov qword [rbp - 0x69], rax
xor edx, edx
lea rcx, [rbp - 0x69]
call fcn.1401ea290
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 0x1401ef971
mov rcx, qword [rbp - 0x69]
call fcn.140298600
test rdi, rdi
je 0x1401efa10
cmp dword [rdi + 0x14], 0
jle 0x1401ef9c7
lea r9, [rdi + 0x18]
lea rdx, [rdi + 8]
lea r8, [0x1403232c8]
lea rcx, [rbp - 0x59]
call fcn.1401e80f0
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 0x1401ef9e5
mov rcx, qword [rbp - 0x59]
call fcn.140298600
jmp 0x1401ef9e5
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 0x1401efa40
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 0x1401efa50
test esi, esi
jne 0x1401eff14
lea rcx, [rbx + 0x80]
lea rdx, [rbp - 0x69]
call fcn.1401ee750
nop
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x1401efae1
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401efa70
test rax, rax
je 0x1401efae1
lea rdx, str.Content_Type:
lea rcx, [rbp - 0x69]
call fcn.1401e7680
mov edi, dword [rbp - 0x5d]
add edi, dword [rbx + 0x5c]
mov edx, edi
lea rcx, [rbp - 0x69]
call fcn.1401e9030
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.14029b4d8
mov edx, edi
lea rcx, [rbp - 0x69]
call fcn.1401ea290
lea rdx, [0x140323e5c]
lea rcx, [rbp - 0x69]
call fcn.1401e7680
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1401efaf6
mov eax, r13d
jmp 0x1401efafc
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 0x1401efb55
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 0x1401efb4e
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x1401efb5d
mov esi, 0x2ee2
jmp 0x1401efb5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
jne 0x1401efb7d
cmp dword [rbp - 0x61], 0
jle 0x1401efa40
mov rcx, qword [rbp - 0x69]
call fcn.140298600
jmp 0x1401efa40
cmp dword [rbp - 0x61], 0
jle 0x1401efb8c
mov rcx, qword [rbp - 0x69]
call fcn.140298600
test esi, esi
jne 0x1401eff14
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1401efc2c
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jle 0x1401efc2c
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 0x1401efc10
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 0x1401efc09
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x1401efc18
mov esi, 0x2ee2
jmp 0x1401efc18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
je 0x1401efa50
test esi, esi
jne 0x1401eff14
mov rcx, qword [rbx + 0xb0]
xor edx, edx
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1401efc6e
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 0x1401efc67
mov rax, qword [rbx + 0xb0]
mov esi, dword [rax + 0x58]
jmp 0x1401efc76
mov esi, 0x2ee2
jmp 0x1401efc76
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2f00
je 0x1401efa50
test esi, esi
jne 0x1401eff14
lea ecx, [rsi + 0x58]
call fcn.14029806c
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x1401efcab
mov rdx, rbx
mov rcx, rax
call fcn.1401eeb30
mov rcx, rax
jmp 0x1401efcae
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 0x1401efd08
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 0x1401efd4f
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 0x1401efef5
lea r15, [0x140323de0]
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], r13
mov edx, dword [rbp + 0x67]
shr edx, 1
lea rcx, [rbp - 0x69]
call fcn.1401e9030
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 0x1401efee6
mov edx, dword [rbp + 0x67]
shr edx, 1
lea rcx, [rbp - 0x69]
call fcn.1401ea290
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, [0x140323e5c]
lea rcx, [rbp - 0x69]
call fcn.1401eaad0
mov r14, qword [rbp - 0x19]
mov eax, dword [rbp - 0x21]
cmp eax, 1
jle 0x1401efebf
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.1401eadd0
test al, al
je 0x1401efe93
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.1401eb9e0
nop
mov rcx, qword [rbx + 0xb0]
mov rcx, qword [rcx + 0x10]
add rcx, 8
mov r8, rax
lea rdx, [rbp - 0x59]
call fcn.14014efe0
nop
cmp dword [rbp - 1], 0
jle 0x1401efe93
mov rcx, qword [rbp - 9]
call fcn.140298600
nop
cmp dword [rbp - 0x31], 0
jle 0x1401efea3
mov rcx, qword [rbp - 0x39]
call fcn.140298600
nop
cmp dword [rbp - 0x51], 0
jle 0x1401efeb2
mov rcx, qword [rbp - 0x59]
call fcn.140298600
add rdi, 0x10
dec rsi
jne 0x1401efe30
test r14, r14
je 0x1401efee6
lea r9, [fcn.140005d80]
mov r8d, dword [r14 - 8]
mov edx, 0x10
mov rcx, r14
call fcn.140298fa4
lea rcx, [r14 - 8]
call fcn.1402983dc
nop
cmp dword [rbp - 0x61], 0
jle 0x1401efef5
mov rcx, qword [rbp - 0x69]
call fcn.140298600
mov rax, qword [rbx + 0xb0]
mov rbx, qword [rax + 0x10]
cmp dword [rbp - 0x41], 0
jle 0x1401eff0f
mov rcx, qword [rbp - 0x49]
call fcn.140298600
mov rax, rbx
jmp 0x1401eff30
mov edx, esi
lea rcx, [rbp - 0x29]
call fcn.1400edbb0
lea rdx, [0x1403e28f8]
lea rcx, [rbp - 0x29]
call fcn.14029f768
nop
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret