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

Disassembly:
mov eax, gethostname
call fcn.140010660
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x1402008f9
lea rax, [0x1401fec20]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401f6ab0
lea rax, [0x1401ffa60]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401f6c80

Function at 0x14020a050
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rsi, r9
mov rbx, rcx
test rcx, rcx
je 0x14020a164
test r10, r10
je 0x14020a164
movzx eax, byte [rcx]
test r8d, r8d
jne 0x14020a095
cmp al, 0x7f
jbe 0x14020a15d
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x14020a16c
mov r11b, 0xff
cmp al, 0x80
jbe 0x14020a0ab
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x14020a16c
jne 0x14020a15d
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x14020a14e
cmp rcx, 8
jb 0x14020a140
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax + rax]
movd xmm1, dword [rax + rbx]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm1, xmm3
movdqa xmm3, xmm1
movd xmm1, dword [rax + rbx + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
por xmm1, xmm2
movdqa xmm2, xmm1
cmp rax, rdx
jb 0x14020a0e0
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x14020a14e
nop
movzx ecx, byte [rax + rbx]
inc rax
or edx, ecx
cmp rax, r10
jb 0x14020a140
neg edx
sbb r11b, r11b
movzx r11d, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x14020a16c
mov eax, 1
mov r10, rdx
mov qword [rsp + 0x10], rdi
test rsi, rsi
je 0x14020a1c5
mov rdi, qword [r9]
test rdi, rdi
je 0x14020a1c5
movzx r8d, r11b
lea r9, [rbx + r10]
and r8d, 1
mov byte [rdi], r11b
test r10, r10
je 0x14020a1c2
mov ebx, edx
add rbx, rdi
nop word [rax + rax]
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x14020a1a0
add qword [rsi], rax
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
pop rsi
ret

Function at 0x140210410
Capabilities:
Resolve dns

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 0x40]
lea r9, [rcx + 0x48]
mov r8, qword [r9]
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
mov qword [r9], 0
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov ecx, eax
call fcn.140210390
mov dword [rbx + 0x58], eax
add rsp, 0x20
pop rbx
ret

