joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030a55
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
mov ah, 0x24
add byte [rax], 0
add byte [rax], al
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
sub dword [rsp], esi
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
fisttp dword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
fistp dword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
fstp xword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
jg 0x140030b66
xor byte [rsi + 0xf], ah
jg case.0x1400237ce.83
invalid
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
jg 0x140030ada
mov al, 0
add byte [rax], al
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
and al, 0x20
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x140043dc3
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x3f8
movdqa xmmword [rsp + 0x3e0], xmm15

Function at 0x1400482c2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov esi, edx
sub r8w, word [rcx + 0x1a]
imul r8w, word [rcx + 0x1c]
mov rax, qword [rsp + 0x170]
movzx r14d, dx
sub si, word [rcx + 0x18]
mov rdx, qword [rsp + 0x160]
add esi, r8d
mov r8d, 0xffff
and esi, r8d
mov r10, qword [rcx + 0x18]
mov r11, r10
shr r11, 0x20
add r11w, r10w
cmovb r11d, r8d
and r11d, r8d
mov r8, qword [rsp + 0x168]
add r8, r14
mov rbp, 0xffffffffffffffff
cmovae rbp, r8
cmp r11, rbp
cmovb rbp, r11
xor r8d, r8d
lea rbx, [rsp + 0x58]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x20], r8
mov qword [rbx + 0x28], rdx
mov qword [rbx + 0x30], r8
mov r10b, 2
mov byte [rbx + 0x38], r10b
mov r11d, 0xf020001
mov dword [rbx + 0x3c], r11d
mov dil, 0xf
mov byte [rbx + 0x40], dil
mov qword [rbx + 0x48], r8
mov qword [rbx + 0x58], r8
mov qword [rbx + 0x68], rdx
mov qword [rbx + 0x70], rdx
mov qword [rbx + 0x78], r8
mov byte [rbx + 0x80], r10b
mov dword [rbx + 0x84], r11d
mov byte [rbx + 0x88], dil
mov rdi, r14
mov qword [rbx + 0x90], r9
mov qword [rbx + 0x98], rdx
mov rdx, qword [rcx + 8]
mov r14, qword [rcx + 0x10]
mov cl, byte [rax]
mov byte [rsp + 0x2d], cl
mov ecx, dword [rax]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rax + 4]
mov dword [rsp + 0x3c], ecx
mov cl, byte [rax + 4]
mov byte [rsp + 0x2c], cl
movzx ecx, word [rax + 8]
mov word [rsp + 0x2e], cx
movzx eax, word [rax + 0xa]
not eax
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x30], rdx
lea rax, [rdx + 0x28]
mov qword [rsp + 0x48], rax
mov rcx, rbx
call fcn.140042c11
test rax, rax
je 0x1400484db
mov r12, rax
mov r13, rdx
mov rcx, rax
call fcn.1400665b2
test rax, rax
je 0x1400483e9
mov r15, rax
mov rax, rbp
sub rax, rdi
mov ecx, 0
cmovae rcx, rax
cmp r15, rcx
ja 0x1400484db
cmp r14, rsi
jbe 0x140048503
mov qword [rsp + 0x50], rdi
lea rdi, [rsi + rsi*4]
mov rax, qword [rsp + 0x30]
lea rcx, [rax + rdi*8]
mov qword [rcx + 0x10], 0
mov r8, r12
add r8, r13
mov rdx, r12
call fcn.140027688
cmp byte [rsp + 0x2d], 0x13
je 0x14004846d
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
mov dword [rax + rdi*8 + 0x18], ecx
cmp byte [rsp + 0x2c], 0x13
je 0x140048481
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + rdi*8 + 0x1c], ecx
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rdi*8 + 0x20]
or ax, word [rsp + 0x2e]
and eax, dword [rsp + 0x44]
mov word [rcx + rdi*8 + 0x20], ax
lea r13, [r15 + rsi]
inc rsi
cmp rsi, r13
jae 0x1400484cb
mov rax, qword [rsp + 0x48]
lea r12, [rax + rdi*8]
lea rdi, [r15 - 1]
cmp r14, rsi
jbe 0x1400484f1
mov rcx, r12
call fcn.140048234
inc rsi
add r12, 0x28
dec rdi
jne 0x1400484b2
mov rdi, qword [rsp + 0x50]
add rdi, r15
mov rsi, r13
jmp 0x1400483e9
mov eax, edi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x140087030]
mov rcx, rsi
mov rdx, r14
call fcn.140077490
lea r8, [0x140087018]
jmp 0x1400484f8
Function at 0x14004b209
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1b8
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rdx + 0x28]
mov r15b, byte [rdx + 0x30]
lea rcx, [rsp + 0x80]
call fcn.14004a6d1
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x78], rax
movabs rax, 0x7465646279746573
movabs rcx, 0x6c7967656e657261
movabs rdx, 0xded7d4e2d7dedfc6
movabs r8, 0xa60c596fc19fead0
movabs r9, 0xe414a674f0de7325
mov r12d, 1
lock xadd qword [0x1400a33d0], r12
mov r10, r12
xor r10, rax
lea r13, [r10 + rcx]
mov r11, r10
rol r11, 0x10
xor r11, r13
lea rbx, [r11 + rdx]
rol r11, 0x15
add r10, r8
mov r13, r10
xor r13, r9
rol r10, 0x20
xor r12, rbx
add r12, r13
rol r13, 0xd
xor r11, rbx
xor r13, r12
rol r12, 0x20
btc r11, 0x3b
add r10, r11
rol r11, 0x10
xor r11, r10
add r12, r11
rol r11, 0x15
add r10, r13
rol r13, 0x11
xor r11, r12
xor r13, r10
rol r10, 0x20
btc r12, 0x3b
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
xor r10, 0xff
add r10, r11
rol r11, 0x10
xor r11, r10
add r12, r11
rol r11, 0x15
add r10, r13
rol r13, 0x11
xor r13, r10
rol r10, 0x20
xor r11, r12
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
add r10, r11
rol r11, 0x10
xor r11, r10
add r12, r11
rol r11, 0x15
add r10, r13
rol r13, 0x11
xor r13, r10
rol r10, 0x20
xor r11, r12
add r12, r13
rol r13, 0xd
add r10, r11
rol r11, 0x10
xor r11, r10
rol r11, 0x15
xor r13, r12
add r10, r13
rol r13, 0x11
mov r12, r10
rol r12, 0x20
xor r12, r13
xor r12, r11
xor r12, r10
je 0x14004b27e
mov rbx, qword [rsi + 0x58]
movups xmm0, xmmword [rsi + 0x38]
movups xmm1, xmmword [rsi + 0x48]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov qword [rdi + 0x138], r14
mov byte [rdi + 0x140], r15b
lea rdx, [rsp + 0x80]
mov r8d, 0x100
mov rcx, rdi
call fcn.140074b90
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x100], rax
mov qword [rdi + 0x108], r12
mov qword [rdi + 0x110], rbx
mov rax, qword [rsi + 0x10]
shl rax, 1
test rax, rax
je 0x14004b409
mov r8, qword [rsi + 0x18]
mov rcx, qword [0x1400a34b0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
lea rsp, [rbp + 0x138]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140053be0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14001ebb0
cmp rax, rcx
je 0x140053c05
cmp rdx, 4
jae 0x140053c08
xor eax, eax
xor r8d, r8d
jmp 0x140053ca0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14007c160]
movdqa xmm3, xmmword [0x14007c170]
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 0x140053c30
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140053cb7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140053ca0
ret

