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

Disassembly:
jmp 0x14025f030
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x140568cd7]
call fcn.1401589dc
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x140433b70]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x14025f176
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x14025f0ca
mov dword [rbp + 0x160], 1
jmp 0x14025f0d4
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x14025f171
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x14025f14b
cmp qword [rbp + 0x198], 2
jb 0x14025f14b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14025f14b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14025f14b
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x14025f095
jmp 0x14025f210
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x14025f210
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x14025f1e7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14025f1e7
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14025f1e7
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x14025f176
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1401569a2
Capabilities:
Parse pe header

Disassembly:
jmp 0x1403b70c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1403b70e0
xor al, al
jmp 0x1403b7161
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1403b70f3
xor al, al
jmp 0x1403b7161
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 0x1403b711d
xor al, al
jmp 0x1403b7161
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1403b7131
xor al, al
jmp 0x1403b7161
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1403b7143
xor al, al
jmp 0x1403b7161
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1403b715f
xor al, al
jmp 0x1403b7161
mov al, 1
add rsp, 0x38
ret
Function at 0x140157a41
Capabilities:
Create directory

Disassembly:
jmp 0x140387e90
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140527100]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140387ecd
mov byte [rsp + 0x24], 1
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140387f42
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
jne 0x140387f30
mov edx, 1
mov ecx, 2
call fcn.1401523ca
mov r9d, 0xffffffff
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140153e7d
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140387f30
mov edx, 0x10
mov ecx, dword [rsp + 0x48]
call fcn.140152d61
movzx eax, al
test eax, eax
jne 0x140387f30
mov dword [rsp + 0x20], 0xb7
mov byte [rsp + 0x2c], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140155363
add rsp, 0x68
ret
Function at 0x140158158
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x14025ef10
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x140568cd7]
call fcn.1401589dc
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x140433b70]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x14025ef90
mov dword [rbp + 0x120], 1
jmp 0x14025ef9a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x14025efe3
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x14025ef5b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140158211
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140193ba0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x166
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x818]
mov rax, qword [0x140527100]
xor rax, rbp
mov qword [rbp + 0x7c8], rax
mov qword [rbp + 0x508], 0
lea rcx, [0x1405686c1]
call fcn.1401589dc
nop
mov dword [rbp + 0x10], 0x438
mov rax, qword [rbp + 0x7f0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call fcn.14015527d
mov qword [rbp + 0x468], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x468]
call fcn.1401561dc
nop
mov dword [rbp + 0x484], 0
call fcn.1401579e2
mov dword [rbp + 0x4a4], eax
mov qword [rbp + 0x4c8], 0
mov qword [rbp + 0x4e8], 0
mov rcx, qword [rbp + 0x7f8]
call fcn.1401529c4
mov qword [rbp + 0x798], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x4c8], rax
cmp qword [rbp + 0x4c8], 0
jne 0x140193c90
mov qword [rbp + 0x7a0], 0
jmp 0x140193d7b
mov rcx, qword [rbp + 0x4c8]
call qword [sym.imp.ucrtbased.dll_wcslen]
inc eax
mov dword [rbp + 0x484], eax
cmp dword [rbp + 0x484], 0x3fffffff
jle 0x140193cc1
mov qword [rbp + 0x7a8], 0
jmp 0x140193d6d
movsxd rax, dword [rbp + 0x484]
shl rax, 1
mov qword [rbp + 0x7b0], rax
movsxd rcx, dword [rbp + 0x484]
shl rcx, 1
add rcx, 0x24
mov qword [rbp + 0x7b8], rcx
mov rcx, qword [rbp + 0x7b8]
add rcx, 0xf
cmp rcx, qword [rbp + 0x7b8]
ja 0x140193d05
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401533c9
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x7c0], rax
lea r8, [rbp + 0x508]
mov rdx, qword [rbp + 0x7b8]
mov rcx, qword [rbp + 0x7c0]
call fcn.1401593eb
add qword [rbp + 0x7c0], 0x20
mov r9d, dword [rbp + 0x4a4]
mov rax, qword [rbp + 0x7b0]
mov r8d, eax
mov rdx, qword [rbp + 0x4c8]
mov rcx, qword [rbp + 0x7c0]
call fcn.1401545b2
mov qword [rbp + 0x7a8], rax
mov rax, qword [rbp + 0x7a8]
mov qword [rbp + 0x7a0], rax
mov rdx, qword [rbp + 0x798]
mov rcx, qword [rbp + 0x7a0]
call fcn.140159472
test eax, eax
jne 0x140193dc0
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x768], rax
mov rcx, qword [rbp + 0x7f8]
call fcn.140153419
mov rax, qword [rbp + 0x768]
jmp 0x140193e04
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x468]
call fcn.14015305e
test eax, eax
jne 0x140193c58
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbp + 0x788], 0
mov rcx, qword [rbp + 0x7f8]
call fcn.140153419
mov rax, qword [rbp + 0x788]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140416a50]
mov r8, qword [rbp + 0x508]
call fcn.14015648e
mov rax, rdi
mov rcx, qword [rbp + 0x7c8]
xor rcx, rbp
call fcn.140155363
lea rsp, [rbp + 0x7d8]
pop rdi
pop rbp
ret
Function at 0x14015886f
Capabilities:
Write file on windows

