joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180106760
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov rax, qword [rsp + 0xa8]
mov qword [r11 - 0x50], rax
mov rax, qword [rsp + 0xa0]
mov qword [r11 - 0x58], rax
call fcn.180103060
mov rax, qword [rsp + 0xf8]
mov r13, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
mov r9, r14
mov rdi, qword [rsp + 0xc8]
mov r8, rsi
mov rbx, qword [rsp + 0xc0]
mov rdx, rdi
mov r15, qword [rsp + 0xe0]
mov rcx, rbx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
call fcn.180103180
vmovdqu32 zmm3, zmmword [rbx]
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
vpmaxsd zmm1, zmm3, zmmword [r9]
vmovdqu32 zmmword [rbx], zmm1
vpminsd zmm0, zmm3, zmmword [r9]
vmovdqu32 zmmword [r9], zmm0
vmovdqu32 zmm4, zmmword [rdi]
vpmaxsd zmm0, zmm4, zmmword [r8]
mov r10, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r11, qword [rsp + 0x90]
vmovdqu32 zmmword [rdi], zmm0
vpminsd zmm1, zmm4, zmmword [r8]
vmovdqu32 zmmword [r8], zmm1
vmovdqu32 zmm3, zmmword [rsi]
vpmaxsd zmm1, zmm3, zmmword [rdx]
vmovdqu32 zmmword [rsi], zmm1
vpminsd zmm0, zmm3, zmmword [rdx]
vmovdqu32 zmmword [rdx], zmm0
vmovdqu32 zmm4, zmmword [r14]
vpmaxsd zmm0, zmm4, zmmword [rax]
vmovdqu32 zmmword [r14], zmm0
vpminsd zmm1, zmm4, zmmword [rax]
vmovdqu32 zmmword [rax], zmm1
vmovdqu32 zmm3, zmmword [r15]
vpmaxsd zmm1, zmm3, zmmword [r10]
vmovdqu32 zmmword [r15], zmm1
vpminsd zmm0, zmm3, zmmword [r10]
vmovdqu32 zmmword [r10], zmm0
vmovdqu32 zmm4, zmmword [r12]
vpmaxsd zmm0, zmm4, zmmword [r11]
vmovdqu32 zmmword [r12], zmm0
vpminsd zmm1, zmm4, zmmword [r11]
vmovdqu32 zmmword [r11], zmm1
vmovdqu32 zmm3, zmmword [r13]
vpmaxsd zmm1, zmm3, zmmword [rcx]
vmovdqu32 zmmword [r13], zmm1
vpminsd zmm0, zmm3, zmmword [rcx]
vmovdqu32 zmmword [rcx], zmm0
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x38], r9
mov r9, r10
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
vmovdqu32 zmm4, zmmword [rcx]
vpmaxsd zmm0, zmm4, zmmword [rbx]
vmovdqu32 zmmword [rcx], zmm0
vpminsd zmm1, zmm4, zmmword [rbx]
vmovdqu32 zmmword [rbx], zmm1
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x88]
mov r8, r11
vzeroupper
call fcn.1801032a0
mov rax, qword [rsp + 0xf8]
mov r9, r14
mov rcx, qword [rsp + 0xc0]
mov r8, rsi
mov qword [rsp + 0xb8], rax
mov rdx, rdi
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r15
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
jmp fcn.1801032a0
Function at 0x18010b330
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18010b358
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18010b358
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14161f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14161f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14161f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14161f06f
add dl, dl
jne 0x14161f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14161f0f6
xor eax, eax
add dl, dl
jne 0x14161f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14161f1ad
add dl, dl
jne 0x14161f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14161f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14161f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14161f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14161f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14161f07e
mov eax, 1
add dl, dl
jne 0x14161f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14161f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14161f0fb
sub eax, ebx
mov ebx, 1
jne 0x14161f14c
mov ecx, 1
add dl, dl
jne 0x14161f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14161f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14161f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14161f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14161f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14161f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14161f15d
cmp eax, 0x7d00
jae 0x14161f19b
cmp eax, 0x500
jb 0x14161f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14161f07e
cmp eax, 0x7f
ja 0x14161f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14161f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14161f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14161f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000166c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
call fcn.1400018a4
xor r10d, r10d
test eax, eax
js 0x140001899
mov ecx, dword [rbx + 0xf0]
mov eax, ecx
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x1400016f6
lea rdx, [rbx + 8]
lea rdx, [rdx + r9*4]
lea r8, [rbx + 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov eax, dword [rdx - 8]
sub r9, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
lea r8, [r8 + 0x10]
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
lea rdx, [rdx - 0x10]
mov ecx, dword [r8 - 0xc]
mov dword [r8 - 0xc], eax
mov dword [rdx + 0x14], ecx
cmp r10, r9
jl 0x1400016a7
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x140001897
lea r10, [rbx + 2]
lea rdi, [0x140000000]
lea r10, [r10 + 0x10]
inc r11d
mov r8d, dword [r10 - 2]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0x20ae80]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x20b680]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x20ba80]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
xor r9d, dword [rdi + rcx*4 + 0x20b280]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, byte [r10 + 3]
mov r8d, dword [rdi + rdx*4 + 0x20ae80]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x20b680]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x20b280]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x20ba80]
movzx edx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, byte [r10 + 7]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x20ae80]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x20b680]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x20b280]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x20ba80]
movzx edx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, byte [r10 + 0xb]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x20ae80]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, byte [r10 + 0xc]
xor r8d, dword [rdi + rcx*4 + 0x20b680]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x20b280]
movzx ecx, byte [rdi + rax*4 + 0x20aa80]
xor r8d, dword [rdi + rcx*4 + 0x20ba80]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140001710
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001b84
Capabilities:
Hash data with md5

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rbx, rcx
xor edx, edx
lea r8d, [rdx + 0x5c]
add rcx, 4
call fcn.1401db5a0
mov dword [rbx + 4], 0x67452301
mov dword [rbx + 8], 0xefcdab89
mov dword [rbx + 0xc], 0x98badcfe
mov dword [rbx + 0x10], 0x10325476
and qword [rbx + 0xb0], 0
mov edi, 0xf
mov qword [rbx + 0xb8], rdi
mov byte [rbx + 0xa0], 0
and qword [rbx + 0xd0], 0
mov qword [rbx + 0xd8], rdi
mov byte [rbx + 0xc0], 0
mov byte [rbx], 1
lea rcx, [rbp - 0x58]
call fcn.14001288c
movdqa xmm0, xmmword [0x14020c3e0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14001397c
nop
mov qword [rbp - 0x10], rdi
and qword [rbp - 0x18], 0
mov byte [rbp - 0x28], 0
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.140001fb0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140001c85
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001cb1
call fcn.1401d9a54
nop
lea rdi, [rbp - 0x58]
xor eax, eax
lea ecx, [rax + 4]
rep stosb byte [rdi], al
lea rdi, [rbp - 0x54]
lea ecx, [rax + 8]
rep stosb byte [rdi], al
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1401de234
nop
int3

Function at 0x140002620
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x48
and qword [rsp + 0x50], 0
call fcn.1400096d0
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 0x20
call fcn.14000a1c0
test eax, eax
je 0x1400026a3
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call fcn.140009fd8
test eax, eax
je 0x140002699
mov rax, qword [rsp + 0x58]
lea r8, [rsp + 0x30]
and qword [rsp + 0x28], 0
mov r9d, 0x10
and qword [rsp + 0x20], 0
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call fcn.140008e5c
mov rcx, qword [rsp + 0x50]
call fcn.140008fd4
add rsp, 0x48
ret

Function at 0x1400058b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call fcn.140008ccc
mov rbx, rax
test rax, rax
je 0x14000592a
lea rdx, [rsp + 0x20]
mov word [rsp + 0x20], 0x444d
mov rcx, rax
mov word [rsp + 0x26], 0x7461
mov word [rsp + 0x23], 0x7055
mov byte [rsp + 0x22], 0x35
mov byte [rsp + 0x25], 0x64
mov word [rsp + 0x28], 0x65
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005922
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call rax
mov rcx, rbx
call fcn.1400095e0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140006bb0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rcx], 0
mov rax, r8
and qword [rcx + 8], 0
mov rdi, rdx
mov rdx, rax
mov dword [rcx + 0x50], 0x6a09e667
mov r8, r9
mov dword [rcx + 0x54], 0xbb67ae85
mov rbx, rcx
mov dword [rcx + 0x58], 0x3c6ef372
mov dword [rcx + 0x5c], 0xa54ff53a
mov dword [rcx + 0x60], 0x510e527f
mov dword [rcx + 0x64], 0x9b05688c
mov dword [rcx + 0x68], 0x1f83d9ab
mov dword [rcx + 0x6c], 0x5be0cd19
call fcn.140006c28
mov rdx, rdi
mov rcx, rbx
call fcn.140006cfc
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14000c45c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx], 0
mov edi, r9d
mov r14d, r8d
mov rbp, rdx
mov rbx, rcx
jne 0x14000c538
cmp dword [rcx + 8], 0xffffffff
jne 0x14000c538
lea rsi, [rcx + 0x150]
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], 0
jne 0x14000c4a7
mov r8b, byte [rax + rbx + 0x14f]
cmp r8b, 0x5c
je 0x14000c4dc
cmp r8b, 0x2f
je 0x14000c4dc
or r9, 0xffffffffffffffff
lea r8, [0x14020d098]
mov edx, 0x104
mov rcx, rsi
call fcn.1401e4dec
mov r9d, 1
cmp edi, r9d
jne 0x14000c501
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x14000c501
mov eax, 0x2000000
jmp 0x14000c53d
lea r9, [rsp + 0x40]
mov r8d, edi
mov edx, r14d
mov rcx, rbp
call fcn.14000ecd8
test rax, rax
jne 0x14000c51f
mov eax, dword [rsp + 0x40]
jmp 0x14000c53d
mov rcx, rax
call fcn.14000f3c8
mov qword [rbx], rax
neg rax
sbb eax, eax
not eax
and eax, 0x200
jmp 0x14000c53d
mov eax, 0x1000000
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x14000ef50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x14000ef69
xor eax, eax
jmp 0x14000efda
lea rdi, [0x140213ff0]
not r9d
cmp r8d, 8
jb 0x14000efaf
mov r11d, r8d
shr r11, 3
mov ebx, 8
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
inc r10
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
sub rbx, 1
jne 0x14000ef85
add r8d, 0xfffffff8
sub r11, 1
jne 0x14000ef80
test r8d, r8d
je 0x14000efd4
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
inc r10
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
add r8d, 0xffffffff
jne 0x14000efb4
not r9d
mov eax, r9d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x14000f1d4
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x14000f3bb
cmp dword [rcx + 0x1c], 0
je 0x14000f3bb
cmp qword [rcx + 0x80], 0
je 0x14000f204
call fcn.14000f024
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.14000f834
test eax, eax
je 0x14000f229
mov eax, 0xffffff99
jmp 0x14000f3c0
mov ecx, 0xb0
call fcn.1401e3a94
mov rbx, rax
test rax, rax
jne 0x14000f245
mov eax, 0xffffff98
jmp 0x14000f3c0
mov ecx, 0x4000
call fcn.1401e3a94
mov ecx, dword [rsp + 0x40]
and dword [rbx + 0x70], 0
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x6c], ecx
mov qword [rbx], rax
test rax, rax
jne 0x14000f273
mov rcx, rbx
call fcn.1401e3a8c
jmp 0x14000f23b
and dword [rbx + 0x64], 0
mov eax, dword [rdi + 0x40]
mov ecx, dword [rdi + 0x38]
and dword [rbx + 0x74], 0
mov dword [rbx + 0x78], eax
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x90], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
and dword [rbx + 0x24], 0
mov dword [rbx + 0x94], eax
test ecx, ecx
je 0x14000f2cb
and qword [rbx + 0x38], 0
lea rcx, [rbx + 8]
and qword [rbx + 0x40], 0
and qword [rbx + 0x48], 0
call fcn.14000d45c
test eax, eax
jne 0x14000f2cb
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
mov dword [rbx + 0x7c], eax
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
mov al, byte [rdi + 0x34]
and al, 1
mov byte [rbx + 0x98], al
mov eax, dword [rdi + 0x34]
shr eax, 3
test al, 1
je 0x14000f2f4
mov al, byte [rdi + 0x3d]
jmp 0x14000f2f7
mov al, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
mov al, byte [rbx + 0x98]
neg al
sbb ecx, ecx
and ecx, 0xc
mov dword [rbx + 0xa8], ecx
mov dword [rbx + 0x9c], 0x12345678
mov dword [rbx + 0xa0], 0x23456789
mov dword [rbx + 0xa4], 0x34567890
test rsi, rsi
je 0x14000f39d
lea r8, [0x140213ff0]
cmp byte [rsi], 0
je 0x14000f39d
movsx rax, byte [rsi]
mov edx, dword [rbx + 0x9c]
xor rax, rdx
movzx ecx, al
shr edx, 8
mov eax, dword [r8 + rcx*4]
xor eax, edx
mov edx, dword [rbx + 0xa4]
mov dword [rbx + 0x9c], eax
movzx eax, al
add eax, dword [rbx + 0xa0]
imul ecx, eax, 0x8088405
inc ecx
mov dword [rbx + 0xa0], ecx
movzx eax, byte [rbx + 0xa3]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov eax, dword [r8 + rcx*4]
xor eax, edx
mov dword [rbx + 0xa4], eax
add rsi, 1
jne 0x14000f33a
mov ecx, dword [rdi + 0x7c]
and dword [rbx + 0x10], 0
mov eax, dword [rsp + 0x58]
add eax, 0x1e
add ecx, eax
mov dword [rbx + 0x60], ecx
xor eax, eax
mov qword [rdi + 0x80], rbx
jmp 0x14000f3c0
mov eax, 0xffffff9a
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000fff4
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov r9d, dword [rcx + 8]
mov r10, rcx
mov r8d, r9d
mov r11b, dl
mov edx, dword [rcx]
and r8d, 0xfffd
or r8d, 2
mov ecx, edx
mov eax, r8d
shr edx, 8
xor eax, 1
imul eax, r8d
lea r8, [0x140213ff0]
shr eax, 8
xor r11b, al
movsx rax, r11b
xor rcx, rax
movzx eax, cl
mov ecx, dword [r8 + rax*4]
xor ecx, edx
movzx eax, cl
add eax, dword [r10 + 4]
mov dword [r10], ecx
imul ecx, eax, 0x8088405
inc ecx
mov dword [r10 + 4], ecx
movzx eax, byte [r10 + 7]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, dword [r8 + rcx*4]
xor eax, r9d
mov dword [r10 + 8], eax
mov al, r11b
ret
Function at 0x14001352c
Capabilities:
Hash data with md5

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea r8d, [rdx + 0x5c]
call fcn.1401db5a0
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov r8, r14
mov rdx, r15
mov rcx, rdi
call fcn.140013770
mov rbx, qword [rbp + 0x40]
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400135b1
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400135a9
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.140013770
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.140013370
nop
xor edx, edx
lea r8d, [rdx + 0x5c]
mov rcx, rdi
call fcn.1401db5a0
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov r8d, 0x10
mov rcx, rdi
call fcn.140013770
mov r8, r14
mov rdx, r15
mov rcx, rdi
call fcn.140013770
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x14001362f
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140013627
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.140013770
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.140013370
nop
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae r8, qword [rbp - 0x48]
mov r9, qword [rbp - 0x38]
xor edx, edx
mov rcx, rax
call fcn.1400139e8
and qword [rsi + 0x10], 0
and qword [rsi + 0x18], 0
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
and qword [rax + 0x10], 0
mov r14d, 0xf
mov qword [rax + 0x18], r14
mov byte [rax], 0
mov edi, 0x1000
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400136be
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rdi
jb 0x1400136b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001376a
call fcn.1401d9a54
movdqa xmm0, xmmword [0x14020c3e0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140013703
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rdi
jb 0x1400136fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001375e
call fcn.1401d9a54
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140013735
inc rdx
mov rcx, qword [rbx]
cmp rdx, rdi
jb 0x140013730
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013764
mov rcx, r8
call fcn.1401d9a54
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r14
mov byte [rbx], 0
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1401de234
nop
call fcn.1401de234
nop
call fcn.1401de234
int3
Function at 0x14004a2d6
Capabilities:
Encode data using xor

Disassembly:
xor edi, 0xffffff8d
test byte [rsi - 0x7e047305], 0xf6
mov ebp, ebp
xchg cl, bh
mov esi, esi
cmp edx, 0xfc84ee8a
xor ebx, 0xed7ff57f
invalid

Function at 0x14004f3e4
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x14004f44c
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x14004f436
cmp qword [rcx + 0x18], 0
jne 0x14004f431
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14004f452
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoA]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14004f44c
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.14006321c
call fcn.14004d5d0
int3
call fcn.14004d5d0
int3

Function at 0x140052220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x140052288
call fcn.140060688
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140052288
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400522aa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.140066f34
mov esi, eax
test rdi, rdi
je 0x1400522a8
test rbx, rbx
je 0x1400522a8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret