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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400f3570
call fcn.1400be240
mov dword [rax], socket
call fcn.1400bdfdc
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400f3558
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400f3558
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1400f35a2
lock or dword [rax + 0x14], 0x10
jmp 0x1400f3558
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400f35bf
mov rcx, qword [rbp + 0x10]
call fcn.1401018b8
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400ef9f4
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400ebb1c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1400f3616
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1400f3558
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400f3682
mov rcx, qword [rbp + 0x10]
call fcn.1400ef9f4
cmp eax, 0xffffffff
je 0x1400f3669
mov rcx, qword [rbp + 0x10]
call fcn.1400ef9f4
cmp eax, 0xfffffffe
je 0x1400f3669
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400ef9f4
movsxd rdi, eax
lea rsi, [0x14014c030]
mov rcx, rbx
sar rdi, 6
call fcn.1400ef9f4
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1400f3670
lea rax, [0x14014a1f0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400f3682
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1400f36b8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400f36b4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400f36b4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1400f355b
jmp 0x1400f3528
Function at 0x1400fea4c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400fea6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400be1d0
or eax, 0xffffffff
jmp 0x1400fea6e
xor eax, eax
add rsp, 0x28
ret
Function at 0x140109814
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x5c]
call fcn.1400b0440
mov eax, 1
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret

Function at 0x140115608
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x60]
call fcn.1400b0440
lea rdx, [rbp + 0x60]
call fcn.1401184c8
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400b0440
lea rcx, [rbp + 0x60]
call fcn.140118550
mov r8, rax
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1400ca750
lea rcx, [rsp + 0x50]
call fcn.1401185dc
lea rdx, [rsp + 0x50]
call fcn.1400034e8
mov dword [rsp + 0x3f], 0x5c7365
mov word [rsp + 0x30], 0x746e
mov dword [rsp + 0x20], 0x54535953
mov word [rsp + 0x33], 0x6c6f
mov dword [rsp + 0x2b], 0x43746e65
mov word [rsp + 0x3d], 0x6369
mov dword [rsp + 0x26], 0x7275435c
mov dword [rsp + 0x36], 0x735c7465
mov byte [rsp + 0x32], WSAStartup
mov word [rsp + 0x3a], 0x7265
mov word [rsp + 0x24], 0x4d45
mov byte [rsp + 0x35], 0x53
mov byte [rsp + 0x3c], 0x76
mov byte [rsp + 0x2f], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x2a], WSAStartup
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x188]
call fcn.140012d10
mov rdx, rax
lea rcx, [0x14014c9d0]
call fcn.140001afc
mov r8, rax
lea rcx, [rbp + 0x180]
call fcn.140002d1c
nop
mov rdx, rax
lea rcx, [0x14014c9c8]
call fcn.140003378
nop
lea rcx, [rbp + 0x180]
call fcn.1400130dc
nop
lea rcx, [rbp + 0x188]
call fcn.1400130dc
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rbp
ret

Function at 0x1401162a4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov al, byte [rcx]
mov r8, rcx
or edx, 0xffffffff
jmp 0x1401162da
movzx eax, al
mov r9d, 7
xor edx, eax
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov edx, ecx
xor edx, eax
sub r9d, 1
jns 0x1401162b9
inc r8
mov al, byte [r8]
test al, al
jne 0x1401162ae
not edx
mov eax, edx
ret

Function at 0x14011b18c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x10], rdx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, rdx
and dword [rbp - 0x30], 0
lea rdx, [rbp - 0x28]
call fcn.14011b120
mov rcx, rdi
call fcn.140001564
mov dword [rbp - 0x30], 1
call fcn.140041c70
xor esi, esi
mov dword [rbp - 0xd], 0x65646362
mov dword [rbp - 0x18], 0x33323130
mov word [rbp - 9], 0x66
mov word [rbp - 0x10], 0x3938
mov word [rbp - 0x13], 0x3635
mov byte [rbp - 0x11], 0x37
mov byte [rbp - 0xe], 0x61
mov byte [rbp - 0x14], 0x34
movzx ebx, byte [rbp + rsi - 0x28]
mov eax, ebx
shr rax, 4
mov dl, byte [rbp + rax - 0x18]
mov rcx, rdi
call fcn.1400034d0
and ebx, 0xf
mov dl, byte [rbp + rbx - 0x18]
mov rcx, rdi
call fcn.1400034d0
inc rsi
cmp rsi, 0x10
jl 0x14011b1cd
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x14011d724
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
movups xmm0, xmmword [rcx]
mov rdi, rdx
mov rbx, rcx
movups xmm1, xmmword [rcx + 0x10]
mov word [rbp - 0x36], 0x3433
movups xmmword [rbp + 0x37], xmm0
mov dword [rbp - 0x2c], 0x666564
movups xmmword [rbp + 0x47], xmm1
mov word [rbp - 0x39], 0x3130
mov word [rbp - 0x31], 0x3938
mov word [rbp - 0x2e], 0x6362
mov word [rbp - 0x33], 0x3736
mov byte [rbp - 0x2f], 0x61
mov byte [rbp - 0x37], 0x32
mov byte [rbp - 0x34], 0x35
call fcn.14011d85c
xor ecx, ecx
lea r8, [rbp + 0x37]
sub r8, rbx
lea r9d, [rcx + 8]
mov edx, dword [rbx]
lea rcx, [rcx + 8]
mov eax, edx
shr rax, 0x1c
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x21], al
mov eax, edx
shr rax, 0x18
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x20], al
mov eax, edx
shr rax, 0x14
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1f], al
mov eax, edx
shr rax, 0x10
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1e], al
mov eax, edx
shr rax, 0xc
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1d], al
mov eax, edx
shr rax, 8
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1c], al
mov eax, edx
shr rax, 4
and edx, 0xf
and eax, 0xf
mov al, byte [rbp + rax - 0x39]
mov byte [rbp + rcx - 0x1b], al
mov al, byte [rbp + rdx - 0x39]
mov byte [rbp + rcx - 0x1a], al
mov eax, dword [r8 + rbx]
mov dword [rbx], eax
lea rbx, [rbx + 4]
sub r9, 1
jne 0x14011d793
mov byte [rbp + rcx - 0x19], r9b
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.14000153c
lea r11, [rsp + 0xb0]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14011ed84
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
and qword [rcx + 0x28], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret

Function at 0x14011efe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xcc0
lea rbp, [rsp + 0x30]
mov r13d, WSAStartup
mov qword [rbp + 0xcd0], rbx
xor ebx, ebx
mov dword [rbp + 0x6e], 0x720075
mov rsi, rcx
mov dword [rbp + 0x56], 0x690057
mov r14d, 0x800
mov dword [rbp + 0x44], 0x630069
lea eax, [r13 - 0x2f]
mov dword [rbp + 0x38], 0x410057
mov word [rbp + 0x6c], ax
lea r11d, [r13 - 0xd]
lea eax, [rbx + 0x52]
mov dword [rbp + 0x3e], 0x5c0045
mov word [rbp + 0x3c], ax
lea r10d, [r13 - 3]
lea eax, [rbx + 0x4d]
mov dword [rbp + 0x30], 0x4f0053
mov r8d, r14d
mov word [rbp + 0x42], ax
xor edx, edx
mov dword [rbp + 0x4a], 0x73006f
lea rcx, [rbp + 0x490]
mov dword [rbp + 0x4e], 0x66006f
mov dword [rbp + 0x7e], 0x730072
mov dword [rbp + 0x34], 0x540046
mov dword [rbp + 0x64], 0x4e0020
mov dword [rbp + 0x74], 0x6e0065
mov dword [rbp + 0x82], 0x6f0069
mov dword [rbp + 0x52], 0x5c0074
mov dword [rbp + 0x68], 0x5c0054
mov dword [rbp + 0x78], 0x560074
mov dword [rbp + 0x60], 0x730077
mov dword [rbp + 0x5a], 0x64006e
mov word [rbp + 0x72], r13w
mov word [rbp + 0x48], r13w
mov dword [rbp + 0x86], WSAStartup
mov word [rbp + 0x5e], r10w
mov word [rbp + 0x7c], r11w
mov dword [rbp + 0x12], 0x64006f
mov dword [rbp + 0x16], 0x630075
mov dword [rbp + 0xc], 0x50006c
mov dword [rbp + 8], 0x610074
mov dword [rbp + 0x1a], 0x490074
mov dword [rbp + 4], 0x690067
mov dword [rbp + 0x1e], 0x64
mov dword [rbp], 0x690044
mov word [rbp + 0x10], r13w
call fcn.1400b0440
lea rax, [rbp + 0xce0]
mov dword [rbp + 0xcd8], r14d
mov r9d, 0x101
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x30]
call fcn.1401170ec
test eax, eax
jne 0x14011f227
mov rcx, qword [rbp + 0xce0]
lea rax, [rbp + 0xcd8]
mov qword [rsp + 0x28], rax
lea rdx, [rbp]
lea rax, [rbp + 0x490]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call fcn.140117024
test eax, eax
jne 0x14011f21b
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x400
call fcn.1400b0440
mov r8d, dword [rbp + 0xcd8]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x490]
call fcn.14011f248
call fcn.140012a64
lea rcx, [rbp + 0x90]
mov edi, eax
call fcn.1400be0e0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14011f209
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14011f1e0
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400ae580
sub rsp, rcx
mov r8d, edx
mov r9d, edi
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.1400422d0
mov rbx, rax
or r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.1400cead4
mov rcx, qword [rbp + 0xce0]
call fcn.140118438
mov rbx, qword [rbp + 0xcd0]
lea rsp, [rbp + 0xc90]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14011f300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rbx, rcx
mov edi, 0x200
mov r8d, edi
lea rcx, [rbp - 0x70]
xor edx, edx
call fcn.1400b0440
mov r10d, reloc.WS2_32.dll_WSAGetLastError
mov dword [rbp + 0x1d8], edi
lea rax, [rbp + 0x1e8]
mov dword [rsp + 0x70], 0x740066
mov r9d, 0x20019
mov dword [rbp - 0x7a], 0x700061
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x74], 0x43005c
lea r8d, [r10 + 3]
mov dword [rsp + 0x6a], 0x73006f
lea r13d, [r10 - 7]
mov word [rsp + 0x68], r8w
mov word [rbp - 0x7c], r8w
lea r15d, [r10 - 0x22]
mov word [rbp - 0x76], r13w
mov dword [rsp + 0x58], 0x410057
mov dword [rsp + 0x78], 0x790072
mov dword [rsp + 0x60], 0x4d005c
mov dword [rsp + 0x7c], 0x740070
mov dword [rsp + 0x64], 0x630069
mov dword [rbp - 0x80], 0x67006f
mov dword [rsp + 0x5c], 0x450052
mov dword [rsp + 0x50], 0x4f0053
mov dword [rsp + 0x54], 0x540046
mov dword [rbp - 0x74], 0x79
mov word [rsp + 0x6e], r10w
mov qword [rsp + 0x20], rax
call fcn.1401170ec
test eax, eax
jne 0x14011f4cf
mov rcx, qword [rbp + 0x1e8]
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1e0]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x38], 0x6e0069
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x44], 0x64
mov dword [rsp + 0x3c], 0x470065
mov dword [rsp + 0x32], 0x630061
mov dword [rsp + 0x40], 0x690075
mov word [rsp + 0x30], r15w
mov word [rsp + 0x36], r13w
call fcn.140117024
test eax, eax
je 0x14011f4ae
lea rax, [rbp + 0x1e8]
mov r9d, 0x20119
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1401170ec
test eax, eax
jne 0x14011f4cf
mov rcx, qword [rbp + 0x1e8]
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1e0]
lea rax, [rbp - 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140117024
test eax, eax
jne 0x14011f4cf
or r9, 0xffffffffffffffff
lea r8, [rbp - 0x70]
mov edx, 0x800
mov rcx, rbx
call fcn.1400cead4
mov rcx, qword [rbp + 0x1e8]
call fcn.140118438
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007f90
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x140007fcb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007ff0
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002e0c0], 0
jne 0x140008008
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007fbe
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d390]
mov qword [rsp + 0x20], 0
lea rdi, [0x14002e0e0]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400080d4
test al, 0x10
je 0x140007fd4
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007fd4
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140008080
jmp 0x140007fd4

Function at 0x14000eed0
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.1400152b0
sub rsp, rax
mov eax, dword [0x1400320e0]
mov rsi, rcx
test eax, eax
je 0x14000ef70
xor ebx, ebx
lea rdi, [0x1400300e0]
test eax, eax
jg 0x14000ef0c
jmp 0x14000ef20
add rbx, 1
cmp dword [0x1400320e0], ebx
jle 0x14000ef20
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000ef00
jmp 0x14000ef57
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000ef35
cmp word [rsi + 2], 0x3a
je 0x14000ef57
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000efc0
movsxd rbx, dword [0x1400320e0]
cmp ebx, 0x3ff
jle 0x14000efd8
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str._HOME_
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007870
test al, al
je 0x14000effa
movsxd rbx, dword [0x1400320e0]
mov rcx, rdi
lea rdi, [0x1400300e0]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x1400320e0]
add eax, 1
mov dword [0x1400320e0], eax
jmp 0x14000eef1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000ef44
xor eax, eax
jmp 0x14000ef5c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x1400320e0], 1
mov rdx, rax
lea rax, [0x1400300e0]
mov qword [rax + rbx*8], rdx
jmp 0x14000ef57
mov rcx, rbx
call fcn.140007ed0
nop
nop word cs:[rax + rax]
nop
Function at 0x140013f90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001aee0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001aee0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140014c62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140032208]
test eax, eax
je 0x140014cfa
lea rax, [0x1400321e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140032210]
mov qword [rbp - 8], rax
jmp 0x140014cde
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140014cd2
cmp qword [rbp - 0x10], 0
je 0x140014cd2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140014c98
lea rax, [0x1400321e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140014cfb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140014e00
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140014e28
mov eax, 0
jmp 0x140014e76
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140014e51
mov eax, 0
jmp 0x140014e76
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140014e71
mov eax, 0
jmp 0x140014e76
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140014e7c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140014efa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140014ef1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140014ef1
mov rax, qword [rbp - 8]
jmp 0x140014f0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140014ec4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov ebx, 3
lea rdx, [rsp + 0x30]
mov ecx, ebx
lea rax, [0x140002260]
nop
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140001030
mov rcx, qword [rax + 0x70]
mov r8d, 0x3000
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rcx
movzx ecx, word [rax + 0x78]
mov word [rdx + 0x78], cx
xor ecx, ecx
mov edx, 0x1fa
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rbx, 1
jne 0x1400010f0
mov rax, qword [rdx + 0x70]
xor r9d, r9d
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
movzx eax, word [rdx + 0x78]
xor edx, edx
mov word [rcx + 0x78], ax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1400011e0
add rsp, 0x240
pop rbx
ret