joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180007590
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1800558f0]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x180007624
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18001bb80
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180007640
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x1800558f0]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x18000aec0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x180064a50]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
cmp qword [rbx + 0x1a8], 0
jne 0x18000af07
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x18000af0c
mov eax, 0x220
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x18000af52
mov eax, 1
je 0x18000af55
mov eax, r15d
ucomiss xmm0, xmm3
jp 0x18000af62
jne 0x18000af62
mov r15d, 2
movss xmm2, dword [0x18005c898]
or r15d, eax
comiss xmm3, xmm1
jb 0x18000af7a
addss xmm1, xmm4
maxss xmm1, xmm2
comiss xmm3, xmm0
jb 0x18000af87
addss xmm0, xmm5
maxss xmm0, xmm2
or dword [rdi + 0x47b8], 2
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x18000afd0
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.180003040
jmp 0x18000afe6
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.180003040
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.18000db10
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x18000b037
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1800548f1]
not r9d
lea r10, [0x1800558f0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18000b064
cmp byte [rdx], r8b
jne 0x18000b064
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x18000b051
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x18000b094
xor edx, edx
xor ecx, ecx
call fcn.180007830
cmp dword [rdi + 0x48e0], r14d
jne 0x18000b0da
cmp word [rsi + 0x15c], 0
jne 0x18000b0b0
cmp byte [rsi + 0x162], 0
je 0x18000b0da
xor edx, edx
mov rcx, rsi
call fcn.18000ff40
xor edx, edx
mov rcx, rsi
call fcn.1800168d0
mov rdx, rsi
mov ecx, ebx
call fcn.180007830
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x68]
movzx eax, bpl
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x180014520
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180064a50]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x180014581
cmp byte [rbx + 0x4a92], 0
jne 0x180014581
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180002fc0
test dil, 2
je 0x1800146af
jmp 0x18001460c
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18005c8bc]
mov edx, 0x10
mulss xmm1, dword [0x18005c8b0]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x18005c818]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.180002fc0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180014660
lea r11, [0x1800558f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180014643
cmp byte [r8], r9b
jne 0x180014643
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180014630
not ecx
call fcn.18000b410
test rax, rax
je 0x1800146af
cmp byte [rax + 0xb6], 0
je 0x1800146af
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.180002fc0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000db10
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800521b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001a400
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001a4a3
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x18001a456
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.18001c980
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180003e10
mov eax, dword [rbx]
lea rcx, [0x180064a48]
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001a4ab
mov rcx, rbx
call fcn.180003e10
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001a920
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180064a50]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001a983
mov qword [rsp], rbx
lea rbx, [0x1800558f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001a963
cmp byte [r8], r9b
jne 0x18001a963
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001a950
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001a9af
cmp dword [r8 + 8], eax
je 0x18001a9b6
add r8, 0x48
cmp r8, rcx
jne 0x18001a9a0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180046230
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1800462bc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180046290
lea r11, [0x1800558f0]
nop
cmp r9b, 0x23
jne 0x180046273
cmp byte [r8], r9b
jne 0x180046273
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180046260
mov rcx, qword [0x180064a50]
not eax
cmp dword [rcx + 0x3f38], eax
jne 0x1800462a7
mov dword [rcx + 0x3f3c], eax
cmp dword [rcx + 0x3f68], eax
jne 0x180046319
mov byte [rcx + 0x3f6c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180064a50]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed8]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180003160
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f20], eax
jne 0x180046312
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.18001bb80
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18004a190
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, r8
lea r9, [rsp + 0x20]
mov rbx, rdx
mov r8d, 0x40
mov rdx, rsi
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rsi
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov word [rdi], 0x25ff
mov qword [rdi + 6], rbx
cmp rsi, 0xe
jbe 0x18004a1f9
lea r8, [rsi - 0xe]
mov edx, 0x90
lea rcx, [rdi + 0xe]
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x24]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800521b0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18004a2e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x50
mov rcx, qword [0x180064c70]
lea rdx, [rax - 0x38]
xorps xmm0, xmm0
movaps xmmword [rax - 0x18], xmm6
movss xmm6, dword [0x18005c808]
xor edi, edi
movdqu xmmword [rax - 0x38], xmm0
mov rbx, qword [rcx + 0x4e2a628]
add rcx, 0x4e2a200
mov qword [rax - 0x28], rdi
call fcn.18004a230
mov rcx, qword [0x180064c70]
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
add rcx, 0x4e2a204
mov rsi, rax
movdqu xmmword [rsp + 0x20], xmm0
call fcn.18004a230
xorps xmm0, xmm0
mov dword [rsp + 0x60], 0x394
mov ecx, 4
mov rbp, rax
movdqu xmmword [rsp + 0x20], xmm0
call fcn.1800527a8
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rax + 4]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x60]
mov dword [rax], ecx
add rax, 4
mov rcx, qword [0x180064c70]
add rcx, 0x4e2a628
mov qword [rsp + 0x28], rax
call fcn.18004a230
mov ecx, 0x54
mov rdi, rax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18004a3c5
movss xmm6, dword [0x18005c870]
jmp 0x18004a3dd
mov ecx, 0x47
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18004a3dd
movss xmm6, dword [0x18005c7ec]
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test rbx, rbx
je 0x18004a445
test ax, ax
je 0x18004a429
test rsi, rsi
je 0x18004a429
test rbp, rbp
je 0x18004a429
test rdi, rdi
je 0x18004a429
movss xmm1, dword [rsi]
movaps xmm0, xmm6
mulss xmm0, dword [rbp]
mulss xmm1, xmm6
addss xmm0, dword [rbx + 0x38]
movss dword [rbx + 0x38], xmm0
movss xmm0, dword [rbx + 0x3c]
subss xmm0, xmm1
movss dword [rbx + 0x3c], xmm0
movss xmm0, dword [rbx + 0x104]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18004a445
mulss xmm0, xmm1
movss dword [rbx + 0x104], xmm0
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18004a47e
test rbx, rbx
je 0x18004a47e
test rdi, rdi
je 0x18004a47e
mov eax, dword [rdi]
sub eax, 0x32
test eax, 0xfffffff7
je 0x18004a471
mov dword [rdi], 1
movaps xmm0, xmm6
addss xmm0, dword [rbx + 0x40]
movss dword [rbx + 0x40], xmm0
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18004a4be
test rbx, rbx
je 0x18004a4be
test rdi, rdi
je 0x18004a4be
mov eax, dword [rdi]
sub eax, 0x32
test eax, 0xfffffff7
je 0x18004a4aa
mov dword [rdi], 1
movss xmm0, dword [rbx + 0x104]
subss xmm0, xmm6
movss dword [rbx + 0x104], xmm0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
Function at 0x180050740
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18005076f
xor eax, eax
mov qword [0x180064a98], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x1800505c0]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180050c88
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180050cf1
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180050cdf
mov rax, qword [rbx]
mov r8d, dword [rax + rdi*4]
test r8d, r8d
je 0x180050cd8
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180050cd8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180050ca7
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180064c50]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180050d04
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x180064e20]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x180050d3a
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180050d70
mov eax, 0xa
jmp 0x180050dff
test esi, esi
je 0x180050d92
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180050db3
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180050db3
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180050dad
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180050db3
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1800510e4
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800510fb
cmp r8b, 0x90
je 0x1800510fb
cmp r8b, 0xcc
jne 0x18005111d
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180051119
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18005111d
add edx, r10d
cmp edx, r9d
jb 0x180051109
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180051484
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x1800514ce
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x180064e10]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x180051507
cmp rbx, r14
jb 0x180051504
cmp rbx, r12
jae 0x180051504
cmp qword [rbx + 8], rsi
jne 0x180051669
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800514f0
mov r15, rdi
cmp rdi, r14
jb 0x180051623
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x180051553
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18005158d
cmp dword [rbp - 0x10], 0x10000
je 0x18005155d
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18005158d
sub r15, r13
cmp r15, r14
jae 0x180051529
jmp 0x18005158d
test r15, r15
je 0x18005158d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18005162e
cmp r15, r14
jae 0x180051518
test rbx, rbx
jmp 0x180051621
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x180051669
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180051669
cmp dword [rbp - 0x10], 0x10000
je 0x1800515fc
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x1800515b9
jmp 0x180051669
test rdi, rdi
je 0x180051669
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18005162e
cmp rdi, r12
jbe 0x180051595
jmp 0x180051669
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x18005163a
mov rax, qword [0x180064e10]
mov qword [rbx], rax
mov qword [0x180064e10], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400f0720
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400f072d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400f073d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400f0725
lea eax, [rcx + 1]
jmp 0x1400f074b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400f075e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400f0744
sub eax, 3
jb 0x1400f077e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400f07cd
sar eax, 1
movsxd rbp, eax
jb 0x1400f07b4
jmp 0x1400f078c
add ebx, ebx
jne 0x1400f078a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400f07b4
inc ecx
add ebx, ebx
jne 0x1400f079a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400f07b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400f07ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400f079c
add ecx, 2
jmp 0x1400f07b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400f06e2
jmp 0x1400f072d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb2c00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400f081d
cmp rsi, rcx
jae 0x1400f0825
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400f0804
cmp al, 0x8f
ja 0x1400f0804
cmp byte [rsi - 2], 0xf
je 0x1400f080a
sub al, 0xe8
cmp al, 1
ja 0x1400f07ee
cmp rsi, rcx
jae 0x1400f0825
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400f07f4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400f0825
lodsb al, byte [rsi]
jmp 0x1400f0804
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xed000]
mov eax, dword [rdi]
or eax, eax
je 0x1400f0882
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf04ec]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400f0832
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400f087c
mov qword [rbx], rax
add rbx, 8
jmp 0x1400f0852
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400f08bc
cmp al, 0xef
ja 0x1400f08ae
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400f088e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400f089d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1400f093b], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1400f093b
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400f092b
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0