joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014a1fc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14014a283
mov rsi, rbx
cmp word [rax], bp
je 0x14014a242
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14014a22c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14014a228
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140142a40
mov rdi, rax
test rax, rax
je 0x14014a270
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401528e0
mov rbp, rdi
xor ecx, ecx
call fcn.140142a04
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14014d234
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14014d254
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14012d41c
or eax, 0xffffffff
jmp 0x14014d256
xor eax, eax
add rsp, 0x28
ret

Function at 0x140150ec0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140150ee8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140150ee8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004260
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x9f8
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x9f0], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x90], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x120]
xor ecx, ecx
mov r8d, 0x400
call qword [0x14031b100]
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0x4550
jne 0x140004534
lea rcx, [rsp + 0x108]
xor edx, edx
mov r8d, 0x18
call fcn.140011b60
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 0x68
call fcn.140011b60
mov dword [rsp + 0xa0], 0x68
lea rcx, [rsp + 0x120]
xor eax, eax
lea rax, [rsp + 0xa0]
lea r10, [rsp + 0x108]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r10
call qword [0x14031b028]
cmp eax, 0
je 0x140004532
mov dword [rsp + 0x550], 0x10000b
mov rcx, qword [rsp + 0x110]
lea rdx, [rsp + 0x520]
call qword [0x14031b158]
cmp eax, 0
je 0x140004530
mov rdx, qword [rsp + 0x5a8]
add rdx, 0x10
mov rcx, qword [rsp + 0x108]
lea r8, [rsp + 0x98]
mov r9d, 8
mov qword [rsp + 0x20], 0
call qword [0x14031b1d8]
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + 0x50]
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x108]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [0x14031b268]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
mov r9d, dword [rax + 0x54]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x108]
mov qword [rsp + 0x20], 0
call qword [0x14031b288]
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x60]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x1400044b1
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
add rax, 0x108
movsxd rcx, dword [rsp + 0x5c]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov r9d, dword [rax + 0x10]
mov r8, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x14]
add r8, rax
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0xc]
add rdx, rax
mov rcx, qword [rsp + 0x108]
mov qword [rsp + 0x20], 0
call qword [0x14031b288]
mov eax, dword [rsp + 0x5c]
add eax, 1
mov dword [rsp + 0x5c], eax
jmp 0x140004425
mov r8, qword [rsp + 0x60]
add r8, 0x18
add r8, 0x18
mov rdx, qword [rsp + 0x5a8]
add rdx, 0x10
mov rcx, qword [rsp + 0x108]
mov r9d, 8
mov qword [rsp + 0x20], 0
call qword [0x14031b288]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x28]
add rax, rcx
mov qword [rsp + 0x5a0], rax
mov rcx, qword [rsp + 0x110]
lea rdx, [rsp + 0x520]
call qword [0x14031b228]
mov rcx, qword [rsp + 0x110]
call qword [0x14031b1e0]
mov dword [rsp + 0x84], 0
jmp 0x14000453f
jmp 0x140004532
jmp 0x140004534
mov dword [rsp + 0x84], 0xffffffff
mov rcx, qword [rsp + 0x9f0]
xor rcx, rsp
call fcn.140009560
nop
add rsp, 0x9f8
ret
Function at 0x1400051c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x14031b118]
test rax, rax
je 0x140005212
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005212
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005212
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005212
cmp dword [rcx + 0x84], 0xe
jbe 0x140005212
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005214
xor al, al
add rsp, 0x28
ret

Function at 0x140006470
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400065b8

Function at 0x1406d1c00
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword gs:[0x60]
movabs r11, 0x6d1c70
movabs r10, 0x6d1c74
mov r9, qword [rax + 0x10]
xor eax, eax
movsxd rcx, dword [r9 + 0x3c]
movsxd r11, dword [r9 + r11]
add rcx, r9
mov r10d, dword [r9 + r10]
movzx r8d, word [rcx + 0x14]
add r8, rcx
cmp dword [r8 + 0x20], eax
jbe 0x1406d1c66
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 0x24]
inc eax
add rcx, rdx
inc rdx
xor byte [rcx + r9], r10b
cmp eax, dword [r8 + 0x20]
jb 0x1406d1c50
lea rax, [r9 + r11]
jmp rax
Function at 0x1400f3310
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400f331d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400f332d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400f3315
lea eax, [rcx + 1]
jmp 0x1400f333b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400f334e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400f3334
sub eax, 3
jb 0x1400f336e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400f33bd
sar eax, 1
movsxd rbp, eax
jb 0x1400f33a4
jmp 0x1400f337c
add ebx, ebx
jne 0x1400f337a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400f33a4
inc ecx
add ebx, ebx
jne 0x1400f338a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400f33a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400f339d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400f338c
add ecx, 2
jmp 0x1400f33a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400f32d2
jmp 0x1400f331d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x8f400
mov dl, 0x21
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400f340d
cmp rsi, rcx
jae 0x1400f3415
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400f33f4
cmp al, 0x8f
ja 0x1400f33f4
cmp byte [rsi - 2], 0xf
je 0x1400f33fa
sub al, 0xe8
cmp al, 1
ja 0x1400f33de
cmp rsi, rcx
jae 0x1400f3415
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400f33e4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400f3415
lodsb al, byte [rsi]
jmp 0x1400f33f4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf0000]
mov eax, dword [rdi]
or eax, eax
je 0x1400f347e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf3130]
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 0x1400f3422
jns 0x1400f3457
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400f3461
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 0x1400f3478
mov qword [rbx], rax
add rbx, 8
jmp 0x1400f3442
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 0x1400f34b8
cmp al, 0xef
ja 0x1400f34aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400f348a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400f3499
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 + 0x23f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400f350c
sub rsp, 0xffffffffffffff80
jmp 0x14003a058
Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x140013a90
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x1400112f3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014de0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014e00
xor al, al
jmp 0x140014e81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014e13
xor al, al
jmp 0x140014e81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014e3d
xor al, al
jmp 0x140014e81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014e51
xor al, al
jmp 0x140014e81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014e63
xor al, al
jmp 0x140014e81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014e7f
xor al, al
jmp 0x140014e81
mov al, 1
add rsp, 0x38
ret
Function at 0x140012cb0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001142e
movzx eax, al
test eax, eax
jne 0x140012cd0
mov ecx, 7
call fcn.1400113a2
nop
mov byte [rsp + 0x20], 0
call fcn.1400113b6
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012cf4
mov ecx, 7
call fcn.1400113a2
nop
jmp 0x140012d4c
cmp dword [0x14001e868], 0
jne 0x140012d47
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111fe
test eax, eax
je 0x140012d28
mov eax, 0xff
jmp 0x140012e51
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.1400113ac
mov dword [0x14001e868], 2
jmp 0x140012d4c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001138e
call fcn.14001131b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012da9
mov rcx, qword [rsp + 0x30]
call fcn.1400111a9
movzx eax, al
test eax, eax
je 0x140012da9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140025020]
nop
call fcn.14001134d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012ddd
mov rcx, qword [rsp + 0x38]
call fcn.1400111a9
movzx eax, al
test eax, eax
je 0x140012ddd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113ed
nop
call fcn.140012f00
mov dword [rsp + 0x28], eax
call fcn.1400112f3
movzx eax, al
test eax, eax
jne 0x140012dfc
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012e0b
call fcn.1400113f7
nop
xor edx, edx
mov cl, 1
call fcn.140011195
mov eax, dword [rsp + 0x28]
jmp 0x140012e51
add rsp, 0x68
ret
Function at 0x14002ea10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002ea1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002ea2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14002ea15
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14002ea45
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14002ea32
sub eax, 3
jb 0x14002ea5f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14002ea96
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14002ea86
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14002ea84
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14002ea73
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14002e9d2
jmp 0x14002ea1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23400
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14002eae2
cmp rsi, rcx
jae 0x14002eaea
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14002eac9
cmp al, 0x8f
ja 0x14002eac9
cmp byte [rsi - 2], 0xf
je 0x14002eacf
sub al, 0xe8
cmp al, 1
ja 0x14002eab3
cmp rsi, rcx
jae 0x14002eaea
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002eab9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002eaea
lodsb al, byte [rsi]
jmp 0x14002eac9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2c000]
mov eax, dword [rdi]
or eax, eax
je 0x14002eb47
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2e520]
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 0x14002eaf7
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 0x14002eb41
mov qword [rbx], rax
add rbx, 8
jmp 0x14002eb17
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 + 0x1ff]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14002eb9f
sub rsp, 0xffffffffffffff80
jmp 0x1400032e0
Function at 0x140001540
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ecx, ecx
xor esi, esi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140001586
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
jmp 0x1400015fb
mov ecx, 1
mov qword [rsp + 0x78], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
jne 0x1400015bb
call qword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
jmp 0x1400015f6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000159e
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400064a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rdi, qword [rsp + 0x78]
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140007620
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
Function at 0x140008230
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000827a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000827a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000827a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000827a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000827a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000827c
xor al, al
add rsp, 0x28
ret
Function at 0x180003000
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x180003024
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1800030b2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x180003080
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x180003080
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1800213e0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18000309d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1800030a5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x180003041
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x180003190
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1800030c9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800030cb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800030fd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1800213e0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18000318d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180003138
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x18000316e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.18000ece4
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18000318d
cmp rsi, rax
ja 0x180003141
test rsi, rsi
je 0x18000318d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.18000ece4
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x180005994
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 0x1800059fd
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800059eb
mov rax, qword [rbx]
mov r8d, dword [rax + rdi*4]
test r8d, r8d
je 0x1800059e4
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800059e4
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 0x1800059b3
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18003ca40]
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 0x180005a10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, ecx
imul rdi, rax, 0x38
add rdi, qword [0x18003ca80]
mov rdx, qword [rdi]
mov cl, byte [rdi + 0x20]
mov rsi, rdx
lea rbx, [rdx - 5]
and cl, 1
je 0x180005a49
mov rsi, rbx
movzx eax, cl
lea r9, [rsp + 0x38]
test cl, cl
mov r8d, 0x40
cmove rbx, rdx
lea rbp, [rax*2 + 5]
mov rcx, rbx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180005a7c
mov eax, 0xa
jmp 0x180005ac9
mov byte [rbx], 0xe9
mov eax, dword [rdi + 8]
sub eax, esi
sub eax, 5
mov dword [rbx + 1], eax
test byte [rdi + 0x20], 1
je 0x180005a98
mov rax, qword [rdi]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rdi + 0x20], 6
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180005e58
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180005e6f
cmp r8b, 0x90
je 0x180005e6f
cmp r8b, 0xcc
jne 0x180005e91
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180005e8d
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180005e91
add edx, r10d
cmp edx, r9d
jb 0x180005e7d
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800061f8
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 0x180006242
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18003ca78]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x18000627b
cmp rbx, r14
jb 0x180006278
cmp rbx, r12
jae 0x180006278
cmp qword [rbx + 8], rsi
jne 0x1800063dd
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180006264
mov r15, rdi
cmp rdi, r14
jb 0x180006397
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x1800062c7
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180006301
cmp dword [rbp - 0x10], 0x10000
je 0x1800062d1
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x180006301
sub r15, r13
cmp r15, r14
jae 0x18000629d
jmp 0x180006301
test r15, r15
je 0x180006301
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 0x1800063a2
cmp r15, r14
jae 0x18000628c
test rbx, rbx
jmp 0x180006395
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 0x1800063dd
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800063dd
cmp dword [rbp - 0x10], 0x10000
je 0x180006370
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 0x18000632d
jmp 0x1800063dd
test rdi, rdi
je 0x1800063dd
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 0x1800063a2
cmp rdi, r12
jbe 0x180006309
jmp 0x1800063dd
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 0x1800063ae
mov rax, qword [0x18003ca78]
mov qword [rbx], rax
mov qword [0x18003ca78], 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