Function at 0x140058b40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov edi, edx
mov rsi, rcx
movups xmm0, xmmword [0x14008aa50]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
push rdi
ror byte [rdi], 0x11
and al, 0x38
Function at 0x140061e30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140061e73
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.14005e0a0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.5_tL__x__Xo__uR_dh______D_bgd___MA8UiP1
lea rcx, [rbp - 0x60]
call fcn.1400773d0
ud2
Function at 0x140067463
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx + 0x10]
cmp rdx, qword [rcx]
jne 0x140067489
mov rcx, rsi
call fcn.14003aea6
mov rdx, qword [rsi + 0x10]
mov rdi, qword [rsi + 8]
mov byte [rdi + rdx], 0
inc rdx
mov qword [rsi + 0x10], rdx
mov r15, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rdx, r15
jne 0x1400674b3
mov rcx, rbx
call fcn.14003aea6
mov r15, qword [rbx]
mov rdx, qword [rbx + 0x10]
mov r14, qword [rbx + 8]
mov byte [r14 + rdx], 0
inc rdx
mov qword [rbx + 0x10], rdx
mov dword [rsp + 0x28], 6
mov qword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8, rdi
mov r9, r14
call sub.shell32.dll_ShellExecuteA
test r15, r15
je 0x1400674fa
mov rcx, qword [0x1400a34b0]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsi], 0
je 0x14006751e
mov rcx, qword [0x1400a34b0]
xor edx, edx
mov r8, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400675b6
Capabilities:
Impersonate user

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea r13, [rsp + 0x30]
mov qword [r13], 0
mov rdx, qword [rdx + 8]
mov r8, qword [rdi + 0x10]
lea r14, [rsp + 0x38]
mov rcx, r14
call fcn.140067711
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea r15, [rsp + 0x50]
mov rcx, r15
call fcn.140067711
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
lea r12, [rsp + 0x68]
mov rcx, r12
call fcn.140067711
mov r14, qword [r14 + 8]
mov r15, qword [r15 + 8]
mov r12, qword [r12 + 8]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0
mov rcx, r14
mov rdx, r15
mov r8, r12
mov r9d, 3
call sub.advapi32.dll_LogonUserW
test eax, eax
je 0x140067664
mov rcx, qword [rsp + 0x30]
call sub.advapi32.dll_ImpersonateLoggedOnUser
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rsp + 0x68], 0
je 0x14006767e
mov rcx, qword [0x1400a34b0]
xor edx, edx
mov r8, r12
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x50], 0
je 0x140067698
mov rcx, qword [0x1400a34b0]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x38], 0
je 0x1400676b2
mov rcx, qword [0x1400a34b0]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbx], 0
je 0x1400676cb
mov r8, qword [rbx + 8]
mov rcx, qword [0x1400a34b0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rdi], 0
je 0x1400676e4
mov r8, qword [rdi + 8]
mov rcx, qword [0x1400a34b0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsi], 0
je 0x1400676fd
mov r8, qword [rsi + 8]
mov rcx, qword [0x1400a34b0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140067f2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140067f76
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140067f76
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140067f76
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140067f76
cmp dword [rcx + 0x84], 0xe
jbe 0x140067f76
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140067f78
xor al, al
add rsp, 0x28
ret

Function at 0x140068f44
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14006908c

Function at 0x14006a1c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14006a1e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14006a1e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140078fe0
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140079035
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140079035
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140079035
mov r14, rax
xor edi, edi
jmp 0x1400790bd
lea rcx, [0x140086a60]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140079128
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140079128
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140079128
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140079128
mov rsi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x140079128
mov r14, qword [rsp + 0x28]
mov al, byte [0x1400a3530]
mov edx, 0x18
xor ecx, ecx
call fcn.140062670
test rax, rax
je 0x14007915d
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1400a33b8], rbx
je 0x14007911b
mov rsi, rax
cmp qword [rbx], 0
je 0x140079106
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [0x1400a34b0]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, rsi
mov rax, rbx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, [0x140092800]
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.bN_5__R_r_____CS_Pk__7Z_Y3__F_oYH9_z_VjTr_______A4_f_WS__cb____v_t___yJ_y1Mq____W__xr_p_a___KJcL___Z__yfd5Y_Zwmqbj__6NY
call fcn.1400773d0
mov ecx, 8
mov edx, 0x18
call fcn.140075ee0
int3
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020504]
cmp r15, 1
jne 0x140004953
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205e4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205e4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205e4]
call fcn.14000dd0c
mov rcx, qword [0x1400205e4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205ec]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f180]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021200]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020630]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020630]
call fcn.1400123b8
lea rcx, [0x140021200]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sbb edi, edi
invalid
sbb bh, bh
sbb dword [rsi + rdx], edx
call [rax]
adc edx, dword [0x155170f82]
call [rax]
adc edx, dword [0x155170f8a]
call qword [rdi]
adc dl, byte [rdi + rdi*8]
invalid
adc edi, edi
invalid
adc al, 0xf
adc edi, edi
adc ecx, dword [rsi]
adc bh, bh
adc ecx, dword [0x14c16f5c6]
adc bh, bh
adc ecx, dword [0x14c15f5d0]
adc bh, bh
adc dword [rdi + rcx], ecx
invalid
adc bh, bh
adc dword [rdi + rcx], ecx
call qword [rcx]
or al, 0xe
call qword [rcx]
or al, 0xd
call qword [rcx]
or al, 0xd
or eax, 0xd0c11ff
or eax, 0xd0c11ff
call qword [rax]
or ecx, dword [rdi + rdi*8]
or al, 0xff
or al, 0xff
sbb eax, 0x1dff231d
sbb eax, 0x3938ff23
invalid
and ah, byte [rdi]
sub edi, edi
and esp, dword [rdi]
sub eax, 0x302622ff
xor bh, bh
and eax, 0x2fff3528
and eax, 0x2fff3528
xor al, byte [rbp - 1]
jo 0x14003f775
invalid
push rax
dec dword [rbx + 0x47]
push qword [0x16f032db4]
xor bh, bh
invalid
Function at 0x140028d04
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c388
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c388
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028e54
cmp rax, 0xffffffffffffffff
je 0x140028e54
xor edi, edi
test rbp, rbp
jle 0x140028dff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f014
mov rbx, rax
test rax, rax
jne 0x140028d8c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028df5
mov edx, 0x8000
mov ecx, r14d
call fcn.140019c38
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d070
cmp eax, 0xffffffff
je 0x140028dd5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028d9c
mov edx, r15d
mov ecx, r14d
call fcn.140019c38
jmp 0x140028df5
cmp byte [rsi + 0x38], dil
je 0x140028dec
cmp dword [rsi + 0x34], 5
jne 0x140028dec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028df5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a574
jmp 0x140028e68
jns 0x140028e68
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c388
cmp rax, 0xffffffffffffffff
jne 0x140028e20
cmp byte [rsi + 0x30], dil
je 0x140028e68
mov edi, dword [rsi + 0x2c]
jmp 0x140028e68
mov ecx, r14d
call fcn.140018768
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028e68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028e68
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028e61
mov eax, dword [rsi + 0x2c]
jmp 0x140028e66
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c388
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029f60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029f88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029f88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x100411cf0
Capabilities:
Encode data using xor

Disassembly:
or al, 0x34
jns 0x100411d49
and dword [rax + 0x6c], edi
loopne 0x100411d3f
cld
xor al, 0x34
xor al, 0x43
mov eax, 0x3434341d
xor al, 0x7c
invalid
rcr byte [rax + 0x24], 0x34
xor al, 0x34
sbb al, 3
mov al, 0x33
xor edi, dword [rax - 0x43]
xor al, 0x35
Function at 0x140006770
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
mov r15, r8
mov qword [rdx], r12
mov rbx, rdx
mov qword [rdx + 8], r12
mov r14d, r12d
mov dword [rdx + 0x10], r12d
movsxd rsi, dword [r8 + 0x3c]
add rsi, r8
movzx eax, word [rsi + 0x14]
lea rdi, [rsi + 0x18]
add rdi, rax
cmp r12w, word [rsi + 6]
jae 0x1400068a5
xorps xmm0, xmm0
mov qword [rbp - 0x18], r12
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x10], r12
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], r12b
jne 0x1400067de
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.14000355c
mov rdx, qword [rbp - 0x10]
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x28]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rbp - 0x18], 5
jne 0x140006862
cmp dword [rax], 0x7865742e
jne 0x140006862
cmp byte [rax + 4], 0x74
jne 0x140006862
mov r9d, dword [rdi + 0xc]
mov r8d, r12d
mov r11d, dword [rdi + 8]
add r9, r15
mov qword [rbp - 0x40], rdi
mov r10, r12
mov qword [rbp - 0x38], r9
test r11, r11
je 0x14000684d
movzx eax, byte [r9 + r10]
inc r10
crc32 r8d, eax
cmp r10, r11
jb 0x14000683a
movups xmm0, xmmword [rbp - 0x40]
mov dword [rbp - 0x30], r8d
movsd xmm1, qword [rbp - 0x30]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp rdx, 0xf
jbe 0x140006891
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000688c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400068cd
call fcn.140072d94
movzx eax, word [rsi + 6]
inc r14d
add rdi, 0x28
cmp r14d, eax
jl 0x1400067cb
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140072d30
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3