joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14034d6d0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14034d75b
test edx, edx
je 0x14034d798
movzx eax, byte [0x140548985]
nop word [rax + rax]
cmp al, 0x33
je 0x14034d753
movzx ecx, byte [0x140548a34]
lea eax, [rcx - 0x80]
add cl, 0xe0
lock cmpxchg byte [0x140548985], cl
jne 0x14034d6f0
xor edx, edx
lea rax, [0x140548970]
lea rcx, [0x14044b3f0]
nop dword [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
add edx, 0x1d7577f7
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
add edx, 0xe28a8809
cmp edx, 0x15
jl 0x14034d720
mov al, 0x33
xchg byte [0x140548985], al
lea rax, [0x140548970]
ret
test edx, edx
je 0x14034d7c8
movzx eax, byte [0x140548944]
movzx ecx, byte [0x140548a34]
add cl, 0x61
cmp al, cl
je 0x14034d790
mov cl, 0x5c
nop word cs:[rax + rax]
mov al, 0xb8
lock cmpxchg byte [0x140548944], cl
je 0x14034d7fc
cmp al, 0x76
jne 0x14034d780
lea rax, [0x140548940]
ret
movzx eax, byte [0x140548a09]
cmp al, 0xf
je 0x14034d7c0
mov cl, 0x44
nop word cs:[rax + rax]
mov al, 0x6f
lock cmpxchg byte [0x140548a09], cl
je 0x14034d828
cmp al, 0xf
jne 0x14034d7b0
lea rax, [0x140548a00]
ret
movzx eax, byte [0x140548a32]
cmp al, 0x5d
je 0x14034d7f4
mov cl, 5
nop word cs:[rax + rax]
mov al, 0xe2
lock cmpxchg byte [0x140548a32], cl
je 0x14034d8a2
cmp al, 0x5d
jne 0x14034d7e0
lea rax, [0x140548a20]
ret
xor eax, eax
lea rcx, [0x140548940]
lea rdx, [0x14044b3d0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 3
jg 0x14034d892
inc rax
jmp 0x14034d810
xor edx, edx
lea rax, [0x140548a00]
lea rcx, [0x14044b480]
nop dword [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
mov r8d, dword [0x140548a40]
mov r9d, r8d
xor r9d, 0x84e047be
and r8d, 0x4e047be
lea r8d, [r9 + r8*2]
add r8d, 0x26030382
cmp edx, r8d
jl 0x14034d840
mov al, 0xf
xchg byte [0x140548a09], al
lea rax, [0x140548a00]
ret
mov al, 0x76
xchg byte [0x140548944], al
lea rax, [0x140548940]
ret
xor eax, eax
lea rcx, [0x140548a20]
lea rdx, [0x14044b4a0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rcx]
mov r9d, r8d
xor r9b, 0xb1
and r8b, 0x31
add r8b, r8b
add r8b, r9b
add r8b, byte [rax + rdx]
add r8b, 0x4f
mov byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x11
jg 0x14034d8f1
inc rax
jmp 0x14034d8c0
mov al, 0x5d
xchg byte [0x140548a32], al
lea rax, [0x140548a20]
ret

Function at 0x14034ed70
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x18], rdx
call fcn.140363300
test rax, rax
sete cl
or cl, byte [0x14056465c]
movzx edx, byte [0x1405645a8]
mov r8d, edx
and r8b, cl
test r8b, 1
jne 0x14034edbb
xor dl, cl
test dl, 1
jne 0x14034edbb
add rsp, 0x40
pop rbp
ret
mov ecx, 0x7f
call fcn.14016de50
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x6ad59616
add rsp, 0x40
pop rbp
jmp fcn.14034eee0
Function at 0x14034ee10
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x140548df0]
mov r8d, eax
xor r8d, 0x6db2e100
and eax, 0x6db2e100
lea r8d, [r8 + rax*2]
add r8d, 0x5fe9ce29
jmp fcn.14034eee0
Function at 0x14035d0c0
Capabilities:
Encode data using xor

Disassembly:
mov r8d, dword [rsp + 0x28]
test ecx, ecx
je 0x14035d11c
mov eax, r8d
xor eax, 0x8dd93eb7
add eax, dword [0x14054b2f0]
cmp edx, eax
jne 0x14035d17c
movzx eax, byte [0x14054af7d]
xor r8b, 0x25
add r8b, byte [0x14054b304]
cmp al, r8b
je 0x14035d114
mov cl, 6
nop dword [rax + rax]
mov al, 0x30
lock cmpxchg byte [0x14054af7d], cl
je 0x14035d232
cmp al, 0x8d
jne 0x14035d100
lea rax, [0x14054af70]
ret
mov eax, dword [0x14054b2f0]
mov ecx, r8d
xor ecx, 0x8dd93eb7
mov r9d, ecx
xor r9d, eax
and ecx, eax
lea eax, [r9 + rcx*2]
cmp edx, eax
jne 0x14035d1ca
movzx eax, byte [0x14054af4d]
mov ecx, r8d
xor cl, 0xbd
add cl, byte [0x14054b304]
cmp al, cl
je 0x14035d174
mov cl, 0xe3
nop dword [rax + rax]
mov al, 0xd5
lock cmpxchg byte [0x14054af4d], cl
je 0x14035d2c8
cmp al, 5
jne 0x14035d160
lea rax, [0x14054af40]
ret
movzx eax, byte [0x14054af61]
cmp al, 0x94
je 0x14035d1c2
mov cl, 0xcb
nop dword [rax]
mov al, 0xa1
lock cmpxchg byte [0x14054af61], cl
je 0x14035d268
movzx edx, byte [0x14054b304]
mov r9d, r8d
xor r9b, 0x2c
mov r10d, r9d
xor r10b, dl
and r9b, dl
add r9b, r9b
add r9b, r10b
cmp al, r9b
jne 0x14035d190
lea rax, [0x14054af50]
ret
movzx eax, byte [0x14054aec3]
cmp al, 0x61
je 0x14035d22a
nop word cs:[rax + rax]
movzx ecx, byte [0x14054b304]
mov eax, r8d
xor al, 0xca
mov edx, eax
xor dl, cl
and al, cl
add al, al
add al, dl
mov edx, r8d
xor dl, 2
add dl, cl
lock cmpxchg byte [0x14054aec3], dl
je 0x14035d321
movzx ecx, byte [0x14054b304]
mov edx, r8d
xor dl, 0x11
mov r9d, edx
xor r9b, cl
and dl, cl
add dl, dl
add dl, r9b
cmp al, dl
jne 0x14035d1e0
lea rax, [0x14054aec0]
ret
xor eax, eax
lea rcx, [0x14054af70]
lea rdx, [0x14044c0e0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x14035d2b8
inc rax
jmp 0x14035d250
xor edx, edx
lea rax, [0x14054af50]
lea rcx, [0x14044c0c0]
xor r8d, 0x8dd93eb0
nop
movsxd rdx, edx
movzx r9d, byte [rdx + rcx]
xor byte [rdx + rax], r9b
mov r9d, dword [0x14054b2f0]
add r9d, r8d
mov r10d, edx
xor r10d, r9d
and r9d, edx
lea edx, [r10 + r9*2]
cmp edx, 0x11
jl 0x14035d280
mov al, 0x94
xchg byte [0x14054af61], al
lea rax, [0x14054af50]
ret
mov al, 0x8d
xchg byte [0x14054af7d], al
lea rax, [0x14054af70]
ret
xor eax, eax
lea rcx, [0x14054af40]
lea rdx, [0x14044c0b0]
xor r8d, 0x8dd93eb0
nop
cdqe
movzx r9d, byte [rax + rcx]
movzx r10d, byte [rax + rdx]
mov r11d, r9d
xor r11b, r10b
and r9b, r10b
add r9b, r9b
add r9b, r11b
mov byte [rax + rcx], r9b
mov r9d, dword [0x14054b2f0]
add r9d, r8d
add eax, r9d
cmp eax, 0xd
jl 0x14035d2e0
mov al, 5
xchg byte [0x14054af4d], al
lea rax, [0x14054af40]
ret
xor eax, eax
lea rcx, [0x14054aec0]
lea rdx, [0x14044c030]
nop word cs:[rax + rax]
movzx r9d, byte [rax + rdx]
xor byte [rax + rcx], r9b
lea r9d, [rax + 1]
cmp r9d, 2
jg 0x14035d358
inc rax
jmp 0x14035d340
xor r8b, 0x11
add r8b, byte [0x14054b304]
xchg byte [0x14054aec3], r8b
lea rax, [0x14054aec0]
ret
Function at 0x140361230
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
xor eax, eax
test rcx, rcx
je 0x1403613a2
test rdx, rdx
je 0x1403613a2
mov al, 1
cmp rcx, rdx
je 0x1403613a2
xor r8d, r8d
mov r9d, 1
xor r10d, r10d
nop word cs:[rax + rax]
mov r11, r8
xor r8d, r8d
cmp byte [rcx + r11], 0
setne r8b
movzx r10d, r10b
cmove r10d, r9d
add r8, r11
test r10b, 1
je 0x140361270
movabs r9, 0xf4d9cae4dfc2284f
xor esi, esi
mov r10d, 1
xor r11d, r11d
nop word cs:[rax + rax]
mov rdi, rsi
sub rdi, r9
xor ebx, ebx
cmp byte [rdx + rsi], 0
setne bl
movzx r11d, r11b
cmove r11d, r10d
add rdi, r9
mov rsi, rdi
add rsi, rbx
movzx ebx, byte [0x14054b924]
mov edi, ebx
xor dil, 0xbd
and bl, 0x3d
add bl, bl
add bl, dil
test r11b, bl
je 0x1403612b0
cmp r8, rsi
jne 0x1403613a0
test r8, r8
je 0x1403613a2
xor r9d, r9d
mov r10d, 1
xor r11d, r11d
jmp 0x140361335
cmp dil, 0x2e
movzx r11d, r11b
cmove r11d, r10d
cmp sil, 0x2e
cmove r11d, r10d
mov esi, dword [0x1405640a8]
add r9d, esi
inc r9d
cmp r8, r9
jbe 0x1403613a2
movzx esi, byte [rcx + r9]
movzx edi, byte [rdx + r9]
cmp sil, dil
je 0x140361310
mov ebx, r11d
and bl, 1
add bl, byte [0x140564730]
movzx ebp, byte [0x14054b924]
add bpl, 0xbc
cmp bl, bpl
jne 0x1403613a0
lea ebx, [rsi - 0x61]
lea ebp, [rsi - 0x20]
cmp bl, 0x1a
movzx ebx, sil
movzx esi, bpl
cmovae esi, ebx
movzx ebx, byte [0x14054b924]
lea ebp, [rbx + rdi]
add bpl, 0x5b
add bl, 0xd6
lea r14d, [rdi - 0x20]
cmp bpl, bl
movzx ebx, dil
movzx edi, r14b
cmovae edi, ebx
cmp sil, dil
je 0x140361310
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1403613b0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test rcx, rcx
je 0x1403613ed
mov edx, 1
xor r8d, r8d
nop
xor r9d, r9d
cmp byte [rcx + rax], 0
setne r9b
movzx r8d, r8b
cmove r8d, edx
add rax, r9
movzx r9d, byte [0x14054b924]
add r9b, 0xbd
xor r9b, r8b
not r9b
test r9b, r8b
je 0x1403613c0
ret
Function at 0x140376450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
test rcx, rcx
jne 0x1403764a6
mov eax, 0xdf5f
add eax, dword [0x14054d470]
cdqe
add rax, qword [0x14054d480]
mov dword [rsp + 0x28], 0xe625fcc4
mov dword [rsp + 0x20], 0x3ceaced
xor edi, edi
mov ecx, 1
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [0x1404ee420]
mov rsi, rax
test rax, rax
je 0x14037657a
mov eax, 0xdf5f
add eax, dword [0x14054d470]
cdqe
add rax, qword [0x14054d480]
mov dword [rsp + 0x28], 0xe625fcc4
mov dword [rsp + 0x20], 0x3ceaced
xor edi, edi
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [0x1404ee420]
test rax, rax
je 0x14037657a
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140376578
mov rax, qword [rcx + 0x10]
xor edi, edi
test rax, rax
je 0x14037657a
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14037657a
xor edx, edx
mov r8d, 1
xor edi, edi
jmp 0x140376525
test dl, 1
jne 0x14037657a
movzx r9d, byte [0x14054d574]
add r9b, 0x74
cmp rax, rcx
movzx edx, dl
movzx r9d, r9b
cmove edx, r9d
cmp qword [rax + 0x30], rsi
cmove edx, r9d
cmove rdi, rax
mov r9d, edx
not r9b
mov r10d, edx
xor r10b, 1
and r9b, 0xfe
or r9b, r10b
cmp r9b, 0xff
jne 0x140376520
mov r9, qword [rax]
test r9, r9
cmovne rax, r9
movzx edx, dl
cmove edx, r8d
jmp 0x140376520
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x14000147f
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001c360]
mov dword [rax], 1
mov rax, qword [0x14001c370]
mov dword [rax], 1
mov rax, qword [0x14001c380]
mov dword [rax], 1
mov rax, qword [0x14001c320]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d0
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400014fc
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001522
cmp eax, 0x20b
je 0x140001549
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001535
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001564
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400026e0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
xor ebx, ebx
mov r12, rcx
mov rdi, rdx
test rdx, rdx
jle 0x140002722
nop
mov rsi, qword [r12 + rbx*8]
mov ecx, 1
add rbx, 1
call rbp
xor r8d, r8d
mov rcx, rax
mov rdx, rsi
call sym.writeWindows__systemZio_205
cmp rbx, rdi
jne 0x140002700
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14001b19c]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rbp
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.fflush

