joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bcf0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
test r8d, r8d
je 0x14001bea2
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x20], 0
mov rsi, rdx
mov edi, r8d
mov rbx, rcx
jne 0x14001be93
test byte [rcx], 0x10
je 0x14001be28
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x14001bd40
cmp dword [rbx + 0x50], edi
jae 0x14001bd40
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 0x48], 0
cmp qword [rbx + 0x48], 0
jne 0x14001bd6c
lea eax, [rdi + rdi]
xor ecx, ecx
mov edx, eax
mov dword [rbx + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x14001bd6c
mov dword [rbx + 0x20], 2
jmp 0x14001be84
mov rcx, qword [rbx + 0x48]
mov r8, rdi
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov rbp, rdi
call fcn.1400c64d0
test edi, edi
je 0x14001be1f
xor r11d, r11d
lea rsi, [0x1400faf40]
nop word [rax + rax]
mov rax, qword [rbx + 0x48]
lea r11, [r11 + 1]
mov r8d, dword [rbx + 0x40]
mov ecx, dword [rbx + 0x38]
mov r9d, r8d
and r9d, 0xfffd
movsx r10, byte [r11 + rax - 1]
or r9d, 2
mov eax, dword [rbx + 0x38]
xor rcx, r10
movzx edx, cl
shr eax, 8
mov ecx, dword [rsi + rdx*4]
xor ecx, eax
movzx eax, cl
add eax, dword [rbx + 0x3c]
mov dword [rbx + 0x38], ecx
imul ecx, eax, 0x8088405
inc ecx
mov dword [rbx + 0x3c], ecx
movzx eax, byte [rbx + 0x3f]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
mov eax, dword [rsi + rcx*4]
mov ecx, r9d
xor ecx, 1
xor eax, r8d
imul ecx, r9d
mov dword [rbx + 0x40], eax
mov rax, qword [rbx + 0x48]
shr ecx, 8
xor cl, r10b
mov byte [r11 + rax - 1], cl
sub rbp, 1
jne 0x14001bda0
mov rsi, qword [rbx + 0x48]
mov rbp, qword [rsp + 0x40]
test byte [rbx], 1
je 0x14001be55
mov ecx, dword [rbx + 0x30]
lea eax, [rcx + rdi]
cmp eax, dword [rbx + 0x34]
jb 0x14001be41
mov dword [rbx + 0x20], reloc.WSOCK32.dll_inet_ntoa
jmp 0x14001be84
add rcx, qword [rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.1400c64d0
add dword [rbx + 0x30], edi
jmp 0x14001be84
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001be7d
cmp dword [rsp + 0x50], edi
je 0x14001be84
mov dword [rbx + 0x20], 3
test dword [rbx], 0x40000000
je 0x14001be93
mov dword [rbx + 0x20], reloc.OLEAUT32.dll_SafeArrayLock
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14001bf20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [rcx]
mov rsi, rdx
mov rbx, rcx
bt eax, 0x1e
jae 0x14001bf56
mov dword [rcx + 0x20], reloc.OLEAUT32.dll_SafeArrayLock
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test al, al
jns 0x14001bf87
mov eax, dword [rcx + 0x7c]
mov edi, dword [rcx + 0x78]
cmp eax, edi
jae 0x14001bfaa
sub edi, eax
mov edx, eax
cmp edi, r8d
cmova edi, r8d
add rdx, qword [rcx + 0x70]
mov r8d, edi
mov rcx, rsi
mov dword [rsp + 0x40], edi
call fcn.1400c64d0
add dword [rbx + 0x7c], edi
jmp 0x14001bfc0
mov rcx, qword [rcx + 0x70]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001bfbc
mov dword [rbx + 0x20], 7
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edi, dword [rsp + 0x40]
add dword [rbx + 0x64], edi
mov r8d, edi
mov ecx, dword [rbx + 0x68]
mov rdx, rsi
call fcn.14001ba10
mov rsi, qword [rsp + 0x50]
mov dword [rbx + 0x68], eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14001d280
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r10, qword [r9]
xor esi, esi
mov rbp, qword [r9 + 8]
mov r15, r9
mov r13, r8
mov r14, rdx
mov r12, rcx
movzx eax, word [r10 + 0x14]
cmp si, word [r10 + 6]
jae 0x14001d374
lea rbx, [r10 + 0x28]
add rbx, rax
mov ecx, dword [rbx]
test ecx, ecx
jne 0x14001d316
movsxd rax, dword [r13 + 0x38]
test eax, eax
jle 0x14001d35f
mov ecx, dword [rbx - 4]
mov r9d, 0x40
add rcx, rbp
mov r8d, 0x1000
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14001d3a1
mov ecx, dword [rbx - 4]
mov r8, rdi
add rcx, rbp
xor edx, edx
mov dword [rbx - 8], ecx
call fcn.1400c7510
jmp 0x14001d35f
test r14, r14
je 0x14001d325
mov eax, dword [rbx + 4]
add eax, ecx
cmp r14, rax
jb 0x14001d396
mov rdx, rcx
mov r9d, 0x40
mov ecx, dword [rbx - 4]
mov r8d, 0x1000
add rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14001d3a1
mov edi, dword [rbx - 4]
mov edx, dword [rbx + 4]
add rdi, rbp
mov r8d, dword [rbx]
mov rcx, rdi
add rdx, r12
call fcn.1400c64d0
mov dword [rbx - 8], edi
mov rax, qword [r15]
inc esi
add rbx, 0x28
movzx ecx, word [rax + 6]
cmp esi, ecx
jl 0x14001d2c8
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, SafeArrayDestroy
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14001d379
Function at 0x14001d3b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov r8, qword [rcx]
movabs rax, 0xffffffff00000000
mov ebp, dword [rcx + 0x50]
mov r14, rcx
dec ebp
not ebp
movzx ebx, word [r8 + 0x14]
mov r13, qword [r8 + 0x30]
add rbx, r8
and r13, rax
mov r10d, dword [rbx + 0x20]
mov r9d, dword [rbx + 0x28]
or r10, r13
and rbp, r10
mov qword [rsp + 0x20], r10
test r9d, r9d
jne 0x14001d414
mov eax, dword [rbx + 0x3c]
test al, 0x40
je 0x14001d40c
mov r9d, dword [r8 + 0x20]
jmp 0x14001d414
test al, al
jns 0x14001d414
mov r9d, dword [r8 + 0x24]
mov edx, dword [rbx + 0x3c]
lea r11, [0x1400f9688]
mov edi, 1
mov qword [rsp + 0x78], rsi
mov r12d, edi
mov qword [rsp + 0x80], r15
cmp di, word [r8 + 6]
jae 0x14001d57a
add rbx, 0x64
mov ecx, dword [r14 + 0x50]
mov r15d, dword [rbx - 0x1c]
mov esi, dword [rbx - 0x14]
or r15, r13
lea edi, [rcx - 1]
not edi
and rdi, r15
test esi, esi
jne 0x14001d474
mov eax, dword [rbx]
test al, 0x40
je 0x14001d46a
mov rax, qword [r14]
mov esi, dword [rax + 0x20]
jmp 0x14001d474
test al, al
jns 0x14001d474
mov rax, qword [r14]
mov esi, dword [rax + 0x24]
cmp rbp, rdi
je 0x14001d53a
mov r11d, r9d
lea rax, [r11 + r10]
cmp rax, rdi
ja 0x14001d53a
test r9d, r9d
je 0x14001d528
bt edx, 0x19
jae 0x14001d4dd
cmp r10, rbp
jne 0x14001d528
mov r8, qword [r14]
cmp dword [r8 + 0x38], ecx
je 0x14001d4b9
xor edx, edx
mov eax, r9d
div ecx
test edx, edx
jne 0x14001d528
mov r8d, 0x4000
mov rdx, r11
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbx]
mov r10, r15
mov r9d, esi
mov qword [rsp + 0x20], r15
mov rbp, rdi
jmp 0x14001d557
mov ecx, edx
mov eax, edx
shr rax, 0x1e
and eax, 1
shr rcx, 0x1d
and ecx, 1
lea rcx, [rax + rcx*2]
mov eax, edx
shr rax, 0x1f
lea rcx, [rax + rcx*2]
lea rax, [0x1400f9688]
mov r8d, dword [rax + rcx*4]
bt edx, 0x1a
jae 0x14001d513
bts r8d, 9
lea r9, [rsp + 0x70]
mov rdx, r11
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001d59e
mov edx, dword [rbx]
mov r10, r15
mov qword [rsp + 0x20], r15
mov rbp, rdi
mov r9d, esi
jmp 0x14001d557
mov ecx, dword [rbx]
mov eax, ecx
and eax, edx
or edx, ecx
bt eax, 0x19
jb 0x14001d54c
btr edx, 0x19
mov r9d, r15d
sub r9d, dword [rsp + 0x20]
add r9d, esi
mov rax, qword [r14]
inc r12d
add rbx, 0x28
movzx ecx, word [rax + 6]
cmp r12d, ecx
jl 0x14001d442
mov edi, 1
lea r11, [0x1400f9688]
test r9d, r9d
je 0x14001d5e6
bt edx, 0x19
jae 0x14001d5a2
cmp r10, rbp
jne 0x14001d5e6
mov edx, r9d
mov r8d, 0x4000
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14001d5e6
xor eax, eax
jmp 0x14001d5e8
mov ecx, edx
mov eax, edx
shr rax, 0x1e
shr rcx, 0x1d
and eax, 1
and ecx, 1
lea rcx, [rax + rcx*2]
mov eax, edx
shr rax, 0x1f
lea rcx, [rax + rcx*2]
mov r8d, dword [r11 + rcx*4]
bt edx, 0x1a
jae 0x14001d5d1
bts r8d, 9
mov edx, r9d
mov rcx, r10
lea r9, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001d59e
mov eax, edi
mov r15, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14001e140
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rdi
mov rdi, rdx
mov qword [rbp + 0x28], r14
mov r14, rcx
test rcx, rcx
je 0x14001e34c
cmp dword [rcx + 0x20], 0
jne 0x14001e34c
cmp qword [rcx + 0x48], 0
je 0x14001e34c
cmp dword [rcx + 0x24], 0
je 0x14001e34c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
or r8, 0xffffffffffffffff
mov rbx, rax
mov rax, r8
nop dword [rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14001e1a0
xor edx, edx
lea rax, [rax*2 + 2]
lea rcx, [rax + 0x10]
cmp rcx, rax
cmova rdx, rcx
test rdx, rdx
je 0x14001e29b
mov rax, r8
nop dword [rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14001e1d0
xor edx, edx
lea rax, [rax*2 + 2]
lea rcx, [rax + 0x10]
cmp rcx, rax
cmova rdx, rcx
cmp rdx, 0x400
ja 0x14001e260
nop word [rax + rax]
cmp word [rbx + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x14001e200
lea rax, [r8*2 + 2]
xor edx, edx
lea rcx, [rax + 0x10]
cmp rcx, rax
cmova rdx, rcx
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x14001e235
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400decd0
sub rsp, rax
lea rsi, [rsp + 0x30]
test rsi, rsi
je 0x14001e29d
mov dword [rsi], 0xcccc
add rsi, 0x10
jmp 0x14001e29d
cmp word [rbx + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x14001e260
lea rax, [r8*2 + 2]
xor ecx, ecx
lea rdx, [rax + 0x10]
cmp rdx, rax
cmova rcx, rdx
call fcn.1400c86f8
mov rsi, rax
test rax, rax
je 0x14001e29d
mov dword [rax], 0xdddd
add rsi, 0x10
jmp 0x14001e29d
xor esi, esi
mov rdx, rsi
mov rcx, rbx
sub rdx, rbx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14001e2b0
mov rcx, rbx
sub rcx, rdi
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rcx + rdi], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x14001e2d0
mov r8, qword [r14 + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.1400cc8d8
mov edx, 0x64
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, rsi
sub rbx, rsi
nop dword [rax + rax]
movzx ecx, word [rdx]
mov word [rbx + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x14001e320
test rsi, rsi
je 0x14001e347
cmp dword [rsi - 0x10], 0xdddd
lea rcx, [rsi - 0x10]
jne 0x14001e347
call fcn.1400cc1a0
mov rax, rdi
jmp 0x14001e34e
xor eax, eax
mov rbx, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x18]
mov rdi, qword [rbp + 0x20]
mov r14, qword [rbp + 0x28]
mov rsp, rbp
pop rbp
ret
Function at 0x14001e700
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x14001e740
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1401373e0]
lea rax, [rdi + 0x40000000]
cmp r15, rax
cmova r15, rax
sub r15, 0xfff
test rsi, rsi
je 0x14001e77e
cmp rsi, r14
jb 0x14001e776
cmp rsi, r15
jae 0x14001e776
cmp qword [rsi + 8], 0
jne 0x14001e93d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14001e761
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
cmp rdi, r14
jb 0x14001e7f9
nop word [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x14001e7f9
nop word [rax + rax]
mov r8d, gethostbyname
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001e7f9
cmp dword [rsp + 0x70], 0x10000
je 0x14001e87b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x14001e7f9
sub rbx, rbp
cmp rbx, r14
jae 0x14001e7c0
test rsi, rsi
jne 0x14001e8e6
cmp rdi, r15
ja 0x14001e92d
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x14001e92d
mov r8d, gethostbyname
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001e92d
cmp dword [rsp + 0x70], 0x10000
je 0x14001e8b4
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x14001e832
jmp 0x14001e92d
test rbx, rbx
je 0x14001e7f9
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14001e8e6
cmp rbx, r14
jae 0x14001e7a0
jmp 0x14001e802
test rdi, rdi
je 0x14001e92d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14001e8e6
cmp rdi, r15
jbe 0x14001e810
jmp 0x14001e92d
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x14001e900
mov rax, qword [0x1401373e0]
mov qword [rsi], rax
mov qword [0x1401373e0], rsi
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x14001e9e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
sub rsp, 0x60
mov rsi, qword [0x14013a3e8]
mov rbx, r8
mov rcx, rsi
mov ebp, 5
call fcn.14001e700
test rax, rax
je 0x14001eb8e
mov qword [rsp + 0x70], rdi
lea rcx, [rsp + 0x20]
mov rdi, qword [rax + 8]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rdi
mov rdx, qword [rdi]
inc dword [rax + 0x10]
mov qword [rax + 8], rdx
lea rax, [0x14001d260]
mov qword [rsp + 0x28], rax
call fcn.14001ec90
test eax, eax
je 0x14001ea77
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rbx], rax
test rax, rax
je 0x14001ea7f
xor edx, edx
lea r8d, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14001ea98
mov rcx, rdi
call fcn.14001e960
xor eax, eax
mov rdi, qword [rsp + 0x70]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
mov ecx, dword [rsp + 0x40]
and dword [rbx + 0x21], 0xfffffff0
mov rdi, qword [rsp + 0x20]
mov qword [rax], rdi
mov rax, qword [rsp + 0x38]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rax
movzx eax, cl
xor al, byte [rbx + 0x20]
and al, 1
xor byte [rbx + 0x20], al
mov eax, dword [rsp + 0x44]
movzx edx, byte [rbx + 0x20]
and eax, 0xf
or dword [rbx + 0x21], eax
and dl, 0xf9
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x25], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x2d], rax
mov byte [rbx + 0x20], dl
test ecx, ecx
je 0x14001eb06
mov eax, dword [rsi - 5]
mov dword [rbx + 0x18], eax
movzx eax, word [rsi - 1]
mov word [rbx + 0x1c], ax
movzx eax, byte [rsi + 1]
mov byte [rbx + 0x1e], al
jmp 0x14001eb12
mov eax, dword [rsi]
mov dword [rbx + 0x18], eax
movzx eax, byte [rsi + 4]
mov byte [rbx + 0x1c], al
test dl, 1
je 0x14001eb20
add rdi, 0xfffffffffffffffb
mov ebp, 7
lea r9, [rsp + 0x78]
mov r8d, 0x40
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001ea7f
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x14001eb5b
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x78]
lea r9, [rsp + 0x78]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rax, rbx
jmp 0x14001ea81
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x14001eba0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rcx + 0x20], 1
mov rdi, rcx
mov rbx, qword [rcx]
mov esi, 5
je 0x14001ebc8
sub rbx, rsi
mov esi, 7
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001ebf3
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rdi + 0x18]
test byte [rdi + 0x20], 1
mov dword [rbx], eax
je 0x14001ec0f
movzx eax, word [rdi + 0x1c]
mov word [rbx + 4], ax
movzx eax, byte [rdi + 0x1e]
mov byte [rbx + 6], al
jmp 0x14001ec16
movzx eax, byte [rdi + 0x1c]
mov byte [rbx + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x38]
mov eax, 1
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f080
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x14013a4b0], ecx
lea rax, [0x14013a4b4]
mov r8d, 1
mov edx, dword [rax - 4]
lea rax, [rax + 4]
shr edx, 0x1e
xor edx, dword [rax - 8]
imul ecx, edx, 0x6c078965
add ecx, r8d
inc r8d
mov dword [rax - 4], ecx
cmp r8d, 0x270
jl 0x14001f093
mov dword [0x140131494], 1
mov dword [0x140137324], 1
ret