Function at 0x140211ce4
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x140399578]
add rcx, 0x40
mov r8d, 0x20
call sub.VCRUNTIME140.dll_memcpy
and qword [rbx + 0x60], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140223e58
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov ecx, 0x18
call fcn.140010338
mov r9, rax
test rax, rax
je 0x140223ea8
mov rax, qword [rsp + 0x60]
mov r10b, byte [rax]
mov byte [r9], r10b
mov eax, dword [rbx]
mov dword [r9 + 4], eax
mov rax, qword [rsi]
mov qword [r9 + 8], rax
mov qword [r9 + 0x10], rbp
jmp 0x140223eab
xor r9d, r9d
mov qword [rsp + 0x40], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
lea r8, [0x1402240d4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140223eec
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x14022410c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov ecx, 0x18
call fcn.140010338
mov r9, rax
test rax, rax
je 0x140224167
mov rax, qword [rsp + 0x68]
mov r10b, byte [rax]
mov byte [r9], r10b
mov rax, qword [rsp + 0x60]
mov cl, byte [rax]
mov byte [r9 + 1], cl
mov eax, dword [rbx]
mov dword [r9 + 4], eax
mov rax, qword [rsi]
mov qword [r9 + 8], rax
mov qword [r9 + 0x10], rbp
jmp 0x14022416a
xor r9d, r9d
mov qword [rsp + 0x40], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
lea r8, [0x140224260]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1402241ab
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x1402241bc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov ecx, 0x20
call fcn.140010338
mov r9, rax
test rax, rax
je 0x14022420c
mov rax, qword [rsp + 0x60]
mov r10, qword [rax]
mov qword [r9], r10
mov eax, dword [rbx]
mov dword [r9 + 8], eax
mov rax, qword [rsi]
mov qword [r9 + 0x10], rax
mov qword [r9 + 0x18], rbp
jmp 0x14022420f
xor r9d, r9d
mov qword [rsp + 0x40], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
lea r8, [0x1402242b8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140224250
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140224b38
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
sub rsp, 0x98
movdqu xmm2, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm4, xmmword [rcx + 0x20]
movdqu xmm5, xmmword [rcx + 0x30]
mov ecx, 2
movaps xmmword [rax - 0x18], xmm6
movdqa xmm6, xmmword [0x14070d3a0]
movaps xmmword [rax - 0x28], xmm7
movdqa xmm7, xmmword [0x14070d3b0]
movaps xmmword [rax - 0x38], xmm8
movdqa xmm8, xmmword [0x14070d3c0]
movaps xmmword [rax - 0x48], xmm9
movdqa xmm9, xmmword [0x14070d3d0]
movaps xmmword [rax - 0x58], xmm10
movdqa xmm10, xmmword [0x14070d3e0]
movaps xmmword [rax - 0x68], xmm11
movdqa xmm11, xmmword [0x14070d3f0]
movaps xmmword [rax - 0x78], xmm12
lea rax, [rdx + r8]
movdqa xmm12, xmmword [0x14070d400]
movaps xmmword [rsp + 0x10], xmm13
movdqa xmm13, xmmword [0x14070d410]
movaps xmmword [rsp], xmm14
aesdec xmm2, xmm6
aesenc xmm3, xmm6
aesdec xmm4, xmm10
aesenc xmm5, xmm10
aesdec xmm2, xmm7
aesenc xmm3, xmm7
aesdec xmm4, xmm11
aesenc xmm5, xmm11
aesdec xmm2, xmm8
aesenc xmm3, xmm8
aesdec xmm4, xmm12
aesenc xmm5, xmm12
aesdec xmm2, xmm9
aesenc xmm3, xmm9
aesdec xmm4, xmm13
aesenc xmm5, xmm13
movdqu xmmword [r8], xmm2
movdqu xmmword [r8 + 0x10], xmm3
movdqu xmmword [r8 + 0x20], xmm4
movdqu xmmword [r8 + 0x30], xmm5
add r8, 0x40
sub rcx, 1
jne 0x14016fb00
movdqa xmm14, xmmword [0x14033c510]
jmp 0x14016fc26
aesdec xmm2, xmm6
aesenc xmm3, xmm6
aesdec xmm4, xmm10
aesenc xmm5, xmm10
aesdec xmm2, xmm7
aesenc xmm3, xmm7
aesdec xmm4, xmm11
aesenc xmm5, xmm11
aesdec xmm2, xmm8
aesenc xmm3, xmm8
aesdec xmm2, xmm9
movdqa xmm0, xmm14
movdqa xmm1, xmm14
pand xmm0, xmm2
movdqu xmmword [r8], xmm0
movdqa xmm0, xmm14
aesenc xmm3, xmm9
pand xmm1, xmm3
movdqu xmmword [r8 + 0x10], xmm1
movdqa xmm1, xmm14
aesdec xmm4, xmm12
aesenc xmm5, xmm12
aesdec xmm4, xmm13
aesenc xmm5, xmm13
pand xmm0, xmm4
pand xmm1, xmm5
movdqu xmmword [r8 + 0x20], xmm0
movdqu xmmword [r8 + 0x30], xmm1
add r8, 0x40
cmp r8, rax
jb 0x14016fb8b
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x98]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [rsp + 0x10]
movaps xmm14, xmmword [rsp]
mov rsp, r11
ret
mov eax, dword [0x14070d31c]
lea r8, [rcx + 0x40]
mov r9, rdx
mov rcx, r9
lea edx, [rax*8 + 0x80]
jmp 0x14016fa68
Function at 0x140224cf4
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx + 0xaa8]
mov ecx, 8
add r9, rdx
sub r9, r8
mov rax, qword [r9 + r8]
xor qword [r8], rax
lea r8, [r8 + 8]
sub rcx, 1
jne 0x140224d06
ret

