joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d6710
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov r14, r8
mov rdi, rdx
mov rbp, rcx
mov rcx, rdx
call fcn.1400b2a80
test eax, eax
jne 0x1400d6806
lea rcx, [rbp + 0xa8]
call fcn.1400d3760
mov ecx, 0x38
call fcn.1400dd9f8
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400d6772
mov rcx, rax
call fcn.1400d6290
mov rbx, rax
jmp 0x1400d6774
xor ebx, ebx
mov qword [rbx], rbp
lea rsi, [rbx + 8]
cmp rsi, rdi
je 0x1400d67a5
mov rdx, rdi
mov rcx, rsi
call fcn.14004ea40
lea rdx, [rdi + 8]
lea rcx, [rsi + 8]
call fcn.14004ea40
lea rdx, [rdi + 0x10]
lea rcx, [rsi + 0x10]
call fcn.14004ea40
lea rcx, [rbx + 0x20]
mov rdx, r14
call fcn.14004ea40
lea rcx, [rbx + 0x28]
lea rdx, [0x1401cc718]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400d67c0
mov r8d, eax
call fcn.14004edac
mov dword [rbx + 0x30], 3
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x1400d7bc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x2610], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x1400d6820
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbp, rcx
mov rcx, rdx
call fcn.1400b2a80
test eax, eax
jne 0x1400d6921
lea rcx, [rbp + 0xa8]
call fcn.1400d3760
mov ecx, 0x38
call fcn.1400dd9f8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400d6889
mov rcx, rax
call fcn.1400d6290
mov rbx, rax
jmp 0x1400d688b
xor ebx, ebx
mov qword [rbx], rbp
lea rsi, [rbx + 8]
cmp rsi, rdi
je 0x1400d68bc
mov rdx, rdi
mov rcx, rsi
call fcn.14004ea40
lea rdx, [rdi + 8]
lea rcx, [rsi + 8]
call fcn.14004ea40
lea rdx, [rdi + 0x10]
lea rcx, [rsi + 0x10]
call fcn.14004ea40
lea rcx, [rbx + 0x20]
lea rdx, [0x1401cc718]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400d68d0
mov r8d, eax
call fcn.14004edac
lea rcx, [rbx + 0x28]
mov rdx, r15
call fcn.14004ea40
mov eax, dword [r14]
mov dword [rbx + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x1400d7bc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x2610], rax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x1400d6f60
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rbx, r8
mov rdi, rdx
lea r8, [0x1401d2bec]
lea rcx, [rbp + 0x7f]
call fcn.140075e90
nop
lea r8, str..cab
mov rdx, rbx
lea rcx, [rbp - 0x41]
call fcn.140075e90
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x7f]
call fcn.14004e8f8
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400d6fdb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, rdi
lea rdx, str._Y__E__L__
lea rcx, [rbp - 0x29]
call fcn.14007a480
nop
lea r8, [0x14018c340]
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140075e90
nop
lea r8, [rbp + 0x7f]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.14007a3d0
nop
lea r8, [0x1401887f8]
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140075e90
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400d7046
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400d7064
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400d7081
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rbp - 0x19]
call fcn.1400e0460
mov dword [rbp - 0x19], 0x70
mov dword [rbp - 0x15], 0x440
xor ecx, ecx
mov qword [rbp - 0x11], rcx
lea rax, str.open
mov qword [rbp - 9], rax
lea rax, str.extrac32.exe
mov qword [rbp - 1], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rcx
mov dword [rbp + 0x17], ecx
lea rcx, [rbp - 0x19]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rbp + 0x4f]
test rcx, rcx
je 0x1400d70ef
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x4f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400d710d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400d7128
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140122d9c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140122ad4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140122ad4
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140122ad4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140122ad4
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140122ad4
cmp dword [rcx + 0x84], 0xe
jbe 0x140122ad4
cmp dword [rcx + 0xf8], esi
je 0x140122ad4
mov ecx, r14d
call fcn.140122ca4
mov ecx, 2
call fcn.140130928
nop
cmp byte [0x14021d890], 0
jne 0x140122b9e
mov r15d, 1
mov eax, r15d
xchg dword [0x14021d884], eax
test ebx, ebx
jne 0x140122b47
mov rdi, qword [0x140216b40]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14021d888]
cmp rcx, rax
je 0x140122b3e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x140185008]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14021dbe0]
jmp 0x140122b53
cmp ebx, r15d
jne 0x140122b59
lea rcx, [0x14021dbf8]
call fcn.140124fdc
nop
test ebx, ebx
jne 0x140122b70
lea rdx, [0x1401853f8]
lea rcx, [0x1401853d8]
call fcn.1401259f0
lea rdx, [0x140185408]
lea rcx, [0x140185400]
call fcn.1401259f0
movzx eax, byte [0x14021d890]
test esi, esi
cmove eax, r15d
mov byte [0x14021d890], al
jmp 0x140122b9e
mov ecx, 2
call fcn.14013097c
test esi, esi
jne 0x140122bb5
mov ecx, r14d
call fcn.140122bd0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140122a64
Function at 0x14012f5b0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14012f1d8
call fcn.1400eb3a4
mov dword [rax], 0x16
call fcn.1400eb1f8
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14012f1c0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14012f1c0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14012f20a
lock or dword [rax + 0x14], 0x10
jmp 0x14012f1c0
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14012f227
mov rcx, qword [rbp + 0x10]
call fcn.14013c2e4
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14012aa28
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14012052c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14012f27e
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14012f1c0
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14012f2ea
mov rcx, qword [rbp + 0x10]
call fcn.14012aa28
cmp eax, 0xffffffff
je 0x14012f2d1
mov rcx, qword [rbp + 0x10]
call fcn.14012aa28
cmp eax, 0xfffffffe
je 0x14012f2d1
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14012aa28
movsxd rdi, eax
lea rsi, [0x14021e290]
mov rcx, rbx
sar rdi, 6
call fcn.14012aa28
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14012f2d8
lea rax, [0x140216f40]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14012f2ea
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14012f320
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14012f31c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14012f31c
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14012f1c3
jmp 0x14012f190
Function at 0x14012f5b8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14012f38a
call fcn.1400eb3a4
mov dword [rax], 0x16
call fcn.1400eb1f8
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14012f36c
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14012f36c
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x14012f3bc
lock or dword [rax + 0x14], 0x10
jmp 0x14012f36c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14012f3d9
mov rcx, qword [rbp + 0x20]
call fcn.14013c2e4
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x14012f3ee
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x14012f3f4
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14012aa28
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14012052c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x14012f447
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x14012f36c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14012f4b3
mov rcx, qword [rbp + 0x20]
call fcn.14012aa28
cmp eax, 0xffffffff
je 0x14012f49a
mov rcx, qword [rbp + 0x20]
call fcn.14012aa28
cmp eax, 0xfffffffe
je 0x14012f49a
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14012aa28
movsxd rdi, eax
lea r15, [0x14021e290]
mov rcx, rbx
sar rdi, 6
call fcn.14012aa28
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x14012f4a1
lea rax, [0x140216f40]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14012f4b3
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x14012f4e9
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14012f4e5
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14012f4e5
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x14012f507
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x14012f512
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x14012f371
jmp 0x14012f338
Function at 0x140134570
Capabilities:
Create thread
Print debug messages

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 r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.14012e498
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x1401345c3
test rbx, rbx
je 0x1401345b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x1401345c3
mov edi, 4
jmp 0x14013466c
call fcn.14012e240
test al, al
jne 0x1401345e0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14013466c
test bpl, bpl
je 0x140134643
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x140134414]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14013466c
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14013463d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14013466c
mov edi, dword [rsp + 0x44]
jmp 0x140134635
call fcn.14012e3c4
test al, al
jne 0x140134654
bts esi, 0x15
xor ecx, ecx
jmp 0x14013465c
call fcn.14012e2fc
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.14012e078
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret

Function at 0x140140270
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x30
pop rbx
ret

Function at 0x140140540
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10d, r9d
mov r9d, dword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov eax, dword [rsp + 0x88]
mov r8d, r10d
mov dword [rsp + 0x30], eax
mov edx, r11d
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
add rsp, 0x40
pop rbx
ret

Function at 0x1401405c0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [rsp + 0xb0]
mov r10, r9
mov r9, qword [rsp + 0x80]
mov r11, r8
mov qword [rsp + 0x48], rax
mov rcx, rdx
mov rax, qword [rsp + 0xa8]
mov r8, r10
mov qword [rsp + 0x40], rax
mov rdx, r11
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
add rsp, 0x50
pop rbx
ret
Function at 0x140140640
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov eax, dword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x30
pop rbx
ret

Function at 0x140141010
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov eax, dword [rsp + 0x68]
mov r8, r10
mov edx, r11d
mov dword [rsp + 0x20], eax
call fcn.14016f7b0
add rsp, 0x30
pop rbx
ret

Function at 0x140141160
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x48
xor ecx, ecx
mov rax, r9
mov r9, qword [rsp + 0x70]
mov r10d, r8d
mov qword [rsp + 0x38], rcx
mov r11, rdx
mov qword [rsp + 0x30], rcx
mov r8, rax
mov qword [rsp + 0x28], rcx
mov edx, r10d
mov qword [rsp + 0x20], rcx
mov rcx, r11
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x48
ret

