Function at 0x14022b1c0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xd80
mov rax, qword [0x140363d00]
xor rax, rsp
mov qword [rsp + 0xd60], rax
movsxd r12, dword [rsp + 0xde0]
mov rbx, r9
mov qword [rsp + 0x40], r8
mov r13, rdx
mov r14, rcx
mov eax, 0x10000
xor ebp, ebp
mov dword [r9 + rax*4], ebp
sub rax, 1
jns 0x14022b201
movzx edx, byte [rdx]
lea r10d, [r12 - 1]
movsxd rdi, r10d
shl edx, 8
mov rsi, rdi
cmp rdi, 3
jl 0x14022b2c3
lea r11, [rdi + 1]
shr r11, 2
lea r9, [r13 - 2]
add r9, rdi
lea r10, [r8 - 4]
mov eax, r11d
lea r10, [r10 + rdi*2]
neg eax
lea edi, [rdi + rax*4]
nop word [rax + rax]
mov word [r10 + 4], bp
lea r10, [r10 - 8]
movzx ecx, byte [r9 + 2]
lea r9, [r9 - 4]
sar edx, 8
shl ecx, 8
or ecx, edx
movsxd rax, ecx
sar ecx, 8
inc dword [rbx + rax*4]
mov word [r10 + 0xa], bp
movzx edx, byte [r9 + 5]
shl edx, 8
or edx, ecx
movsxd rax, edx
sar edx, 8
inc dword [rbx + rax*4]
mov word [r10 + 8], bp
movzx ecx, byte [r9 + 4]
shl ecx, 8
or ecx, edx
movsxd rax, ecx
sar ecx, 8
inc dword [rbx + rax*4]
mov word [r10 + 6], bp
movzx edx, byte [r9 + 3]
shl edx, 8
or edx, ecx
movsxd rax, edx
inc dword [rbx + rax*4]
sub r11, 1
jne 0x14022b250
lea r10d, [r12 - 1]
movsxd r9, edi
test edi, edi
js 0x14022b2f2
nop word [rax + rax]
mov eax, edx
mov word [r8 + r9*2], bp
movzx ecx, byte [r9 + r13]
sar eax, 8
shl ecx, 8
mov edx, ecx
or edx, eax
movsxd rax, edx
inc dword [rbx + rax*4]
sub r9, 1
jns 0x14022b2d0
movzx eax, byte [r13]
mov byte [r12 + r13], al
mov word [r8 + r12*2], bp
movzx eax, byte [r13 + 1]
mov byte [r12 + r13 + 1], al
mov word [r8 + r12*2 + 2], bp
movzx eax, byte [r13 + 2]
mov byte [r12 + r13 + 2], al
mov word [r8 + r12*2 + 4], bp
movzx eax, byte [r13 + 3]
mov byte [r12 + r13 + 3], al
mov word [r8 + r12*2 + 6], bp
movzx eax, byte [r13 + 4]
mov byte [r12 + r13 + 4], al
mov word [r8 + r12*2 + 8], bp
movzx eax, byte [r13 + 5]
mov byte [r12 + r13 + 5], al
mov word [r8 + r12*2 + 0xa], bp
movzx eax, byte [r13 + 6]
mov byte [r12 + r13 + 6], al
mov word [r8 + r12*2 + 0xc], bp
movzx eax, byte [r13 + 7]
mov byte [r12 + r13 + 7], al
mov word [r8 + r12*2 + 0xe], bp
movzx eax, byte [r13 + 8]
mov byte [r12 + r13 + 8], al
mov word [r8 + r12*2 + 0x10], bp
movzx eax, byte [r13 + 9]
mov byte [r12 + r13 + 9], al
mov word [r8 + r12*2 + 0x12], bp
movzx eax, byte [r13 + 0xa]
mov byte [r12 + r13 + 0xa], al
mov word [r8 + r12*2 + 0x14], bp
movzx eax, byte [r13 + 0xb]
mov byte [r12 + r13 + 0xb], al
mov word [r8 + r12*2 + 0x16], bp
movzx eax, byte [r13 + 0xc]
mov byte [r12 + r13 + 0xc], al
mov word [r8 + r12*2 + 0x18], bp
movzx eax, byte [r13 + 0xd]
mov byte [r12 + r13 + 0xd], al
mov word [r8 + r12*2 + 0x1a], bp
movzx eax, byte [r13 + 0xe]
mov byte [r12 + r13 + 0xe], al
mov word [r8 + r12*2 + 0x1c], bp
movzx eax, byte [r13 + 0xf]
mov byte [r12 + r13 + 0xf], al
mov word [r8 + r12*2 + 0x1e], bp
movzx eax, byte [r13 + 0x10]
mov byte [r12 + r13 + 0x10], al
mov word [r8 + r12*2 + 0x20], bp
movzx eax, byte [r13 + 0x11]
mov byte [r12 + r13 + 0x11], al
mov word [r8 + r12*2 + 0x22], bp
movzx eax, byte [r13 + 0x12]
mov byte [r12 + r13 + 0x12], al
mov word [r8 + r12*2 + 0x24], bp
movzx eax, byte [r13 + 0x13]
mov byte [r12 + r13 + 0x13], al
mov word [r8 + r12*2 + 0x26], bp
movzx eax, byte [r13 + 0x14]
mov byte [r12 + r13 + 0x14], al
mov word [r8 + r12*2 + 0x28], bp
movzx eax, byte [r13 + 0x15]
mov byte [r12 + r13 + 0x15], al
mov word [r8 + r12*2 + 0x2a], bp
movzx eax, byte [r13 + 0x16]
mov byte [r12 + r13 + 0x16], al
mov word [r8 + r12*2 + 0x2c], bp
movzx eax, byte [r13 + 0x17]
mov byte [r12 + r13 + 0x17], al
mov word [r8 + r12*2 + 0x2e], bp
movzx eax, byte [r13 + 0x18]
mov byte [r12 + r13 + 0x18], al
mov word [r8 + r12*2 + 0x30], bp
movzx eax, byte [r13 + 0x19]
mov byte [r12 + r13 + 0x19], al
mov word [r8 + r12*2 + 0x32], bp
movzx eax, byte [r13 + 0x1a]
mov byte [r12 + r13 + 0x1a], al
mov word [r8 + r12*2 + 0x34], bp
movzx eax, byte [r13 + 0x1b]
mov r9d, 0x4000
mov byte [r12 + r13 + 0x1b], al
mov word [r8 + r12*2 + 0x36], bp
movzx eax, byte [r13 + 0x1c]
mov byte [r12 + r13 + 0x1c], al
mov word [r8 + r12*2 + 0x38], bp
movzx eax, byte [r13 + 0x1d]
mov byte [r12 + r13 + 0x1d], al
mov word [r8 + r12*2 + 0x3a], bp
movzx eax, byte [r13 + 0x1e]
mov byte [r12 + r13 + 0x1e], al
mov word [r8 + r12*2 + 0x3c], bp
movzx eax, byte [r13 + 0x1f]
mov byte [r12 + r13 + 0x1f], al
mov word [r8 + r12*2 + 0x3e], bp
movzx eax, byte [r13 + 0x20]
mov byte [r12 + r13 + 0x20], al
mov word [r8 + r12*2 + 0x40], bp
movzx eax, byte [r13 + 0x21]
mov byte [r12 + r13 + 0x21], al
mov word [r8 + r12*2 + 0x42], bp
lea r8, [rbx + 8]
nop word [rax + rax]
mov ecx, dword [r8 + 4]
mov eax, dword [r8 - 8]
add dword [r8 - 4], eax
mov edx, dword [r8 - 4]
add edx, dword [r8]
mov dword [r8], edx
lea r8, [r8 + 0x10]
add ecx, edx
add dword [r8 - 8], ecx
mov dword [r8 - 0xc], ecx
sub r9, 1
jne 0x14022b520
movzx r8d, byte [r13]
mov r9d, r10d
shl r8w, 8
cmp r10d, 3
jl 0x14022b615
lea r11d, [r10 - 2]
movzx edi, r8w
lea r10, [r13 - 2]
add r10, rsi
movzx edx, byte [r10 + 2]
lea r10, [r10 - 4]
movzx eax, dx
shr rdi, 8
shl ax, 8
movzx ecx, ax
or rcx, rdi
mov eax, dword [rbx + rcx*4]
dec eax
mov dword [rbx + rcx*4], eax
cdqe
mov dword [r14 + rax*4], r9d
sub r9d, 4
movzx r8d, byte [r10 + 5]
movzx eax, r8w
shl ax, 8
movzx ecx, ax
or rcx, rdx
mov eax, dword [rbx + rcx*4]
dec eax
mov dword [rbx + rcx*4], eax
movsxd rcx, eax
lea eax, [r11 + 1]
mov dword [r14 + rcx*4], eax
movzx edx, byte [r10 + 4]
movzx eax, dx
shl ax, 8
movzx ecx, ax
or rcx, r8
mov eax, dword [rbx + rcx*4]
dec eax
mov dword [rbx + rcx*4], eax
cdqe
mov dword [r14 + rax*4], r11d
movzx r8d, byte [r10 + 3]
shl r8w, 8
or r8w, dx
movzx edi, r8w
mov eax, dword [rbx + rdi*4]
dec eax
mov dword [rbx + rdi*4], eax
movsxd rcx, eax
lea eax, [r11 - 1]
sub r11d, 4
mov dword [r14 + rcx*4], eax
cmp r9d, 3
jge 0x14022b570
test r9d, r9d
js 0x14022b654
movsxd rdx, r9d
add rdx, r13
movzx ecx, byte [rdx]
lea rdx, [rdx - 1]
shl cx, 8
movzx eax, r8w
shr ax, 8
movzx r8d, cx
or r8w, ax
movzx eax, r8w
mov ecx, dword [rbx + rax*4]
dec ecx
mov dword [rbx + rax*4], ecx
movsxd rax, ecx
mov dword [r14 + rax*4], r9d
sub r9d, 1
jns 0x14022b620
mov ecx, ebp
mov rax, rbp
nop dword [rax]
cmp rax, 0x100
jae 0x14022bac2
mov dword [rsp + rax*4 + 0x60], ecx
inc ecx
mov byte [rsp + rax + 0xc60], bpl
inc rax
cmp ecx, 0xff
jle 0x14022b660
mov qword [rsp + 0xd78], r15
mov r10d, 1
nop dword [rax]
nop word [rax + rax]
lea r10d, [r10 + r10*2]
inc r10d
cmp r10d, 0x100
jle 0x14022b6a0
mov eax, 0x55555556
imul r10d
mov r10d, edx
shr r10d, 0x1f
add r10d, edx
mov ebp, r10d
cmp r10d, 0xff
jg 0x14022b771
movsxd rdi, r10d
mov r9, rdi
nop dword [rax + rax]
mov r15d, dword [rsp + rdi*4 + 0x60]
mov r8d, ebp
mov ecx, r15d
mov rax, rdi
shl ecx, 8
movsxd rdx, ecx
mov rcx, rdi
sub rcx, r9
mov r11d, dword [rbx + rdx*4 + 0x400]
sub r11d, dword [rbx + rdx*4]
mov edx, dword [rsp + rcx*4 + 0x60]
shl edx, 8
movsxd rcx, edx
mov edx, dword [rbx + rcx*4 + 0x400]
sub edx, dword [rbx + rcx*4]
cmp edx, r11d
jbe 0x14022b75b
lea esi, [r10 - 1]
mov rdx, rax
sub r8d, r10d
sub rdx, r9
mov ecx, dword [rsp + rdx*4 + 0x60]
mov dword [rsp + rax*4 + 0x60], ecx
mov rax, rdx
cmp r8d, esi
jle 0x14022b75b
mov rcx, rdx
sub rcx, r9
mov edx, dword [rsp + rcx*4 + 0x60]
shl edx, 8
movsxd rcx, edx
mov edx, dword [rbx + rcx*4 + 0x400]
sub edx, dword [rbx + rcx*4]
cmp edx, r11d
ja 0x14022b723
inc ebp
mov dword [rsp + rax*4 + 0x60], r15d
inc rdi
cmp ebp, 0xff
jle 0x14022b6e0
cmp r10d, 1
jne 0x14022b6b0
mov r15, qword [rsp + 0x40]
xor ebp, ebp
mov qword [rsp + 0x48], rbp
nop word [rax + rax]
movsxd rax, dword [rsp + rbp*4 + 0x60]
xor edi, edi
mov dword [rsp + 0x40], eax
mov rbp, rax
nop
cmp rdi, rbp
je 0x14022b812
mov rax, rbp
shl rax, 8
add rax, rdi
mov ecx, dword [rbx + rax*4]
lea rsi, [rbx + rax*4]
bt ecx, 0x15
jb 0x14022b80c
mov eax, dword [rsi + 4]
btr ecx, 0x15
btr eax, 0x15
dec eax
cmp eax, ecx
jle 0x14022b80c
mov rdx, qword [rsp + 0xdf0]
mov r9d, r12d
mov qword [rsp + 0x38], rdx
mov r8, r15
mov dword [rsp + 0x30], 2
mov rdx, r13
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.14022a940
mov rax, qword [rsp + 0xdf0]
cmp dword [rax], 0
jl 0x14022ba98
or dword [rsi], 0x200000
inc rdi
cmp rdi, 0xff
jle 0x14022b7a0
lea rax, [rsp + 0xc60]
add rax, rbp
mov qword [rsp + 0x50], rax
cmp byte [rax], 0
je 0x14022b83d
mov ecx, 0x3ee
call fcn.140014820
lea rbp, [rbp*4]
xor ecx, ecx
lea rdi, [rbx + rbp]
mov rdx, rdi
nop
mov eax, dword [rdx]
lea rdx, [rdx + 0x400]
btr eax, 0x15
mov dword [rsp + rcx + 0x460], eax
mov eax, dword [rdx - 0x3fc]
btr eax, 0x15
dec eax
mov dword [rsp + rcx + 0x860], eax
add rcx, 4
cmp rcx, 0x3fc
jle 0x14022b850
mov r11d, dword [rsp + 0x40]
mov eax, r11d
shl eax, 8
cdqe
mov r8d, dword [rbx + rax*4]
lea rax, [rbx + rax*4]
btr r8d, 0x15
mov qword [rsp + 0x40], rax
cmp r8d, dword [rsp + rbp + 0x460]
jge 0x14022b900
movsxd rax, r8d
lea r9, [r14 + rax*4]
mov eax, dword [r9]
lea edx, [rax - 1]
test edx, edx
jns 0x14022b8c5
lea edx, [r12 - 1]
add edx, eax
movsxd rax, edx
movzx r10d, byte [rax + r13]
cmp byte [rsp + r10 + 0xc60], 0
jne 0x14022b8ef
movsxd rcx, dword [rsp + r10*4 + 0x460]
lea eax, [rcx + 1]
mov dword [r14 + rcx*4], edx
mov dword [rsp + r10*4 + 0x460], eax
inc r8d
add r9, 4
cmp r8d, dword [rsp + rbp + 0x460]
jl 0x14022b8b4
mov ecx, dword [rsp + rbp + 0x860]
shl r11d, 8
movsxd rax, r11d
lea rsi, [rbx + rax*4]
mov r8d, dword [rsi + 0x400]
btr r8d, 0x15
dec r8d
cmp r8d, ecx
jle 0x14022b97e
movsxd rax, r8d
lea r9, [r14 + rax*4]
nop dword [rax]
mov eax, dword [r9]
lea edx, [rax - 1]
test edx, edx
jns 0x14022b941
lea edx, [r12 - 1]
add edx, eax
movsxd rax, edx
movzx r10d, byte [rax + r13]
cmp byte [rsp + r10 + 0xc60], 0
jne 0x14022b96b
movsxd rcx, dword [rsp + r10*4 + 0x860]
lea eax, [rcx - 1]
mov dword [r14 + rcx*4], edx
mov dword [rsp + r10*4 + 0x860], eax
mov ecx, dword [rsp + rbp + 0x860]
dec r8d
sub r9, 4
cmp r8d, ecx
jg 0x14022b930
mov edx, dword [rsp + rbp + 0x460]
lea eax, [rdx - 1]
cmp eax, ecx
je 0x14022b9a3
test edx, edx
jne 0x14022b999
lea eax, [r12 - 1]
cmp ecx, eax
je 0x14022b9a3
mov ecx, 0x3ef
call fcn.140014820
mov eax, 0x80
nop dword [rax + rax]
or dword [rdi], 0x200000
or dword [rdi + 0x400], 0x200000
lea rdi, [rdi + 0x800]
sub rax, 1
jne 0x14022b9b0
mov rax, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov byte [rax], 1
cmp rbp, 0xff
jge 0x14022ba83
mov r8, qword [rsp + 0x40]
xor r10d, r10d
mov edx, dword [rsi + 0x400]
btr edx, 0x15
mov r8d, dword [r8]
btr r8d, 0x15
sub edx, r8d
cmp edx, 0xfffe
jle 0x14022ba21
nop dword [rax]
inc r10d
mov eax, edx
mov ecx, r10d
sar eax, cl
cmp eax, 0xfffe
jg 0x14022ba10
lea edi, [rdx - 1]
movsxd r9, edi
test edi, edi
js 0x14022ba6c
movsxd rcx, r8d
add rcx, r9
lea r11, [r14 + rcx*4]
nop word [rax + rax]
movsxd rdx, dword [r11]
mov r8d, r9d
mov ecx, r10d
sar r8d, cl
mov word [r15 + rdx*2], r8w
cmp edx, 0x22
jge 0x14022ba62
lea eax, [r12 + rdx]
movsxd rdx, eax
mov word [r15 + rdx*2], r8w
sub r11, 4
sub r9d, 1
jns 0x14022ba40
mov ecx, r10d
sar edi, cl
cmp edi, 0xffff
jle 0x14022ba83
mov ecx, 0x3ea
call fcn.140014820
inc rbp
mov qword [rsp + 0x48], rbp
cmp rbp, 0xff
jle 0x14022b790
mov r15, qword [rsp + 0xd78]
mov rcx, qword [rsp + 0xd60]
xor rcx, rsp
call fcn.14022c4b0
add rsp, 0xd80
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14022c8a4
int3