Function at 0x1402250b8
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140224c20
mov rcx, rbx
call fcn.14022469c
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140224d24

Function at 0x1402250dc
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14046e3c8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, qword [rcx + 0xab8]
mov rbx, r8
shr rdx, 6
mov r8d, edx
lea rdx, [rsp + 0x20]
call fcn.14022442c
lea rdx, [rsp + 0x20]
mov ecx, 8
sub rdx, rbx
mov rax, qword [rdx + rbx]
xor qword [rbx], rax
lea rbx, [rbx + 8]
sub rcx, 1
jne 0x140225119
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400106c0
add rsp, 0x70
pop rbx
ret

Function at 0x140225fe0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rdx
call fcn.1400123a8
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x80]
mov rdi, rax
mov byte [rbp + 0x18], 0
mov ecx, 0x18
call fcn.140010338
test rax, rax
je 0x14022602c
mov qword [rax], rbx
mov qword [rax + 8], rdi
lea rcx, [rbp + 0x18]
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140226684]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1402260a1
cmp dword [rbp - 0x18], 0
je 0x1402260b0
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbp - 0x18], eax
je 0x1402260bb
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
xor edx, edx
lea rcx, [rbp - 0x10]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140226096
mov al, byte [rbp + 0x18]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
and dword [rbp - 0x18], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140226204
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14046e3c8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140226230
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
jne 0x14022623e
lea eax, [rcx + 1]
jmp 0x1402262a0
cmp byte [rdi], 0
mov ebx, 1
jne 0x14022628f
lea r8, [rsp + 0x20]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
sbb cl, cl
and bl, cl
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14022628f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1402255e8
mov r8, rax
lea rdx, str._s_e_0_31mfailed_to_remove_WinRing0_driver__error__ue_0m
mov r9d, ebx
mov ecx, 3
call fcn.1400126bc
xor bl, bl
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
and qword [rdi + 0x18], 0
mov al, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400106c0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1402279f8
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
mov rax, qword [rsp + 0x90]
mov qword [r11 - 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0x80]
mov qword [r11 - 0x38], rax
lea rcx, [r11 + 8]
call fcn.140227aa0
mov rsi, qword [rax]
and qword [rax], 0
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140227a58
mov edx, 0x28
call fcn.14001037c
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rsi
lea r8, [0x140227b40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140227a92
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x14022fa6c
Capabilities:
Encode data using xor

Disassembly:
sub rdx, rcx
mov r8d, 0x80
mov rax, qword [rdx + rcx]
xor qword [rcx], rax
lea rcx, [rcx + 8]
sub r8, 1
jne 0x14022fa75
ret

Function at 0x14023bdd0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov eax, 0x20
call fcn.140010660
sub rsp, rax
mov rsi, r9
mov rbp, r9
shr rsi, 3
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp r8, r9
jb 0x14023be90
nop
xor edx, edx
test rsi, rsi
je 0x14023be80
nop word [rax + rax]
movzx eax, byte [rbx + 6]
movzx ecx, byte [rbx + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx]
shl rcx, 8
add rbx, 8
or rcx, rax
xor qword [r14 + rdx*8], rcx
inc rdx
cmp rdx, rsi
jb 0x14023be20
mov rcx, r14
call fcn.14023c360
sub rdi, rbp
cmp rdi, rbp
jae 0x14023be10
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1402bb1d8
Capabilities:
Hash data using sha512

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, 0x40
lea rdx, [0x1403ee940]
mov rbx, rcx
call sub.VCRUNTIME140.dll_memcpy
xorps xmm0, xmm0
movups xmmword [rbx + 0x40], xmm0
and qword [rbx + 0xd0], 0
add rsp, 0x20
pop rbx
ret
Function at 0x1402f0acc
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14046e3c8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov rbx, rcx
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x18], 0
test eax, eax
je 0x1402f0b28
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rdx, [rsp + 0x30]
jmp 0x1402f0b3b
lea rcx, [0x140413900]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rdx, [0x140413900]
mov r8, rax
mov rcx, rbx
call fcn.14000efe0
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400106c0
add rsp, 0x150
pop rbx
ret