Function at 0x140141390
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x28
mov rax, r8
mov ecx, edx
mov rdx, rax
mov r8, r9
call sub.Secur32.dll_GetUserNameExW
movzx eax, al
add rsp, 0x28
ret
Function at 0x140001d48
Capabilities:
Parse pe header

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

Function at 0x1400081c0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007fbc
Function at 0x14000d508
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d538
xor eax, eax
jmp 0x14000d5fb
mov rbp, rbx
cmp word [rax], si
je 0x14000d55d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d544
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d540
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d428
movsxd r14, eax
test eax, eax
jne 0x14000d59b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d531
mov rcx, r14
call fcn.140009cbc
mov rdi, rax
test rax, rax
jne 0x14000d5b4
xor ecx, ecx
call fcn.140009044
jmp 0x14000d590
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d428
test eax, eax
jne 0x14000d5e5
mov rcx, rdi
call fcn.140009044
jmp 0x14000d5ef
xor ecx, ecx
call fcn.140009044
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001191c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140011932
mov al, 1
jmp 0x140011992
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140011943
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140011990
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000de28
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011990
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140011990
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140011990
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140011992
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400129d0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000c4f8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140012a5a
cmp byte [rbp - 0x21], r15b
je 0x140012a55
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140012a90
call fcn.140009294
test eax, eax
jne 0x140012a7c
cmp byte [rbp - 0x21], r15b
je 0x140012a74
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140012a90
cmp byte [rbp - 0x21], r15b
je 0x140012a8d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000bad8
test eax, eax
jne 0x140012b30
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c4f8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140012acf
cmp byte [rbp - 0x21], r15b
je 0x140012b04
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012b04
call fcn.140009294
test eax, eax
jne 0x140012af0
cmp byte [rbp - 0x21], r15b
je 0x140012ae9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012b04
cmp byte [rbp - 0x21], r15b
je 0x140012b01
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000bad8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140012b30
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140012b33
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140012b41
mov rcx, rdi
call fcn.140009044
cmp byte [rbp + 0x3f], r15b
je 0x140012b50
mov rcx, qword [rbp + 0x27]
call fcn.140009044
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400150c0
Capabilities:
Parse pe header

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