Disassembly:
jmp 0x14037bc70
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140527100]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x1405699a7]
call fcn.1401589dc
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x14037bcd7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14037bcde
mov al, 1
jmp 0x14037be4e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140153d42
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.140153d42
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.140157357
movzx eax, al
test eax, eax
je 0x14037bd41
xor al, al
jmp 0x14037be4e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x14037bdb4
cmp dword [rbp + 0x160], 1
je 0x14037bdbf
cmp dword [rbp + 0x160], 3
je 0x14037be3d
jmp 0x14037be4c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14037be0f
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14037be0f
xor al, al
jmp 0x14037be4e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14037be2a
mov dword [rbp + 0x154], 1
jmp 0x14037be34
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14037be4e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14037be4e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14046ecc0]
call fcn.1401577a3
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140155363
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140159634
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140180ec0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1405683f5]
call fcn.1401589dc
nop
movzx eax, byte [0x14052950f]
test eax, eax
jne 0x140180ef0
jmp 0x140180fd1
mov dword [rbp + 4], 0
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140180f10
mov byte [rbp + 0x154], 1
jmp 0x140180f17
mov byte [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x24], al
mov rcx, qword [rbp + 0x180]
call fcn.140159670
mov byte [rbp + 0x44], al
mov edx, dword [rbp + 4]
lea rcx, [0x140528460]
call fcn.1401585e0
nop
movzx eax, byte [rbp + 0x24]
test eax, eax
je 0x140180f8a
movzx eax, byte [rbp + 0x44]
test eax, eax
je 0x140180f8a
mov dword [rbp + 0x144], 5
lea rdx, [rbp + 0x144]
lea rcx, [rbp + 0x128]
call fcn.140156e02
mov rcx, rax
call fcn.140159675
nop
mov edx, 0x10001
lea rcx, [0x140528460]
call fcn.1401585e0
nop
jmp 0x140180fd1
movzx eax, byte [rbp + 0x24]
test eax, eax
je 0x140180fae
movzx eax, byte [rbp + 0x44]
test eax, eax
jne 0x140180fae
mov edx, 0x100
lea rcx, [0x140528460]
call fcn.1401585e0
nop
jmp 0x140180fd1
movzx eax, byte [rbp + 0x24]
test eax, eax
jne 0x140180fd1
cmp dword [rbp + 4], 0x10001
jne 0x140180fd1
mov edx, 0x100
lea rcx, [0x140528460]
call fcn.1401585e0
nop
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1403b5450
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140158dd3
movzx eax, al
test eax, eax
jne 0x1403b5470
mov ecx, 7
call fcn.14015783e
nop
mov byte [rsp + 0x20], 0
call fcn.1401579f6
mov byte [rsp + 0x21], al
cmp dword [0x1405340d8], 1
jne 0x1403b5494
mov ecx, 7
call fcn.14015783e
nop
jmp 0x1403b54ec
cmp dword [0x1405340d8], 0
jne 0x1403b54e7
mov dword [0x1405340d8], 1
lea rdx, [0x140410f98]
lea rcx, [0x140410c68]
call fcn.14015525a
test eax, eax
je 0x1403b54c8
mov eax, 0xff
jmp 0x1403b55f1
lea rdx, [0x140410b58]
lea rcx, [section..rdata]
call fcn.1401579a1
mov dword [0x1405340d8], 2
jmp 0x1403b54ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140157717
call fcn.140156c4a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1403b5549
mov rcx, qword [rsp + 0x30]
call fcn.140154940
movzx eax, al
test eax, eax
je 0x1403b5549
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 [0x14056b020]
nop
call fcn.1401570aa
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1403b557d
mov rcx, qword [rsp + 0x38]
call fcn.140154940
movzx eax, al
test eax, eax
je 0x1403b557d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140158680
nop
call fcn.1403b5660
mov dword [rsp + 0x28], eax
call fcn.1401569a2
movzx eax, al
test eax, eax
jne 0x1403b559c
mov ecx, dword [rsp + 0x28]
call fcn.1401527d0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1403b55ab
call fcn.1401587c0
nop
xor edx, edx
mov cl, 1
call fcn.140154738
mov eax, dword [rsp + 0x28]
jmp 0x1403b55f1
add rsp, 0x68
ret
Function at 0x1400066e1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
test byte [rdx], 1
je 0x140006720
lea rax, [rdx + 8]
cmp qword [rdx + 0x38], 0xffffffffffffffff
mov r8, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov r10, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
je 0x140006814
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x140006823
cmp byte [rdx + 0x1a], 0
jne 0x140006837
mov r8, qword [rdx + 0x48]
mov rax, qword [rdx + 0x50]
mov r9, qword [rdx + 8]
mov r10b, byte [rdx + 0x18]
mov r11d, r10d
xor r11b, 1
mov byte [rdx + 0x18], r11b
test r9, r9
je 0x140006761
cmp rax, r9
jbe 0x14000675b
cmp byte [r8 + r9], 0xbf
jg 0x140006761
jmp 0x140006856
jne 0x140006856
cmp r9, rax
je 0x14000682d
movzx r11d, byte [r8 + r9]
test r11b, r11b
jns 0x1400067ca
mov esi, r11d
and esi, 0x1f
movzx ebx, byte [r8 + r9 + 1]
and ebx, 0x3f
cmp r11b, 0xdf
jbe 0x1400067b8
movzx edi, byte [r8 + r9 + 2]
shl ebx, 6
and edi, 0x3f
or edi, ebx
cmp r11b, 0xf0
jb 0x1400067c2
movzx r11d, byte [r8 + r9 + 3]
and esi, 7
shl esi, 0x12
shl edi, 6
and r11d, 0x3f
or r11d, edi
or r11d, esi
jmp 0x1400067ca
shl esi, 6
or esi, ebx
mov r11d, esi
jmp 0x1400067ca
shl esi, 0xc
or edi, esi
mov r11d, edi
test r10b, 1
jne 0x14000683b
cmp r11d, 0x110000
je 0x140006833
mov r10d, 1
cmp r11d, 0x80
jb 0x140006808
mov r10d, 2
cmp r11d, 0x800
jb 0x140006808
cmp r11d, 0x10000
mov r10d, 4
sbb r10, 0
add r9, r10
mov qword [rdx + 8], r9
jmp 0x140006736
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.140006858
jmp 0x14000684e
test r10b, 1
jne 0x14000683e
mov byte [rdx + 0x1a], 1
xor eax, eax
jmp 0x14000684b
mov rax, r9
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov eax, 1
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
ud2
Function at 0x140008eab
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x30
lea rsi, [rsp + 0x28]
and qword [rsi], 0
mov edx, 8
mov rcx, rsi
call sub.advapi32.dll_SystemFunction036
mov rax, qword [rsi]
add rsp, 0x30
pop rsi
ret

Function at 0x14000962b
Capabilities:
Write file on windows

Disassembly:
mov r9, rcx
mov ecx, 0xfffffff4
jmp fcn.140009680
Function at 0x14000a9db
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
movups xmm0, xmmword [0x1400127b0]
lea rax, [rsp + 0x60]
movaps xmmword [rax], xmm0
mov ecx, 0xffffffff
cmp r8, rcx
cmovb rcx, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14000aa41
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0
cmp eax, 0xc0000011
je 0x14000aa7a
cmp eax, 0x103
je 0x14000aa86
test eax, eax
js 0x14000aa63
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
jmp 0x14000aa7a
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ecx, 1
mov rax, rcx
add rsp, 0xb0
pop rsi
ret
lea rcx, [rsp + 0x58]
mov byte [rcx + 4], 0
and dword [rcx], 0
lea rax, [0x140012818]
lea rdx, [rsp + 0x80]
mov qword [rdx], rax
mov qword [rdx + 8], 1
lea rax, [rsp + 0x50]
mov qword [rdx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rdx + 0x18], xmm0
call fcn.140009ac9
lea rcx, [rsp + 0x78]
mov qword [rcx], rax
call fcn.140009520
mov ecx, 7
int 0x29
ud2
Function at 0x14000cdfc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ce46
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ce46
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ce46
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ce46
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ce46
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000ce48
xor al, al
add rsp, 0x28
ret
Function at 0x1800278d0
Capabilities:
Parse pe header

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

Function at 0x18002d34c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xdeac
cmp ecx, eax
ja 0x18002d3a4
je 0x18002d39b
mov eax, 0xc433
cmp ecx, eax
ja 0x18002d37f
je 0x18002d39b
mov eax, ecx
sub eax, 0x2a
je 0x18002d39b
sub eax, 0xc402
je 0x18002d39b
sub eax, 1
je 0x18002d39b
sub eax, 1
je 0x18002d39b
cmp eax, 3
jmp 0x18002d399
mov eax, ecx
sub eax, 0xc435
je 0x18002d39b
sub eax, 0x1263
je 0x18002d3d7
sub eax, 0x812
je 0x18002d39b
cmp eax, 1
jne 0x18002d39d
xor edx, edx
call fcn.18010bd7a
cmp cl, byte [rbx - 0x2152d23f]
add byte [rax], al
mov eax, ecx
sub eax, 0xdead
je 0x18002d39b
sub eax, 1
je 0x18002d39b
sub eax, 1
je 0x18002d39b
sub eax, 1
je 0x18002d39b
sub eax, 1
je 0x18002d39b
sub eax, 1
je 0x18002d39b
sub eax, 1
je 0x18002d39b
sub eax, 0x1f35
je 0x18002d39b
cmp eax, 1
jne 0x18002d39d
and edx, 8
jmp 0x18002d39d

Function at 0x1800ada93
Capabilities:
Encode data using xor

Disassembly:
add esi, 0x8aaba620
not sil
push r15
add qword [rsp + 8], 0xffffffffffef60c6
push 0xffffffff920b5a08
mov r15, rsi
and qword [rsp + rsi - 0x6a6855ca], r15
shr r15b, 0x43
neg byte [rsp + rsi - 0x6a6855ca]
jns 0x1801bb31d
mov rax, rsi
mov rax, qword [rsp + rsi - 0x6a6855ba]
mov rax, qword [rax + rsi - 0x6a6855ca]
mov qword [rsp + r15 - 0x6a685509], r15
xchg edi, eax
xchg ebp, eax
jb 0x1800bddf3
xor al, 0x97
pop rbp
jb 0x1800adae1
sti
add edx, edi
cmpsb byte [rsi], byte [rdi]
sbb dword [rsi - 0x56], edi
pop rdx
sbb edx, dword [rdi + rdi*2]
invalid
sti
sbb dword [rbp - 0x21], 0x3938e7e5
invalid
shl r15, 0xb5
xor r15w, r15w
cmovge r15, qword [rsp + 0x10]
test word [rsp + r15 - 0x6a685508], r15w
push rcx
lea rax, [rax - 0x7afef7d2]
mov rcx, qword [rsp + r15 - 0x6a685501]
call fcn.1801d1186
jo 0x1800bddc2
cwde
invalid

Function at 0x1801160cc
Capabilities:
Packed with generic packer

Disassembly:
cmp cx, 0xa716
jbe 0x1800a8b0c

Function at 0x1801320ae
Capabilities:
Packed with generic packer

Disassembly:
movsx di, dil
setb dil
push r13
sub edi, 0xc134b183
mov rdi, qword [rsp + rdi*2 - 0x20e09ce4]
mov qword [rsp + 0x18], rax
add qword [rsp + 8], 0x1311c9
movabs r13, 0x343cd999cd313724
push rdx
movabs rdx, 0xee98e083ec192706
add r13w, dx
shl dl, 0xd
nop
js 0x1801edeaf
shl r13b, 0xc1
neg edx
movabs rax, 0xb63ee70a898cc91c
add dl, dh
neg al
push rdi
push r15
mov rax, qword [rsp + 0x20]
Function at 0x1801528df
Capabilities:
Packed with generic packer

Disassembly:
shl r13, 0x4e
xchg qword [rsp + rsi*2 - 0x640a1f58], rcx
mov rsi, qword [rsp + 0x18]
cmp r13, 0x73d4a99
lea r13, [r13*2 + 0x2f06b12b]
not r13b
mov r13, qword [rsp + 0x20]
jne 0x180249bc6
and al, 0x80
loopne 0x1800b4213
invalid
or eax, 0x11f2ac7e
invalid
neg esi
jne 0x1800b41a5
ja 0x18015294b
and byte [rax], dl
sub dl, byte [rdx + 0x45]
test byte [rbx], dh
leave
or al, byte [rax - 0x3c]
sub edi, dword [rdx + 0x46879885]
add dword [rsp + riz*4 + 0x2a], 0x5c732a09
and dword [rsi], edx
fisttp qword [rcx]
sub byte [rdi + 0x48], ah
push rdx
hlt
mov edi, 0x146157b8
add byte [rbx], bl
xchg rsp, rax
mov ch, ah
cmp al, 0x99
xor ebx, dword [0x19b153dbf]
xchg rsp, rax
mov eax, 0x42fdffdf
mov dl, 0x17
invalid
call fcn.180096c9a

Function at 0x180160c92
Capabilities:
Packed with generic packer

Disassembly:
jne 0x180240d27
movzx r10, word [rsp + 0x28]
mov r10, qword [rsp + r10*4 - 0x3d0c4]
setae byte [rsp + 0x28]
call fcn.180235670
std
add al, bl
mov ah, 0x4e
insd dword [rdi], dx
xor al, 0x7b
adc eax, r10d
xchg edi, eax
invalid
cmp ecx, dword [rbx + 0x271c5057]
rcl dword [rcx - 0x3218cdfb], 0xcb
pop rbx
jmp [rax + 0x51707f05]
jns fcn.1801c4467
mov r8, qword [rsp + 0x38]
add qword [rsp + 0x48], 0x7fee339e
shr byte [rsp + 0x80], 0xc2
call fcn.18014f8c9
loop 0x180240cdb
call 0x124893f5e
wait
invalid

Function at 0x180170930
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rdx - 0x80], ch
and al, 8
mov ecx, dword [rdi]
xchg byte [rcx + 0x55], bh
or al, 0
mov dword [rsp + 8], 0xe484ef26
call fcn.1801a5611
lea rax, [r15 + riz - 0x39f5a2fd]
mov rax, qword [rsp + r15 - 0x4faa2293]
mov rax, qword [rax + r15 - 0x4faa229b]
call fcn.1800ad45b
add ebx, dword [rbp + 0xa]
invalid
cmp r13, 0x279a2805
call int.18021f222
cmp cl, byte [rcx]
sub byte [rsi + 0x4fd1eca9], al
jo 0x180170917
mov al, 0x82
fldenv [rax + 9]
push rdi
sub ch, ah
movabs al, byte [0xc0f1a0cba9cc616e]
jns 0x1801708f9
cmp bh, bl
movabs al, byte [0x6d23386ffe3988f1]
xor dword [rax - 0x74], ebx
out 0xb2, eax
jg 0x18017095c
mov dl, 0xff
invalid

Function at 0x1801aa671
Capabilities:
Packed with generic packer

Disassembly:
movabs al, byte [0x58e45d07e78a7301]
and eax, 0xff792752
invalid
mov r13, rdx
jle 0x18024e73f
test al, 0x8f
in eax, dx
rol dword [rsi - 0x68], cl
jrcxz 0x1801aa61d
cmpsb byte [rsi], byte [rdi]
xor al, 0xe6
loop 0x1801aa703
push rcx
and al, 0x7a
scasd eax, dword [rdi]
invalid
xchg ecx, eax
invalid
movsxd r15, r15d
lea r15, [r15*8 - 0x4efff1e3]
mov qword [rsp + 0x20], r15
jbe 0x1800f71c5
stosb byte [rdi], al
sbb eax, 0x222d54e7
invalid
jb 0x18020a225
xor byte [rsp + 0x40], 0xa
mov r13, qword [rsp + 8]
sub r8b, byte [rsp + 0x43]
lea r8, [r8*4 - 0x2ddc7472]
cmp r8d, dword [rsp + 0x43]
jg 0x1800aae51
call fcn.180007f22
and dh, byte [rcx + 0x44a712a5]
fyl2xp1
jmp 0x18024e7c8
invalid