Function at 0x140161850
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1150
call fcn.1402cec90
sub rsp, rax
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rsp + 0x1190], rbx
mov qword [rsp + 0x1198], rsi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov r13, rdx
mov r12, rcx
mov byte [rsp + 0x30], 0
mov r14, qword [0x14041eee8]
test r14, r14
jne 0x1401618bb
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x58], rdi
or rsi, 0xffffffffffffffff
jmp 0x1401618d8
or rsi, 0xffffffffffffffff
mov rbx, rsi
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x1401618c2
xor edi, edi
mov qword [rsp + 0x58], rdi
test ebx, ebx
jne 0x1401618e6
lea r15, [0x14034d1a0]
mov qword [rsp + 0x50], r15
jmp 0x140161912
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
lea r15, [0x14034d1a0]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
mov rcx, r13
call fcn.14020c540
test al, al
je 0x140161a40
lea rax, vtable.Core::ByteArray.0
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x80], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.14020c740
mov r14, qword [rsp + 0x80]
test al, al
je 0x140161a27
mov qword [rsp + 0xb0], 0
movups xmm0, xmmword [0x14032eb00]
movups xmmword [rsp + 0xb8], xmm0
movups xmm1, xmmword [0x14032eb10]
movups xmmword [rsp + 0xc8], xmm1
lea r8, [rsp + 0xb0]
mov edx, dword [rsp + 0x78]
mov rcx, r14
call fcn.14018f300
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x120]
call fcn.14018f3f0
mov r8d, 0x20
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x60]
call fcn.1400038d0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x50]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x58]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
cmp dword [rsp + 0x68], 0
jle 0x140161a27
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
nop
test r14, r14
je 0x140161a40
mov r8, r14
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rdx, r12
lea rcx, [rsp + 0xb0]
call fcn.14015fc10
nop
mov rbx, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.140205d90
nop
mov r8d, 1
lea rdx, [0x140351e08]
lea rcx, [rsp + 0x60]
call fcn.140202b80
test al, al
jne 0x140161aa1
mov r8d, 1
lea rdx, str.https
lea rcx, [rsp + 0x60]
call fcn.140202b80
test al, al
je 0x140161ba2
mov ecx, 0xb8
call fcn.1402bcb4c
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140161b9f
lea rax, vtable.Core::Net::WebRequest.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rsp + 0xb0]
call fcn.140205810
mov qword [rbx + 0x50], r15
mov qword [rbx + 0x58], 0
mov qword [rbx + 0x68], r15
mov qword [rbx + 0x70], 0
lea rax, vtable.Core::Net::WebHeaderCollection.0
mov qword [rbx + 0x80], rax
lea rax, vtable.Core::Dictionary_class_Core::String__class_Core::String_.0
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x90], rdi
mov qword [rbx + 0x98], rdi
mov dword [rbx + 0xa0], edi
mov qword [rbx + 0x60], 0
mov dword [rbx + 0x78], 0x493e0
mov qword [rbx + 0xa8], rdi
lea rax, vtable.Core::Net::HttpWebRequest.0
mov qword [rbx], rax
mov ecx, 0x68
call fcn.1402bcb4c
test rax, rax
je 0x140161b58
mov rcx, rax
call fcn.140208650
jmp 0x140161b5b
mov rax, rdi
mov qword [rbx + 0xb0], rax
mov edx, 3
lea rcx, [rbx + 0x68]
call fcn.1402028a0
mov eax, dword [rbx + 0x70]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x140352c80]
mov rcx, qword [rbx + 0x68]
call fcn.1402c06dc
mov edx, 3
lea rcx, [rbx + 0x68]
call fcn.140203bb0
nop
jmp 0x140161ba2
mov rbx, rdi
cmp dword [rsp + 0x68], 0
jle 0x140161bb3
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
lea rax, vtable.Core::SharedPtr_class_Core::Net::HttpWebRequest_.0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov r15, rdi
mov qword [rsp + 0x80], rdi
test rbx, rbx
je 0x140161c04
mov ecx, 4
call fcn.1402bcb4c
mov r15, rax
test rax, rax
je 0x140161bf2
mov dword [rax], edi
mov qword [rsp + 0x80], rax
jmp 0x140161bfd
mov r15, rdi
mov qword [rsp + 0x80], rdi
mov dword [r15], 1
mov qword [rsp + 0x40], 0
mov edx, 3
lea rcx, [rsp + 0x38]
call fcn.1402028a0
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x140352c80]
mov rcx, qword [rsp + 0x38]
call fcn.1402c06dc
mov edx, 3
lea rcx, [rsp + 0x38]
call fcn.140203bb0
nop
mov edx, dword [rsp + 0x44]
lea rcx, [rbx + 0x68]
call fcn.1402028a0
movsxd r9, dword [rsp + 0x44]
mov eax, dword [rbx + 0x70]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x38]
mov rcx, qword [rbx + 0x68]
call fcn.1402c06dc
mov edx, dword [rsp + 0x44]
lea rcx, [rbx + 0x68]
call fcn.140203bb0
nop
cmp dword [rsp + 0x40], 0
jle 0x140161c93
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
mov rax, qword [rbx + 0xb0]
mov dword [rax], 0x3a98
mov dword [rbx + 0x78], 0xea60
mov qword [rsp + 0x40], 0
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.1402028a0
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.text_xml
mov rcx, qword [rsp + 0x38]
call fcn.1402c06dc
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.140203bb0
nop
mov edx, dword [rsp + 0x44]
lea rcx, [rbx + 0x50]
call fcn.1402028a0
movsxd r9, dword [rsp + 0x44]
mov eax, dword [rbx + 0x58]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x38]
mov rcx, qword [rbx + 0x50]
call fcn.1402c06dc
mov edx, dword [rsp + 0x44]
lea rcx, [rbx + 0x50]
call fcn.140203bb0
nop
cmp dword [rsp + 0x40], 0
jle 0x140161d36
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140161dc7
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140161d44
test rsi, rsi
je 0x140161dc7
mov qword [rsp + 0x40], 0
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.1402028a0
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 9
lea r8, str.X_Remnant
mov rcx, qword [rsp + 0x38]
call fcn.1402c06dc
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.140203bb0
nop
lea rcx, [rbx + 0x80]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call fcn.14015e040
nop
cmp dword [rsp + 0x40], 0
jle 0x140161ea9
mov rcx, qword [rsp + 0x38]
jmp 0x140161ea4
mov qword [rsp + 0x128], 0
mov edx, 4
lea rcx, [rsp + 0x120]
call fcn.1402028a0
mov eax, dword [rsp + 0x128]
inc eax
movsxd rdx, eax
mov r9d, 4
lea r8, [0x14035cab0]
mov rcx, qword [rsp + 0x120]
call fcn.1402c06dc
mov edx, 4
lea rcx, [rsp + 0x120]
call fcn.140203bb0
nop
mov qword [rsp + 0x40], 0
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.1402028a0
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 9
lea r8, str.X_Remnant
mov rcx, qword [rsp + 0x38]
call fcn.1402c06dc
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.140203bb0
nop
lea rcx, [rbx + 0x80]
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x38]
call fcn.14015e040
nop
cmp dword [rsp + 0x40], 0
jle 0x140161e92
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x128], 0
jle 0x140161ea9
mov rcx, qword [rsp + 0x120]
call fcn.1402bd0e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rsi, rax
cmp dword [rax + 0x40], 0xc8
jne 0x140161fde
mov rax, qword [rax]
mov rcx, rsi
call qword [rax + 8]
test eax, eax
jle 0x140161fd9
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov r14, rax
mov ecx, 0x18
call fcn.1402bcb4c
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140161f26
mov rdx, r13
lea rcx, [rsp + 0x120]
call fcn.1402007e0
mov dword [rsp + 0x20], edi
mov r9d, 2
mov r8d, 0x40000000
mov rdx, rax
mov rcx, rsi
call fcn.140210580
mov rsi, rax
jmp 0x140161f29
mov rsi, rdi
lea rax, vtable.Core::SharedPtr_class_Core::FileStream_.0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
test rsi, rsi
je 0x140161f6a
mov ecx, 4
call fcn.1402bcb4c
test rax, rax
je 0x140161f5f
mov dword [rax], edi
mov rdi, rax
mov qword [rsp + 0x48], rax
jmp 0x140161f64
mov qword [rsp + 0x48], rdi
mov dword [rdi], 1
nop word [rax + rax]
mov rax, qword [r14]
mov r8d, 0x1000
lea rdx, [rsp + 0x140]
mov rcx, r14
call qword [rax + 0x50]
mov r8d, eax
test eax, eax
jle 0x140161fa1
mov rax, qword [rsi]
lea rdx, [rsp + 0x140]
mov rcx, rsi
call qword [rax + 0x48]
jmp 0x140161f70
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
nop
test rdi, rdi
je 0x140161fd9
mov eax, dword [rdi]
test eax, eax
jle 0x140161fba
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x140161fd9
test rsi, rsi
je 0x140161fd1
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, rdi
call fcn.14021ae20
mov byte [rsp + 0x30], 1
test r15, r15
je 0x140162010
mov eax, dword [r15]
test eax, eax
jle 0x140161fef
dec eax
mov dword [r15], eax
cmp dword [r15], 0
jne 0x140162010
test rbx, rbx
je 0x140162007
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, r15
call fcn.14021ae20
nop
lea rax, vtable.Core::Uri.0
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140162031
call fcn.1402bcebc
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140162043
call fcn.1402bcebc
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140162055
call fcn.1402bcebc
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140162067
call fcn.1402bcebc
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x140162079
call fcn.1402bcebc
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x14016208c
call fcn.1402bcebc
nop
cmp dword [rsp + 0x58], 0
jle 0x14016209d
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret