joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48eb80
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48edcb
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov ebx, dword [rax + 0x2c]
nop dword [rax + rax]
test ebx, ebx
jne 0x48ec2c
mov qword [rsp + 0x88], rax
lea rbx, [0x005a0480]
mov rcx, rax
lea rax, [0x0070f500]
call fcn.0046b700
test cl, cl
jne 0x48ec11
mov rax, qword [rsp + 0x88]
call fcn.0048b8c0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x005ec7f0]
call fcn.0044ce40
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rbx
nop dword [rax]
call fcn.00490160
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x48ec4d
lea rdx, [0x005a01c0]
cmp rax, rdx
jne 0x48ec3b
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
call fcn.0045ef80
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x005805a0]
call fcn.0040b080
inc rdx
cmp rbx, rdx
jle 0x48ec98
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x48ec4a
lea rax, [0x0070f500]
lea rbx, [0x005a0480]
lea rdi, [0x005a01c0]
call fcn.0046b8c0
lea rdx, [0x005a01c0]
nop dword [rax]
cmp rax, rdx
jne 0x48edbb
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
lea rcx, [0x00576280]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x0058a440]
nop
call fcn.0040dda0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x00762740], 0
jne 0x48ecfa
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
jmp 0x48ed09
mov rbx, rax
lea rax, [0x0058a440]
call fcn.00413fa0
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
nop dword [rax]
call fcn.0048b360
call fcn.0045f080
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x48ed56
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
cmp rax, 1
jl 0x48ed48
mov dword [rsi + 0x10], edx
cmp dword [0x00762740], 0
jne 0x48ed6e
mov qword [rsi + 0x30], rcx
jmp 0x48ed77
lea rdi, [rsi + 0x30]
call fcn.004635e0
lea rax, [0x0070f500]
lea rbx, [0x005a0480]
lea rdi, [0x005a01c0]
call fcn.0046b8c0
lea rdx, [0x005a01c0]
cmp rax, rdx
jne 0x48edac
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x005805a0]
call fcn.0040b080
mov rbx, rdx
lea rcx, [0x005805a0]
call fcn.0040b080
nop
mov qword [rsp + 8], rax
call fcn.00461320
mov rax, qword [rsp + 8]
jmp fcn.0048eb80
Function at 0x51c500
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x51c518
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x51c518
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x51c520
xor eax, eax
ret
cmp rbx, 3
je 0x51c52c
cmp rbx, 4
jne 0x51c559
cmp al, 0x2c
ja 0x51c546
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x51c556
cmp al, 0x24
je 0x51c556
nop dword [rax]
cmp al, 0x26
jae 0x51c556
jmp 0x51c559
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x51c556
cmp al, 0x5b
je 0x51c556
cmp al, 0x5d
jne 0x51c559
xor eax, eax
ret
cmp al, 0x2f
ja 0x51c592
nop dword [rax]
cmp al, 0x26
ja 0x51c571
cmp al, 0x24
je 0x51c5b1
cmp al, 0x26
je 0x51c5b1
jmp 0x51c62b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x51c5b1
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x51c628
cmp al, 0x2f
je 0x51c5b1
jmp 0x51c62b
cmp al, 0x3d
ja 0x51c5a9
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x51c5b1
nop
cmp al, 0x3d
je 0x51c5b1
jmp 0x51c62b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x51c620
cmp rbx, 2
jg 0x51c5e7
cmp rbx, 1
je 0x51c5e1
nop dword [rax]
cmp rbx, 2
jne 0x51c62b
cmp al, 0x2f
je 0x51c5d2
cmp al, 0x3b
je 0x51c5d2
cmp al, 0x2c
jne 0x51c5d9
mov ecx, 1
jmp 0x51c5de
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x51c60a
cmp al, 0x40
je 0x51c5f9
cmp al, 0x2f
je 0x51c5f9
cmp al, 0x3f
jne 0x51c602
mov ecx, 1
nop
jmp 0x51c607
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x51c619
cmp rbx, 7
jne 0x51c62b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x51c628
cmp al, 0x7e
jne 0x51c62b
xor eax, eax
ret
cmp rbx, 7
jne 0x51c641
cmp al, 0x21
je 0x51c63d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x51c641
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x140003210
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140004110
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004110
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140003280
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x1400033b0
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400032cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003355
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400032b0
mov rcx, rbx
call fcn.140003cd0
mov rdi, rax
test rax, rax
je 0x1400033d2
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003e10
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400033b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000334e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003360
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000334e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140003210
nop dword [rax]
xor esi, esi
jmp 0x1400032d8
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140003210
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140003210
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003940
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000399c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003993
test rsi, rsi
je 0x140003993
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003978
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003cd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400069e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003cf0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003cf8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003cf0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003d4d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003d44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003cf0
add rax, 0x28
cmp rax, r9
jne 0x140003d30
xor eax, eax
ret

Function at 0x140003d50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400069e0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140003d6f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003d78
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003d6f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003e10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400069e0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003e2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003e38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002dfc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140003598
Capabilities:
Parse pe header

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

Function at 0x140009608
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009404
Function at 0x14000147f
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000ba20]
mov dword [rax], 1
mov rax, qword [0x14000ba30]
mov dword [rax], 1
mov rax, qword [0x14000ba40]
mov dword [rax], 1
mov rax, qword [0x14000b9e0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d0
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400014fc
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001522
cmp eax, 0x20b
je 0x140001549
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001535
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001564
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002110
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002de2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140010168]
test eax, eax
je 0x140002e7a
lea rax, [0x140010140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140010170]
mov qword [rbp - 8], rax
jmp 0x140002e5e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002e52
cmp qword [rbp - 0x10], 0
je 0x140002e52
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002e18
lea rax, [0x140010140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002e7b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140002f80
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140002fa8
mov eax, 0
jmp 0x140002ff6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140002fd1
mov eax, 0
jmp 0x140002ff6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140002ff1
mov eax, 0
jmp 0x140002ff6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140002ffc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000307a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140003071
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140003071
mov rax, qword [rbp - 8]
jmp 0x14000308f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140003044
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003480
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
movzx r11d, byte [rdx + 3]
mov rsi, rcx
movzx eax, byte [rdx + 2]
mov r14, r8
movzx ebx, byte [rdx + 0xb]
mov r12d, 4
movzx edi, byte [rdx + 0xf]
shl eax, 0x10
lea r15, [rsi + 0x20]
shl r11d, 0x18
lea rbp, [rsi + 0x10]
add r11d, eax
shl ebx, 0x18
movzx eax, byte [rdx + 1]
shl eax, 8
add r11d, eax
shl edi, 0x18
movzx eax, byte [rdx]
add r11d, eax
movzx eax, byte [rdx + 7]
add r11d, dword [rcx]
movzx ecx, byte [rdx + 6]
shl ecx, 0x10
shl eax, 0x18
add eax, ecx
movzx ecx, byte [rdx + 5]
shl ecx, 8
add eax, ecx
movzx ecx, byte [rdx + 4]
add eax, ecx
movzx ecx, byte [rdx + 0xa]
add eax, dword [rsi + 4]
shl ecx, 0x10
add ebx, ecx
movzx ecx, byte [rdx + 9]
shl ecx, 8
add ebx, ecx
movzx ecx, byte [rdx + 8]
add ebx, ecx
movzx ecx, byte [rdx + 0xe]
add ebx, dword [rsi + 8]
shl ecx, 0x10
add edi, ecx
movzx ecx, byte [rdx + 0xd]
shl ecx, 8
add edi, ecx
movzx ecx, byte [rdx + 0xc]
add edi, ecx
add edi, dword [rsi + 0xc]
nop word [rax + rax]
lea r8d, [r11*2 + 1]
mov r10d, r11d
imul r8d, r11d
lea edx, [rax*2 + 1]
imul edx, eax
mov r9d, eax
ror r8d, 0x1b
ror edx, 0x1b
xor r8d, eax
xor edx, r11d
mov r11d, r8d
movzx ecx, dl
mov eax, edx
xor r11d, ebx
xor eax, edi
rol r11d, cl
mov ebx, r10d
add r11d, dword [rbp - 8]
movzx ecx, r8b
rol eax, cl
mov edi, r9d
add eax, dword [rbp - 4]
lea edx, [r11*2 + 1]
imul edx, r11d
lea ecx, [rax*2 + 1]
imul ecx, eax
ror edx, 0x1b
xor edx, eax
ror ecx, 0x1b
xor ebx, edx
xor ecx, r11d
xor edi, ecx
rol ebx, cl
add ebx, dword [rbp]
movzx ecx, dl
rol edi, cl
add edi, dword [rbp + 4]
lea edx, [rbx*2 + 1]
imul edx, ebx
lea ecx, [rdi*2 + 1]
imul ecx, edi
ror edx, 0x1b
xor edx, edi
xor r11d, edx
ror ecx, 0x1b
xor ecx, ebx
rol r11d, cl
xor eax, ecx
add r11d, dword [r15 - 8]
movzx ecx, dl
rol eax, cl
add eax, dword [rbp + 0xc]
lea edx, [r11*2 + 1]
imul edx, r11d
lea ecx, [rax*2 + 1]
imul ecx, eax
ror edx, 0x1b
xor edx, eax
ror ecx, 0x1b
xor ebx, edx
xor ecx, r11d
xor edi, ecx
rol ebx, cl
add ebx, dword [r15]
movzx ecx, dl
rol edi, cl
add edi, dword [rbp + 0x14]
lea edx, [rbx*2 + 1]
imul edx, ebx
lea ecx, [rdi*2 + 1]
imul ecx, edi
ror edx, 0x1b
xor edx, edi
ror ecx, 0x1b
xor r11d, edx
xor ecx, ebx
rol r11d, cl
xor eax, ecx
add r11d, dword [r15 + 8]
movzx ecx, dl
rol eax, cl
add eax, dword [rbp + 0x1c]
lea r15, [r15 + 0x28]
lea rbp, [rbp + 0x28]
sub r12, 1
jne 0x140003540
mov edx, dword [rsi + 0xb0]
mov ecx, dword [rsi + 0xb8]
add edx, r11d
mov rbp, qword [rsp + 0x28]
add ecx, ebx
mov rbx, qword [rsp + 0x20]
mov dword [r14], edx
mov edx, dword [rsi + 0xb4]
mov dword [r14 + 8], ecx
add edx, eax
mov ecx, dword [rsi + 0xbc]
mov rsi, qword [rsp + 0x30]
add ecx, edi
mov rdi, qword [rsp + 0x38]
mov dword [r14 + 0xc], ecx
mov dword [r14 + 4], edx
pop r15
pop r14
pop r12
ret
Function at 0x140007d70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140184020]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
xor esi, esi
call fcn.140003850
call fcn.1400036c0
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007dda
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x140007dde
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140007e2f
call fcn.140003850
call fcn.1400036c0
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140007e16
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140007df0
jmp 0x140007e1a
mov esi, dword [rsp + 0x28]
call fcn.140003850
call fcn.1400036c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000b350
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140007e60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140184020]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov rbx, r8
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140007ff4
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.140018a50
xor eax, eax
test rdi, rdi
je 0x140007f59
cmp rdi, 8
jb 0x140007f5e
movdqa xmm2, xmmword [0x14017c830]
cmp rdi, 0x40
jb 0x140007f37
mov rdx, rdi
lea rcx, [rsi + 0x20]
and edx, 0x3f
mov r8, rdi
sub r8, rdx
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
add rax, 0x40
lea rcx, [rcx + 0x40]
andnps xmm0, xmm2
movdqu xmmword [rcx - 0x60], xmm0
movdqu xmm0, xmmword [rcx - 0x50]
andnps xmm0, xmm2
movdqu xmmword [rcx - 0x50], xmm0
movdqu xmm1, xmmword [rcx - 0x40]
andnps xmm1, xmm2
movdqu xmmword [rcx - 0x40], xmm1
movdqu xmm0, xmmword [rcx - 0x30]
andnps xmm0, xmm2
movdqu xmmword [rcx - 0x30], xmm0
cmp rax, r8
jb 0x140007ef0
cmp rdx, 8
jb 0x140007f59
mov rcx, rdi
mov rdx, rdi
and ecx, 7
sub rdx, rcx
movq xmm0, qword [rax + rsi]
andnps xmm0, xmm2
movq qword [rax + rsi], xmm0
add rax, 8
cmp rax, rdx
jb 0x140007f43
cmp rax, rdi
jae 0x140007f7c
mov r8, rdi
lea rdx, [rax + rsi]
sub r8, rax
nop dword [rax + rax]
not byte [rdx]
lea rdx, [rdx + 1]
sub r8, 1
jne 0x140007f70
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rbp
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, edi
mov rdx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b350
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rax, r8
mov rbp, rdx
mov rdx, rax
lea r8, str.resource
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x1400080d8
call fcn.140003850
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
call fcn.1400036c0
test rbx, rbx
je 0x1400080d8
mov qword [rsp + 0x30], rdi
call fcn.1400036c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x1400080b0
call fcn.140003850
mov r9d, dword [rsp + 0x50]
mov r8, rdi
add r9d, 0xfffffc00
mov rdx, rbp
add r9d, esi
call fcn.140007e60
test eax, eax
je 0x1400080b0
call fcn.1400036c0
call fcn.140003850
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rdi, qword [rsp + 0x30]
mov eax, 1
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret