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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14023b172
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14023b1b9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14023b212
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x14023b1d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14023b253
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14026a768]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14026a769]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14023b220
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140583108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14058328f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140583139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14058311f
add dl, dl
jne 0x140583146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405831a6
xor eax, eax
add dl, dl
jne 0x140583155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14058325d
add dl, dl
jne 0x140583166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140583173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140583180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14058318d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14058319a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14058312e
mov eax, 1
add dl, dl
jne 0x1405831b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405831c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405831ab
sub eax, ebx
mov ebx, 1
jne 0x1405831fc
mov ecx, 1
add dl, dl
jne 0x1405831de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405831eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405831d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14058312e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140583218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140583225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14058320d
cmp eax, 0x7d00
jae 0x14058324b
cmp eax, 0x500
jb 0x140583246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14058312e
cmp eax, 0x7f
ja 0x14058324e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14058312e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140583282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14058312e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180004160
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp byte [r8], 0
mov ebp, r9d
mov rsi, r8
mov rax, rdx
mov rdi, rcx
je 0x180004250
mov rdx, r8
mov qword [rsp + 0x50], rbx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ebx, eax
test eax, 0xfffffffd
je 0x18000424c
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x1800041fa
lea rdx, str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
mov r8d, VarDecFix
mov qword [rsp + 0x38], rdx
lea r9, str.AssertLogRel__s__d___s:__s_n
lea rdx, str.long___cdecl_vbpsDeleteKeyRecursiveA_struct_VBPSREGSTATE__struct_HKEY____const_char__unsigned_int_
mov rcx, rax
mov qword [rsp + 0x30], rdx
lea rdx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
mov dword [rsp + 0x28], 0x3e2
mov qword [rsp + 0x20], rdx
mov edx, 0x10
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180004232
mov dword [rsp + 0x30], ebx
lea r9, str._d:_delete_key__s_____u_n
mov qword [rsp + 0x28], rsi
mov edx, 0x10
mov r8d, VarDecFix
mov dword [rsp + 0x20], ebp
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [rdi + 0x64], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
xor eax, eax
jmp 0x180004237
mov rbp, qword [rsp + 0x58]
mov eax, 0x57
mov rsi, qword [rsp + 0x60]
mov dword [rcx + 0x64], 0x57
add rsp, 0x40
pop rdi
ret
Function at 0x180004270
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp word [r8], 0
mov ebp, r9d
mov rsi, r8
mov rax, rdx
mov rdi, rcx
je 0x180004361
mov rdx, r8
mov qword [rsp + 0x50], rbx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ebx, eax
test eax, 0xfffffffd
je 0x18000435d
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x18000430b
lea rdx, str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
mov r8d, VarDecFix
mov qword [rsp + 0x38], rdx
lea r9, str.AssertLogRel__s__d___s:__s_n
lea rdx, str.long___cdecl_vbpsDeleteKeyRecursiveW_struct_VBPSREGSTATE__struct_HKEY____const_unsigned_short__unsigned_int_
mov rcx, rax
mov qword [rsp + 0x30], rdx
lea rdx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
mov dword [rsp + 0x28], 0x40a
mov qword [rsp + 0x20], rdx
mov edx, 0x10
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180004343
mov dword [rsp + 0x30], ebx
lea r9, str._d:_delete_key__ls_____u_n
mov qword [rsp + 0x28], rsi
mov edx, 0x10
mov r8d, VarDecFix
mov dword [rsp + 0x20], ebp
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [rdi + 0x64], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
xor eax, eax
jmp 0x180004348
mov rbp, qword [rsp + 0x58]
mov eax, 0x57
mov rsi, qword [rsp + 0x60]
mov dword [rcx + 0x64], 0x57
add rsp, 0x40
pop rdi
ret
Function at 0x180005850
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov rax, qword [0x18005f8e8]
xor rax, rbp
mov qword [rbp + 8], rax
mov rdi, r9
mov r12, r8
mov r13, rdx
mov r15, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r9 + rbx], 0
jne 0x180005890
inc ebx
cmp byte [rcx + 0x78], 0
jne 0x18000592c
lea eax, [rbx + 0x80]
mov ecx, eax
mov dword [rbp], eax
add rax, 0xf
cmp rax, rcx
ja 0x1800058c4
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.180006ee0
sub rsp, rax
lea r9, [rbp + 4]
lea rax, [rbp]
xor r8d, r8d
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x28], rax
lea r14, [rsp + 0x40]
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18000592c
cmp dword [rbp + 4], 1
jne 0x18000592c
cmp dword [rbp], ebx
jne 0x18000592c
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
mov esi, ebx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180005950
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__memicmp]
test eax, eax
je 0x180005950
mov dword [rsp + 0x28], ebx
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r12
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
jne 0x180005957
xor eax, eax
jmp 0x1800059f4
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x1800059ae
lea rdx, str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
mov r8d, VarDecFix
mov qword [rsp + 0x38], rdx
lea r9, str.AssertLogRel__s__d___s:__s_n
lea rdx, str.long___cdecl_vbpsSetRegValueAA_struct_VBPSREGSTATE__struct_HKEY____const_char__const_char__unsigned_int_
mov rcx, rax
mov qword [rsp + 0x30], rdx
lea rdx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
mov dword [rsp + 0x28], 0x322
mov qword [rsp + 0x20], rdx
mov edx, 0x10
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x1800059ee
mov ecx, dword [rbp + 0x60]
lea r9, str._d:__s_s_____u_n
mov dword [rsp + 0x38], ebx
mov edx, 0x10
mov qword [rsp + 0x30], rdi
mov r8d, VarDecFix
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [r15 + 0x64], ebx
mov eax, ebx
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.180006f40
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180005a20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x18005f8e8]
xor rax, rbp
mov qword [rbp + 8], rax
mov rsi, rcx
mov rdi, r9
mov rcx, r9
mov r14, r8
mov r12, rdx
call qword [sym.imp.VBoxRT.dll_RTUtf16Len]
cmp byte [rsi + 0x78], 0
lea ebx, [rax*2 + 2]
jne 0x180005ae1
lea eax, [rbx + 0x80]
mov r10d, eax
mov dword [rbp], eax
add rax, 0xf
cmp rax, r10
ja 0x180005a8e
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.180006ee0
sub rsp, rax
lea r9, [rbp + 4]
lea rax, [rbp]
xor r8d, r8d
mov rdx, r14
mov rcx, r12
mov qword [rsp + 0x28], rax
lea r15, [rsp + 0x40]
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180005ae1
cmp dword [rbp + 4], 1
jne 0x180005ae1
cmp dword [rbp], ebx
jne 0x180005ae1
mov r8d, ebx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180005b05
mov dword [rsp + 0x28], ebx
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r14
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x180005b0c
xor eax, eax
jmp 0x180005ba8
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180005b63
lea rdx, str.VBPS_LOGREL_NO_ASSERT_rc__ERROR_ACCESS_DENIED_
mov r8d, VarDecFix
mov qword [rsp + 0x38], rdx
lea r9, str.AssertLogRel__s__d___s:__s_n
lea rdx, str.long___cdecl_vbpsSetRegValueWW_struct_VBPSREGSTATE__struct_HKEY____const_unsigned_short__const_unsigned_short__unsigned_int_
mov rcx, rax
mov qword [rsp + 0x30], rdx
lea rdx, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_allwinVBoxProxyStub.c
mov dword [rsp + 0x28], 0x2df
mov qword [rsp + 0x20], rdx
mov edx, 0x10
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0xb80010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x180005ba3
mov ecx, dword [rbp + 0x50]
lea r9, str._d:__ls_ls_____u_n
mov dword [rsp + 0x38], ebx
mov edx, 0x10
mov qword [rsp + 0x30], rdi
mov r8d, VarDecFix
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov dword [rsi + 0x64], ebx
mov eax, ebx
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.180006f40
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
Function at 0x14001a750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
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 0x14001a7e0
cmp r11, r10
ja 0x14001a856
cmp r10, rdx
ja 0x14001a86a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14001a7e2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001a7c0
jmp 0x14001a844
ja 0x14001a7ea
mov r11, r10
cmp rax, r8
jne 0x14001a784
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 0x14001a820
mov rdi, r8
sub ecx, edx
jns 0x14001a83b
jmp 0x14001a846
cmp r8, rsi
je 0x14001a87b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14001a846
xor al, 1
cmp rdi, rsi
jne 0x14001a800
jmp 0x14001a846
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, [0x1413b90b8]
mov rcx, r11
mov rdx, r10
call fcn.1400514f0
ud2
lea r8, [0x1413b90b8]
mov rcx, r10
call fcn.1400512c0
ud2
lea rcx, [0x1413bd758]
lea r8, [0x1413b90a0]
mov edx, 0x2b
call fcn.140051330
ud2