Function at 0x140002b80
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140002b9f
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sym.fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sym.fflush

Function at 0x140002c50
Capabilities:
Terminate process
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sym.fwrite
mov rcx, rbx
call sym.fflush
mov ecx, 1
call sym.exit
nop

Function at 0x140002cc0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140031868]
test rax, rax
je 0x140002cd2
call rax
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
lea rdx, str.out_of_memory_n
mov rcx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
nop
nop word [rax + rax]
Function at 0x140005540
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r10, qword [rdx + 8]
mov r9, rdx
sar rdx, 0x15
mov r8, rcx
movzx eax, dl
mov rax, qword [rcx + rax*8 + 0x20a8]
test rax, rax
jne 0x140005570
jmp 0x14000559a
mov rax, qword [rax]
test rax, rax
je 0x14000559a
cmp rdx, qword [rax + 8]
jne 0x140005568
mov rcx, r9
mov edx, 1
sar rcx, 0xc
and ecx, 0x1ff
mov r11, rcx
shl rdx, cl
sar r11, 6
not rdx
and qword [rax + r11*8 + 0x10], rdx
mov rax, qword [r8 + 0x2080]
mov rdx, qword [r8 + 0x2088]
mov rcx, r9
cmp rdx, rax
cmovl rdx, rax
sub rax, r10
mov qword [r8 + 0x2080], rax
mov qword [r8 + 0x2088], rdx
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1400055da
add rsp, 0x28
ret
lea rcx, str.virtualFree_failing_
call sym.printf.constprop.0
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140005600
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r11, rdx
mov r10, rcx
mov rcx, qword [rcx + 0x2098]
and r11, 0xfffffffffffff000
mov rax, qword [r11 + 8]
sub rcx, rax
mov qword [r10 + 0x2098], rcx
cmp rax, 0xfc0
jle 0x140005718
cmp qword [r10 + 0x28d8], 0
lea rax, [r10 + 0x28d8]
je 0x1400057d0
mov qword [r10 + 0x28b0], rax
lea r8, [r11 + 0x20]
lea rdx, [r10 + 0x28a8]
mov rcx, r10
call sym.del__system_4207
mov r8, qword [r11 + 8]
cmp r8, 0x3f000000
jle 0x1400057bc
mov rdx, r11
sar rdx, 0x15
movzx eax, dl
mov rax, qword [r10 + rax*8 + 0x20a8]
test rax, rax
jne 0x140005698
jmp 0x1400056c2
mov rax, qword [rax]
test rax, rax
je 0x1400056c2
cmp rdx, qword [rax + 8]
jne 0x140005690
mov rcx, r11
mov edx, 1
sar rcx, 0xc
and ecx, 0x1ff
mov r9, rcx
shl rdx, cl
sar r9, 6
not rdx
and qword [rax + r9*8 + 0x10], rdx
mov rax, qword [r10 + 0x2080]
mov rdx, qword [r10 + 0x2088]
mov rcx, r11
cmp rdx, rax
cmovl rdx, rax
sub rax, r8
mov r8d, 0x8000
mov qword [r10 + 0x2080], rax
mov qword [r10 + 0x2088], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x140005760
lea rcx, str.virtualFree_failing_
call sym.printf.constprop.0
mov ecx, 1
call sym.exit
nop dword [rax + rax]
mov qword [rdx + 8], 0
mov rcx, qword [r11 + 0x20]
mov qword [rdx], rcx
mov qword [r11 + 0x20], rdx
mov rdx, qword [r11 + 0x28]
cmp rdx, rax
jge 0x140005768
test rax, rax
lea rdx, [rax + 0xf]
cmovns rdx, rax
sar rdx, 4
add rdx, 2
mov rcx, qword [r10 + rdx*8]
mov qword [r11 + 0x10], rcx
test rcx, rcx
je 0x140005758
mov qword [rcx + 0x18], r11
mov qword [r10 + rdx*8], r11
add qword [r11 + 0x28], rax
add rsp, 0x28
ret
add rdx, rax
mov qword [r11 + 0x28], rdx
cmp rdx, 0xfc0
jne 0x140005760
lea rdx, [rax + 0xf]
test rax, rax
cmovs rax, rdx
mov rdx, qword [r11 + 0x10]
sar rax, 4
lea rcx, [rax + 2]
cmp r11, qword [r10 + rax*8 + 0x10]
je 0x1400057f0
mov rax, qword [r11 + 0x18]
mov qword [rax + 0x10], rdx
test rdx, rdx
je 0x1400057ab
mov rax, qword [r11 + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r11 + 8], 0x1000
pxor xmm0, xmm0
movaps xmmword [r11 + 0x10], xmm0
mov rdx, r11
mov rcx, r10
add rsp, 0x28
jmp sym.freeBigChunk__system_4544
movq xmm0, rax
punpcklqdq xmm0, xmm0
movups xmmword [r10 + 0x28d8], xmm0
jmp 0x140005647
mov qword [r10 + rcx*8], rdx
test rdx, rdx
je 0x1400057ab
mov qword [rdx + 0x18], 0
jmp 0x1400057ab
Function at 0x1400058b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
lea r8, [rdx - 0x10]
mov r10, rcx
mov rcx, qword [rcx + 0x2098]
mov r11, r8
and r11, 0xfffffffffffff000
mov rax, qword [r11 + 8]
sub rcx, rax
mov qword [r10 + 0x2098], rcx
cmp rax, 0xfc0
jle 0x1400059c8
cmp qword [r10 + 0x28d8], 0
lea rax, [r10 + 0x28d8]
je 0x140005a88
mov qword [r10 + 0x28b0], rax
lea r8, [r11 + 0x20]
lea rdx, [r10 + 0x28a8]
mov rcx, r10
call sym.del__system_4207
mov r8, qword [r11 + 8]
cmp r8, 0x3f000000
jle 0x140005a74
mov rdx, r11
sar rdx, 0x15
movzx eax, dl
mov rax, qword [r10 + rax*8 + 0x20a8]
test rax, rax
jne 0x140005948
jmp 0x140005972
mov rax, qword [rax]
test rax, rax
je 0x140005972
cmp rdx, qword [rax + 8]
jne 0x140005940
mov rcx, r11
mov edx, 1
sar rcx, 0xc
and ecx, 0x1ff
mov r9, rcx
shl rdx, cl
sar r9, 6
not rdx
and qword [rax + r9*8 + 0x10], rdx
mov rax, qword [r10 + 0x2080]
mov rdx, qword [r10 + 0x2088]
mov rcx, r11
cmp rdx, rax
cmovl rdx, rax
sub rax, r8
mov r8d, 0x8000
mov qword [r10 + 0x2080], rax
mov qword [r10 + 0x2088], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x140005a11
lea rcx, str.virtualFree_failing_
call sym.printf.constprop.0
mov ecx, 1
call sym.exit
nop dword [rax + rax]
mov qword [r8 + 8], 0
mov rcx, qword [r11 + 0x20]
mov qword [rdx - 0x10], rcx
mov rdx, qword [r11 + 0x28]
mov qword [r11 + 0x20], r8
cmp rax, rdx
jle 0x140005a20
test rax, rax
lea rdx, [rax + 0xf]
cmovns rdx, rax
sar rdx, 4
add rdx, 2
mov rcx, qword [r10 + rdx*8]
mov qword [r11 + 0x10], rcx
test rcx, rcx
je 0x140005a09
mov qword [rcx + 0x18], r11
mov qword [r10 + rdx*8], r11
add qword [r11 + 0x28], rax
add rsp, 0x28
ret
add rdx, rax
mov qword [r11 + 0x28], rdx
cmp rdx, 0xfc0
jne 0x140005a11
lea rdx, [rax + 0xf]
test rax, rax
cmovs rax, rdx
mov rdx, qword [r11 + 0x10]
sar rax, 4
lea rcx, [rax + 2]
cmp r11, qword [r10 + rax*8 + 0x10]
je 0x140005aa0
mov rax, qword [r11 + 0x18]
mov qword [rax + 0x10], rdx
test rdx, rdx
je 0x140005a63
mov rax, qword [r11 + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r11 + 8], 0x1000
pxor xmm0, xmm0
movaps xmmword [r11 + 0x10], xmm0
mov rdx, r11
mov rcx, r10
add rsp, 0x28
jmp sym.freeBigChunk__system_4544
movq xmm0, rax
punpcklqdq xmm0, xmm0
movups xmmword [r10 + 0x28d8], xmm0
jmp 0x1400058fb
mov qword [r10 + rcx*8], rdx
test rdx, rdx
je 0x140005a63
mov qword [rdx + 0x18], 0
jmp 0x140005a63
Function at 0x140005ac0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [0x140030d60]
lea r11, [0x14002ec60]
lea r8, [rcx - 0x10]
mov r10, r8
and r10, 0xfffffffffffff000
mov rax, qword [r10 + 8]
sub rdx, rax
mov qword [0x140030d60], rdx
cmp rax, 0xfc0
jle 0x140005be8
cmp qword [0x1400315a0], 0
lea rax, [r11 + 0x2940]
je 0x140005cc0
lea rdx, [0x140031570]
lea r8, [r10 + 0x20]
mov qword [0x140031578], rax
lea rbx, [rdx - 0x28a8]
mov rcx, rbx
call sym.del__system_4207
mov r8, qword [r10 + 8]
cmp r8, 0x3f000000
jle 0x140005cb0
mov rdx, r10
sar rdx, 0x15
movzx eax, dl
mov rax, qword [r11 + rax*8 + 0x2110]
test rax, rax
jne 0x140005b68
jmp 0x140005b92
mov rax, qword [rax]
test rax, rax
je 0x140005b92
cmp rdx, qword [rax + 8]
jne 0x140005b60
mov rcx, r10
mov edx, 1
sar rcx, 0xc
and ecx, 0x1ff
mov r9, rcx
shl rdx, cl
sar r9, 6
not rdx
and qword [rax + r9*8 + 0x10], rdx
mov rax, qword [0x140030d48]
mov rdx, qword [0x140030d50]
mov rcx, r10
cmp rdx, rax
cmovl rdx, rax
sub rax, r8
mov r8d, 0x8000
mov qword [0x140030d48], rax
mov qword [0x140030d50], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x140005c33
lea rcx, str.virtualFree_failing_
call sym.printf.constprop.0
mov ecx, 1
call sym.exit
nop dword [rax + rax]
mov qword [r8 + 8], 0
mov rdx, qword [r10 + 0x20]
mov qword [rcx - 0x10], rdx
mov rdx, qword [r10 + 0x28]
mov qword [r10 + 0x20], r8
cmp rax, rdx
jle 0x140005c40
test rax, rax
lea rdx, [rax + 0xf]
cmovns rdx, rax
sar rdx, 4
add rdx, 2
mov rcx, qword [r11 + rdx*8 + 0x68]
mov qword [r10 + 0x10], rcx
test rcx, rcx
je 0x140005c2a
mov qword [rcx + 0x18], r10
mov qword [r11 + rdx*8 + 0x68], r10
add qword [r10 + 0x28], rax
add rsp, 0x20
pop rbx
ret
add rdx, rax
mov qword [r10 + 0x28], rdx
cmp rdx, 0xfc0
jne 0x140005c33
lea rdx, [rax + 0xf]
test rax, rax
cmovs rax, rdx
mov rdx, qword [r10 + 0x10]
sar rax, 4
lea rcx, [rax + 2]
cmp r10, qword [r11 + rax*8 + 0x78]
je 0x140005cd8
mov rax, qword [r10 + 0x18]
mov qword [rax + 0x10], rdx
test rdx, rdx
je 0x140005c83
mov rax, qword [r10 + 0x18]
mov qword [rdx + 0x18], rax
pxor xmm0, xmm0
mov rdx, r10
lea rcx, [0x14002ecc8]
mov qword [r10 + 8], 0x1000
movaps xmmword [r10 + 0x10], xmm0
add rsp, 0x20
pop rbx
jmp sym.freeBigChunk__system_4544
mov rdx, r10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.freeBigChunk__system_4544
movq xmm0, rax
punpcklqdq xmm0, xmm0
movaps xmmword [0x1400315a0], xmm0
jmp 0x140005b10
mov qword [r11 + rcx*8 + 0x68], rdx
test rdx, rdx
je 0x140005c83
mov qword [rdx + 0x18], 0
jmp 0x140005c83
Function at 0x140005cf0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [0x140030d60]
lea r11, [0x14002ec60]
lea r8, [rcx - 0x10]
mov r10, r8
and r10, 0xfffffffffffff000
mov rax, qword [r10 + 8]
sub rdx, rax
mov qword [0x140030d60], rdx
cmp rax, 0xfc0
jle 0x140005e18
cmp qword [0x1400315a0], 0
lea rax, [r11 + 0x2940]
je 0x140005ef0
lea rdx, [0x140031570]
lea r8, [r10 + 0x20]
mov qword [0x140031578], rax
lea rbx, [rdx - 0x28a8]
mov rcx, rbx
call sym.del__system_4207
mov r8, qword [r10 + 8]
cmp r8, 0x3f000000
jle 0x140005ee0
mov rdx, r10
sar rdx, 0x15
movzx eax, dl
mov rax, qword [r11 + rax*8 + 0x2110]
test rax, rax
jne 0x140005d98
jmp 0x140005dc2
mov rax, qword [rax]
test rax, rax
je 0x140005dc2
cmp rdx, qword [rax + 8]
jne 0x140005d90
mov rcx, r10
mov edx, 1
sar rcx, 0xc
and ecx, 0x1ff
mov r9, rcx
shl rdx, cl
sar r9, 6
not rdx
and qword [rax + r9*8 + 0x10], rdx
mov rax, qword [0x140030d48]
mov rdx, qword [0x140030d50]
mov rcx, r10
cmp rdx, rax
cmovl rdx, rax
sub rax, r8
mov r8d, 0x8000
mov qword [0x140030d48], rax
mov qword [0x140030d50], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x140005e63
lea rcx, str.virtualFree_failing_
call sym.printf.constprop.0
mov ecx, 1
call sym.exit
nop dword [rax + rax]
mov qword [r8 + 8], 0
mov rdx, qword [r10 + 0x20]
mov qword [rcx - 0x10], rdx
mov rdx, qword [r10 + 0x28]
mov qword [r10 + 0x20], r8
cmp rax, rdx
jle 0x140005e70
test rax, rax
lea rdx, [rax + 0xf]
cmovns rdx, rax
sar rdx, 4
add rdx, 2
mov rcx, qword [r11 + rdx*8 + 0x68]
mov qword [r10 + 0x10], rcx
test rcx, rcx
je 0x140005e5a
mov qword [rcx + 0x18], r10
mov qword [r11 + rdx*8 + 0x68], r10
add qword [r10 + 0x28], rax
add rsp, 0x20
pop rbx
ret
add rdx, rax
mov qword [r10 + 0x28], rdx
cmp rdx, 0xfc0
jne 0x140005e63
lea rdx, [rax + 0xf]
test rax, rax
cmovs rax, rdx
mov rdx, qword [r10 + 0x10]
sar rax, 4
lea rcx, [rax + 2]
cmp r10, qword [r11 + rax*8 + 0x78]
je 0x140005f08
mov rax, qword [r10 + 0x18]
mov qword [rax + 0x10], rdx
test rdx, rdx
je 0x140005eb3
mov rax, qword [r10 + 0x18]
mov qword [rdx + 0x18], rax
pxor xmm0, xmm0
mov rdx, r10
lea rcx, [0x14002ecc8]
mov qword [r10 + 8], 0x1000
movaps xmmword [r10 + 0x10], xmm0
add rsp, 0x20
pop rbx
jmp sym.freeBigChunk__system_4544
mov rdx, r10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.freeBigChunk__system_4544
movq xmm0, rax
punpcklqdq xmm0, xmm0
movaps xmmword [0x1400315a0], xmm0
jmp 0x140005d40
mov qword [r11 + rcx*8 + 0x68], rdx
test rdx, rdx
je 0x140005eb3
mov qword [rdx + 0x18], 0
jmp 0x140005eb3