joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a42b0
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x1400a3fd2
call fcn.140080838
mov dword [rax], 0x16
call fcn.14009ddb8
jmp 0x1400a4122
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400a4122
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400a4122
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400a4001
lock or dword [rcx + 0x14], 0x10
jmp 0x1400a4122
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400a4015
call fcn.1400a7a94
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x1400a4025
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x1400a4028
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.1400a0578
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.1400a3a34
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400a4110
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1400a40bb
mov rcx, rbx
call fcn.1400a0578
cmp eax, 0xffffffff
je 0x1400a40a6
mov rcx, rbx
call fcn.1400a0578
cmp eax, 0xfffffffe
je 0x1400a40a6
mov rcx, rbx
call fcn.1400a0578
movsxd rdi, eax
lea rsi, [0x1400d8a40]
mov rcx, rbx
sar rdi, 6
call fcn.1400a0578
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1400a40ad
lea rdx, [0x1400d7340]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400a40bb
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1400a40df
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1400a40df
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1400a40df
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x1400a40fd
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x1400a4108
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x1400a4127
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1400a3f9c
Function at 0x1400aa0bc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400aa0dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400807ac
or eax, 0xffffffff
jmp 0x1400aa0de
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400ac9cc
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400ac9fc
xor eax, eax
jmp 0x1400acabf
mov rbp, rbx
cmp word [rax], si
je 0x1400aca21
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400aca08
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400aca04
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400a8838
movsxd r14, eax
test eax, eax
jne 0x1400aca5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400ac9f5
mov rcx, r14
call fcn.14009edfc
mov rdi, rax
test rax, rax
jne 0x1400aca78
xor ecx, ecx
call fcn.14009de98
jmp 0x1400aca54
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400a8838
test eax, eax
jne 0x1400acaa9
mov rcx, rdi
call fcn.14009de98
jmp 0x1400acab3
xor ecx, ecx
call fcn.14009de98
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400acadc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400acb63
mov rsi, rbx
cmp word [rax], bp
je 0x1400acb22
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400acb0c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400acb08
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14009edfc
mov rdi, rax
test rax, rax
je 0x1400acb50
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14006ebc0
mov rbp, rdi
xor ecx, ecx
call fcn.14009de98
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b2f00
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.1400a5e08
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400a5e08
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400b3050
cmp rax, 0xffffffffffffffff
je 0x1400b3050
xor edi, edi
test rbp, rbp
jle 0x1400b2ffb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14009de20
mov rbx, rax
test rax, rax
jne 0x1400b2f88
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400b2ff1
mov edx, 0x8000
mov ecx, r14d
call fcn.14009b878
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.1400a21bc
cmp eax, 0xffffffff
je 0x1400b2fd1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400b2f98
mov edx, r15d
mov ecx, r14d
call fcn.14009b878
jmp 0x1400b2ff1
cmp byte [rsi + 0x38], dil
je 0x1400b2fe8
cmp dword [rsi + 0x34], 5
jne 0x1400b2fe8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400b2ff1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14009de98
jmp 0x1400b3064
jns 0x1400b3064
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400a5e08
cmp rax, 0xffffffffffffffff
jne 0x1400b301c
cmp byte [rsi + 0x30], dil
je 0x1400b3064
mov edi, dword [rsi + 0x2c]
jmp 0x1400b3064
mov ecx, r14d
call fcn.1400ad8c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400b3064
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 0x1400b3064
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400b305d
mov eax, dword [rsi + 0x2c]
jmp 0x1400b3062
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400a5e08
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 0x1400b49a4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140088f20
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400b4a2e
cmp byte [rbp - 0x21], r15b
je 0x1400b4a29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400b4a64
call fcn.14009e19c
test eax, eax
jne 0x1400b4a50
cmp byte [rbp - 0x21], r15b
je 0x1400b4a48
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400b4a64
cmp byte [rbp - 0x21], r15b
je 0x1400b4a61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140099a74
test eax, eax
jne 0x1400b4b04
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140088f20
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400b4aa3
cmp byte [rbp - 0x21], r15b
je 0x1400b4ad8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400b4ad8
call fcn.14009e19c
test eax, eax
jne 0x1400b4ac4
cmp byte [rbp - 0x21], r15b
je 0x1400b4abd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400b4ad8
cmp byte [rbp - 0x21], r15b
je 0x1400b4ad5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140099a74
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400b4b04
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400b4b07
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400b4b15
mov rcx, rdi
call fcn.14009de98
cmp byte [rbp + 0x3f], r15b
je 0x1400b4b24
mov rcx, qword [rbp + 0x27]
call fcn.14009de98
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011339
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140014a80
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
mov rax, qword [0x140024018]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x14002a21c]
call fcn.140011627
mov r8d, dword [rbp + 0x278]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
mov r8d, 0x104
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.1400114bf
mov rdx, qword [rbp + 0x270]
lea rcx, [rbp + 0x30]
call fcn.140011280
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x158], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rbp + 0x30]
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x158]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x178], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea rcx, [rbp - 0x40]
lea rdx, [0x1400202d0]
call fcn.140011528
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.1400112fd
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret

Function at 0x140011370
Capabilities:
Terminate process

Disassembly:
jmp 0x140018010
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011460
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019440
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019460
xor al, al
jmp 0x1400194e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019473
xor al, al
jmp 0x1400194e1
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 0x14001949d
xor al, al
jmp 0x1400194e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400194b1
xor al, al
jmp 0x1400194e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400194c3
xor al, al
jmp 0x1400194e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400194df
xor al, al
jmp 0x1400194e1
mov al, 1
add rsp, 0x38
ret
Function at 0x6bac13d0
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x4c], 0
mov rsi, rcx
mov ebx, edx
lea rcx, [0x6bac7920]
mov qword [rsp + 0x38], 0
mov edx, 2
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov r12, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x6bac147c
xor edx, edx
mov rcx, r12
lea rdi, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x6bac147c
test ebx, ebx
jle 0x6bac1466
mov r9, rdi
mov r8d, ebx
mov rdx, rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x6bac1471
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x6bac147c
mov edx, dword [rsp + 0x4c]
add rsi, rdx
sub ebx, edx
jmp 0x6bac1443
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
ret

Function at 0x6bac14a4
Capabilities:
Read file on windows

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
xor r9d, r9d
mov r8d, 3
mov dword [rsp + 0x4c], 0
mov rsi, rcx
mov ebx, edx
lea rcx, [0x6bac7920]
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
lea rdi, [rsp + 0x4c]
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
xor eax, eax
cmp r12, 0xffffffffffffffff
je 0x6bac153c
test ebx, ebx
jle 0x6bac1521
mov r9, rdi
mov r8d, ebx
mov rdx, rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x6bac1531
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x6bac153c
mov edx, dword [rsp + 0x4c]
add rsi, rdx
sub ebx, edx
jmp 0x6bac14fe
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
ret

Function at 0x6bac1598
Capabilities:
Create thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x6bac42e0]
movsxd rcx, dword [rbx + 4]
call sub.msvcrt.dll_malloc
mov rsi, qword [sym.imp.KERNEL32.dll_Sleep]
mov r12, rax
mov ecx, 0x400
call rsi
mov edx, dword [rbx + 4]
mov rcx, r12
call fcn.6bac14a4
test eax, eax
je 0x6bac1568
mov edx, dword [rbx + 4]
lea r8, [rbx + 8]
mov rcx, r12
call fcn.6bac16f5
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov r9d, 0x5c
div ecx
mov dword [rsp + 0x50], 0x5c
mov dword [rsp + 0x48], 0x65
mov dword [rsp + 0x40], 0x70
mov dword [rsp + 0x38], 0x69
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x28], 0x5c
mov dword [rsp + 0x20], 0x2e
mov r8d, 0x5c
lea rcx, [0x6bac7920]
mov dword [rsp + 0x58], edx
lea rdx, str._c_c_c_c_c_c_c_c_cMSSE__d_server
call sub.msvcrt.dll_sprintf
xor ecx, ecx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], 0
lea r8, [0x6bac1486]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
add rsp, 0x68
jmp 0x6bac1546
Function at 0x6bac1657
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
dec edx
jne 0x6bac168b
mov qword [0x6bac7960], rcx
xor r9d, r9d
lea r8, [0x6bac1640]
xor edx, edx
mov qword [rsp + 0x28], 0
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x6bac16f5
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r9d, 4
movsxd r12, edx
mov rdi, rcx
mov rbp, r8
xor ecx, ecx
mov r8d, 0x3000
mov rdx, r12
mov rsi, r12
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
xor eax, eax
cmp esi, eax
jle 0x6bac1740
mov rdx, rax
and edx, 3
mov dl, byte [rbp + rdx]
xor dl, byte [rdi + rax]
mov byte [rbx + rax], dl
inc rax
jmp 0x6bac1727
mov rcx, rbx
call fcn.6bac16c3
lea r9, [rsp + 0x3c]
mov rdx, r12
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
lea r8, [0x6bac16c0]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x6bac1b10
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.6bac2d80
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.6bac2d80
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x6bac1b80
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x6bac75e4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x6bac1d28
mov rax, qword [0x6bac75e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x6bac1bcc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x6bac1c57
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x6bac1bb0
mov rcx, r12
call fcn.6bac2880
mov rbp, rax
test rax, rax
je 0x6bac1d62
mov rax, qword [0x6bac75e8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.6bac29b0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6bac75e8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6bac1d71
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x6bac1c50
sub eax, 4
and eax, 0xfffffffb
jne 0x6bac1ce0
add dword [0x6bac75e4], 1
cmp ebx, 8
jae 0x6bac1c88
test bl, 4
jne 0x6bac1d30
test ebx, ebx
je 0x6bac1c79
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x6bac1d50
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x6bac1c79
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x6bac1cba
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x6bac75e8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6bac1c50
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6bac1b10
nop dword [rax]
xor edi, edi
jmp 0x6bac1bd7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x6bac1c79
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x6bac1c79
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.6bac1b10
mov rax, qword [0x6bac75e8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.6bac1b10
nop
nop dword [rax]
Function at 0x6bac24f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6bac78c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6bac78a0]
test rbx, rbx
je 0x6bac2544
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x6bac253b
test r12, r12
je 0x6bac253b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6bac2520
lea rcx, [0x6bac78c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6bac2880
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x6bac4260]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x6bac28f9
mov rcx, r10
call fcn.6bac2750
test eax, eax
je 0x6bac28f9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x6bac28f6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x6bac28ed
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x6bac28f9
add r8, 0x28
cmp r8, r9
jne 0x6bac28d8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140008190
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov eax, dword [0x14082ebd0]
lea edi, [rax - 1]
imul edi, eax
test dil, 1
sete r9b
cmp dword [0x14082ebd4], 0xa
not r8d
setl al
or al, r9b
mov r9d, 0xa777e8a8
mov edi, 0x69bde3a0
cmove r9d, edi
mov ebp, 0x4abbbf0f
cmove ebp, edi
mov r10d, 0x61b1130c
lea r11, section..rdata
sub rdx, 1
mov esi, 0x154cffdb
cmovb esi, r10d
mov edi, 0x4a8d9791
nop word cs:[rax + rax]
nop dword [rax]
cmp edi, 0x4abbbf0e
jle 0x140008270
cmp edi, 0x4abbbf0f
je 0x1400082a2
cmp edi, 0x61b1130c
je 0x1400082f4
cmp edi, 0x69bde3a0
jne 0x140008200
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov eax, dword [rsp + 4]
mov rax, qword [rsp + 8]
mov rax, qword [rsp + 8]
mov edi, 0x4abbbf0f
jmp 0x140008200
cmp edi, 0xa777e8a8
je 0x1400082e0
cmp edi, 0x154cffdb
je 0x1400082d8
cmp edi, 0x4a8d9791
jne 0x140008200
mov qword [rsp + 8], rcx
mov dword [rsp + 4], r8d
mov qword [rsp + 0x18], rdx
mov edi, esi
jmp 0x140008200
mov edi, dword [rsp + 4]
shr edi, 8
mov ebx, dword [rsp + 4]
movzx ebx, bl
mov rax, qword [rsp + 8]
add rax, 1
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
xor eax, ebx
xor edi, dword [r11 + rax*4]
mov dword [rsp + 0x14], edi
mov edi, r9d
jmp 0x140008200
mov edi, ebp
jmp 0x140008200
mov rdx, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x14]
jmp 0x1400081e0
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret