Function at 0x1400216f0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd98
mov rax, qword [0x14006cfd8]
xor rax, rsp
mov qword [rsp + 0xd80], rax
movsxd r13, dword [rsp + 0xe00]
mov rbx, r8
mov ebp, dword [rsp + 0xe08]
mov rdi, r9
mov qword [rsp + 0x68], rbx
mov r10, rdx
mov dword [rsp + 0x48], r13d
mov r15, rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rcx
cmp ebp, 4
jl 0x140021768
mov ecx, 2
call fcn.14003247c
mov rcx, rax
lea rdx, str.________main_sort_initialise_..._n
call fcn.1400180b0
mov r10, qword [rsp + 0x50]
mov eax, 0x10000
xor r12d, r12d
mov dword [rdi + rax*4], r12d
sub rax, 1
jns 0x140021770
movzx edx, byte [r10]
lea r14d, [r13 - 1]
movsxd r11, r14d
shl edx, 8
mov rsi, r11
cmp r11, 3
jl 0x140021833
lea r8, [r11 - 2]
add r8, r10
lea r9, [rbx - 4]
lea r10, [r11 + 1]
shr r10, 2
lea r9, [r9 + r11*2]
mov eax, r10d
neg eax
lea r11d, [r11 + rax*4]
nop word [rax + rax]
mov word [r9 + 4], r12w
lea r9, [r9 - 8]
movzx ecx, byte [r8 + 2]
lea r8, [r8 - 4]
sar edx, 8
shl ecx, 8
or ecx, edx
movsxd rax, ecx
sar ecx, 8
inc dword [rdi + rax*4]
mov word [r9 + 0xa], r12w
movzx edx, byte [r8 + 5]
shl edx, 8
or edx, ecx
movsxd rax, edx
sar edx, 8
inc dword [rdi + rax*4]
mov word [r9 + 8], r12w
movzx ecx, byte [r8 + 4]
shl ecx, 8
or ecx, edx
movsxd rax, ecx
sar ecx, 8
inc dword [rdi + rax*4]
mov word [r9 + 6], r12w
movzx edx, byte [r8 + 3]
shl edx, 8
or edx, ecx
movsxd rax, edx
inc dword [rdi + rax*4]
sub r10, 1
jne 0x1400217c0
mov r10, qword [rsp + 0x50]
movsxd r8, r11d
test r11d, r11d
js 0x140021862
nop dword [rax + rax]
mov eax, edx
mov word [rbx + r8*2], r12w
movzx ecx, byte [r8 + r10]
sar eax, 8
shl ecx, 8
mov edx, ecx
or edx, eax
movsxd rax, edx
inc dword [rdi + rax*4]
sub r8, 1
jns 0x140021840
movzx eax, byte [r10]
mov byte [r13 + r10], al
mov word [rbx + r13*2], r12w
movzx eax, byte [r10 + 1]
mov byte [r13 + r10 + 1], al
mov word [rbx + r13*2 + 2], r12w
movzx eax, byte [r10 + 2]
mov byte [r13 + r10 + 2], al
mov word [rbx + r13*2 + 4], r12w
movzx eax, byte [r10 + 3]
mov byte [r13 + r10 + 3], al
mov word [rbx + r13*2 + 6], r12w
movzx eax, byte [r10 + 4]
mov byte [r13 + r10 + 4], al
mov word [rbx + r13*2 + 8], r12w
movzx eax, byte [r10 + 5]
mov byte [r13 + r10 + 5], al
mov word [rbx + r13*2 + 0xa], r12w
movzx eax, byte [r10 + 6]
mov byte [r13 + r10 + 6], al
mov word [rbx + r13*2 + 0xc], r12w
movzx eax, byte [r10 + 7]
mov byte [r13 + r10 + 7], al
mov word [rbx + r13*2 + 0xe], r12w
movzx eax, byte [r10 + 8]
mov byte [r13 + r10 + 8], al
mov word [rbx + r13*2 + 0x10], r12w
movzx eax, byte [r10 + 9]
mov byte [r13 + r10 + 9], al
mov word [rbx + r13*2 + 0x12], r12w
movzx eax, byte [r10 + 0xa]
mov byte [r13 + r10 + 0xa], al
mov word [rbx + r13*2 + 0x14], r12w
movzx eax, byte [r10 + 0xb]
mov byte [r13 + r10 + 0xb], al
mov word [rbx + r13*2 + 0x16], r12w
movzx eax, byte [r10 + 0xc]
mov byte [r13 + r10 + 0xc], al
mov word [rbx + r13*2 + 0x18], r12w
movzx eax, byte [r10 + 0xd]
mov byte [r13 + r10 + 0xd], al
mov word [rbx + r13*2 + 0x1a], r12w
movzx eax, byte [r10 + 0xe]
mov byte [r13 + r10 + 0xe], al
mov word [rbx + r13*2 + 0x1c], r12w
movzx eax, byte [r10 + 0xf]
mov byte [r13 + r10 + 0xf], al
mov word [rbx + r13*2 + 0x1e], r12w
movzx eax, byte [r10 + 0x10]
mov byte [r13 + r10 + 0x10], al
mov word [rbx + r13*2 + 0x20], r12w
movzx eax, byte [r10 + 0x11]
mov byte [r13 + r10 + 0x11], al
mov word [rbx + r13*2 + 0x22], r12w
movzx eax, byte [r10 + 0x12]
mov byte [r13 + r10 + 0x12], al
mov word [rbx + r13*2 + 0x24], r12w
movzx eax, byte [r10 + 0x13]
mov byte [r13 + r10 + 0x13], al
mov word [rbx + r13*2 + 0x26], r12w
movzx eax, byte [r10 + 0x14]
mov byte [r13 + r10 + 0x14], al
mov word [rbx + r13*2 + 0x28], r12w
movzx eax, byte [r10 + 0x15]
mov byte [r13 + r10 + 0x15], al
mov word [rbx + r13*2 + 0x2a], r12w
movzx eax, byte [r10 + 0x16]
mov byte [r13 + r10 + 0x16], al
mov word [rbx + r13*2 + 0x2c], r12w
movzx eax, byte [r10 + 0x17]
mov byte [r13 + r10 + 0x17], al
mov word [rbx + r13*2 + 0x2e], r12w
movzx eax, byte [r10 + 0x18]
mov byte [r13 + r10 + 0x18], al
mov word [rbx + r13*2 + 0x30], r12w
movzx eax, byte [r10 + 0x19]
mov byte [r13 + r10 + 0x19], al
mov word [rbx + r13*2 + 0x32], r12w
movzx eax, byte [r10 + 0x1a]
mov byte [r13 + r10 + 0x1a], al
mov word [rbx + r13*2 + 0x34], r12w
movzx eax, byte [r10 + 0x1b]
mov byte [r13 + r10 + 0x1b], al
mov word [rbx + r13*2 + 0x36], r12w
movzx eax, byte [r10 + 0x1c]
mov byte [r13 + r10 + 0x1c], al
mov word [rbx + r13*2 + 0x38], r12w
movzx eax, byte [r10 + 0x1d]
mov byte [r13 + r10 + 0x1d], al
mov word [rbx + r13*2 + 0x3a], r12w
movzx eax, byte [r10 + 0x1e]
mov byte [r13 + r10 + 0x1e], al
mov word [rbx + r13*2 + 0x3c], r12w
movzx eax, byte [r10 + 0x1f]
mov byte [r13 + r10 + 0x1f], al
mov word [rbx + r13*2 + 0x3e], r12w
movzx eax, byte [r10 + 0x20]
mov byte [r13 + r10 + 0x20], al
mov word [rbx + r13*2 + 0x40], r12w
movzx eax, byte [r10 + 0x21]
mov byte [r13 + r10 + 0x21], al
mov word [rbx + r13*2 + 0x42], r12w
cmp ebp, 4
jl 0x140021aa3
mov ecx, 2
call fcn.14003247c
mov rcx, rax
lea rdx, str.________bucket_sorting_..._n
call fcn.1400180b0
mov r10, qword [rsp + 0x50]
lea r8, [rdi + 8]
mov r9d, 0x4000
nop dword [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 0x140021ab0
movzx r8d, byte [r10]
mov r9d, r14d
shl r8w, 8
cmp r14d, 3
jl 0x140021baa
add r10, 0xfffffffffffffffe
movzx ebx, r8w
add r10, rsi
lea r11d, [r14 - 2]
nop
movzx edx, byte [r10 + 2]
lea r10, [r10 - 4]
movzx eax, dx
shr rbx, 8
shl ax, 8
movzx ecx, ax
or rcx, rbx
mov eax, dword [rdi + rcx*4]
dec eax
mov dword [rdi + rcx*4], eax
cdqe
mov dword [r15 + 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 [rdi + rcx*4]
dec eax
mov dword [rdi + rcx*4], eax
movsxd rcx, eax
lea eax, [r11 + 1]
mov dword [r15 + rcx*4], eax
movzx edx, byte [r10 + 4]
movzx eax, dx
shl ax, 8
movzx ecx, ax
or rcx, r8
mov eax, dword [rdi + rcx*4]
dec eax
mov dword [rdi + rcx*4], eax
cdqe
mov dword [r15 + rax*4], r11d
movzx r8d, byte [r10 + 3]
shl r8w, 8
or r8w, dx
movzx ebx, r8w
mov eax, dword [rdi + rbx*4]
dec eax
mov dword [rdi + rbx*4], eax
movsxd rcx, eax
lea eax, [r11 - 1]
sub r11d, 4
mov dword [r15 + rcx*4], eax
cmp r9d, 3
jge 0x140021b00
mov r10, qword [rsp + 0x50]
test r9d, r9d
js 0x140021bf4
movsxd rdx, r9d
add rdx, r10
nop word [rax + rax]
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 [rdi + rax*4]
dec ecx
mov dword [rdi + rax*4], ecx
movsxd rax, ecx
mov dword [r15 + rax*4], r9d
sub r9d, 1
jns 0x140021bc0
mov ecx, r12d
mov rax, r12
nop word [rax + rax]
cmp rax, 0x100
jae 0x140022139
mov dword [rsp + rax*4 + 0x80], ecx
inc ecx
mov byte [rsp + rax + 0xc80], r12b
inc rax
cmp ecx, 0xff
jle 0x140021c00
mov r10d, 1
nop
lea r10d, [r10 + r10*2]
inc r10d
cmp r10d, 0x100
jle 0x140021c30
mov eax, 0x55555556
imul r10d
mov r10d, edx
shr r10d, 0x1f
add r10d, edx
mov ebp, r10d
cmp r10d, 0xff
jg 0x140021d1a
movsxd rbx, r10d
mov r9, rbx
nop dword [rax + rax]
mov r14d, dword [rsp + rbx*4 + 0x80]
mov r8d, ebp
mov ecx, r14d
mov rax, rbx
shl ecx, 8
movsxd rdx, ecx
mov rcx, rbx
sub rcx, r9
mov r11d, dword [rdi + rdx*4 + 0x400]
sub r11d, dword [rdi + rdx*4]
mov edx, dword [rsp + rcx*4 + 0x80]
shl edx, 8
movsxd rcx, edx
mov edx, dword [rdi + rcx*4 + 0x400]
sub edx, dword [rdi + rcx*4]
cmp edx, r11d
jbe 0x140021d01
lea esi, [r10 - 1]
nop dword [rax]
mov rdx, rax
sub r8d, r10d
sub rdx, r9
mov ecx, dword [rsp + rdx*4 + 0x80]
mov dword [rsp + rax*4 + 0x80], ecx
mov rax, rdx
cmp r8d, esi
jle 0x140021d01
mov rcx, rdx
sub rcx, r9
mov edx, dword [rsp + rcx*4 + 0x80]
shl edx, 8
movsxd rcx, edx
mov edx, dword [rdi + rcx*4 + 0x400]
sub edx, dword [rdi + rcx*4]
cmp edx, r11d
ja 0x140021cc0
inc ebp
mov dword [rsp + rax*4 + 0x80], r14d
inc rbx
cmp ebp, 0xff
jle 0x140021c70
cmp r10d, 1
jne 0x140021c40
mov ebp, r12d
mov dword [rsp + 0x40], r12d
mov r14, r12
mov qword [rsp + 0x70], r12
nop dword [rax]
nop dword [rax + rax]
movsxd rsi, dword [rsp + r14*4 + 0x80]
mov r14d, r12d
mov rbx, rsi
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x60], rbx
cmp r14d, esi
je 0x140021e40
mov rax, rbx
shl rax, 8
add rax, r12
mov ebp, dword [rdi + rax*4]
lea r15, [rdi + rax*4]
bt ebp, 0x15
jb 0x140021e35
mov esi, dword [r15 + 4]
btr ebp, 0x15
btr esi, 0x15
dec esi
cmp esi, ebp
jle 0x140021e31
mov r13d, esi
sub r13d, ebp
cmp dword [rsp + 0xe08], 4
jl 0x140021dd7
mov ecx, 2
lea ebx, [r13 + 1]
call fcn.14003247c
mov r8d, dword [rsp + 0x44]
lea rdx, str.________qsort__0x_x__0x_x____done__d___this__d_n
mov rcx, rax
mov dword [rsp + 0x28], ebx
mov eax, dword [rsp + 0x40]
mov r9d, r14d
mov dword [rsp + 0x20], eax
call fcn.1400180b0
mov rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0xe10]
mov r9d, dword [rsp + 0x48]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
call fcn.140020e80
mov ebp, dword [rsp + 0x40]
mov rax, qword [rsp + 0xe10]
inc ebp
add ebp, r13d
mov dword [rsp + 0x40], ebp
cmp dword [rax], 0
jl 0x140022115
mov esi, dword [rsp + 0x44]
jmp 0x140021e39
mov esi, dword [rsp + 0x44]
mov ebp, dword [rsp + 0x40]
or dword [r15], 0x200000
inc r14d
inc r12
cmp r14d, 0xff
jle 0x140021d57
lea rax, [rsp + 0xc80]
add rax, rbx
mov qword [rsp + 0x60], rax
cmp byte [rax], 0
je 0x140021e72
mov ecx, 0x3ee
call fcn.140017ce0
lea r14, [rbx*4]
xor ecx, ecx
lea rbx, [r14 + rdi]
mov rdx, rbx
mov eax, dword [rdx]
lea rdx, [rdx + 0x400]
btr eax, 0x15
mov dword [rsp + rcx + 0x480], eax
mov eax, dword [rdx - 0x3fc]
btr eax, 0x15
dec eax
mov dword [rsp + rcx + 0x880], eax
add rcx, 4
cmp rcx, 0x3fc
jle 0x140021e83
mov r15, qword [rsp + 0x58]
mov eax, esi
mov r13d, dword [rsp + 0x48]
mov r11, qword [rsp + 0x50]
shl eax, 8
cdqe
mov r8d, dword [rdi + rax*4]
lea r12, [rdi + rax*4]
btr r8d, 0x15
cmp r8d, dword [rsp + r14 + 0x480]
jge 0x140021f3b
movsxd rax, r8d
lea r9, [r15 + rax*4]
nop dword [rax + rax]
mov eax, dword [r9]
lea edx, [rax - 1]
test edx, edx
jns 0x140021f00
lea edx, [r13 - 1]
add edx, eax
movsxd rax, edx
movzx r10d, byte [rax + r11]
cmp byte [rsp + r10 + 0xc80], 0
jne 0x140021f2a
movsxd rcx, dword [rsp + r10*4 + 0x480]
lea eax, [rcx + 1]
mov dword [r15 + rcx*4], edx
mov dword [rsp + r10*4 + 0x480], eax
inc r8d
add r9, 4
cmp r8d, dword [rsp + r14 + 0x480]
jl 0x140021ef0
mov ecx, dword [rsp + r14 + 0x880]
shl esi, 8
movsxd rax, esi
lea rsi, [rdi + rax*4]
mov r8d, dword [rsi + 0x400]
btr r8d, 0x15
dec r8d
cmp r8d, ecx
jle 0x140021fbe
movsxd rax, r8d
lea r9, [r15 + rax*4]
nop dword [rax + rax]
mov eax, dword [r9]
lea edx, [rax - 1]
test edx, edx
jns 0x140021f80
lea edx, [r13 - 1]
add edx, eax
movsxd rax, edx
movzx r10d, byte [rax + r11]
cmp byte [rsp + r10 + 0xc80], 0
jne 0x140021faa
movsxd rcx, dword [rsp + r10*4 + 0x880]
lea eax, [rcx - 1]
mov dword [r15 + rcx*4], edx
mov dword [rsp + r10*4 + 0x880], eax
mov ecx, dword [rsp + r14 + 0x880]
dec r8d
sub r9, 4
cmp r8d, ecx
jg 0x140021f70
mov edx, dword [rsp + r14 + 0x480]
lea eax, [rdx - 1]
cmp eax, ecx
je 0x140021fe3
test edx, edx
jne 0x140021fd9
lea eax, [r13 - 1]
cmp ecx, eax
je 0x140021fe3
mov ecx, 0x3ef
call fcn.140017ce0
mov eax, 0x80
nop dword [rax + rax]
or dword [rbx], 0x200000
or dword [rbx + 0x400], 0x200000
lea rbx, [rbx + 0x800]
sub rax, 1
jne 0x140021ff0
mov rax, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
mov byte [rax], 1
cmp r14, 0xff
jge 0x1400220cb
mov r8d, dword [r12]
xor r12d, r12d
mov edx, dword [rsi + 0x400]
btr r8d, 0x15
btr edx, 0x15
mov r10d, r12d
sub edx, r8d
cmp edx, 0xfffe
jle 0x140022061
nop dword [rax + rax]
inc r10d
mov eax, edx
mov ecx, r10d
sar eax, cl
cmp eax, 0xfffe
jg 0x140022050
lea ebx, [rdx - 1]
movsxd r9, ebx
test ebx, ebx
js 0x1400220b2
mov rbp, qword [rsp + 0x68]
movsxd rcx, r8d
add rcx, r9
lea r11, [r15 + rcx*4]
nop word [rax + rax]
movsxd rdx, dword [r11]
mov r8d, r9d
mov ecx, r10d
sar r8d, cl
mov word [rbp + rdx*2], r8w
cmp edx, 0x22
jge 0x1400220a4
lea eax, [rdx + r13]
movsxd rdx, eax
mov word [rbp + rdx*2], r8w
sub r11, 4
sub r9d, 1
jns 0x140022080
mov ebp, dword [rsp + 0x40]
mov ecx, r10d
sar ebx, cl
cmp ebx, 0xffff
jle 0x1400220ce
mov ecx, 0x3ea
call fcn.140017ce0
jmp 0x1400220ce
xor r12d, r12d
inc r14
mov qword [rsp + 0x70], r14
cmp r14, 0xff
jle 0x140021d40
cmp dword [rsp + 0xe08], 4
jl 0x140022115
mov ebx, r13d
mov ecx, 2
sub ebx, ebp
call fcn.14003247c
mov rcx, rax
mov dword [rsp + 0x20], ebx
mov r9d, ebp
lea rdx, str._________d_pointers___d_sorted___d_scanned_n
mov r8d, r13d
call fcn.1400180b0
mov rcx, qword [rsp + 0xd80]
xor rcx, rsp
call fcn.14002b500
add rsp, 0xd98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14002b9e8
int3