Function at 0x14001f0d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140137324], 0
lea rbx, [0x14013a4b0]
jne 0x14001f12f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14013a4b0], eax
mov edx, 1
lea r8, [0x14013a4b4]
nop
mov ecx, dword [r8 - 4]
lea r8, [r8 + 4]
shr ecx, 0x1e
xor ecx, dword [r8 - 8]
imul eax, ecx, 0x6c078965
add eax, edx
inc edx
mov dword [r8 - 4], eax
cmp edx, 0x270
jl 0x14001f100
mov dword [0x140137324], 1
mov dword [0x140131494], 0x270
mov r8d, 0xe3
mov qword [0x14013ae70], rbx
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, eax
xor ecx, dword [rbx]
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx + 0x634]
mov dword [rbx], ecx
add rbx, 4
sub r8d, 1
jne 0x14001f150
mov r8d, 0x18c
nop word [rax + rax]
mov eax, dword [rbx + 4]
lea rdx, [rbx + 4]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx - 0x38c]
mov dword [rbx], ecx
lea rbx, [rdx]
sub r8d, 1
jne 0x14001f190
mov eax, dword [0x14013a4b0]
mov ecx, dword [rdx]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rdx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x14002ab20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
movzx eax, word [0x140131460]
xor ebp, ebp
mov word [rsp + 0x22], ax
mov eax, 0x7b
mov dword [rsp + 0x48], eax
mov ebx, SafeArrayAllocDescriptor
mov word [rsp + 0x20], bx
mov r10, r8
mov dword [rsp + 0x24], 0x90028
mov rsi, rdx
mov dword [rsp + 0x28], 0x3e003c
mov r11, rcx
mov dword [rsp + 0x2c], 0x3d003a
mov dword [rsp + 0x30], 0x2d002b
mov dword [rsp + 0x34], 0x2f002a
mov dword [rsp + 0x38], 0x7e0021
mov dword [rsp + 0x3c], 0x7c0026
mov dword [rsp + 0x40], 0x5b005e
mov dword [rsp + 0x44], 0x3f002e
test r8, r8
je 0x14002abe0
movzx edx, word [r8]
test dx, dx
je 0x14002abf5
lea rcx, [rsp + 0x20]
mov eax, ebx
nop dword [rax + rax]
cmp dx, ax
je 0x14002abe3
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14002abc0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14002abb4
mov r8, rbp
test r8, r8
je 0x14002abf5
cmp r8, r10
lea rbx, [r8 - 2]
cmovbe rbx, r8
jmp 0x14002ac12
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r10 + rax*2], bp
jne 0x14002ac00
lea rbx, [r10 - 2]
lea rbx, [rbx + rax*2]
cmp rbx, r10
jbe 0x14002ac2f
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14002ac26
cmp ax, 9
jne 0x14002ac2f
sub rbx, 2
cmp rbx, r10
ja 0x14002ac17
mov rdi, rbx
sub rdi, r10
sar rdi, 1
inc rdi
cmp rdi, 0xfd
jbe 0x14002ac5f
test r9b, r9b
je 0x14002ac5b
mov r8, r10
lea rdx, str.This_line_does_not_contain_a_recognized_action.
mov rcx, r11
call fcn.1400410d0
xor eax, eax
jmp 0x14002ac74
mov r8, rdi
mov rdx, r10
mov rcx, rsi
call fcn.1400cc9b8
mov rax, rbx
mov word [rsi + rdi*2], bp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14003d810
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rdi
push r12
sub rsp, 0x138
mov eax, dword [0x14012fa54]
mov r12, rdx
cmp dword [0x1401341dc], eax
mov rdi, rcx
jl 0x14003d83f
mov eax, 4
add rsp, 0x138
pop r12
pop rdi
ret
mov qword [rsp + 0x150], rbx
mov rbx, qword [0x140134400]
mov qword [rsp + 0x158], rbp
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x130], r13
cmp byte [rbx + 0x23], 0
mov qword [rsp + 0x128], r14
mov qword [rsp + 0x120], r15
jne 0x14003d880
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x14003d88e
mov rcx, rbx
call fcn.140001420
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x14003d8aa
test byte [rbx + 0x21], 4
je 0x14003d8a4
mov rdx, rbx
call fcn.140041b00
mov rdx, qword [rbx + 8]
jmp 0x14003d90d
cmp al, 2
jne 0x14003d906
mov rdx, qword [0x14013a238]
test rdx, rdx
jne 0x14003d90d
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14003d8e6
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
lea rcx, [0x1400ee140]
lea rdx, [0x140117ad8]
cmovne rdx, rcx
jmp 0x14003d90d
xor edx, edx
call fcn.140004f70
mov ecx, 0xffffffff
lea rdx, [0x140117ad8]
cmp rax, rcx
cmovne rdx, qword [0x14013a230]
jmp 0x14003d90d
lea rdx, [0x140139518]
mov r8d, 0x7f
lea rcx, [rsp + 0x20]
call fcn.1400cc9b8
xor r13d, r13d
mov r9b, 0x65
mov r8b, 1
mov word [rsp + 0x11e], r13w
xor edx, edx
xor ecx, ecx
call fcn.140004190
mov rsi, qword [0x14013a0b8]
mov r14, qword [0x14013a0c0]
mov ebp, dword [0x14013a144]
mov r15d, dword [0x14013a148]
mov qword [0x14013a0c0], rsi
mov dword [0x14013a148], ebp
mov qword [0x14013a0b8], r12
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14013a19c], eax
mov dword [0x14013a198], eax
mov dword [0x14013a144], eax
mov rax, qword [0x14012fa58]
mov qword [0x140139c88], rdi
cmp byte [rax + 0x139], r13b
je 0x14003d9d2
movsxd rax, dword [0x1401373ec]
lea rbx, sym.MZ_kiv9nMDWjqg_I7rrTcpI88_u4Z_bB_FPuaQ9q_
mov qword [rbx + rax*8 + 0x137a40], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x1401373ec]
mov dword [rbx + rdx*4 + 0x137400], eax
inc edx
cmp edx, 0x190
cmovge edx, r13d
mov dword [0x1401373ec], edx
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rdi
call fcn.14007b530
mov r13, qword [rsp + 0x130]
mov ebx, eax
cmp eax, 1
jne 0x14003d9fc
mov rcx, rdi
call fcn.14003b0e0
mov ebx, eax
mov rax, qword [0x14012fa58]
mov rcx, qword [rax + 0xf8]
mov qword [0x140134408], rcx
lea rcx, [rsp + 0x20]
mov qword [0x14013a0b8], rsi
mov dword [0x14013a144], ebp
mov qword [0x14013a0c0], r14
mov dword [0x14013a148], r15d
call fcn.140004340
mov r15, qword [rsp + 0x120]
mov eax, ebx
mov rbx, qword [rsp + 0x150]
mov r14, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x160]
mov rbp, qword [rsp + 0x158]
add rsp, 0x138
pop r12
pop rdi
ret