joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024a80
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x20
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov rdi, rcx
mov esi, r8d
mov rbp, rdx
call fcn.140024a60
mov rdx, rbp
cmp esi, 0x40
ja 0x140024ab3
mov rcx, qword [rdi]
mov r8d, esi
call fcn.140061b50
jmp 0x140024adf
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
mov r8d, esi
mov qword [rsp + 0x30], rbx
call qword [rax + ioctlsocket]
mov r11, qword [rdi + 0x20]
mov rdx, qword [rdi]
lea rcx, [rdi + 0x20]
call qword [r11 + reloc.WS2_32.dll_recv]
mov rbx, qword [rsp + 0x30]
mov esi, shutdown
mov r8d, 0x40
mov ecx, esi
xor edx, edx
add rcx, qword [rdi]
sub r8d, esi
call fcn.140062880
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 0xe]
nop word [rax + rax]
mov rax, qword [rdi]
add rdx, 4
movzx ecx, byte [rdx + rax - 6]
mov rax, qword [rdi + 8]
xor cl, 0x5c
mov byte [rdx + rax - 6], cl
mov rax, qword [rdi]
xor byte [rdx + rax - 6], 0x36
mov rax, qword [rdi]
movzx ecx, byte [rdx + rax - 5]
mov rax, qword [rdi + 8]
xor cl, 0x5c
mov byte [rdx + rax - 5], cl
mov rax, qword [rdi]
xor byte [rdx + rax - 5], 0x36
mov rax, qword [rdi]
movzx ecx, byte [rdx + rax - 4]
mov rax, qword [rdi + 8]
xor cl, 0x5c
mov byte [rdx + rax - 4], cl
mov rax, qword [rdi]
xor byte [rdx + rax - 4], 0x36
mov rax, qword [rdi]
movzx ecx, byte [rdx + rax - 3]
mov rax, qword [rdi + 8]
xor cl, 0x5c
mov byte [rdx + rax - 3], cl
mov rax, qword [rdi]
xor byte [rdx + rax - 3], 0x36
dec r8
jne 0x140024b10
add rsp, 0x20
pop rdi
ret
Function at 0x140028b80
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [rcx + 0x14], 0x67452301
mov dword [rcx + 0x18], 0xefcdab89
mov dword [rcx + 0x1c], 0x98badcfe
mov dword [rcx + 0x20], 0x10325476
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], eax
ret

Function at 0x140029ca0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [rcx + 0x14], 0x67452301
mov dword [rcx + 0x18], 0xefcdab89
mov dword [rcx + 0x1c], 0x98badcfe
mov dword [rcx + 0x20], 0x10325476
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], eax
ret
Function at 0x1400367f0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
lea r8, [rsp + 0x38]
mov edx, 0x4004667f
mov dword [rsp + 0x38], 0
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [rsp + 0x38]
add rsp, 0x28
ret

Function at 0x140037460
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x1400374d7
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov rbp, r9
mov esi, edx
mov r12, r8
mov rdi, rcx
nop dword [rax]
mov edx, 0xfeedbeef
mov rcx, r12
call fcn.140055d80
mov edx, 0xfeedbeef
mov rcx, rbp
mov rbx, rax
call fcn.140055d80
movzx ecx, byte [rbx]
xor cl, byte [rax]
inc rdi
dec rsi
mov byte [rdi - 1], cl
jne 0x140037490
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
repz ret
Function at 0x140040eb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov rax, qword [0x1403ac4a0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0xa0]
mov rbp, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xc8]
mov rdi, r8
mov r12, rdx
mov r8, r9
mov rdx, rdi
mov rbx, rcx
call qword [rax + 0x30]
mov r8, qword [rbx + 0x50]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [r12]
lea rcx, [rsp + 0x30]
call qword [r12 + ioctlsocket]
mov r11d, eax
test eax, eax
jle 0x140040f7a
nop dword [rax]
mov edx, dword [rbp]
mov ecx, r11d
mov r8d, edx
mov eax, edx
sar ecx, 8
and r8d, 0x3f
shl eax, 8
add r8d, dword [rsi]
imul r8d, ecx
add r8d, eax
movzx eax, r11b
xor r8d, edx
mov dword [rbp], r8d
add dword [rsi], 3
mov ecx, dword [rbp]
mov edx, ecx
and edx, 0x3f
add edx, dword [rsi]
imul edx, eax
mov eax, ecx
shl eax, 8
add edx, eax
xor edx, ecx
lea rcx, [rsp + 0x30]
mov dword [rbp], edx
add dword [rsi], 3
call qword [r12 + ioctlsocket]
mov r11d, eax
test eax, eax
jg 0x140040f20
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400611e0
add rsp, 0x70
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140044ff0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [rcx + 0x14], 0x67452301
mov dword [rcx + 0x18], 0xefcdab89
mov dword [rcx + 0x1c], 0x98badcfe
mov dword [rcx + 0x20], 0x10325476
mov dword [rcx + 0x24], 0xc3d2e1f0
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], eax
ret

Function at 0x140045020
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [rcx + 0x14], 0x6a09e667
mov dword [rcx + 0x18], 0xbb67ae85
mov dword [rcx + 0x1c], 0x3c6ef372
mov dword [rcx + 0x20], 0xa54ff53a
mov dword [rcx + 0x24], 0x510e527f
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], eax
mov dword [rcx + 0x28], 0x9b05688c
mov dword [rcx + 0x2c], 0x1f83d9ab
mov dword [rcx + 0x30], 0x5be0cd19
ret

Function at 0x1400450c0
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 0x18], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x20], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x28], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x30], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x38], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x40], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x48], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x50], rax
xor eax, eax
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], eax
ret

Function at 0x140045140
Capabilities:
Hash data using sha384

Disassembly:
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rcx + 0x18], rax
movabs rax, 0x629a292a367cd507
mov qword [rcx + 0x20], rax
movabs rax, 0x9159015a3070dd17
mov qword [rcx + 0x28], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rcx + 0x30], rax
movabs rax, 0x67332667ffc00b31
mov qword [rcx + 0x38], rax
movabs rax, 0x8eb44a8768581511
mov qword [rcx + 0x40], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x48], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rcx + 0x50], rax
xor eax, eax
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], eax
ret

Function at 0x1400484f0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [rcx + 0x14], 0x67452301
mov dword [rcx + 0x18], 0xefcdab89
mov dword [rcx + 0x1c], 0x98badcfe
mov dword [rcx + 0x20], 0x10325476
mov dword [rcx + 0x24], 0xc3d2e1f0
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], eax
ret
Function at 0x140049c60
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov r11d, dword [rdx]
mov ebx, dword [r8]
mov r9, r8
mov r10, rdx
lea rdi, [rcx + 8]
mov esi, 8
lea rbp, [0x1400c4e90]
mov eax, ebx
add rdi, 0x10
ror eax, 4
xor eax, dword [rdi - 0x18]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rbp + rcx*4]
xor edx, dword [rbp + rax*4 + 0x200]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [rbp + rax*4 + 0x400]
mov eax, dword [rdi - 0x14]
xor edx, dword [rbp + r8*4 + 0x600]
xor eax, ebx
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
xor r11d, edx
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rbp + rcx*4 + 0x100]
xor edx, dword [rbp + rax*4 + 0x300]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [rbp + rax*4 + 0x500]
xor edx, dword [rbp + r8*4 + 0x700]
xor r11d, edx
mov eax, r11d
ror eax, 4
xor eax, dword [rdi - 0x10]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rbp + rcx*4]
xor edx, dword [rbp + rax*4 + 0x200]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [rbp + rax*4 + 0x400]
mov eax, dword [rdi - 0xc]
xor edx, dword [rbp + r8*4 + 0x600]
xor eax, r11d
mov r8d, eax
mov ecx, eax
xor ebx, edx
shr rax, 0x10
shr rcx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov edx, dword [rbp + rcx*4 + 0x100]
xor edx, dword [rbp + rax*4 + 0x300]
mov eax, r8d
and r8d, 0x3f
shr rax, 8
and eax, 0x3f
xor edx, dword [rbp + rax*4 + 0x500]
xor edx, dword [rbp + r8*4 + 0x700]
xor ebx, edx
dec rsi
jne 0x140049c90
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r10], r11d
mov dword [r9], ebx
mov rbx, qword [rsp + 8]
ret

Function at 0x14004a0b0
Capabilities:
Encrypt data using des

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, 0x20
mov rbx, rdx
mov eax, r9d
mov rdi, rcx
neg eax
mov esi, r9d
mov ebp, r8d
sbb rdx, rdx
add rcx, 0x48
and edx, 0x10
add rdx, rbx
call fcn.140049dd0
xor r12d, r12d
test esi, esi
mov r9d, r12d
lea rdx, [rbx + 8]
lea rcx, [rdi + 0xc8]
sete r9b
mov r8d, ebp
call fcn.140049dd0
cmp esi, 1
mov edx, reloc.WS2_32.dll_recv
cmove edx, r12d
lea rcx, [rdi + 0x148]
mov r9d, esi
add rdx, rbx
mov r8d, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
jmp fcn.140049dd0

Function at 0x14004a840
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0x20
mov eax, r8d
mov rbx, rcx
mov rcx, qword [rcx]
mov r8, rdx
mov edx, eax
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x14004a865
mov dword [rbx + 8], 0x3ea
add rsp, 0x20
pop rbx
ret
Function at 0x140053e40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov edi, r8d
mov rbx, rcx
mov r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140062880
lea rcx, [rbx + 0x10]
mov r9d, edi
mov r8, rsi
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140053e40
push rbx
mov rbx, r8
mov r11, rdx
mov r10, rcx
test r9d, r9d
je 0x140053f21
mov qword [rsp + 0x10], rsi
movzx esi, byte [rcx + 1]
mov qword [rsp + 0x18], rdi
movzx edi, byte [rcx]
cmp rbx, rdx
jne 0x140053ebf
nop word [rax + rax]
movzx r8d, byte [rdi + r10 + 2]
inc r11
lea eax, [r8 + rsi]
movzx esi, al
lea eax, [rdi + 1]
movzx ecx, byte [rsi + r10 + 2]
mov byte [rdi + r10 + 2], cl
movzx edi, al
mov byte [rsi + r10 + 2], r8b
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [rcx + r10 + 2]
xor byte [r11 - 1], al
dec r9d
jne 0x140053e70
mov byte [r10], dil
mov rdi, qword [rsp + 0x18]
mov byte [r10 + 1], sil
mov rsi, qword [rsp + 0x10]
pop rbx
ret
sub r11, rbx
nop word [rax + rax]
movzx r8d, byte [rdi + r10 + 2]
inc rbx
lea eax, [r8 + rsi]
movzx esi, al
lea eax, [rdi + 1]
movzx ecx, byte [rsi + r10 + 2]
mov byte [rdi + r10 + 2], cl
movzx edi, al
mov byte [rsi + r10 + 2], r8b
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [rcx + r10 + 2]
xor al, byte [rbx - 1]
dec r9d
mov byte [r11 + rbx - 1], al
jne 0x140053ed0
mov byte [r10], dil
mov rdi, qword [rsp + 0x18]
mov byte [r10 + 1], sil
mov rsi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x140056130
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
je 0x140056306
push rbp
push rsi
push r12
sub rsp, 0x20
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r14
mov ebp, r8d
mov r12, rdx
mov rsi, rcx
lea r13, str._.C
xor r14d, r14d
nop dword [rax + rax]
mov ecx, dword [rsi + 0x50]
mov eax, reloc.WS2_32.dll_recv
mov edi, ebp
sub eax, dword [rsi + 0x50]
mov rdx, r12
cmp eax, ebp
cmovb edi, eax
add rcx, qword [rsi + 0x40]
mov r8d, edi
mov ebx, edi
call fcn.140061b50
add dword [rsi + 0x50], edi
add r12, rbx
sub ebp, edi
cmp dword [rsi + 0x50], 0x10
jne 0x1400562e2
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x10]
mov dword [rsi + 0x50], r14d
mov rax, qword [rdx]
mov r11d, r14d
mov qword [rcx + 0x10], rax
mov rax, qword [rdx + 8]
mov qword [rcx + 0x18], rax
mov rax, qword [rsi + 0x28]
movzx ebx, byte [rax + 0xf]
nop dword [rax + rax]
mov r9, qword [rsi + 0x10]
mov r10d, r11d
lea r8d, [r11 + 0x20]
lea eax, [r8 - 0x10]
inc r11d
movzx edx, byte [rax + r9]
xor dl, byte [r10 + r9]
mov byte [r8 + r9], dl
mov rax, qword [rsi + 0x40]
mov rdx, qword [rsi + 0x28]
movzx ecx, byte [r10 + rax]
movzx eax, bl
xor rcx, rax
movzx eax, byte [rcx + r13]
xor byte [rdx + r10], al
movzx ebx, byte [rdx + r10]
cmp r11d, 0x10
jl 0x1400561d0
xor dl, dl
mov r9d, r14d
nop dword [rax + rax]
mov r10d, 2
lea r11d, [r10 + 4]
nop word [rax + rax]
movzx eax, dl
lea ecx, [r10 - 2]
add rcx, qword [rsi + 0x10]
movzx eax, byte [rax + r13]
xor byte [rcx], al
movzx edx, byte [rcx]
lea ecx, [r10 - 1]
add rcx, qword [rsi + 0x10]
movzx eax, byte [rdx + r13]
xor byte [rcx], al
movzx eax, byte [rcx]
mov ecx, r10d
add rcx, qword [rsi + 0x10]
movzx eax, byte [rax + r13]
xor byte [rcx], al
movzx edx, byte [rcx]
lea ecx, [r10 + 1]
add rcx, qword [rsi + 0x10]
movzx eax, byte [rdx + r13]
xor byte [rcx], al
movzx edx, byte [rcx]
lea ecx, [r10 + 2]
add rcx, qword [rsi + 0x10]
movzx eax, byte [rdx + r13]
xor byte [rcx], al
movzx edx, byte [rcx]
lea ecx, [r10 + 3]
add rcx, qword [rsi + 0x10]
movzx eax, byte [rdx + r13]
xor byte [rcx], al
movzx edx, byte [rcx]
lea ecx, [r10 + 4]
add rcx, qword [rsi + 0x10]
movzx eax, byte [rdx + r13]
lea edx, [r10 + 5]
xor byte [rcx], al
movzx r8d, byte [rcx]
mov rcx, qword [rsi + 0x10]
movzx eax, byte [r8 + r13]
add r10d, 8
xor byte [rdx + rcx], al
dec r11
movzx edx, byte [rdx + rcx]
jne 0x140056230
add dl, r9b
inc r9d
cmp r9d, 0x12
jl 0x140056220
test ebp, ebp
jne 0x140056170
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r12
pop rsi
pop rbp
repz ret

Function at 0x140056680
Capabilities:
Write file on windows

Disassembly:
mov r9, qword [rcx]
mov r8d, dword [rdx]
mov rax, rdx
mov rcx, qword [rax + 8]
mov edx, 1
jmp fcn.1400692f8
Function at 0x140056740
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
xor edx, edx
mov rsi, rcx
call fcn.1400565d0
mov ebx, eax
mov eax, dword [rdi]
cmp ebx, eax
jbe 0x140056794
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov r8d, eax
mov r9d, ebx
mov byte [rsp + 0x20], 1
call fcn.140013d30
mov ecx, dword [rdi]
mov r8d, ebx
sub r8d, ecx
add rcx, rax
xor edx, edx
mov qword [rdi + 8], rax
call fcn.140062880
mov dword [rdi], ebx
mov r9, qword [rsi]
mov rcx, qword [rdi + 8]
mov r8, rbx
mov edx, 1
call fcn.140068480
mov rsi, qword [rsp + 0x48]
xor ecx, ecx
cmp rax, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x40]
mov eax, ecx
add rsp, 0x30
pop rdi
ret

Function at 0x140061ae0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140061950

Function at 0x14006e98b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1403ac4a0]
jne 0x1400611fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400611f6
repz ret
ror rcx, 0x10
jmp 0x14006e8e4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140441340]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140441438]
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 0x14006e969
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, [0x140441340]
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 0x14006e98b
mov rax, qword [rsp + 0x88]
mov qword [0x140441438], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1404413d8], rax
mov rax, qword [0x140441438]
mov qword [0x1404412b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1404413c0], rax
mov dword [0x1404412a0], 0xc0000409
mov dword [0x1404412a4], 1
mov rax, qword [0x1403ac4a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1403ac4a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140441338], eax
mov ecx, 1
call fcn.140074884
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400c7df0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140441338], 0
jne 0x14006ea12
mov ecx, 1
call fcn.140074884
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 0x14007ac3c
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 [0x1403ac4a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14006e52c
xor ebx, ebx
cmp qword [0x140441fb0], rbx
mov rdi, rax
jne 0x14007ad4f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14007ae26
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007ae26
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140441fb0], 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 [0x140441fb8], 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 [0x140441fc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140441fd0], rax
test rax, rax
je 0x14007ad46
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 [0x140441fc8], rax
jmp 0x14007ad56
mov rax, qword [0x140441fc8]
jmp 0x14007ad5d
mov rax, qword [0x140441fc8]
mov r11, qword [0x140441fd0]
cmp rax, rdi
je 0x14007adc4
cmp r11, rdi
je 0x14007adc4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140441fd0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14007adc4
test rax, rax
je 0x14007adc4
call rsi
test rax, rax
je 0x14007adbe
lea rcx, [rsp + 0x30]
mov r9d, recv
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14007adbe
test byte [rsp + 0x40], 1
jne 0x14007adc4
bts ebp, 0x15
jmp 0x14007ae04
mov rcx, qword [0x140441fb8]
cmp rcx, rdi
je 0x14007ae04
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14007ae04
call rax
mov rbx, rax
test rax, rax
je 0x14007ae04
mov rcx, qword [0x140441fc0]
cmp rcx, rdi
je 0x14007ae04
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14007ae04
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140441fb0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14007ae26
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14007ae28
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400611e0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14008b1e4
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14008b1fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14008b1fe
xor eax, eax
test eax, eax
je 0x14008b20e
mov ecx, eax
call fcn.140061098
or eax, 0xffffffff
jmp 0x14008b210
xor eax, eax
add rsp, 0x28
ret
Function at 0x14008b6f0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14008b706
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14008b708
xor eax, eax
test eax, eax
je 0x14008b718
mov ecx, eax
call fcn.140061098
or eax, 0xffffffff
jmp 0x14008b71a
xor eax, eax
add rsp, 0x28
ret
jmp 0x14008b6f0

Function at 0x14008b720
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14008b706
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14008b708
xor eax, eax
test eax, eax
je 0x14008b718
mov ecx, eax
call fcn.140061098
or eax, 0xffffffff
jmp 0x14008b71a
xor eax, eax
add rsp, 0x28
ret
jmp 0x14008b6f0
Function at 0x140001493
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
lea r8, section..rdata
mov edx, 3
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_FindResourceA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400014ce
mov eax, 0
jmp 0x140001629
mov rax, qword [rbp - 8]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SizeofResource]
call rax
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_LoadResource]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x140001510
mov eax, 0
jmp 0x140001629
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LockResource]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140001535
mov eax, 0
jmp 0x140001629
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
mov r9d, 0
mov r8d, 0
mov edx, 0x40000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0xffffffffffffffff
jne 0x140001590
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
jmp 0x140001629
mov dword [rbp - 0x2c], 0
lea r8, [rbp - 0x2c]
mov ecx, dword [rbp - 0xc]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
test eax, eax
jne 0x1400015e8
mov rax, qword [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, 0
jmp 0x140001629
mov rax, qword [rbp - 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
add rsp, 0x70
pop rbp
ret