joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dca0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov r8, qword [0x14039a710]
lea r10, [rsp + 0x20]
movsxd r9, ecx
mov dword [rsp + 0x20], r9d
mov rdi, qword [r8 + 0x3e28]
movsxd rdx, dword [rdi + 0xc8]
mov rax, qword [rdi + 0xd0]
mov ebx, dword [rax + rdx*4 - 4]
mov edx, 4
mov r11d, edx
not ebx
movzx eax, byte [r10]
inc r10
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x14006ddc0]
xor ebx, dword [rax + rcx*4]
sub r11, 1
jne 0x14000dce1
not ebx
cmp dword [r8 + 0x3e5c], ebx
jne 0x14000dd16
mov r8, r9
mov ecx, ebx
call fcn.140014ab0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
lea rcx, [rdi + 0xc8]
call fcn.140015664
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140013b5c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140013bf5
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x140013bad
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140015994
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400037d4
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x14039a708]
movsxd r8, eax
mov rax, qword [rdi + 0x5370]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140013bfd
mov rcx, rbx
call fcn.1400037d4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400142a8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14039a710]
mov rbx, rcx
and dword [rax + 0x52fc], 0
test rcx, rcx
je 0x140014311
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14001431c
lea rdx, [0x14006db10]
mov rcx, rbx
mov rdi, rax
call fcn.140002d04
mov rbx, rax
test rax, rax
je 0x140014311
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140026178
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x14039a710]
mov ecx, 0x11
add rbx, 8
movaps xmmword [rsp + 0x20], xmm6
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x140391578]
shr eax, 0xf
and al, 1
je 0x1400261ad
movaps xmm3, xmm6
jmp 0x1400261b0
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x281
mov rcx, rbx
call fcn.1400025d4
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x1400261d7
movaps xmm3, xmm6
jmp 0x1400261da
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x282
mov rcx, rbx
call fcn.1400025d4
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x140026201
movaps xmm3, xmm6
jmp 0x140026204
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x283
mov rcx, rbx
call fcn.1400025d4
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
jne 0x140026229
xorps xmm6, xmm6
movaps xmm3, xmm6
mov r8b, al
mov edx, 0x284
mov rcx, rbx
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
jmp fcn.1400025d4
Function at 0x140066f8c
Capabilities:
Encode data using xor
Set console window title
Terminate process

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140398010]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x28]
call fcn.140067088
mov r8, rax
xor ebx, ebx
cmp byte [rax + 9], bl
je 0x140066fe5
mov r9d, ebx
mov r10, rax
mov eax, 0x4ec4ec4f
mul r9d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r9b
sub al, cl
add al, 0x38
xor byte [r10], al
inc r9d
inc r10
cmp r9d, 0xa
jl 0x140066fbe
mov rdx, r8
lea rcx, [rsp + 0x38]
call fcn.1400678b0
nop
lea rcx, [rsp + 0x38]
call fcn.1400677bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x20]
call fcn.1400670a4
mov r10, rax
cmp byte [rax + 3], bl
je 0x140067047
mov r9, rax
mov eax, 0x4ec4ec4f
mul ebx
shr edx, 4
movsx edx, dl
imul r8d, edx, 0x34
mov al, bl
sub al, r8b
add al, 0x38
xor byte [r9], al
inc ebx
inc r9
cmp ebx, 4
jl 0x140067022
mov rdx, r10
call fcn.140068440
lea rcx, [rsp + 0x58]
call fcn.140067a08
nop
lea rdx, [0x14039086c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140068440
call fcn.140066be8
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x14006b638
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006b682
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006b682
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006b682
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006b682
cmp dword [rcx + 0x84], 0xe
jbe 0x14006b682
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006b684
xor al, al
add rsp, 0x28
ret
Function at 0x1400035e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [0x140044e10], 0
je 0x14000360e
cmp byte [0x140044e13], 0
jne 0x140003622
cmp byte [0x140044dc3], 0
jne 0x140003634
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400195a0
add rsp, 0x48
ret
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14000360e
cmp byte [0x140044e12], 0
je 0x140003655
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140044e18]
je 0x140003655
cmp byte [0x140044e12], 0
jne 0x14000360e
cmp byte [0x140044dc7], 0
je 0x14000367f
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x18
call qword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x14000360e
cmp dword [rsp + 0x28], 0x186a0
jle 0x14000360e
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400195a0
add rsp, 0x48
ret

