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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0xf0
mov rax, qword [0x1402d1ba8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
movzx edi, byte [rcx + 0x41]
xor r12d, r12d
inc edi
mov dword [rsp + 0x3c], r12d
mov eax, 3
mov dword [rsp + 0x40], r12d
sub eax, edi
mov dword [rsp + 0x30], edi
mov r8d, eax
mov dword [rsp + 0x78], eax
mov edx, edi
mov rbx, rcx
mov esi, r12d
mov r14d, r12d
call fcn.140063bd0
test eax, eax
jne 0x1400645f1
xorps xmm0, xmm0
mov qword [rsp + 0x130], r13
movups xmmword [rbx + 0x48], xmm0
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0x138], r15
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + Ordinal_50]
lea r13d, [r12 + 1]
mov r15d, eax
test eax, eax
jne 0x1400645a7
cmp qword [rsp + 0xb8], 0x20
mov qword [rsp + 0x128], rbp
jle 0x1400644ae
mov rcx, qword [rbx + 0x10]
lea r8d, [r12 + 0x20]
xor r9d, r9d
lea rdx, [rsp + 0xc0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r15d, eax
test eax, eax
jne 0x14006459f
mov ecx, dword [rsp + 0xc0]
mov ebp, dword [rsp + 0xc8]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap ebp
mov dword [rsp + 0x74], ebp
cmp eax, 0x377f0682
jne 0x1400644ae
lea eax, [rbp - 1]
test ebp, eax
jne 0x1400644ae
lea eax, [rbp - 0x200]
cmp eax, 0xfe00
ja 0x1400644ae
mov eax, dword [rsp + 0xcc]
lea rdi, [rbx + 0x60]
and cl, r13b
mov dword [rbx + 0x38], ebp
bswap eax
movzx ecx, cl
lea r8d, [r12 + 0x18]
mov dword [rbx + 0x88], eax
lea rdx, [rsp + 0xc0]
mov rax, qword [rsp + 0xd0]
xor r9d, r9d
mov byte [rbx + 0x55], cl
xor ecx, r13d
mov qword [rbx + 0x68], rax
mov qword [rsp + 0x20], rdi
call fcn.140063980
mov eax, dword [rsp + 0xd8]
bswap eax
cmp dword [rdi], eax
jne 0x1400644ae
mov eax, dword [rsp + 0xdc]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x1400644ae
mov eax, dword [rsp + 0xc4]
bswap eax
cmp eax, 0x2de218
je 0x1400640cb
lea rax, [0x14029ba54]
mov r15d, send
mov ecx, r15d
mov qword [rsp + 0x20], rax
mov r9d, 0x10361
lea r8, str.cannot_open_file
lea rdx, str._s_at_line__d_of___.10s_
call fcn.14004fb00
jmp 0x14006459b
lea eax, [rbp + 0x18]
movsxd r14, eax
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x70], eax
call fcn.140112500
test eax, eax
je 0x1400640f5
mov qword [rbx + 0x90], r12
mov r15d, 7
jmp 0x14006459b
lea rcx, [r14 + 0x8000]
call fcn.14004ca20
lea rdi, [rbx + 0x90]
mov rsi, rax
mov qword [rsp + 0x50], rdi
mov qword [rdi], rax
test rax, rax
jne 0x140064121
lea r15d, [rax + 7]
jmp 0x14006459b
add rax, 0x18
movsxd rcx, ebp
add rcx, rax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb8]
add rax, 0xffffffffffffffe0
mov qword [rsp + 0x90], rcx
cqo
mov dword [rsp + 0x38], r12d
idiv r14
mov qword [rsp + 0x60], r12
mov rdx, rax
mov qword [rsp + 0xa8], rax
add eax, 0x1000
mov r8d, edx
sub rax, 0xfdf
mov qword [rsp + 0xb0], r8
shr rax, 0xc
mov qword [rsp + 0xa0], rax
nop dword [rax]
nop word [rax + rax]
mov eax, r12d
shl eax, 0xc
mov ecx, eax
add rax, 0xfde
cmp r8, rax
jae 0x1400641a9
mov dword [rsp + 0x34], edx
jmp 0x1400641b3
lea eax, [rcx + 0xfde]
mov dword [rsp + 0x34], eax
mov ebp, r13d
test r12d, r12d
je 0x1400641be
lea ebp, [rcx - 0x21]
call fcn.140063790
cmp dword [rbx + 0x28], r12d
jle 0x1400641f7
mov rax, qword [rbx + 0x30]
lea rdx, [rbx + 0x30]
movsxd rcx, r12d
mov qword [rsp + 0x58], rdx
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rcx
test rcx, rcx
je 0x140064200
xor r15d, r15d
jmp 0x140064230
lea rax, [rbx + 0x30]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x80]
mov edx, r12d
mov rcx, rbx
call fcn.140063800
mov rdx, qword [rsp + 0x58]
mov r15d, eax
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x88], rcx
test rcx, rcx
je 0x14006443b
mov rax, qword [rdx]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov dword [rbx + 0xa0], r12d
mov qword [rbx + 0x98], rcx
mov qword [r8 + rax], r9
cmp ebp, dword [rsp + 0x34]
ja 0x1400643bc
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
lea r9d, [rbp - 1]
mov r8d, dword [rsp + 0x70]
mov rdx, rsi
imul r9, r14
mov r10, qword [rcx]
mov r12, rdi
add r9, 0x20
mov r13, r14
call qword [r10 + reloc.WS2_32.dll_recv]
mov r15d, eax
test eax, eax
jne 0x1400643a4
mov rax, qword [rbx + 0x68]
cmp rax, qword [rsi + 8]
jne 0x1400643a4
mov r14d, dword [rsi]
bswap r14d
test r14d, r14d
je 0x14006439a
xor edi, edi
lea rax, [rbx + 0x60]
cmp byte [rbx + 0x55], dil
lea r8d, [r15 + 8]
mov r9, rax
mov qword [rsp + 0x20], rax
sete dil
mov rdx, rsi
mov ecx, edi
call fcn.140063980
mov r8d, dword [rbx + 0x38]
lea rax, [rbx + 0x60]
mov rdx, qword [rsp + 0x98]
mov r9, rax
mov ecx, edi
mov qword [rsp + 0x20], rax
call fcn.140063980
mov eax, dword [rsi + 0x10]
bswap eax
cmp dword [rbx + 0x60], eax
jne 0x14006438e
mov eax, dword [rsi + 0x14]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x14006438e
mov edi, dword [rsi + 4]
mov r8d, r14d
mov edx, ebp
mov rcx, rbx
bswap edi
call fcn.140063d50
mov qword [rsp + 0x48], r13
mov r15d, eax
mov qword [rsp + 0x50], r12
mov rdx, rsi
mov r14, r13
test eax, eax
jne 0x1400643a1
test edi, edi
je 0x140064373
mov eax, dword [rsp + 0x74]
mov r8d, 0xff00
mov ecx, eax
mov dword [rbx + 0x58], ebp
and ax, r8w
mov dword [rbx + 0x5c], edi
sar ecx, 0x10
or cx, ax
mov word [rbx + 0x56], cx
mov eax, dword [rbx + 0x60]
mov dword [rsp + 0x3c], eax
mov eax, dword [rbx + 0x64]
mov dword [rsp + 0x40], eax
inc ebp
mov qword [rsp + 0x48], r13
mov rdi, r12
mov qword [rsp + 0x50], r12
cmp ebp, dword [rsp + 0x34]
jbe 0x140064270
jmp 0x1400643a4
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
jmp 0x1400643a4
mov r14, qword [rsp + 0x48]
jmp 0x1400643a4
mov rdi, r12
mov r12d, dword [rsp + 0x38]
mov r13d, 1
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rdx]
mov r8d, 0x8000
mov rdx, qword [rsp + 0x60]
mov qword [rdx + rax], rcx
xor eax, eax
test r12d, r12d
mov dword [rbx + 0xa0], eax
mov edx, 0x88
mov qword [rbx + 0x98], rax
cmove eax, edx
mov edx, 0x7f78
cmove r8d, edx
mov rdx, qword [rsp + 0x90]
add rdx, rax
add rcx, rax
call fcn.1401ea7b0
call fcn.140063790
cmp ebp, dword [rsp + 0x34]
jbe 0x14006443b
add qword [rsp + 0x60], 8
inc r12d
mov rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
mov dword [rsp + 0x38], r12d
cmp r12d, dword [rsp + 0xa0]
jbe 0x140064190
xor r12d, r12d
mov qword [rdi], r12
cmp dword [reloc.WS2_32.dll_accept], r12d
je 0x140064493
mov rcx, qword [0x1402e5b88]
test rcx, rcx
je 0x14006445c
call qword [0x1402d37a0]
mov rcx, rsi
call qword [0x1402d3758]
dec qword [0x1402e5978]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x1402e5930], rdx
call qword [0x1402d3748]
mov rcx, qword [0x1402e5b88]
test rcx, rcx
je 0x14006449c
call qword [0x1402d37b0]
jmp 0x14006449c
mov rcx, rsi
call qword [0x1402d3748]
test r15d, r15d
jne 0x14006459b
mov esi, dword [rsp + 0x3c]
mov r14d, dword [rsp + 0x40]
mov rcx, rbx
mov dword [rbx + 0x60], esi
mov dword [rbx + 0x64], r14d
call fcn.140063b20
call fcn.140063790
mov rax, qword [rbx + 0x30]
mov edi, r13d
mov r14, qword [rax]
mov dword [r14 + 0x60], r12d
mov eax, dword [rbx + 0x58]
mov dword [r14 + 0x80], eax
mov dword [r14 + 0x64], r12d
nop
cmp byte [rbx + 0x3f], 0
je 0x1400644eb
mov r15d, r12d
jmp 0x140064516
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 0xa
mov r8d, r13d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov r15d, eax
test eax, eax
jne 0x140064569
lea ecx, [rdi + 0xb]
mov eax, r13d
shl eax, cl
or dword [rbx + 0x8c], eax
cmp edi, 1
jne 0x14006452a
cmp dword [rbx + 0x58], 0
je 0x14006452a
mov eax, dword [rbx + 0x58]
mov dword [r14 + 0x68], eax
jmp 0x140064536
movsxd rax, edi
mov dword [r14 + rax*4 + 0x64], 0xffffffff
call fcn.140063790
cmp byte [rbx + 0x3f], 0
jne 0x14006456e
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 9
mov r8d, r13d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
lea ecx, [rdi + 0xb]
mov eax, r13d
shl eax, cl
not eax
and dword [rbx + 0x8c], eax
jmp 0x14006456e
cmp eax, 5
jne 0x14006459b
inc edi
cmp edi, 5
jl 0x1400644e0
cmp dword [rbx + 0x5c], 0
je 0x14006459b
mov r9, qword [rbx + 0x80]
lea rdx, str.recovered__d_frames_from_WAL_file__s
mov r8d, dword [rbx + 0x58]
mov ecx, 0x11b
call fcn.14004fb00
mov edi, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x128]
cmp byte [rbx + 0x3f], 0
jne 0x1400645de
mov rcx, qword [rbx + 8]
mov r9d, 9
mov r8d, dword [rsp + 0x78]
mov edx, edi
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov ecx, dword [rsp + 0x78]
shl r13d, cl
lea ecx, [rdi + 8]
dec r13d
shl r13d, cl
not r13d
and dword [rbx + 0x8c], r13d
mov r13, qword [rsp + 0x130]
mov eax, r15d
mov r15, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401e7970
add rsp, 0xf0
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret