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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x1402c57e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movzx eax, byte [rcx + 0x41]
mov rbx, rcx
inc eax
mov ecx, 3
sub ecx, eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x58], ecx
mov r8d, ecx
xor edi, edi
xor esi, esi
mov rcx, rbx
mov dword [rsp + 0x38], edi
mov edx, eax
mov dword [rsp + 0x3c], esi
call fcn.1401c2090
test eax, eax
jne 0x1401c19f6
xorps xmm0, xmm0
mov qword [rsp + 0x118], r13
movups xmmword [rbx + 0x48], xmm0
lea rdx, [rsp + 0x60]
mov qword [rsp + 0xd8], r14
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x30]
lea r13d, [rdi + 1]
mov r14d, eax
test eax, eax
jne 0x1401c19a8
cmp qword [rsp + 0x60], 0x20
mov qword [rsp + 0x108], rbp
mov qword [rsp + 0x110], r12
mov qword [rsp + 0xd0], r15
jle 0x1401c1898
mov rcx, qword [rbx + 0x10]
lea r8d, [rdi + 0x20]
xor r9d, r9d
lea rdx, [rsp + 0xa0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r14d, eax
test eax, eax
jne 0x1401c1990
mov ecx, dword [rsp + 0xa0]
mov ebp, dword [rsp + 0xa8]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap ebp
mov dword [rsp + 0x54], ebp
cmp eax, 0x377f0682
jne 0x1401c1898
lea eax, [rbp - 1]
test ebp, eax
jne 0x1401c1898
lea eax, [rbp - 0x200]
cmp eax, 0xfe00
ja 0x1401c1898
mov eax, dword [rsp + 0xac]
lea r12, [rbx + 0x60]
and cl, r13b
mov dword [rbx + 0x38], ebp
bswap eax
movzx ecx, cl
lea r8d, [rdi + 0x18]
mov dword [rbx + 0x88], eax
lea rdx, [rsp + 0xa0]
mov rax, qword [rsp + 0xb0]
xor r9d, r9d
mov byte [rbx + 0x55], cl
xor ecx, r13d
mov qword [rbx + 0x68], rax
mov qword [rsp + 0x20], r12
call fcn.1401bff50
mov eax, dword [rsp + 0xb8]
bswap eax
cmp dword [r12], eax
jne 0x1401c1898
mov eax, dword [rsp + 0xbc]
bswap eax
cmp dword [rbx + 0x64], eax
jne 0x1401c1898
mov eax, dword [rsp + 0xa4]
bswap eax
cmp eax, 0x2de218
je 0x1401c158b
mov ecx, 0x1019e
call fcn.140153fb0
mov r14d, eax
jmp 0x1401c188f
lea eax, [rbp + 0x18]
movsxd rdi, ebp
add rdi, 0x18
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x80], rdi
lea rcx, [rdi + 0x8000]
call fcn.1400e42c0
mov qword [rbx + 0x90], rax
mov r15, rax
test rax, rax
jne 0x1401c15c5
lea r14d, [rax + 7]
jmp 0x1401c1990
add rax, 0x18
movsxd rcx, ebp
add rcx, rax
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x60]
add rax, 0xffffffffffffffe0
mov qword [rsp + 0x78], rcx
cqo
idiv rdi
xor edi, edi
mov rdx, rax
mov qword [rsp + 0x90], rax
add eax, 0x1000
mov r8d, edx
sub rax, 0xfdf
mov dword [rsp + 0x34], edi
shr rax, 0xc
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], r8
nop word [rax + rax]
mov eax, edi
mov ebp, edx
shl eax, 0xc
mov ecx, eax
add rax, 0xfde
cmp r8, rax
jb 0x1401c163a
lea ebp, [rcx + 0xfde]
mov dword [rsp + 0x30], ebp
mov esi, r13d
test edi, edi
je 0x1401c1648
lea esi, [rcx - 0x21]
mov rcx, rbx
call fcn.140146660
cmp dword [rbx + 0x28], edi
jle 0x1401c167d
mov rax, qword [rbx + 0x30]
lea rdx, [rbx + 0x30]
movsxd rcx, edi
mov qword [rsp + 0x40], rdx
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x1401c1686
xor r14d, r14d
jmp 0x1401c16ac
lea rax, [rbx + 0x30]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x68]
mov edx, edi
mov rcx, rbx
call fcn.1401c1050
mov rdx, qword [rsp + 0x40]
mov r14d, eax
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x1401c1874
mov rax, qword [rdx]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x78]
mov dword [rbx + 0xa0], edi
mov qword [rbx + 0x98], rcx
mov qword [r8 + rax], r9
cmp esi, ebp
ja 0x1401c17fb
mov r13, qword [rsp + 0x80]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
lea r9d, [rsi - 1]
mov r8d, dword [rsp + 0x50]
mov rdx, r15
imul r9, r13
mov r10, qword [rcx]
add r9, 0x20
call qword [r10 + reloc.WS2_32.dll_recv]
mov r14d, eax
test eax, eax
jne 0x1401c17e7
mov rax, qword [rbx + 0x68]
cmp rax, qword [r15 + 8]
jne 0x1401c17e7
mov ebp, dword [r15]
bswap ebp
test ebp, ebp
je 0x1401c17e3
xor edi, edi
mov qword [rsp + 0x20], r12
cmp byte [rbx + 0x55], dil
lea r8d, [r14 + 8]
mov r9, r12
mov rdx, r15
sete dil
mov ecx, edi
call fcn.1401bff50
mov r8d, dword [rbx + 0x38]
lea rdx, [r15 + 0x18]
mov r9, r12
mov qword [rsp + 0x20], r12
mov ecx, edi
call fcn.1401bff50
mov eax, dword [r15 + 0x10]
bswap eax
cmp dword [r12], eax
jne 0x1401c17e3
mov eax, dword [r15 + 0x14]
bswap eax
cmp dword [r12 + 4], eax
jne 0x1401c17e3
mov edi, dword [r15 + 4]
mov r8d, ebp
mov edx, esi
mov rcx, rbx
bswap edi
call fcn.1401c0d80
mov r14d, eax
test eax, eax
jne 0x1401c17e3
test edi, edi
je 0x1401c17d3
mov ebp, dword [rsp + 0x54]
mov edx, 0xff00
movzx eax, bp
mov dword [rbx + 0x58], esi
and ax, dx
mov dword [rbx + 0x5c], edi
mov ecx, ebp
sar ecx, 0x10
or cx, ax
mov word [rbx + 0x56], cx
mov eax, dword [r12]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 0x64]
mov dword [rsp + 0x3c], eax
mov ebp, dword [rsp + 0x30]
inc esi
cmp esi, ebp
jbe 0x1401c16f0
jmp 0x1401c17e7
mov ebp, dword [rsp + 0x30]
mov edi, dword [rsp + 0x34]
mov r13d, 1
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rdx]
mov r8d, 0x8000
mov rdx, qword [rsp + 0x48]
mov qword [rdx + rax], rcx
xor eax, eax
test edi, edi
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 + 0x78]
add rdx, rax
add rcx, rax
call fcn.140022750
mov rcx, rbx
call fcn.140146660
cmp esi, ebp
jbe 0x1401c1874
add qword [rsp + 0x48], 8
inc edi
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov dword [rsp + 0x34], edi
cmp edi, dword [rsp + 0x88]
jbe 0x1401c1620
mov rcx, r15
mov qword [rbx + 0x90], 0
call fcn.1400e4490
mov edi, dword [rsp + 0x38]
mov esi, dword [rsp + 0x3c]
test r14d, r14d
jne 0x1401c1990
mov rcx, rbx
mov dword [rbx + 0x60], edi
mov dword [rbx + 0x64], esi
call fcn.1401c1bc0
mov rcx, rbx
call fcn.140146660
mov rax, qword [rbx + 0x30]
mov edi, r13d
mov r15, qword [rax]
mov dword [r15 + 0x60], 0
mov eax, dword [rbx + 0x58]
mov dword [r15 + 0x80], eax
mov dword [r15 + 0x64], 0
cmp byte [rbx + 0x3f], 0
je 0x1401c18dd
xor r14d, r14d
jmp 0x1401c1908
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 0xa
mov r8d, r13d
mov rax, qword [rcx]
call qword [rax + 0x70]
mov r14d, eax
test eax, eax
jne 0x1401c195e
lea ecx, [rdi + 0xb]
mov eax, r13d
shl eax, cl
or dword [rbx + 0x8c], eax
cmp edi, 1
jne 0x1401c191c
cmp dword [rbx + 0x58], 0
je 0x1401c191c
mov eax, dword [rbx + 0x58]
mov dword [r15 + 0x68], eax
jmp 0x1401c1928
movsxd rax, edi
mov dword [r15 + rax*4 + 0x64], 0xffffffff
mov rcx, rbx
call fcn.140146660
cmp byte [rbx + 0x3f], 0
jne 0x1401c1963
mov rcx, qword [rbx + 8]
lea edx, [rdi + 3]
mov r9d, 9
mov r8d, r13d
mov rax, qword [rcx]
call qword [rax + 0x70]
lea ecx, [rdi + 0xb]
mov eax, r13d
shl eax, cl
not eax
and dword [rbx + 0x8c], eax
jmp 0x1401c1963
cmp eax, 5
jne 0x1401c1990
inc edi
cmp edi, 5
jl 0x1401c18d2
cmp dword [rbx + 0x5c], 0
je 0x1401c1990
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.1400cfac0
mov r12, qword [rsp + 0x110]
mov rbp, qword [rsp + 0x108]
mov r15, qword [rsp + 0xd0]
cmp byte [rbx + 0x3f], 0
jne 0x1401c19e3
mov rcx, qword [rbx + 8]
mov r9d, 9
mov edi, dword [rsp + 0x5c]
mov edx, edi
mov r8d, dword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ecx, dword [rsp + 0x58]
shl r13d, cl
lea ecx, [rdi + 8]
dec r13d
shl r13d, cl
not r13d
and dword [rbx + 0x8c], r13d
mov r13, qword [rsp + 0x118]
mov eax, r14d
mov r14, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401d56b0
add rsp, 0xe0
pop rdi
pop rsi
pop rbx
ret