Function at 0x140020030
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140017dc0
cmp rax, rcx
je 0x140020055
cmp rdx, 4
jae 0x140020058
xor eax, eax
xor r8d, r8d
jmp 0x1400200f0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140053720]
movdqa xmm3, xmmword [0x140053530]
pxor xmm1, xmm1
nop dword [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 0x140020080
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140020107
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400200f0
ret
Function at 0x140021080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1400210db
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400210db
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400210f6
cmp eax, 0x42
jne 0x1400210db
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1400211a6
cmp byte [r9 + r11], 0x5f
jne 0x1400211a6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14002120e
mov rcx, rsi
xor edx, edx
call fcn.14001c7e0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.14001c7e0
test al, al
jne 0x1400212a1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021132
lea rdx, [0x1413bd053]
mov r8d, 1
call fcn.140018350
test al, al
jne 0x1400212a1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400210ea
xor r14d, r14d
lea rbx, [0x1413bd408]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140021164
cmp byte [rax + rcx], 0x45
je 0x1400212ca
sub r14, 1
jb 0x140021189
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140021189
mov r8d, 2
mov rdx, rbx
call fcn.140018350
test al, al
jne 0x1400212a1
mov rcx, rsi
call fcn.14001e030
test al, al
jne 0x1400212a1
mov rax, qword [rsi]
test rax, rax
jne 0x140021150
jmp 0x1400210ea
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140021268
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140021202
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400211ec
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400211db
add dl, 0xa9
jmp 0x1400211ea
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140021268
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140021268
movzx edx, bl
add rax, rdx
jae 0x1400211b0
jmp 0x140021268
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140021268
cmp rax, rcx
jae 0x140021265
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400212a9
cmp qword [rsi + 0x20], 0
je 0x1400212c3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140021080
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400210ec
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400212b8
lea rax, [0x1413bd3b8]
lea rdx, [0x1413bd3c8]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140018350
test al, al
je 0x1400212b8
mov dil, 2
jmp 0x1400210ea
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140021273
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400210ea
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400210ea
Function at 0x140025550
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1413bff00]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400255c3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400255fa
test eax, eax
js 0x1400255d4
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400255ed
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x1413bff60]
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.140024290
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.140023950
mov rcx, rax
call fcn.140023a90
mov ecx, 7
int 0x29
ud2
Function at 0x14002d230
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1413bff00]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14002d29c
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14002d2ab
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14002d2e3
cmp eax, 0x103
je 0x14002d2ed
test eax, eax
js 0x14002d2c8
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14002d2e3
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x1413bff60]
lea rsi, [rsp + 0x78]
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, rsi
call fcn.140024290
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.140023950
mov rcx, rax
call fcn.140023a90
mov ecx, 7
int 0x29
ud2
Function at 0x140038fb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm6
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.1400260d0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
test rcx, rcx
je 0x140039026
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.140039190
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x140039034
movdqu xmm6, xmmword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140039054
mov qword [rsi], rdi
movdqu xmmword [rsi + 8], xmm6
jmp 0x140039045
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
call fcn.1400262b0
mov qword [rsi], 0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
ret
mov qword [rsi], 0
movq rax, xmm6
test rax, rax
je 0x140039045
mov rcx, qword [0x1413d2bb8]
xor edx, edx
mov r8, rdi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
Function at 0x14003af00
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1413d2ad0]
mov rcx, qword [0x1413d2bb8]
test rcx, rcx
jne 0x14003af4c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14003b01a
mov rcx, rax
mov qword [0x1413d2bb8], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14003b01a
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14003b460]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14003b00c
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
mov rsi, qword [rbp - 0x18]
je 0x14003afe5
cmp qword [rax + 0x10], 0x11
jae 0x14003afce
mov r8, qword [rbp - 0x20]
jmp 0x14003afd6
mov r8, qword [rbp - 0x20]
mov r8, qword [r8 - 8]
mov rcx, qword [0x1413d2bb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1413d2bb8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400510d0
ud2