Function at 0x1402f0b64
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14046e3c8]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
call fcn.1402f0acc
nop
lea r8, str._xmrig
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14007e008
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1402f0bd7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402f0bd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f0bd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001037c
movdqa xmm0, xmmword [0x1403137d0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
lea rcx, str._.cache
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
lea rdx, str._.cache
lea rcx, [rbp - 0x50]
call fcn.14000f438
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1402f0c6e
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402f0c69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402f0c69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001037c
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400106c0
add rsp, 0x70
pop rbp
ret
Function at 0x180002820
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002852
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002852
nop word cs:[rax + rax]
jmp 0x180002850
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002928
mov rsi, r10
test r8b, r8b
je 0x180002940
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800028c0
test r9b, r9b
je 0x180002950
sub rsi, rcx
je 0x180002924
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002920
test ebp, ebp
jne 0x180002920
add rbx, 1
cmp rsi, rbx
jne 0x1800028e0
jmp 0x180002924
test ebp, ebp
jne 0x1800028ac
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002940
jmp 0x180002950
Function at 0x14141e1b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14141e33f
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 0x14141e1e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14141e1cf
add dl, dl
jne 0x14141e1f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14141e256
xor eax, eax
add dl, dl
jne 0x14141e205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14141e30d
add dl, dl
jne 0x14141e216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14141e223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14141e230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14141e23d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14141e24a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14141e1de
mov eax, 1
add dl, dl
jne 0x14141e266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14141e273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14141e25b
sub eax, ebx
mov ebx, 1
jne 0x14141e2ac
mov ecx, 1
add dl, dl
jne 0x14141e28e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14141e29b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14141e283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14141e1de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14141e2c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14141e2d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14141e2bd
cmp eax, 0x7d00
jae 0x14141e2fb
cmp eax, 0x500
jb 0x14141e2f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14141e1de
cmp eax, 0x7f
ja 0x14141e2fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14141e1de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14141e332
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 0x14141e1de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001a60
Capabilities:
Check for debugger via api
Check for peb ntglobalflag flag

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001b79
xor ebx, ebx
mov dword [rsp + 0x48], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x140001aa0
cmp dword [rsp + 0x48], ebx
jne 0x140001b5f
mov qword [rsp + 0x48], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 8
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, [rsp + 0x48]
mov edx, 0x1e
call qword [0x140063640]
test eax, eax
jne 0x140001ad8
cmp qword [rsp + 0x48], rbx
jne 0x140001b6c
call fcn.140001bc0
test al, al
jne 0x140001b79
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0xd8]
cmp dword [rdx + rax + 0xc], ebx
jne 0x140001b79
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x30]
call fcn.140001980
test eax, eax
mov edx, 0x70
mov ebx, 0x14
cmovne ebx, edx
call fcn.140001980
test eax, eax
mov ecx, 0x18
mov edx, 0x74
cmovne ecx, edx
test dword [rbx + rdi], 0xfffffffd
jne 0x140001b79
cmp dword [rcx + rdi], 0
jne 0x140001b79
mov rax, qword gs:[0x60]
test byte [rax + 0xbc], 0x70
jne 0x140001b79
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, str.Sorry__you_cant_use_debuggers_with_this_program.
call fcn.140001b90
int3
lea rcx, str.Sorry__you_cant_use_debuggers_with_this_program.
call fcn.140001b90
int3
lea rcx, str.Sorry__you_cant_use_debuggers_with_this_program.
call fcn.140001b90
int3