joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011ea0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov rax, qword [rcx + 0xb0]
xor r9d, r9d
mov r10, rdx
movsxd r8, dword [rax + 0x3c]
mov rbx, rcx
add r8, rax
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
lea rdi, [rax + r8 + 0x18]
test r11d, r11d
jle 0x140011efd
lea rdx, [rdi + 0xc]
nop dword [rax]
mov ecx, dword [rdx]
cmp r10, rcx
jb 0x140011ef1
mov eax, dword [rdx - 4]
add eax, ecx
cmp r10, rax
jb 0x140011f12
inc r9d
add rdx, 0x28
cmp r9d, r11d
jl 0x140011ee0
mov rax, qword [rbx + 0xb0]
add rax, r10
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
movsxd rax, r9d
lea rcx, [rax + rax*4]
mov eax, dword [rdi + rcx*8 + 0x14]
mov ecx, dword [rdi + rcx*8 + 0xc]
mov rdi, qword [rsp + 0x10]
sub rax, rcx
add rax, r10
add rax, qword [rbx + 0xb0]
mov rbx, qword [rsp + 8]
ret

Function at 0x140011f40
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r12
push r13
sub rsp, 0x5b0
mov r13, rcx
lea rcx, [rsp + 0x70]
mov rbp, r8
mov r12, rdx
xor ebx, ebx
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rcx, qword [str.NY_B5TjM9lFpsTx]
xor r11d, r11d
lea rdx, [rsp + 0x1b0]
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], r11
call fcn.14000deb0
movzx eax, byte [rsp + 0x1b0]
lea r11, [rsp + 0x1b0]
lea rcx, [rsp + 0xe0]
test al, al
je 0x140011fc7
movsx eax, al
inc r11
add rcx, 2
mov word [rcx - 2], ax
movzx eax, byte [r11]
test al, al
jne 0x140011fb1
mov word [rcx], bx
mov edx, 0x7fffffff
lea rcx, [rsp + 0xe0]
cmp word [rcx], bx
je 0x140011fea
add rcx, 2
dec rdx
jne 0x140011fd7
jmp 0x14001211a
test rdx, rdx
je 0x14001211a
mov qword [rsp + 0x5d0], rsi
mov qword [rsp + 0x5d8], rdi
mov edi, 0x7fffffff
sub rdi, rdx
xor edx, edx
lea ecx, [rdi + 1]
add rcx, rcx
call fcn.14000e210
mov rsi, rax
test rax, rax
je 0x14001210a
lea rdx, [rdi + 1]
test rdx, rdx
je 0x1400120f5
cmp rdx, 0x7fffffff
ja 0x1400120f5
lea r9, [rsp + 0xe0]
mov r8d, 0x7ffffffe
mov rcx, rax
sub r8, rdx
sub r9, rax
mov r10d, ebx
nop dword [rax + rax]
lea rax, [r8 + rdx]
test rax, rax
je 0x140012081
movzx eax, word [r9 + rcx]
test ax, ax
je 0x140012081
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140012060
jmp 0x140012086
test rdx, rdx
jne 0x140012090
sub rcx, 2
mov r10d, 0x8007007a
mov word [rcx], bx
test r10d, r10d
js 0x1400120f5
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400120f5
mov rax, qword [rsp + 0x50]
mov ebx, 1
mov qword [r12], rax
mov rax, qword [rsp + 0x58]
mov dword [r13 + 0xa4], ebx
mov qword [rbp], rax
mov rcx, qword [0x14001e780]
mov r8, rsi
mov edx, 8
call qword [0x14001e798]
mov rsi, qword [rsp + 0x5d0]
mov rdi, qword [rsp + 0x5d8]
mov eax, ebx
mov rbx, qword [rsp + 0x5e0]
add rsp, 0x5b0
pop r13
pop r12
pop rbp
ret
Function at 0x140012140
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x260
mov r12, rcx
mov rsi, rdx
xor edi, edi
lea ecx, [rdi + 2]
xor edx, edx
mov rbp, r8
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400121fc
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1400121f3
nop word [rax + rax]
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400121c7
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x1400121a0
jmp 0x1400121f3
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x1400121f3
mov edi, 1
mov dword [r12 + 0xa4], 0
mov qword [rbp], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x260]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140013090
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push r13
push r14
push r15
sub rsp, 0x150
mov r14, rdx
mov rdx, qword [rcx + 0xe0]
mov rsi, rcx
mov rcx, qword [rcx + 0x90]
mov r13d, r8d
lea rax, [rsp + 0x38]
mov r15, r9
lea r8, [rsp + 0x50]
xor ebx, ebx
mov r9d, 0xd8
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400132f2
cmp qword [rsp + 0x38], 0xd8
jne 0x1400132f2
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], rdi
mov qword [rsp + 0x138], r12
lea r12, [r13*8 + 0x10]
xor edx, edx
mov edi, r13d
mov rcx, r12
call fcn.14000e210
mov rbp, rax
test rax, rax
je 0x1400132c8
mov dword [rax + 8], r13d
mov qword [rax], r14
lea rdx, [rsp + 0x198]
test r13d, r13d
je 0x140013165
lea rcx, [rax + 0x10]
nop dword [rax + rax]
mov rax, qword [rdx + 8]
add rdx, 8
add rcx, 8
dec rdi
mov qword [rcx - 8], rax
jne 0x140013150
mov rcx, qword [rsi + 0x90]
mov r9d, 0x3000
mov r8, r12
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x1400132b3
mov rcx, qword [rsi + 0x90]
lea rax, [rsp + 0x48]
mov r9, r12
mov r8, rbp
mov rdx, rdi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14001329a
cmp qword [rsp + 0x48], r12
jne 0x14001329a
mov rdx, qword [rsi + 0xe0]
mov rcx, qword [rsi + 0x90]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov r9d, 0xd8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xa8], 1
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14001329a
cmp qword [rsp + 0x30], 0xd8
jne 0x14001329a
mov rcx, qword [rsi + 0xc8]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1400133b0
test eax, eax
je 0x14001329a
mov rdx, qword [rsi + 0xe0]
mov rcx, qword [rsi + 0x90]
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov r9d, 0xd8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14001329a
cmp qword [rsp + 0x40], 0xd8
jne 0x14001329a
cmp qword [rsp + 0xf8], rbx
je 0x14001329a
test r15, r15
je 0x140013295
mov rax, qword [rsp + 0xf0]
mov qword [r15], rax
mov ebx, 1
mov rcx, qword [rsi + 0x90]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [0x14001e780]
mov r8, rbp
mov edx, 8
call qword [0x14001e798]
mov rdi, qword [rsp + 0x140]
mov rbp, qword [rsp + 0x148]
mov r12, qword [rsp + 0x138]
mov eax, ebx
add rsp, 0x150
pop r15
pop r14
pop r13
pop rsi
pop rbx
ret
mov eax, ebx
add rsp, 0x150
pop r15
pop r14
pop r13
pop rsi
pop rbx
ret
Function at 0x140013310
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rdx
mov r9d, 0x3000
xor edx, edx
mov rdi, r8
mov rsi, rcx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x140013397
lea rax, [rsp + 0x58]
mov r9, rdi
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140013380
cmp qword [rsp + 0x58], rdi
jne 0x140013380
mov rax, rbx
jmp 0x140013397
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400144d0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x4f0
xor edi, edi
mov rbx, rcx
lea rdx, [rsp + 0xf0]
mov dword [rcx], edi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
mov rcx, qword [str.GEjO9EtpNRI]
call fcn.14000deb0
movzx eax, byte [rsp + 0xf0]
lea r11, [rsp + 0xf0]
lea rdx, [rsp + 0x20]
test al, al
je 0x140014536
nop dword [rax]
movsx eax, al
inc r11
add rdx, 2
mov word [rdx - 2], ax
movzx eax, byte [r11]
test al, al
jne 0x140014520
lea rcx, [rsp + 0x20]
mov word [rdx], di
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140014558
test al, 0x10
jne 0x140014565
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, rbx
mov rbx, qword [rsp + 0x500]
add rsp, 0x4f0
pop rdi
ret
Function at 0x140015ab0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
call fcn.1400158f0
mov rdi, rax
test rax, rax
je 0x140015af5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140015ae0
test al, 0x10
jne 0x140015ae0
mov ebx, 1
mov rcx, qword [0x14001e780]
mov r8, rdi
mov edx, 8
call qword [0x14001e798]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140016c30
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x510
mov rsi, rcx
mov rcx, qword [str.S6ggGX2Sna2VMqLSlOgGX2Sna2VMql7OgGX2Sna2VMqGE7OgGX2Sna2VMq7UO]
lea rdx, [rax - 0x408]
xor ebx, ebx
mov qword [rax + 8], rbx
call fcn.14000deb0
movzx eax, byte [rsp + 0x110]
lea r11, [rsp + 0x110]
lea rdx, [rsp + 0x40]
test al, al
je 0x140016c96
nop dword [rax + rax]
movsx eax, al
inc r11
add rdx, 2
mov word [rdx - 2], ax
movzx eax, byte [r11]
test al, al
jne 0x140016c80
xor r9d, r9d
mov word [rdx], bx
lea r8, [rsp + 0x520]
lea edx, [r9 + 1]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x140016cc7
mov rax, rbx
mov qword [rsp + 0x520], rbx
mov rdi, rbx
jmp 0x140016cd4
mov rax, qword [rsp + 0x520]
lea rdi, [rsp + 0x20]
mov rcx, qword [str.Sht0mJcXLc_rih84]
lea rdx, [rsp + 0x110]
mov dword [rsp + 0x20], 0x18
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
call fcn.14000deb0
movzx eax, byte [rsp + 0x110]
lea r11, [rsp + 0x110]
lea rdx, [rsp + 0x40]
test al, al
je 0x140016d28
movsx eax, al
inc r11
add rdx, 2
mov word [rdx - 2], ax
movzx eax, byte [r11]
test al, al
jne 0x140016d12
mov word [rdx], bx
lea r8, [rsp + 0x40]
mov rcx, rdi
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rcx, qword [rsp + 0x520]
mov qword [rsi], rax
test rcx, rcx
je 0x140016d54
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsi], rbx
jne 0x140016d65
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r11, [rsp + 0x510]
mov rsi, qword [r11 + 0x20]
cmp eax, 0xb7
sete bl
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140017460
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14001e800], rdi
je 0x1400174c0
cmp rax, rdi
jne 0x1400174b3
mov r12d, 1
jmp 0x1400174c0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140017499
mov eax, dword [0x14001e7f8]
cmp eax, 1
jne 0x1400174d5
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14001753c
mov eax, dword [0x14001e7f8]
cmp eax, ebx
jne 0x140017532
mov dword [0x14001e7f8], 1
lea r13, [0x140018608]
lea rdi, [0x1400185f0]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x140017524
cmp eax, ebx
jne 0x140017524
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140017519
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140017502
cmp eax, ebx
je 0x14001753c
mov eax, 0xff
jmp 0x140017684
mov dword [0x14001e104], 1
mov eax, dword [0x14001e7f8]
cmp eax, 1
jne 0x140017564
lea rdx, [0x1400185e8]
lea rcx, [0x1400185d8]
call sub.msvcrt.dll__initterm
mov dword [0x14001e7f8], 2
cmp r12d, ebx
jne 0x140017573
mov rax, rbx
xchg qword [0x14001e800], rax
cmp qword [0x14001e808], rbx
je 0x14001759b
lea rcx, [0x14001e808]
call fcn.140017868
cmp eax, ebx
je 0x14001759b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14001e808]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1400175b1
mov eax, 0xff
jmp 0x140017684
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x140017636
cmp word [rcx], bx
je 0x1400175cc
cmp edx, ebx
jne 0x140017636
cmp word [rcx], bx
je 0x1400175e2
cmp word [rcx], 0x20
ja 0x1400175e2
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400175cc
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140002900
mov dword [0x14001e100], eax
cmp dword [0x14001e0e4], ebx
jne 0x140017620
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001e104], ebx
jne 0x140017634
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001e100]
jmp 0x140017684
cmp word [rcx], 0x22
jne 0x140017649
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400175bd
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.14001795c
add rsp, 0x28
jmp 0x140017460
Function at 0x1400178bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x140017909
cmp rcx, 0xffffffffffffffff
je 0x140017909
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017901
cmp dword [rcx + 0x3c], edx
jl 0x140017901
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140017901
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140017909
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140027e30
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b8b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b8b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f80
cmp rax, 0xffffffffffffffff
je 0x140027f80
xor edi, edi
test rbp, rbp
jle 0x140027f2b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001deb8
mov rbx, rax
test rax, rax
jne 0x140027eb8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027f21
mov edx, 0x8000
mov ecx, r14d
call fcn.140015968
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c590
cmp eax, 0xffffffff
je 0x140027f01
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027ec8
mov edx, r15d
mov ecx, r14d
call fcn.140015968
jmp 0x140027f21
cmp byte [rsi + 0x38], dil
je 0x140027f18
cmp dword [rsi + 0x34], 5
jne 0x140027f18
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027f21
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019f78
jmp 0x140027f94
jns 0x140027f94
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b8b4
cmp rax, 0xffffffffffffffff
jne 0x140027f4c
cmp byte [rsi + 0x30], dil
je 0x140027f94
mov edi, dword [rsi + 0x2c]
jmp 0x140027f94
mov ecx, r14d
call fcn.14001705c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027f94
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f8d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f92
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b8b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140004000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
and rsp, 0xfffffffffffffff0
movabs rcx, 0x140004062
movabs rax, sym.imp.KERNEL32.dll_LoadLibraryA
call qword [rax]
movabs rdx, 0x14000406b
mov rcx, rax
movabs rax, sym.imp.KERNEL32.dll_GetProcAddress
call qword [rax]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r9, rcx
movabs r8, 0x140004078
mov rdx, rcx
call rax
leave
jmp loc.140001000
Function at 0x1402415b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 8
not r11
and r11b, cl
movzx r11, ax
mov r9d, dword [rcx + 0x5c]
xor r8d, r14d
movsx r8, r12w
movzx r11, di
mov r11, rdx
bsf r8d, ecx
shrd r8d, r15d, 0x10
mov r8, rcx
stc
test r9d, r9d
je 0x140241718
cmp r9d, 0x112
jmp 0x1402415f2
jae 0x140241718
mov r10, qword [rcx + 0x30]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rcx + 0x38]
mov qword [rsp], rdi
mov rdi, qword [rcx + 0x18]
test cx, 0x44da
mov rcx, r11
sub rcx, r10
movzx edx, ax
shrd edx, r14d, 0x7c
btr dx, cx
mov rdx, r9
cmp r14w, r15w
cmp r15w, 0x65d4
cmc
cmp rcx, r9
jae 0x140241647
mov edx, r11d
stc
clc
sub edx, r10d
cmp r11w, r10w
cmp dword [r8 + 0x44], 0
jmp 0x140241651
jne 0x140241673
mov ecx, dword [r8 + 0xc]
jmp 0x140241660
mov eax, ecx
sub eax, dword [r8 + 0x40]
cmp eax, edx
ja 0x140241673
mov dword [r8 + 0x44], ecx
clc
add dword [r8 + 0x40], edx
jmp 0x140241680
sub r9d, edx
stc
cmp r14w, r14w
mov dword [r8 + 0x5c], r9d
sal r9w, 0x31
movsx r9, r8w
movsxd r9, dword [r8 + 0x4c]
test edx, edx
jmp 0x1402416a0
je 0x140241701
mov ecx, dword [r8 + 0x4c]
cmc
cmp dx, 0x4e16
nop
sub eax, eax
test edi, 0x12793a70
cmp ch, al
cmp r10, rcx
jmp 0x1402416c3
cmovb rax, rsi
stc
clc
cmp r9w, 0x1c4c
sub rax, r9
test r9w, r8w
add rax, r10
jmp 0x1402416de
inc r10
test r9b, 0x28
add edx, 0xffffffff
jmp 0x1402416ed
movzx eax, byte [rax + rdi]
mov byte [r10 + rdi - 1], al
jmp 0x1402416fb
jne 0x1402416b1
mov rdi, qword [rsp]
movzx esi, sp
mov rsi, qword [rsp + 0x10]
clc
mov qword [r8 + 0x30], r10
jmp 0x140241718
add rsp, 8
jmp 0x140241721
ret
Function at 0x403c60
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rcx, qword [rax + 0x30]
cmp qword [rcx + 0x90], rax
jne 0x403e04
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
nop
inc dword [rcx + 0x244]
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
nop
mov rbx, rcx
mov qword [rdx + 0x138], rcx
mov rcx, qword [rbx + 0x30]
mov qword [rbx + 0xd8], rcx
mov rcx, qword [rax + 0x30]
movups xmm0, xmmword [rcx + 0x2d8]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x2e8]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx + 0x2f8]
movups xmmword [rsp + 0x40], xmm0
mov rcx, qword [rax + 0x70]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rax + 0x78]
mov qword [rsp + 0x18], rdx
call fcn.004616e0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe8], 0
mov rcx, qword [rax + 0x30]
xor edx, edx
xchg dword [rcx + 0x348], edx
mov rcx, qword [rsp + 0x78]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x10], rcx
call fcn.00403e60
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x58], rcx
jmp 0x403d8f
nop
mov rax, qword [0x005ccab0]
mov qword [rsp], rax
mov dword [rsp + 8], 0
call fcn.00468380
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, rax
xor eax, eax
mov ebx, 1
lock cmpxchg dword [rcx + 0x348], ebx
sete sil
test sil, sil
je 0x403d6c
mov rax, qword [rdx + 0x30]
mov byte [rax + 0xe8], 1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x18]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00440be0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x2d8], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x2e8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x2f8], xmm0
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
call fcn.00437d00
lea rax, [0x00511ef1]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1e
nop dword [rax]
call fcn.00438780
call fcn.00437da0
mov dword [rsp], 2
call fcn.00431ea0
mov rax, qword [rsp + 0x60]
nop dword [rax + rax]
jmp 0x403c94
Function at 0x420aa0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x00610433], 0
jne 0x420c05
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x420bae
xor eax, eax
nop
nop
nop
mov rcx, rax
shr rax, 3
and rcx, 7
mov edx, 1
shl edx, cl
nop
add rax, qword [rbx + 0x50]
lock or byte [rax], dl
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x420bfa
lea rbx, [0x005f22d8]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov esi, 1
shl esi, cl
test sil, bl
jne 0x420b6f
lock or byte [rdx], sil
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
mov rcx, qword [rsp + 0x30]
add qword [rax + 0x16a8], rcx
mov rcx, qword [rsp + 0x38]
add qword [rax + 0x16b0], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
cmp word [rbx + 0x5e], 0
je 0x420bca
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x420ad5
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
movzx esi, byte [rbx + 0x66]
cmp sil, 0x40
sbb rdi, rdi
shr rdx, cl
and rax, rdx
movzx edx, word [rbx + 0x5c]
imul rax, rdx
mov ecx, esi
shr rax, cl
and rax, rdi
jmp 0x420ad5
mov ecx, 0x40
nop
call fcn.00466d60
lea rax, [0x00514642]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.00436520
nop
int3