Function at 0x140003750
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x13d0
call fcn.14001a5e0
sub rsp, rax
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
movabs rax, 0x5555555555555555
mov ebx, 1
mov qword [rsp + 0x13b8], rax
mov ecx, ebx
mov edx, 0x1571
movabs rsi, 0x5851f42d4c957f2d
mov edi, 0x138
nop word [rax + rax]
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, rsi
add rdx, rcx
mov qword [rsp + rcx*8 + 0x38], rdx
inc rcx
cmp rcx, rdi
jb 0x1400037b0
lea rcx, [rsp + 0x20]
call fcn.140002bb0
mov rcx, qword [0x1400440b8]
xor rcx, qword [0x1400440c0]
xor rcx, qword [str.xiZK__]
xor rcx, qword [0x1400440d0]
xor rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], rcx
nop
mov rax, rcx
shr rax, 0x3e
xor rcx, rax
imul rcx, rsi
add rcx, rbx
mov qword [rsp + rbx*8 + 0x38], rcx
inc rbx
cmp rbx, rdi
jb 0x140003800
mov dword [rsp + 0x30], edi
lea r8, [rsp + 0x40]
movabs r9, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r9
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub rdi, 1
jne 0x140003831
mov eax, dword [rsp + 0x30]
movabs rdx, 0x38eb3ffff6d3
mov rcx, qword [rsp + rax*8 + 0x38]
mov rax, rcx
shr rax, 0x1d
and rax, qword [rsp + 0x13b8]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rax, rcx
shr rax, 0x2b
xor rax, rcx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400195a0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140008ca0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140008ccd
xor eax, eax
jmp 0x140008e39
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140008d07
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140008d07
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140008e39
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140008e2c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140008d4a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140008d75
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008e31
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140008de4
sub eax, 1
je 0x140008de4
cmp eax, 2
jne 0x140008e2c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008e31
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140008e12
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140008e2c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140008e31
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400195a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000a080
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000a153
cmp byte [rcx + 0x71], 0
je 0x14000a153
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000a14f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000a114
sub eax, 1
je 0x14000a118
cmp eax, 2
jne 0x14000a14f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400195a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000a146
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000a14f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000a0fc
xor al, al
jmp 0x14000a0fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400195a0
add rsp, 0x60
pop rbx
ret
Function at 0x14000a370
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
sub rsp, 0x48
mov rsi, r8
mov rbp, rdx
cmp rdx, r8
je 0x14000a474
mov rdx, qword [0x140044e98]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x68], rdi
mov rbx, rbp
mov qword [rsp + 0x70], r12
mov r12, qword [rbp + 8]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
movzx r14d, byte [rbp + 0x10]
xor r14, rax
mov qword [rsp + 0x30], r15
movzx eax, byte [rbp + 0x11]
mov r15, qword [0x140044e88]
imul r14, r8
mov qword [rsp + 0x28], rdx
xor r14, rax
movzx eax, byte [rbp + 0x12]
imul r14, r8
xor r14, rax
movzx eax, byte [rbp + 0x13]
imul r14, r8
xor r14, rax
imul r14, r8
and r14, qword [0x140044eb0]
shl r14, 4
add r14, rdx
mov rax, qword [r14]
mov r13, qword [r14 + 8]
mov qword [rsp + 0x20], rax
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140019914
dec qword [0x140044e90]
cmp rdi, r13
je 0x14000a47e
cmp rbx, rsi
jne 0x14000a420
cmp qword [rsp + 0x20], rbp
jne 0x14000a44e
mov qword [r14], rbx
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
mov qword [r12], rbx
mov qword [rbx + 8], r12
mov r12, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
mov rax, rsi
add rsp, 0x48
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], rbp
jne 0x14000a48d
mov qword [r14], r15
mov rax, r15
jmp 0x14000a490
mov rax, r12
mov qword [r14 + 8], rax
cmp rbx, rsi
je 0x14000a44e
mov r13, qword [rsp + 0x28]
nop
movzx r14d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r14, rax
movzx eax, byte [rbx + 0x11]
imul r14, rdx
xor r14, rax
movzx eax, byte [rbx + 0x12]
imul r14, rdx
xor r14, rax
movzx eax, byte [rbx + 0x13]
imul r14, rdx
xor r14, rax
imul r14, rdx
and r14, qword [0x140044eb0]
shl r14, 4
add r14, r13
mov rbp, qword [r14 + 8]
nop dword [rax]
nop word [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140019914
dec qword [0x140044e90]
cmp rdi, rbp
je 0x14000a529
cmp rbx, rsi
jne 0x14000a500
jmp 0x14000a44b
mov qword [r14], r15
mov qword [r14 + 8], r15
cmp rbx, rsi
jne 0x14000a4a0
jmp 0x14000a44e
Function at 0x14001a234
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001a27e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a27e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001a27e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a27e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001a27e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001a280
xor al, al
add rsp, 0x28
ret
Function at 0x140002060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rdi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov r9, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rdi, 0x20
jb 0x140002159
mov r8, qword [r9 + 0x18]
mov rdx, qword [rcx + 8]
mov rax, r8
mov r9, qword [r9 + 0x20]
mov rcx, qword [rcx + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rcx
rol rax, 7
add r10, rax
mov rax, rdx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rdx, rbp
imul rcx, rbp
imul r8, rbp
imul r9, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 0x1f
xor r10, rdx
rol r8, 0x1f
imul r10, rsi
imul rcx, rsi
imul r8, rsi
sub r10, r15
rol r9, 0x1f
xor r10, rcx
imul r10, rsi
imul r9, rsi
sub r10, r15
xor r10, r8
imul r10, rsi
sub r10, r15
xor r10, r9
imul r10, rsi
add rax, r10
add rax, rdi
jmp 0x140002161
lea rax, [rdi + r14]
add rax, qword [rcx + 0x18]
lea rdx, [r11 + 8]
cmp rdx, rbx
ja 0x14000219a
nop word [rax + rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, rbp
add r11, 8
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
cmp rdx, rbx
jbe 0x140002170
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021c5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rsi
xor rax, rcx
rol rax, 0x17
imul rax, rbp
add rax, r8
cmp r11, rbx
jae 0x1400021eb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
cmp r11, rbx
jb 0x1400021d0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret

Function at 0x14000a500
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
mov edi, 0x28
test al, al
je 0x14000a5b1
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.140010040
cmp rax, 1
jne 0x14000a5e7
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14000a58d
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000a580
cmp rcx, 1
jb 0x14000a5e7
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14000a550
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000c570
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14000fcfc
int3
Function at 0x14000a670
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a6b5
xor al, al
jmp 0x14000a702
cmp word [rbx], 0
je 0x14000a6cd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a6c0
cmp word [rsp + 0x30], 0
je 0x14000a6fb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a723
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a6e0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000c570
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000fcfc
int3
Function at 0x14000b800
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fd18]
test rcx, rcx
je 0x14000b83b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b82e
mov rcx, qword [0x14002fd18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fd18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fd28], 0
je 0x14000b92e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029a30]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140030550]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b90f
test al, 0x10
je 0x14000b90f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b8b5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000ce64
Capabilities:
Parse pe header

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

Function at 0x14000fb08
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fb77
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fb77
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fb77
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fb77
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fb77
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fb77
cmp dword [rcx + 0xf8], 0
je 0x14000fb77
mov ecx, ebx
call fcn.14000fc1c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fa10
nop
cmp dword [rbp + 0x20], 0
jne 0x14000fbd8
call fcn.1400146fc
cmp eax, 1
jne 0x14000fbc8
xor dl, dl
jmp 0x14000fbd2
call fcn.1400146c8
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14000fbe3
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fbec
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fb08

Function at 0x14000fcf0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000fb77
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000fb77
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000fb77
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000fb77
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000fb77
cmp dword [rcx + 0x84], 0xe
jbe 0x14000fb77
cmp dword [rcx + 0xf8], 0
je 0x14000fb77
mov ecx, ebx
call fcn.14000fc1c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000fa10
nop
cmp dword [rbp + 0x20], 0
jne 0x14000fbd8
call fcn.1400146fc
cmp eax, 1
jne 0x14000fbc8
xor dl, dl
jmp 0x14000fbd2
call fcn.1400146c8
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14000fbe3
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fbec
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fb08