Function at 0x1400bf460
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 [0x14020cc58]
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 [0x14020e118], 0
je 0x1400bf4b4
mov rdx, rcx
lea rcx, str.content__s_n
call fcn.1400b3fe0
xor r15d, r15d
mov dword [rsp + 0x34], r15d
lea rcx, [rsp + 0xe0]
call fcn.14017d460
mov rcx, rdi
call fcn.1401753f0
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14017d760
nop
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xe8]
call fcn.1400e2ab0
mov ebx, eax
mov dword [rsp + 0x30], eax
jmp 0x1400bf51b
mov eax, dword [0x14020e118]
test eax, eax
je 0x1400bf539
mov edx, ebx
lea rcx, str.IFilter__08x_n
call fcn.1400b3fe0
mov eax, dword [0x14020e118]
test ebx, ebx
js 0x1400bf972
mov rcx, rdi
call fcn.1400db980
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400bf944
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x80]
lea rdx, [0x1401e8e70]
call qword [rax]
mov ebx, eax
mov dword [rsp + 0x30], eax
jmp 0x1400bf592
test ebx, ebx
js 0x1400bf919
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 0x1400bf5cf
test ebx, ebx
js 0x1400bf8eb
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 0x1400bf619
test ebx, ebx
js 0x1400bf8dd
mov ecx, 0x10000
call fcn.1400cf750
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400bf8f8
mov rsi, r15
mov qword [rsp + 0x78], r15
mov r13, r15
mov r14d, r15d
mov r12d, r15d
nop
cmp dword [0x14020e118], 0
je 0x1400bf665
lea rcx, str.get_chunk_n
call fcn.1400b3fe0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa0]
call qword [rax + 0x20]
test eax, eax
jns 0x1400bf751
mov eax, dword [0x14020e118]
test eax, eax
je 0x1400bf69c
lea rcx, str.FAILED_n
call fcn.1400b3fe0
mov eax, dword [0x14020e118]
test eax, eax
je 0x1400bf6ad
lea rcx, str.GetChunk_Done_n
call fcn.1400b3fe0
nop
test r12d, r12d
je 0x1400bf736
movsxd rcx, r12d
call fcn.1400cf750
mov rdi, rax
test rax, rax
je 0x1400bf8b4
mov rbx, rax
test rsi, rsi
je 0x1400bf709
mov r13, qword [rsi]
cmp dword [rsi + 0x14], 0
je 0x1400bf6e2
mov byte [rbx], 0xa
add rbx, 1
movsxd r8, dword [rsi + 0x10]
lea rdx, [rsi + 0x18]
mov rcx, rbx
call fcn.1401a8ef0
movsxd r11, dword [rsi + 0x10]
add rbx, r11
mov rcx, rsi
call fcn.1400cf780
mov rsi, r13
test r13, r13
jne 0x1400bf6d2
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.1400cf780
mov rdi, qword [rsp + 0x40]
jmp 0x1400bf8b9
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 0x1400bf8b9
cmp dword [0x14020e118], 0
je 0x1400bf766
lea rcx, [0x1401bb354]
call fcn.1400b3fe0
cmp dword [rsp + 0xa4], 0
je 0x1400bf789
test r13, r13
je 0x1400bf789
add r12d, 2
mov dword [rsp + 0x50], r12d
mov r14d, 1
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x38], 0x8000
cmp dword [0x14020e118], 0
je 0x1400bf7a6
lea rcx, str.get_Text_n
call fcn.1400b3fe0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov r8, rdi
lea rdx, [rsp + 0x38]
call qword [rax + 0x28]
test eax, eax
jns 0x1400bf7ec
cmp dword [0x14020e118], 0
je 0x1400bf7d2
lea rcx, str.FAILED_n
call fcn.1400b3fe0
cmp dword [0x14020e118], 0
je 0x1400bf7e7
lea rcx, str.GetText_Done_n
call fcn.1400b3fe0
jmp 0x1400bf650
cmp dword [0x14020e118], 0
je 0x1400bf801
lea rcx, [0x1401bb354]
call fcn.1400b3fe0
mov edx, dword [rsp + 0x38]
mov rcx, rdi
call fcn.14016edd0
movsxd rdi, eax
test eax, eax
je 0x1400bf888
lea rcx, [rdi + 0x18]
call fcn.1400cf750
mov rbx, rax
test rax, rax
jne 0x1400bf82f
mov rdi, qword [rsp + 0x40]
jmp 0x1400bf8b9
mov dword [rax + 0x10], edi
lea rcx, [rax + 0x18]
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
call fcn.14016dd30
test r14d, r14d
je 0x1400bf853
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 0x1400bf872
mov qword [r13], rbx
jmp 0x1400bf87a
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 0x1400bf791
mov rdi, qword [rsp + 0x40]
test rsi, rsi
je 0x1400bf8d3
nop
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.1400cf780
mov rsi, rbx
test rbx, rbx
jne 0x1400bf8c0
mov rcx, rdi
call fcn.1400cf780
jmp 0x1400bf8f8
lea rcx, str.failed_to_init_ifilter_n
call fcn.1400b3fe0
jmp 0x1400bf8f8
lea rcx, str.failed_to_load_stream_n
call fcn.1400b3fe0
nop
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400bf917
jmp 0x1400bf926
lea rcx, str.failed_to_get_IID_IPersistStream_from_stream_n
call fcn.1400b3fe0
nop
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400bf942
jmp 0x1400bf954
mov rdx, rdi
lea rcx, str.create_stream_from__s_failed_n
call fcn.1400b3fe0
nop
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400bf970
jmp 0x1400bf9a0
test eax, eax
je 0x1400bf985
mov rdx, rdi
lea rcx, str.No_iFilter_for__s_n
call fcn.1400b3fe0
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, rdi
call fcn.1400be040
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0xe0]
call fcn.1400012c0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401a8ec0
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret