Function at 0x140152800
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1150
call fcn.1402a90d0
sub rsp, rax
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rsp + 0x1190], rbx
mov qword [rsp + 0x1198], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov r13, rdx
mov r12, rcx
mov byte [rsp + 0x30], 0
mov r14, qword [0x1403ec168]
test r14, r14
jne 0x14015286b
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x58], rdi
or rsi, 0xffffffffffffffff
jmp 0x140152888
or rsi, 0xffffffffffffffff
mov rbx, rsi
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140152872
xor edi, edi
mov qword [rsp + 0x58], rdi
test ebx, ebx
jne 0x140152896
lea r15, [0x140323de0]
mov qword [rsp + 0x50], r15
jmp 0x1401528c2
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
lea r15, [0x140323de0]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
mov rcx, r13
call fcn.1401f2230
test al, al
je 0x1401529f0
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.1401f2430
mov r14, qword [rsp + 0x80]
test al, al
je 0x1401529d7
mov qword [rsp + 0xb0], 0
movups xmm0, xmmword [0x1403072e8]
movups xmmword [rsp + 0xb8], xmm0
movups xmm1, xmmword [0x1403072f8]
movups xmmword [rsp + 0xc8], xmm1
lea r8, [rsp + 0xb0]
mov edx, dword [rsp + 0x78]
mov rcx, r14
call fcn.14017c780
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x120]
call fcn.14017c870
mov r8d, 0x20
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x60]
call fcn.1400037a0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x50]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
cmp dword [rsp + 0x68], 0
jle 0x1401529d7
mov rcx, qword [rsp + 0x60]
call fcn.140298600
nop
test r14, r14
je 0x1401529f0
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.140150bb0
nop
mov rbx, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.1401ec470
nop
mov r8d, 1
lea rdx, str.http
lea rcx, [rsp + 0x60]
call fcn.1401e9310
test al, al
jne 0x140152a51
mov r8d, 1
lea rdx, str.https
lea rcx, [rsp + 0x60]
call fcn.1401e9310
test al, al
je 0x140152b52
mov ecx, 0xb8
call fcn.14029806c
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140152b4f
lea rax, vtable.Core::Net::WebRequest.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rsp + 0xb0]
call fcn.1401ebef0
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.14029806c
test rax, rax
je 0x140152b08
mov rcx, rax
call fcn.1401eeda0
jmp 0x140152b0b
mov rax, rdi
mov qword [rbx + 0xb0], rax
mov edx, 3
lea rcx, [rbx + 0x68]
call fcn.1401e9030
mov eax, dword [rbx + 0x70]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x140329c10]
mov rcx, qword [rbx + 0x68]
call fcn.14029b4d8
mov edx, 3
lea rcx, [rbx + 0x68]
call fcn.1401ea290
nop
jmp 0x140152b52
mov rbx, rdi
cmp dword [rsp + 0x68], 0
jle 0x140152b63
mov rcx, qword [rsp + 0x60]
call fcn.140298600
lea rax, vtable.Core::SharedPtr_class_Core::Net::HttpWebRequest_.0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov r14, rdi
mov qword [rsp + 0x80], rdi
test rbx, rbx
je 0x140152bb4
mov ecx, 4
call fcn.14029806c
mov r14, rax
test rax, rax
je 0x140152ba2
mov dword [rax], edi
mov qword [rsp + 0x80], rax
jmp 0x140152bad
mov r14, rdi
mov qword [rsp + 0x80], rdi
mov dword [r14], 1
mov qword [rsp + 0x40], 0
mov edx, 3
lea rcx, [rsp + 0x38]
call fcn.1401e9030
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
mov r9d, 3
lea r8, [0x140329c10]
mov rcx, qword [rsp + 0x38]
call fcn.14029b4d8
mov edx, 3
lea rcx, [rsp + 0x38]
call fcn.1401ea290
nop
mov edx, dword [rsp + 0x44]
lea rcx, [rbx + 0x68]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x44]
lea rcx, [rbx + 0x68]
call fcn.1401ea290
nop
cmp dword [rsp + 0x40], 0
jle 0x140152c43
mov rcx, qword [rsp + 0x38]
call fcn.140298600
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.1401e9030
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.14029b4d8
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.1401ea290
nop
mov edx, dword [rsp + 0x44]
lea rcx, [rbx + 0x50]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x44]
lea rcx, [rbx + 0x50]
call fcn.1401ea290
nop
cmp dword [rsp + 0x40], 0
jle 0x140152ce6
mov rcx, qword [rsp + 0x38]
call fcn.140298600
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140152d6f
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140152cf0
test rsi, rsi
je 0x140152d6f
mov qword [rsp + 0x40], 0
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.1401e9030
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.14029b4d8
mov edx, 9
lea rcx, [rsp + 0x38]
call fcn.1401ea290
nop
lea rcx, [rbx + 0x80]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call fcn.14014efe0
nop
cmp dword [rsp + 0x40], 0
jle 0x140152d6f
mov rcx, qword [rsp + 0x38]
call fcn.140298600
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rsi, rax
cmp dword [rax + 0x40], 0xc8
jne 0x140152e9e
mov rax, qword [rax]
mov rcx, rsi
call qword [rax + 8]
test eax, eax
jle 0x140152e99
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov r15, rax
mov ecx, 0x18
call fcn.14029806c
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140152dec
mov rdx, r13
lea rcx, [rsp + 0x120]
call fcn.1401e6f70
mov dword [rsp + 0x20], edi
mov r9d, 2
mov r8d, 0x40000000
mov rdx, rax
mov rcx, rsi
call fcn.1401f6960
mov rsi, rax
jmp 0x140152def
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 0x140152e30
mov ecx, 4
call fcn.14029806c
test rax, rax
je 0x140152e25
mov dword [rax], edi
mov rdi, rax
mov qword [rsp + 0x48], rax
jmp 0x140152e2a
mov qword [rsp + 0x48], rdi
mov dword [rdi], 1
mov rax, qword [r15]
mov r8d, 0x1000
lea rdx, [rsp + 0x140]
mov rcx, r15
call qword [rax + 0x50]
mov r8d, eax
test eax, eax
jle 0x140152e61
mov rax, qword [rsi]
lea rdx, [rsp + 0x140]
mov rcx, rsi
call qword [rax + 0x48]
jmp 0x140152e30
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x20]
nop
test rdi, rdi
je 0x140152e99
mov eax, dword [rdi]
test eax, eax
jle 0x140152e7a
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x140152e99
test rsi, rsi
je 0x140152e91
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
mov rcx, rdi
call fcn.1402012c0
mov byte [rsp + 0x30], 1
test r14, r14
je 0x140152ed0
mov eax, dword [r14]
test eax, eax
jle 0x140152eaf
dec eax
mov dword [r14], eax
cmp dword [r14], 0
jne 0x140152ed0
test rbx, rbx
je 0x140152ec7
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, r14
call fcn.1402012c0
nop
lea rax, vtable.Core::Uri.0
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140152ef1
call fcn.1402983dc
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140152f03
call fcn.1402983dc
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140152f15
call fcn.1402983dc
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140152f27
call fcn.1402983dc
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x140152f39
call fcn.1402983dc
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x140152f4c
call fcn.1402983dc
nop
cmp dword [rsp + 0x58], 0
jle 0x140152f5d
mov rcx, qword [rsp + 0x50]
call fcn.140298600
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.140297ff0
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