Function at 0x14004bde0
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 [0x140067328]
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 0x14004be58
mov ecx, 2
call fcn.140023888
mov rcx, rax
lea rdx, str.________main_sort_initialise_..._n
call fcn.1400427a0
mov r10, qword [rsp + 0x50]
mov eax, 0x10000
xor r12d, r12d
mov dword [rdi + rax*4], r12d
sub rax, 1
jns 0x14004be60
movzx edx, byte [r10]
lea r14d, [r13 - 1]
movsxd r11, r14d
shl edx, 8
mov rsi, r11
cmp r11, 3
jl 0x14004bf23
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 0x14004beb0
mov r10, qword [rsp + 0x50]
movsxd r8, r11d
test r11d, r11d
js 0x14004bf52
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 0x14004bf30
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 0x14004c193
mov ecx, 2
call fcn.140023888
mov rcx, rax
lea rdx, str.________bucket_sorting_..._n
call fcn.1400427a0
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 0x14004c1a0
movzx r8d, byte [r10]
mov r9d, r14d
shl r8w, 8
cmp r14d, 3
jl 0x14004c29a
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 0x14004c1f0
mov r10, qword [rsp + 0x50]
test r9d, r9d
js 0x14004c2e4
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 0x14004c2b0
mov ecx, r12d
mov rax, r12
nop word [rax + rax]
cmp rax, 0x100
jae 0x14004c829
mov dword [rsp + rax*4 + 0x80], ecx
inc ecx
mov byte [rsp + rax + 0xc80], r12b
inc rax
cmp ecx, 0xff
jle 0x14004c2f0
mov r10d, 1
nop
lea r10d, [r10 + r10*2]
inc r10d
cmp r10d, 0x100
jle 0x14004c320
mov eax, 0x55555556
imul r10d
mov r10d, edx
shr r10d, 0x1f
add r10d, edx
mov ebp, r10d
cmp r10d, 0xff
jg 0x14004c40a
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 0x14004c3f1
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 0x14004c3f1
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 0x14004c3b0
inc ebp
mov dword [rsp + rax*4 + 0x80], r14d
inc rbx
cmp ebp, 0xff
jle 0x14004c360
cmp r10d, 1
jne 0x14004c330
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 0x14004c530
mov rax, rbx
shl rax, 8
add rax, r12
mov ebp, dword [rdi + rax*4]
lea r15, [rdi + rax*4]
bt ebp, 0x15
jb 0x14004c525
mov esi, dword [r15 + 4]
btr ebp, 0x15
btr esi, 0x15
dec esi
cmp esi, ebp
jle 0x14004c521
mov r13d, esi
sub r13d, ebp
cmp dword [rsp + 0xe08], 4
jl 0x14004c4c7
mov ecx, 2
lea ebx, [r13 + 1]
call fcn.140023888
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.1400427a0
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.14004b570
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 0x14004c805
mov esi, dword [rsp + 0x44]
jmp 0x14004c529
mov esi, dword [rsp + 0x44]
mov ebp, dword [rsp + 0x40]
or dword [r15], 0x200000
inc r14d
inc r12
cmp r14d, 0xff
jle 0x14004c447
lea rax, [rsp + 0xc80]
add rax, rbx
mov qword [rsp + 0x60], rax
cmp byte [rax], 0
je 0x14004c562
mov ecx, 0x3ee
call fcn.1400423d0
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 0x14004c573
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 0x14004c62b
movsxd rax, r8d
lea r9, [r15 + rax*4]
nop dword [rax + rax]
mov eax, dword [r9]
lea edx, [rax - 1]
test edx, edx
jns 0x14004c5f0
lea edx, [r13 - 1]
add edx, eax
movsxd rax, edx
movzx r10d, byte [rax + r11]
cmp byte [rsp + r10 + 0xc80], 0
jne 0x14004c61a
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 0x14004c5e0
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 0x14004c6ae
movsxd rax, r8d
lea r9, [r15 + rax*4]
nop dword [rax + rax]
mov eax, dword [r9]
lea edx, [rax - 1]
test edx, edx
jns 0x14004c670
lea edx, [r13 - 1]
add edx, eax
movsxd rax, edx
movzx r10d, byte [rax + r11]
cmp byte [rsp + r10 + 0xc80], 0
jne 0x14004c69a
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 0x14004c660
mov edx, dword [rsp + r14 + 0x480]
lea eax, [rdx - 1]
cmp eax, ecx
je 0x14004c6d3
test edx, edx
jne 0x14004c6c9
lea eax, [r13 - 1]
cmp ecx, eax
je 0x14004c6d3
mov ecx, 0x3ef
call fcn.1400423d0
mov eax, 0x80
nop dword [rax + rax]
or dword [rbx], 0x200000
or dword [rbx + 0x400], 0x200000
lea rbx, [rbx + 0x800]
sub rax, 1
jne 0x14004c6e0
mov rax, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
mov byte [rax], 1
cmp r14, 0xff
jge 0x14004c7bb
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 0x14004c751
nop dword [rax + rax]
inc r10d
mov eax, edx
mov ecx, r10d
sar eax, cl
cmp eax, 0xfffe
jg 0x14004c740
lea ebx, [rdx - 1]
movsxd r9, ebx
test ebx, ebx
js 0x14004c7a2
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 0x14004c794
lea eax, [rdx + r13]
movsxd rdx, eax
mov word [rbp + rdx*2], r8w
sub r11, 4
sub r9d, 1
jns 0x14004c770
mov ebp, dword [rsp + 0x40]
mov ecx, r10d
sar ebx, cl
cmp ebx, 0xffff
jle 0x14004c7be
mov ecx, 0x3ea
call fcn.1400423d0
jmp 0x14004c7be
xor r12d, r12d
inc r14
mov qword [rsp + 0x70], r14
cmp r14, 0xff
jle 0x14004c430
cmp dword [rsp + 0xe08], 4
jl 0x14004c805
mov ebx, r13d
mov ecx, 2
sub ebx, ebp
call fcn.140023888
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.1400427a0
mov rcx, qword [rsp + 0xd80]
xor rcx, rsp
call fcn.14001c6f0
add rsp, 0xd98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14001c820
int3