Function at 0x14001b240
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1400ad368]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r15, r8
mov qword [rsp + 0x48], r8
mov rsi, rdx
mov r13, rcx
test rdx, rdx
je 0x14001b8c1
test r8, r8
je 0x14001b8c1
mov rax, qword [rdx]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x14001a4f5.0]
cmp rax, 0xffffffffffffffff
jne 0x14001b2b5
mov eax, 0x31
jmp 0x14001b8c6
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x14001a4f5.0]
mov qword [r13 + 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov rax, qword [rsi]
mov r8d, 0x40
lea rdx, [rbp - 0x40]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14001a4f5.0]
cmp rax, 0xffffffffffffffff
jne 0x14001b306
mov eax, 0x13
jmp 0x14001b8c6
cmp rax, 0x40
jne 0x14001b8ba
mov eax, 0x5a4d
cmp ax, word [rbp - 0x40]
jne 0x14001b8ba
mov eax, 0xffffffff
cmp qword [r13 + 8], rax
jle 0x14001b334
mov eax, 0x30
jmp 0x14001b8c6
movsxd rax, dword [rbp - 4]
test eax, eax
je 0x14001b8ba
mov rbx, rax
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x14001a4f5.0]
cmp rax, rbx
jl 0x14001b8ba
lfence
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x14001a4f5.0]
cmp rax, 0xffffffffffffffff
je 0x14001b2ab
lfence
mov ebx, dword [rbp - 4]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp]
call fcn.1400538a0
mov rax, qword [rsi]
mov r8d, 0xf8
lea rdx, [rbp]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14001a4f5.0]
cmp rax, 0xffffffffffffffff
je 0x14001b2fc
cmp rax, 0xf8
jne 0x14001b8ba
cmp dword [rbp], 0x4550
jne 0x14001b8ba
xor r14d, r14d
cmp r14w, word [rbp + 0x14]
je 0x14001b8ba
mov ecx, 0x10b
movzx eax, word [rbp + 0x18]
cmp cx, ax
jne 0x14001b41c
cmp dword [rbp + 0x74], 5
jb 0x14001b8ba
mov eax, dword [rbp + 0x98]
mov dword [r13 + 0x10], eax
mov eax, dword [rbp + 0x9c]
mov dword [r13 + 0x14], eax
lea eax, [rbx + 0x58]
mov dword [r13 + 0x18], eax
lea eax, [rbx + 0x98]
jmp 0x14001b458
mov ecx, 0x20b
cmp cx, ax
jne 0x14001b8b5
cmp dword [rbp + 0x84], 5
jb 0x14001b8ba
mov eax, dword [rbp + 0xa8]
mov dword [r13 + 0x10], eax
mov eax, dword [rbp + 0xac]
mov dword [r13 + 0x14], eax
lea eax, [rbx + 0x58]
mov dword [r13 + 0x18], eax
lea eax, [rbx + 0xa8]
mov dword [r13 + 0x1c], eax
mov ebx, 1
lea edi, [rbx + 7]
mov rax, qword [rbp + 0x5c]
cmp bx, ax
je 0x14001b476
cmp di, ax
je 0x14001b476
xor cl, cl
jmp 0x14001b479
movzx ecx, bl
movzx eax, word [rbp + 0x5e]
shr ax, 7
and al, 1
mov byte [r13 + 0x20], cl
mov byte [r13 + 0x21], al
lea rax, vtable.ByteArray.0
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov ecx, 0x40
call fcn.1400575d4
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14001b4cd
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov r12, qword [rsp + 0x68]
jmp 0x14001b510
mov dword [rax + 8], ebx
lea rcx, vtable.RefCountObj_class_CArrayNoThrow_unsigned_char__unsigned_char_const____ptr64__.0
mov qword [rax], rcx
lea r12, [rax + 0x18]
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r14
mov qword [rax + 0x30], r14
mov qword [rax + 0x38], r14
lea rcx, vtable.CArrayNoThrow_unsigned_char__unsigned_char_const____ptr64_.0
mov qword [r12], rcx
mov qword [r12 + 8], r14
mov qword [r12 + 0x20], r14
mov qword [r12 + 0x18], r14
mov qword [r12 + 0x10], r14
mov dword [rax + 0x10], ebx
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
test r12, r12
je 0x14001b86c
mov edx, 0x10000
mov r8, 0xffffffffffffffff
mov rcx, r12
call fcn.140007130
test eax, eax
je 0x14001b86c
mov qword [rbp - 0x68], 0x10000
mov qword [rbp - 0x70], r14
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x14001a4f5.0]
cmp rax, 0xffffffffffffffff
jne 0x14001b577
mov eax, 0x31
jmp 0x14001b871
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x48], r14d
mov rdx, qword [r13 + 8]
mov r8d, dword [r13 + 0x18]
lea rcx, [r8 + 4]
mov r11d, 0xffffffff
cmp rcx, r11
ja 0x14001b628
cmp r8, rdx
jg 0x14001b628
cmp rcx, rdx
jg 0x14001b628
mov dword [rbp - 0x60], r8d
mov dword [rbp - 0x5c], 4
mov edi, ebx
mov dword [rbp - 0x48], ebx
mov r8d, dword [r13 + 0x1c]
test r8d, r8d
je 0x14001b600
lea rcx, [r8 + 8]
cmp rcx, r11
ja 0x14001b628
cmp r8, rdx
jg 0x14001b628
cmp rcx, rdx
jg 0x14001b628
lea rax, [rbp - 0x60]
mov ecx, dword [rax]
cmp ecx, r8d
ja 0x14001b628
mov eax, dword [rax + 4]
add ecx, eax
cmp ecx, r8d
ja 0x14001b628
mov dword [rbp - 0x58], r8d
mov dword [rbp - 0x54], 8
mov edi, 2
mov dword [rbp - 0x48], edi
mov r9d, dword [r13 + 0x10]
test r9d, r9d
je 0x14001b68a
mov r10d, dword [r13 + 0x14]
test r10d, r10d
jne 0x14001b61f
lea eax, [r10 + 0x15]
jmp 0x14001b871
lea r8, [r9 + r10]
cmp r8, r11
jbe 0x14001b632
mov eax, 0x30
jmp 0x14001b871
cmp r9, rdx
jg 0x14001b628
cmp r8, rdx
jg 0x14001b628
cmp edi, 3
jl 0x14001b64b
mov eax, 0x18
jmp 0x14001b871
mov r8d, r14d
test edi, edi
jle 0x14001b671
lea rdx, [rbp - 0x60]
mov ecx, dword [rdx]
cmp ecx, r9d
ja 0x14001b628
add ecx, dword [rdx + 4]
cmp ecx, r9d
ja 0x14001b628
inc r8d
add rdx, 8
cmp r8d, edi
jl 0x14001b656
movsxd rax, edi
mov dword [rbp + rax*8 - 0x60], r9d
movsxd rax, dword [rbp - 0x48]
mov dword [rbp + rax*8 - 0x5c], r10d
mov edi, dword [rbp - 0x48]
inc edi
mov dword [rbp - 0x48], edi
mov dword [rsp + 0x30], 0
test edi, edi
jle 0x14001b768
lea r15, [rbp - 0x5c]
mov qword [rsp + 0x50], r15
mov ebx, dword [r15 - 4]
sub ebx, r14d
mov dword [rsp + 0x38], ebx
je 0x14001b720
mov dword [rsp + 0x58], 0x10000
nop dword [rax + rax]
mov edi, 0x10000
cmp ebx, edi
cmovb edi, ebx
mov rax, qword [rsi]
mov r15d, edi
mov r8d, edi
mov rdx, qword [r12 + 8]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14001a4f5.0]
cmp rax, r15
jne 0x14001b823
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov r9d, r15d
xor r8d, r8d
mov rdx, qword [r12 + 8]
mov rax, qword [rax + 8]
call qword [case.0x14001a4f5.0]
sub ebx, edi
mov dword [rsp + 0x38], ebx
add r14d, edi
test ebx, ebx
jne 0x14001b6c0
mov edi, dword [rbp - 0x48]
mov r15, qword [rsp + 0x50]
mov rax, qword [rsi]
mov ebx, dword [r15]
mov edx, ebx
mov r8d, 1
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x14001a4f5.0]
cmp rax, 0xffffffffffffffff
je 0x14001b56d
add r14d, ebx
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
add r15, 8
mov qword [rsp + 0x50], r15
cmp eax, edi
jl 0x14001b6a3
mov r15, qword [rsp + 0x48]
mov rcx, qword [r13 + 8]
mov eax, r14d
cmp rax, rcx
jge 0x14001b7e1
mov ebx, ecx
sub ebx, r14d
je 0x14001b7e1
mov dword [rsp + 0x5c], 0x10000
nop dword [rax]
nop word [rax + rax]
mov edi, 0x10000
cmp ebx, edi
cmovb edi, ebx
mov rax, qword [rsi]
mov r14d, edi
mov r8d, edi
mov rdx, qword [r12 + 8]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14001a4f5.0]
cmp rax, r14
jne 0x14001b823
mov rax, qword [r15]
mov r9d, r14d
xor r8d, r8d
mov rdx, qword [r12 + 8]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x14001a4f5.0]
sub ebx, edi
mov dword [rsp + 0x60], ebx
jne 0x14001b790
mov rcx, qword [r13 + 8]
and ecx, 7
jbe 0x14001b82a
lfence
mov edi, 8
sub rdi, rcx
mov rbx, qword [rbp - 0x80]
mov r8, rdi
xor edx, edx
mov rcx, qword [rbx + 8]
call fcn.1400538a0
mov rax, qword [r15]
mov r9, rdi
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x14001a4f5.0]
mov rbx, qword [rbp - 0x78]
jmp 0x14001b82f
mov eax, 0x13
jmp 0x14001b871
mov rbx, qword [rsp + 0x40]
mov rax, qword [r15]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
mov rax, qword [rax + 0x10]
call qword [case.0x14001a4f5.0]
mov edx, dword [r13 + 0x10]
test edx, edx
je 0x14001b868
mov eax, dword [r13 + 0x14]
test eax, eax
je 0x14001b868
mov rcx, qword [r13 + 8]
sub rcx, rax
cmp rcx, rdx
je 0x14001b868
mov byte [r13 + 0x22], 1
xor edi, edi
jmp 0x14001b878
mov eax, 0xc
mov edi, eax
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14001b8b1
mov rax, 0xffffffffffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001b8b1
mov rbx, qword [rbp - 0x78]
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx]
call qword [case.0x14001a4f5.0]
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 8]
call qword [case.0x14001a4f5.0]
mov eax, edi
jmp 0x14001b8c6
mov word [r13 + 0x20], r14w
mov eax, 0x2f
jmp 0x14001b8c6
mov eax, 0x12
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140050ca0
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret