joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400029f0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push rbp
push rdi
sub rsp, 0x48
movsxd rax, dword [r8 + 0x3c]
mov rdi, r8
mov rbp, rdx
cmp dword [rax + r8 + 0x94], 0
je 0x140002b3c
mov qword [rsp + 0x78], r14
mov r14d, dword [rax + r8 + 0x90]
add r14, 0xc
add r14, r8
mov eax, dword [r14]
test eax, eax
je 0x140002b37
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], r12
xor r12d, r12d
mov qword [rsp + 0x40], r15
nop word [rax + rax]
mov ebx, eax
lea rcx, str.kernel32.dll
add rbx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400400f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], r12b
jne 0x140002a80
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
mov r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rbx + r9], r12b
jne 0x140002ab0
inc r9
mov qword [rsp + 0x20], r12
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r12
mov r9, r15
mov dword [rsp + 0x28], r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [r14 + 0x14]
add r14, 0x14
test eax, eax
jne 0x140002a50
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
add rsp, 0x48
pop rdi
pop rbp
ret
Function at 0x140003410
Capabilities:
Create process on windows
Create process suspended
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x200
mov rax, qword [0x140046030]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, str.C:Program_Files__x86_MicrosoftEdgeApplicationmsedge.exe
mov dword [rsp + 0xd4], eax
xor ebx, ebx
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400034ff
call fcn.140006d60
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rdi
call fcn.140004570
mov rcx, rax
call fcn.140007050
lea esi, [rbx + 1]
jmp 0x140003503
mov esi, dword [rsp + 0x68]
lea rdx, [0x140040018]
lea rcx, [rsp + 0xe0]
call fcn.1400115fc
mov rdi, rax
test rax, rax
jne 0x14000352d
lea rcx, str.Failed_to_open_file
call fcn.140011af0
jmp 0x140003585
xor edx, edx
mov qword [rsp + 0x210], rbp
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.140011e84
mov rcx, rdi
call fcn.14001145c
mov rcx, rdi
movsxd rbx, eax
call fcn.14001518c
mov rcx, rbx
mov rbp, rbx
call fcn.140015e7c
mov rbx, rax
test rax, rax
jne 0x1400035c3
lea rcx, str.Failed_to_allocate_buffer
call fcn.140011af0
mov rcx, rdi
call fcn.14001191c
mov rbp, qword [rsp + 0x210]
lea r8, [rsp + 0xe0]
mov qword [rsp + 0x50], rbx
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.140002b50
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.14000a910
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.140015998
cmp rax, rbp
je 0x140003575
lea rcx, str.Failed_to_read_file
call fcn.140011af0
mov rcx, rdi
call fcn.14001191c
mov rcx, rbx
call fcn.14001562c
jmp 0x14000357d
Function at 0x140010dc0
Capabilities:
Parse pe header

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

Function at 0x140011174
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14000af70
sub rsp, rax
mov rax, qword [0x140046030]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001dd50
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400111c3
mov rax, rbp
jmp 0x1400112cb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x8afba0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001e200
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x8afba0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400112c7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400112c7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001e200
test rax, rax
js 0x1400112c7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400112c7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400112b9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400112b9
cmp byte [rcx], 0xd
jne 0x14001129f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400112ae
cmp byte [rcx + 1], 0xa
jne 0x1400112ae
inc rcx
jmp 0x1400112ae
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x463d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140011281
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400112cb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000a910
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e984
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1408afba0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001e9db
cmp word [rdx], r13w
jne 0x14001e9db
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001e9e0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001eb05
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001eb26
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001ea19
mov rdx, r9
mov word [rbx], cx
jmp 0x14001ea40
cmp r9, r8
jae 0x14001ea50
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001e9fa
jmp 0x14001eb05
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001eafa
cmp dword [rsp + 0x80], esi
je 0x14001eafa
lea r8, [0x1408afba0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001ead2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001eaa2
mov word [rbx], r13w
jmp 0x14001eb02
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001eaaf
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001eb02
cmp word [rsp + 0x70], r13w
jne 0x14001eadf
cmp rbx, r14
je 0x14001ea9c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001e208
cmp word [rsp + 0x70], r13w
je 0x14001eb05
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1408afba0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001eaff
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001eb05
Function at 0x140022f1c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140022f32
mov al, 1
jmp 0x140022f92
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140022f43
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140022f90
mov ecx, dword [rcx + 0x18]
nop
call fcn.140020d1c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140022f90
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140022f90
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140022f90
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140022f92
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14002733c
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 0x14002736c
xor eax, eax
jmp 0x14002742f
mov rbp, rbx
cmp word [rax], si
je 0x140027391
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140027378
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140027374
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.140025914
movsxd r14, eax
test eax, eax
jne 0x1400273cf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140027365
mov rcx, r14
call fcn.140021a5c
mov rdi, rax
test rax, rax
jne 0x1400273e8
xor ecx, ecx
call fcn.14001fb28
jmp 0x1400273c4
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.140025914
test eax, eax
jne 0x140027419
mov rcx, rdi
call fcn.14001fb28
jmp 0x140027423
xor ecx, ecx
call fcn.14001fb28
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 0x140029928
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14001e624
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400299c9
cmp ebx, dword [rsp + 0x30]
je 0x1400299c2
test esi, esi
je 0x1400299c2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002999d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400299aa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140029987
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400299ae
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400299cb
mov eax, 1
jmp 0x1400299cb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002dc08
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.14001e208
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001e208
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002dd58
cmp rax, 0xffffffffffffffff
je 0x14002dd58
xor edi, edi
test rbp, rbp
jle 0x14002dd03
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f5f0
mov rbx, rax
test rax, rax
jne 0x14002dc90
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002dcf9
mov edx, 0x8000
mov ecx, r14d
call fcn.14001b3c0
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.140021754
cmp eax, 0xffffffff
je 0x14002dcd9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002dca0
mov edx, r15d
mov ecx, r14d
call fcn.14001b3c0
jmp 0x14002dcf9
cmp byte [rsi + 0x38], dil
je 0x14002dcf0
cmp dword [rsi + 0x34], 5
jne 0x14002dcf0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002dcf9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001fb28
jmp 0x14002dd6c
jns 0x14002dd6c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001e208
cmp rax, 0xffffffffffffffff
jne 0x14002dd24
cmp byte [rsi + 0x30], dil
je 0x14002dd6c
mov edi, dword [rsi + 0x2c]
jmp 0x14002dd6c
mov ecx, r14d
call fcn.140020d1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002dd6c
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 0x14002dd6c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002dd65
mov eax, dword [rsi + 0x2c]
jmp 0x14002dd6a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001e208
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 0x1400087bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008808
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140008800
cmp dword [rcx + 0x3c], edx
jl 0x140008800
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140008800
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 0x140008808
mov rax, rdx
add rsp, 0x18
ret

Function at 0x141026fd0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x141026fda
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x141027003
pop rbp
sub rbp, 0x33
sub rbp, 0x1026fd0
sub rsp, 0x20
jmp 0x141027022
mov rax, 0x1026fd0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffe72be458
xor byte [rax], dl
inc rax
dec rcx
jne 0x141027041
jmp 0x141027058
adc cl, dl
mov cl, 0xd3
shl dword [rax + rbx*2 + 0x58], 1
pop rax
adc cl, bl
cdq
push rax
pop rcx
pop rax
pop rax
adc byte [rcx - 0x4f], bl
adc byte [rdi + 0x58585298], bl
pop rax
adc byte [rdi + 0x5858709a], bl
pop rax
adc byte [rdi - 0x66a6ef46], ch
rcr ecx, cl
push rsp
pop rax
pop rax
pop rax
adc byte [rcx - 0x50], bl
or byte [rax], cl
adc al, ah
cmp bh, dh
jne 0x1410270e8
pop rax
pop rax
pop rax
pop rax
adc cl, ah
xor eax, 0x58588c98
pop rax
pop rax
pop rax
adc byte [rcx - 0x4f], bl
adc dl, ah
cmpsd dword [rsi], dword [rdi]
xchg esp, eax
iretd
pop rax
pop rax
pop rax
mov cl, 0xd5
pop rdx
pop rax
pop rax
or dh, byte [rax + 0x58585825]
add cl, byte [rdi]
adc cl, dl
invalid
Function at 0x14007a300
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14007a30d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14007a31d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14007a305
lea eax, [rcx + 1]
jmp 0x14007a32b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14007a33e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14007a324
sub eax, 3
jb 0x14007a35e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14007a3ad
sar eax, 1
movsxd rbp, eax
jb 0x14007a394
jmp 0x14007a36c
add ebx, ebx
jne 0x14007a36a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007a394
inc ecx
add ebx, ebx
jne 0x14007a37a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007a394
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14007a38d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14007a37c
add ecx, 2
jmp 0x14007a399
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14007a2c2
jmp 0x14007a30d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x35800
mov dl, 7
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14007a3f9
cmp rsi, rcx
jae 0x14007a401
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14007a3e0
cmp al, 0x8f
ja 0x14007a3e0
cmp byte [rsi - 2], 0xf
je 0x14007a3e6
sub al, 0xe8
cmp al, 1
ja 0x14007a3ca
cmp rsi, rcx
jae 0x14007a401
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14007a3d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14007a401
lodsb al, byte [rsi]
jmp 0x14007a3e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x78000]
mov eax, dword [rdi]
or eax, eax
je 0x14007a45e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x87274]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14007a40e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14007a458
mov qword [rbx], rax
add rbx, 8
jmp 0x14007a42e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14007a498
cmp al, 0xef
ja 0x14007a48a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14007a46a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14007a479
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x20f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14007a4ec
sub rsp, 0xffffffffffffff80
jmp 0x140022eb0
Function at 0x140002480
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x14004a044], 0
lea rdi, [0x14004a040]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002558
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400024b0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000258e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002570
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400025cf
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400025b3
cmp byte [r8], r9b
jne 0x1400025b3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400025a0
not eax
pop rdi
ret
Function at 0x1400027d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x1400027e9
mov qword [r8], 0
lea rdx, [0x14003d820]
call fcn.1400025e0
mov rbx, rax
test rax, rax
jne 0x140002808
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
xor edx, edx
mov r8d, 2
mov qword [rsp + 0x38], rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028ca
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400028ca
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028ca
mov rax, qword [0x140049e10]
mov rbp, rsi
test rax, rax
je 0x140002867
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400028ca
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x1400028b7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140049e10]
test rax, rax
je 0x1400028ac
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400028d3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400028c5
mov qword [rdi], rbp
mov rax, rsi
jmp 0x1400028d5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret