Function at 0x1400bea60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x310
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], r8
mov dword [rsp + 0x3c], r9d
cmp dword [0x14020b008], 0
je 0x1400beab4
mov rdx, rcx
lea rcx, str.content__s_n
call fcn.1400b35e0
xor r15d, r15d
mov dword [rsp + 0x34], r15d
lea rcx, [rsp + 0xe0]
call fcn.1400012c0
mov rcx, rdi
call fcn.140173250
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14017b470
nop
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xe8]
call fcn.1400e1400
mov ebx, eax
mov dword [rsp + 0x30], eax
jmp 0x1400beb1b
mov eax, dword [0x14020b008]
test eax, eax
je 0x1400beb39
mov edx, ebx
lea rcx, str.IFilter__08x_n
call fcn.1400b35e0
mov eax, dword [0x14020b008]
test ebx, ebx
js 0x1400bef72
mov rcx, rdi
call fcn.1400da750
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400bef44
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x80]
lea rdx, [0x1401e62c0]
call qword [rax]
mov ebx, eax
mov dword [rsp + 0x30], eax
jmp 0x1400beb92
test ebx, ebx
js 0x1400bef19
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x58]
call qword [rax + 0x28]
mov ebx, eax
mov dword [rsp + 0x30], eax
jmp 0x1400bebcf
test ebx, ebx
js 0x1400beeeb
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x18]
mov ebx, eax
mov dword [rsp + 0x30], eax
jmp 0x1400bec19
test ebx, ebx
js 0x1400beedd
mov ecx, 0x10000
call fcn.1400ce080
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400beef8
mov rsi, r15
mov qword [rsp + 0x78], r15
mov r13, r15
mov r14d, r15d
mov r12d, r15d
nop
cmp dword [0x14020b008], 0
je 0x1400bec65
lea rcx, str.get_chunk_n
call fcn.1400b35e0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
call qword [rax + 0x20]
test eax, eax
jns 0x1400bed51
mov eax, dword [0x14020b008]
test eax, eax
je 0x1400bec9c
lea rcx, str.FAILED_n
call fcn.1400b35e0
mov eax, dword [0x14020b008]
test eax, eax
je 0x1400becad
lea rcx, str.GetChunk_Done_n
call fcn.1400b35e0
nop
test r12d, r12d
je 0x1400bed36
movsxd rcx, r12d
call fcn.1400ce080
mov rdi, rax
test rax, rax
je 0x1400beeb4
mov rbx, rax
test rsi, rsi
je 0x1400bed09
mov r13, qword [rsi]
cmp dword [rsi + 0x14], 0
je 0x1400bece2
mov byte [rbx], 0xa
add rbx, 1
movsxd r8, dword [rsi + 0x10]
lea rdx, [rsi + 0x18]
mov rcx, rbx
call fcn.1401a6b10
movsxd r11, dword [rsi + 0x10]
add rbx, r11
mov rcx, rsi
call fcn.1400ce0b0
mov rsi, r13
test r13, r13
jne 0x1400becd2
mov rsi, r15
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x68]
mov edx, r12d
mov rcx, rdi
call qword [rsp + WSAStartup]
mov dword [rsp + 0x34], eax
mov rcx, rdi
call fcn.1400ce0b0
mov rdi, qword [rsp + 0x40]
jmp 0x1400beeb9
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x68]
xor edx, edx
xor ecx, ecx
call qword [rsp + WSAStartup]
mov dword [rsp + 0x34], eax
jmp 0x1400beeb9
cmp dword [0x14020b008], 0
je 0x1400bed66
lea rcx, [0x1401b9024]
call fcn.1400b35e0
cmp dword [rsp + 0xa4], 0
je 0x1400bed89
test r13, r13
je 0x1400bed89
add r12d, 2
mov dword [rsp + 0x50], r12d
mov r14d, 1
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x38], 0x8000
cmp dword [0x14020b008], 0
je 0x1400beda6
lea rcx, str.get_Text_n
call fcn.1400b35e0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov r8, rdi
lea rdx, [rsp + 0x38]
call qword [rax + 0x28]
test eax, eax
jns 0x1400bedec
cmp dword [0x14020b008], 0
je 0x1400bedd2
lea rcx, str.FAILED_n
call fcn.1400b35e0
cmp dword [0x14020b008], 0
je 0x1400bede7
lea rcx, str.GetText_Done_n
call fcn.1400b35e0
jmp 0x1400bec50
cmp dword [0x14020b008], 0
je 0x1400bee01
lea rcx, [0x1401b9024]
call fcn.1400b35e0
mov edx, dword [rsp + 0x38]
mov rcx, rdi
call fcn.14016cc30
movsxd rdi, eax
test eax, eax
je 0x1400bee88
lea rcx, [rdi + 0x18]
call fcn.1400ce080
mov rbx, rax
test rax, rax
jne 0x1400bee2f
mov rdi, qword [rsp + 0x40]
jmp 0x1400beeb9
mov dword [rax + 0x10], edi
lea rcx, [rax + 0x18]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
call fcn.14016bb90
test r14d, r14d
je 0x1400bee53
add r12d, 1
mov dword [rsp + 0x50], r12d
mov dword [rbx + 0x14], r14d
mov r14d, r15d
mov dword [rsp + 0x60], r15d
add r12d, edi
mov dword [rsp + 0x50], r12d
test rsi, rsi
je 0x1400bee72
mov qword [r13], rbx
jmp 0x1400bee7a
mov rsi, rbx
mov qword [rsp + 0x78], rbx
mov qword [rbx], r15
mov r13, rbx
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x38], 0x8000
mov rdi, qword [rsp + 0x40]
jmp 0x1400bed91
mov rdi, qword [rsp + 0x40]
test rsi, rsi
je 0x1400beed3
nop
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.1400ce0b0
mov rsi, rbx
test rbx, rbx
jne 0x1400beec0
mov rcx, rdi
call fcn.1400ce0b0
jmp 0x1400beef8
lea rcx, str.failed_to_init_ifilter_n
call fcn.1400b35e0
jmp 0x1400beef8
lea rcx, str.failed_to_load_stream_n
call fcn.1400b35e0
nop
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400bef17
jmp 0x1400bef26
lea rcx, str.failed_to_get_IID_IPersistStream_from_stream_n
call fcn.1400b35e0
nop
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400bef42
jmp 0x1400bef54
mov rdx, rdi
lea rcx, str.create_stream_from__s_failed_n
call fcn.1400b35e0
nop
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400bef70
jmp 0x1400befa0
test eax, eax
je 0x1400bef85
mov rdx, rdi
lea rcx, str.No_iFilter_for__s_n
call fcn.1400b35e0
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, rdi
call fcn.1400bd640
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0xe0]
call fcn.140175010
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401a6ae0
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret