Function at 0x140033390
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rbp + 0x128], 0xfffffffffffffffe
mov qword [rsp + 0x308], rbx
mov rax, qword [0x1401d5e90]
xor rax, rsp
mov qword [rbp + 0x1a8], rax
mov r12, r8
mov qword [rsp + 0x48], rdx
mov rdi, rcx
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x150], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
call fcn.14002fee0
mov ebx, 1
test al, al
cmovne ebx, esi
lea rcx, [0x1401629b8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x140033411
mov r13d, esi
jmp 0x140033443
lea rdx, [0x1401629d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14003342b
mov r13, rsi
jmp 0x140033443
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
lea rcx, [0x140162204]
call rax
mov r13, rax
mov r9d, dword [0x1401ddd80]
lea r8d, [r9 + 1]
imul r8d, r9d
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 5
jne 0x14003351a
mov edx, esi
nop word [rax + rax]
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, r9d
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r9d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r9d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r9d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
add r9d, eax
inc edx
cmp edx, 0x100
jl 0x140033480
mov dword [0x1401ddd80], r9d
test r13, r13
jne 0x140033549
test r12, r12
je 0x140033533
lea rdx, str.InternetOpenFailed
mov rcx, r12
call fcn.140003a70
mov rcx, rdi
call fcn.14002d830
nop
mov dword [rsp + 0x30], 1
jmp 0x140034608
mov eax, dword [rsp + 0x58]
and eax, 0xffffff00
mov dword [rsp + 0x58], eax
btr eax, 8
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], rsi
mov r10d, dword [0x1401ddd80]
lea eax, [r10 + 1]
imul eax, r10d
and eax, 0x8000000f
jge 0x140033580
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xd
jne 0x1400335d1
mov edi, esi
lea rbx, [rbp + 0x180]
nop
mov r8, rsi
movzx r11d, r10b
sub r11b, dil
mov r9d, 1
mov eax, r10d
cdq
idiv r9d
movzx eax, r10b
imul dl
movzx ecx, al
movzx eax, r11b
imul cl
mov byte [r8 + rbx], al
inc r9d
inc r8
cmp r8, 3
jl 0x1400335a0
inc edi
add rbx, 3
cmp edi, 0xc
jl 0x140033590
mov r14d, dword [rbp]
and r14d, 0xffffff04
or r14d, 4
mov dword [rbp], r14d
bts r14d, 8
mov dword [rbp], r14d
mov qword [rbp + 8], rsi
mov eax, dword [0x1401dfdd8]
lea rcx, vtable.Json::ValueAllocator.0
lea rdx, vtable.Json::DefaultValueAllocator.0
test al, 1
jne 0x14003362d
or eax, 1
mov dword [0x1401dfdd8], eax
mov qword [0x1401dfcd8], rcx
mov qword [0x1401dfcd8], rdx
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
or r8d, 0xffffffff
lea rdx, [0x140162234]
call qword [rax + 0x18]
mov r15, rax
mov qword [rbp - 8], rax
lea rdx, [0x140162264]
lea rcx, [rsp + 0x50]
call fcn.14003f690
mov rdi, rax
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x38]
call fcn.14003eaf0
nop
movsx edx, byte [rdi + 8]
movzx ecx, byte [rbp - 0x30]
mov byte [rdi + 8], cl
mov r8d, dword [rbp - 0x30]
mov ecx, r8d
xor ecx, edx
movzx ecx, cl
xor r8d, ecx
mov dword [rbp - 0x30], r8d
mov rbx, qword [rdi]
mov rax, qword [rbp - 0x38]
mov qword [rdi], rax
mov qword [rbp - 0x38], rbx
mov ecx, dword [rdi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
xor eax, r8d
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rbp - 0x30], r8d
movsx eax, r8b
cmp eax, 4
je 0x140033715
add eax, 0xfffffffa
cmp eax, 1
ja 0x140033773
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x140033773
mov r8, qword [rbx]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.140040360
nop
mov rcx, qword [rbx]
call fcn.1400d7280
mov rcx, rbx
call fcn.1400d7280
jmp 0x140033773
bt r8d, 8
jae 0x140033773
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x14003375a
or eax, 1
mov dword [0x1401dfdd8], eax
lea rdi, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], rdi
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
jmp 0x140033761
lea rdi, vtable.Json::ValueAllocator.0
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x20]
jmp 0x14003377a
lea rdi, vtable.Json::ValueAllocator.0
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400337a4
lea rbx, [rcx - 8]
lea r9, [0x14003e6f0]
mov r8d, dword [rbx]
mov edx, 8
call fcn.1400d77b4
mov rcx, rbx
call fcn.1400d834c
nop
movsx eax, byte [rbp]
cmp eax, 4
je 0x1400337ee
add eax, 0xfffffffa
cmp eax, 1
ja 0x14003383a
mov qword [rsp + 0x38], r15
test r15, r15
je 0x14003383a
mov r8, qword [r15]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x118]
mov rcx, r15
call fcn.140040360
nop
mov rcx, qword [r15]
call fcn.1400d7280
mov rcx, r15
call fcn.1400d7280
jmp 0x14003383a
bt r14d, 8
jae 0x14003383a
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x14003382a
or eax, 1
mov dword [0x1401dfdd8], eax
mov qword [0x1401dfcd8], rdi
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x20]
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x160]
call fcn.140023f10
mov rbx, rax
mov r14d, dword [rbp + 0x18]
and r14d, 0xffffff04
or r14d, 4
mov dword [rbp + 0x18], r14d
bts r14d, 8
mov dword [rbp + 0x18], r14d
mov qword [rbp + 0x20], rsi
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x1400338a3
or eax, 1
mov dword [0x1401dfdd8], eax
mov qword [0x1401dfcd8], rdi
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400338b1
mov rbx, qword [rbx]
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov r8d, edx
mov rdx, rbx
call qword [rax + 0x18]
mov r15, rax
mov qword [rbp + 0x10], rax
lea rdx, [0x14016224c]
lea rcx, [rsp + 0x50]
call fcn.14003f690
mov rdi, rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x80]
call fcn.14003eaf0
nop
movsx edx, byte [rdi + 8]
movzx ecx, byte [rbp - 0x78]
mov byte [rdi + 8], cl
mov r8d, dword [rbp - 0x78]
mov ecx, r8d
xor ecx, edx
movzx ecx, cl
xor r8d, ecx
mov dword [rbp - 0x78], r8d
mov rbx, qword [rdi]
mov rax, qword [rbp - 0x80]
mov qword [rdi], rax
mov qword [rbp - 0x80], rbx
mov ecx, dword [rdi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
xor eax, r8d
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rbp - 0x78], r8d
movsx eax, r8b
cmp eax, 4
je 0x140033990
add eax, 0xfffffffa
cmp eax, 1
ja 0x1400339e3
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x1400339e3
mov r8, qword [rbx]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x148]
mov rcx, rbx
call fcn.140040360
nop
mov rcx, qword [rbx]
call fcn.1400d7280
mov rcx, rbx
call fcn.1400d7280
jmp 0x1400339e3
bt r8d, 8
jae 0x1400339e3
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x1400339d3
or eax, 1
mov dword [0x1401dfdd8], eax
lea rax, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140033a0d
lea rbx, [rcx - 8]
lea r9, [0x14003e6f0]
mov r8d, dword [rbx]
mov edx, 8
call fcn.1400d77b4
mov rcx, rbx
call fcn.1400d834c
nop
movsx eax, byte [rbp + 0x18]
cmp eax, 4
je 0x140033a57
add eax, 0xfffffffa
cmp eax, 1
ja 0x140033aab
mov qword [rsp + 0x38], r15
test r15, r15
je 0x140033aab
mov r8, qword [r15]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x158]
mov rcx, r15
call fcn.140040360
nop
mov rcx, qword [r15]
call fcn.1400d7280
mov rcx, r15
call fcn.1400d7280
jmp 0x140033aab
bt r14d, 8
jae 0x140033aab
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x140033a9a
or eax, 1
mov dword [0x1401dfdd8], eax
lea rax, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x20]
nop
cmp qword [rbp + 0x178], 0x10
jb 0x140033ac1
mov rcx, qword [rbp + 0x160]
call fcn.1400d7280
mov qword [rbp + 0x178], 0xf
mov qword [rbp + 0x170], rsi
mov byte [rbp + 0x160], 0
mov r14d, dword [rbp + 0x30]
and r14d, 0xffffff04
or r14d, 4
mov dword [rbp + 0x30], r14d
bts r14d, 8
mov dword [rbp + 0x30], r14d
mov qword [rbp + 0x38], rsi
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x140033b36
or eax, 1
mov dword [0x1401dfdd8], eax
lea rax, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
or r8d, 0xffffffff
lea rdx, [0x14016228c]
call qword [rax + 0x18]
mov r15, rax
mov qword [rbp + 0x28], rax
lea rdx, [0x140162bb8]
lea rcx, [rsp + 0x50]
call fcn.14003f690
mov r8, rax
mov rcx, rax
call fcn.14003f2c0
mov edx, eax
mov rcx, r8
call fcn.14003f370
mov rdi, rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x68]
call fcn.14003eaf0
nop
movsx edx, byte [rdi + 8]
movzx ecx, byte [rbp - 0x60]
mov byte [rdi + 8], cl
mov r8d, dword [rbp - 0x60]
xor edx, r8d
movzx ecx, dl
xor r8d, ecx
mov dword [rbp - 0x60], r8d
mov rbx, qword [rdi]
mov rax, qword [rbp - 0x68]
mov qword [rdi], rax
mov qword [rbp - 0x68], rbx
mov ecx, dword [rdi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
xor eax, r8d
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rbp - 0x60], r8d
movsx eax, r8b
cmp eax, 4
je 0x140033c2d
add eax, 0xfffffffa
cmp eax, 1
ja 0x140033c80
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x140033c80
mov r8, qword [rbx]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x130]
mov rcx, rbx
call fcn.140040360
nop
mov rcx, qword [rbx]
call fcn.1400d7280
mov rcx, rbx
call fcn.1400d7280
jmp 0x140033c80
bt r8d, 8
jae 0x140033c80
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x140033c70
or eax, 1
mov dword [0x1401dfdd8], eax
lea rax, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140033caa
lea rbx, [rcx - 8]
lea r9, [0x14003e6f0]
mov r8d, dword [rbx]
mov edx, 8
call fcn.1400d77b4
mov rcx, rbx
call fcn.1400d834c
nop
movsx eax, byte [rbp + 0x30]
cmp eax, 4
je 0x140033cf4
add eax, 0xfffffffa
cmp eax, 1
ja 0x140033d47
mov qword [rsp + 0x38], r15
test r15, r15
je 0x140033d47
mov r8, qword [r15]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x140]
mov rcx, r15
call fcn.140040360
nop
mov rcx, qword [r15]
call fcn.1400d7280
mov rcx, r15
call fcn.1400d7280
jmp 0x140033d47
bt r14d, 8
jae 0x140033d47
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x140033d37
or eax, 1
mov dword [0x1401dfdd8], eax
lea rax, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x20]
mov r14d, dword [rbp + 0x60]
and r14d, 0xffffff04
or r14d, 4
mov dword [rbp + 0x60], r14d
bts r14d, 8
mov dword [rbp + 0x60], r14d
mov qword [rbp + 0x68], rsi
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x140033da3
or eax, 1
mov dword [0x1401dfdd8], eax
lea rax, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
or r8d, 0xffffffff
lea rdx, [0x14016226c]
call qword [rax + 0x18]
mov r15, rax
mov qword [rbp + 0x58], rax
lea rdx, [0x140162ba8]
lea rcx, [rsp + 0x50]
call fcn.14003f690
mov rdi, rax
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x20]
call fcn.14003eaf0
nop
movsx edx, byte [rdi + 8]
movzx ecx, byte [rbp - 0x18]
mov byte [rdi + 8], cl
mov r8d, dword [rbp - 0x18]
xor edx, r8d
movzx ecx, dl
xor r8d, ecx
mov dword [rbp - 0x18], r8d
mov rbx, qword [rdi]
mov rax, qword [rbp - 0x20]
mov qword [rdi], rax
mov qword [rbp - 0x20], rbx
mov ecx, dword [rdi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
xor eax, r8d
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rbp - 0x18], r8d
movsx eax, r8b
cmp eax, 4
je 0x140033e85
add eax, 0xfffffffa
cmp eax, 1
ja 0x140033ed8
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x140033ed8
mov r8, qword [rbx]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x120]
mov rcx, rbx
call fcn.140040360
nop
mov rcx, qword [rbx]
call fcn.1400d7280
mov rcx, rbx
call fcn.1400d7280
jmp 0x140033ed8
bt r8d, 8
jae 0x140033ed8
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x140033ec8
or eax, 1
mov dword [0x1401dfdd8], eax
lea rax, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140033f02
lea rbx, [rcx - 8]
lea r9, [0x14003e6f0]
mov r8d, dword [rbx]
mov edx, 8
call fcn.1400d77b4
mov rcx, rbx
call fcn.1400d834c
nop
movsx eax, byte [rbp + 0x60]
cmp eax, 4
je 0x140033f4c
add eax, 0xfffffffa
cmp eax, 1
ja 0x140033f9f
mov qword [rsp + 0x38], r15
test r15, r15
je 0x140033f9f
mov r8, qword [r15]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x108]
mov rcx, r15
call fcn.140040360
nop
mov rcx, qword [r15]
call fcn.1400d7280
mov rcx, r15
call fcn.1400d7280
jmp 0x140033f9f
bt r14d, 8
jae 0x140033f9f
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x140033f8f
or eax, 1
mov dword [0x1401dfdd8], eax
lea rax, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rax, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], rax
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x20]
mov eax, dword [rbp + 0x48]
and eax, 0xffffff04
or eax, 4
mov dword [rbp + 0x48], eax
bts eax, 8
mov dword [rbp + 0x48], eax
mov qword [rbp + 0x50], rsi
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x140033ff6
or eax, 1
mov dword [0x1401dfdd8], eax
lea r14, vtable.Json::ValueAllocator.0
mov qword [0x1401dfcd8], r14
lea r15, vtable.Json::DefaultValueAllocator.0
mov qword [0x1401dfcd8], r15
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
jmp 0x140034004
lea r14, vtable.Json::ValueAllocator.0
lea r15, vtable.Json::DefaultValueAllocator.0
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
or r8d, 0xffffffff
lea rdx, [0x140162bf8]
call qword [rax + 0x18]
mov qword [rbp + 0x40], rax
lea rdx, [0x140162bd0]
lea rcx, [rsp + 0x50]
call fcn.14003f690
mov rdi, rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14003eaf0
nop
movsx edx, byte [rdi + 8]
movzx ecx, byte [rbp - 0x48]
mov byte [rdi + 8], cl
mov r8d, dword [rbp - 0x48]
mov ecx, r8d
xor ecx, edx
movzx ecx, cl
xor r8d, ecx
mov dword [rbp - 0x48], r8d
mov rbx, qword [rdi]
mov rax, qword [rbp - 0x50]
mov qword [rdi], rax
mov qword [rbp - 0x50], rbx
mov ecx, dword [rdi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, r8d
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rdi + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rbp - 0x48], r8d
movsx eax, r8b
cmp eax, 4
je 0x1400340e1
add eax, 0xfffffffa
cmp eax, 1
ja 0x140034126
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x140034126
mov r8, qword [rbx]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x138]
mov rcx, rbx
call fcn.140040360
nop
mov rcx, qword [rbx]
call fcn.1400d7280
mov rcx, rbx
call fcn.1400d7280
jmp 0x140034126
bt r8d, 8
jae 0x140034126
mov eax, dword [0x1401dfdd8]
test al, 1
jne 0x140034116
or eax, 1
mov dword [0x1401dfdd8], eax
mov qword [0x1401dfcd8], r14
mov qword [0x1401dfcd8], r15
lea rcx, [0x14012db20]
call fcn.1400d79b0
nop
mov rcx, qword [0x1401d9030]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140034150
lea rbx, [rcx - 8]
lea r9, [0x14003e6f0]
mov r8d, dword [rbx]
mov edx, 8
call fcn.1400d77b4
mov rcx, rbx
call fcn.1400d834c
nop
lea rcx, [rbp + 0x40]
call fcn.14003ec50
mov qword [rbp + 0x98], rsi
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x98]
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.1400346e0
nop
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r9d, dword [0x1401ddd80]
mov r8d, r9d
imul r8d, r9d
imul r8d, r9d
mov eax, 0x38e38e39
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*8]
sub r8d, ecx
cmp r8d, 3
jne 0x1400341dd
mov r8d, esi
test r9d, r9d
je 0x1400341d6
nop word [rax + rax]
mov ecx, r9d
and ecx, 1
add r8d, ecx
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
jne 0x1400341c0
mov dword [0x1401ddd80], r8d
lea rcx, [rsp + 0x40]
call fcn.14002d830
nop
mov eax, dword [0x1401ddd80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 0xa
jne 0x140034218
inc dword [0x1401decbc]
lea rdx, [0x1401622ac]
lea rcx, [rsp + 0x68]
call fcn.14003f690
or rbx, 0xffffffffffffffff
cmp byte [rax + 8], 5
jne 0x140034314
lea rdx, [0x140162304]
lea rcx, [rsp + 0x68]
call fcn.14003f690
mov rcx, rax
call fcn.14003f240
test al, al
je 0x140034314
lea rdx, [0x140162c48]
lea rcx, [rsp + 0x68]
call fcn.14003f690
cmp byte [rax + 8], 4
jne 0x140034314
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x38], rax
lea rdx, [0x140162c50]
lea rcx, [rsp + 0x68]
call fcn.14003f690
mov rdx, qword [rax]
mov qword [rbp + 0xe0], 0xf
mov qword [rbp + 0xd8], rsi
mov byte [rbp + 0xc8], 0
cmp byte [rdx], 0
jne 0x1400342b6
mov r8, rsi
jmp 0x1400342ca
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400342c0
lea rcx, [rbp + 0xc8]
call fcn.1400013f0
nop
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x80]
call fcn.140023e70
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400026d0
nop
mov rdx, qword [rbp + 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140034314
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r12, r12
je 0x140034379
lea rcx, [rbp + 0x88]
call fcn.14002d830
nop
mov dword [rsp + 0x30], 2
mov rdx, qword [rax]
mov eax, esi
test rdx, rdx
setne al
test eax, eax
jne 0x140034348
mov ecx, 0x80004005
call fcn.140001920
int3
mov rax, qword [rsp + 0x40]
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x140034366
add rax, 2
test cx, cx
jne 0x140034350
mov eax, esi
jmp 0x14003436b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x140034379
mov dil, 1
jmp 0x14003437c
xor dil, dil
test byte [rsp + 0x30], 2
je 0x1400343a3
and dword [rsp + 0x30], 0xfffffffd
mov rdx, qword [rbp + 0x88]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400343a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1400345bb
lea rdx, [0x140162c28]
lea rcx, [rsp + 0x68]
call fcn.14003f690
cmp byte [rax + 8], 4
jne 0x1400345ac
lea rax, [rbp + 0xe8]
mov qword [rbp + 0x90], rax
lea rdx, str.errorDesc
lea rcx, [rsp + 0x68]
call fcn.14003f690
mov rdx, qword [rax]
mov qword [rbp + 0x100], 0xf
mov qword [rbp + 0xf8], rsi
mov byte [rbp + 0xe8], 0
cmp byte [rdx], 0
jne 0x14003440c
mov r8, rsi
jmp 0x14003441a
mov r8, rbx
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140034410
lea rcx, [rbp + 0xe8]
call fcn.1400013f0
nop
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0xa0]
call fcn.140023e70
nop
mov rdx, rax
mov rcx, r12
call fcn.1400026d0
nop
mov rdx, qword [rbp + 0xa0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140034462
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.errorCode
lea rcx, [rsp + 0x68]
call fcn.14003f690
cmp byte [rax + 8], 4
jne 0x140034527
mov r8d, 1
lea rdx, [0x14016230c]
mov rcx, r12
call fcn.1400114a0
lea rax, [rbp + 0xa8]
mov qword [rbp + 0x90], rax
lea rdx, [0x140162c58]
lea rcx, [rsp + 0x68]
call fcn.14003f690
mov rdx, qword [rax]
mov qword [rbp + 0xc0], 0xf
mov qword [rbp + 0xb8], rsi
mov byte [rbp + 0xa8], 0
cmp byte [rdx], 0
je 0x1400344de
mov rsi, rbx
inc rsi
cmp byte [rdx + rsi], 0
jne 0x1400344d5
mov r8, rsi
lea rcx, [rbp + 0xa8]
call fcn.1400013f0
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x70]
call fcn.140023e70
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
mov rcx, r12
call fcn.1400114a0
nop
mov rdx, qword [rbp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140034527
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str._L_
lea rcx, [rsp + 0x48]
call fcn.1400025b0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14002c140
nop
lea r8, [0x1401622b4]
mov rdx, qword [rax]
mov rcx, r12
call fcn.140010530
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140034576
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14003458f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.14002fcf0
test al, al
jne 0x1400345bb
mov ecx, 4
call fcn.1400d7a58
mov ecx, dword [0x1401ddd80]
mov dword [rax], ecx
jmp 0x1400345bb
lea rdx, str.noError
mov rcx, r12
call fcn.140003a70
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
call fcn.1400028c0
add rax, 0x18
mov rdi, qword [rbp + 0x78]
mov qword [rdi], rax
or dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400345f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x68]
call fcn.14003ec50
nop
lea rcx, [rsp + 0x50]
call fcn.14003ec50
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rsp
call fcn.1400d72a0
mov rbx, qword [rsp + 0x308]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret