joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f02c
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000f05a
xor eax, eax
jmp 0x14000f140
cmp qword [rcx + 0x68], 0
je 0x14000f06b
call fcn.14000f15c
jmp 0x14000f140
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000f082
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000f084
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000f0b6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140030e40
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000f13a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000f0ed
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000f116
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14001ba18
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000f13a
cmp rsi, rbx
ja 0x14000f0f4
test rsi, rsi
je 0x14000f13a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14001ba18
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400127e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140012832
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140012832
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140012832
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140012832
cmp dword [rcx + 0x84], 0xe
jbe 0x140012832
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140012834
xor al, al
add rsp, 0x28
ret
Function at 0x14001e464
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 0x14001e4d3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001e4d3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e4d3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e4d3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e4d3
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e4d3
cmp dword [rcx + 0xf8], 0
je 0x14001e4d3
mov ecx, ebx
call fcn.14001e584
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.14001e360
nop
cmp dword [rbp + 0x20], 0
je 0x14001e521
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001e52c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001e464

Function at 0x14001e668
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001e464
Function at 0x140025c78
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400120c0
sub rsp, rax
mov rax, qword [0x140046040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140022cf8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140025cc7
mov rax, rbp
jmp 0x140025dcf
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x48b40]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140026f60
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x48b40]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140025dcb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140025dcb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140026f60
test rax, rax
js 0x140025dcb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140025dcb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140025dbd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140025dbd
cmp byte [rcx], 0xd
jne 0x140025da3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140025db2
cmp byte [rcx + 1], 0xa
jne 0x140025db2
inc rcx
jmp 0x140025db2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x46480]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140025d85
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140025dcf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140011a70
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400260ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140026102
mov al, 1
jmp 0x140026162
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140026113
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140026160
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002a550
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140026160
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140026160
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140026160
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140026162
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140026300
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140048b40]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140026357
cmp word [rdx], r13w
jne 0x140026357
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14002635c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140026481
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400264a2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140026395
mov rdx, r9
mov word [rbx], cx
jmp 0x1400263bc
cmp r9, r8
jae 0x1400263cc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140026376
jmp 0x140026481
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140026476
cmp dword [rsp + 0x80], esi
je 0x140026476
lea r8, [0x140048b40]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002644e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14002641e
mov word [rbx], r13w
jmp 0x14002647e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002642b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002647e
cmp word [rsp + 0x70], r13w
jne 0x14002645b
cmp rbx, r14
je 0x140026418
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140026f68
cmp word [rsp + 0x70], r13w
je 0x140026481
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140048b40]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002647b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140026481
Function at 0x140029a9c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140029b23
mov rsi, rbx
cmp word [rax], bp
je 0x140029ae2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140029acc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140029ac8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140021a3c
mov rdi, rax
test rax, rax
je 0x140029b10
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140030e40
mov rbp, rdi
xor ecx, ecx
call fcn.140021a00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002caa4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140021454
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002cb45
cmp ebx, dword [rsp + 0x30]
je 0x14002cb3e
test esi, esi
je 0x14002cb3e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002cb19
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002cb26
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002cb03
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002cb2a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002cb47
mov eax, 1
jmp 0x14002cb47
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400309e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140030a08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140030a08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140c0ab90
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140c0ab9a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140c0abc3
pop rbp
sub rbp, 0x33
sub rbp, 0xc0ab90
sub rsp, 0x20
jmp 0x140c0abe2
mov rax, 0xc0ab90
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x7d170694
xor byte [rax], dl
inc rax
dec rcx
jne 0x140c0ac01
jmp 0x140c0ac18
fcomp qword [0xe8ddcb9b]
xchg esp, eax
xchg esp, eax
xchg esp, eax
fcom qword [0xd556487c]
xchg esp, eax
fcom qword [rbp + 0x5453dc7d]
popfq
xchg esp, eax
xchg esp, eax
xchg esp, eax
fcom qword [rbx + 0x56]
mov esp, 0xdc949494
invalid
Function at 0x1400011dc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r9b, r9b
movzx r11d, cl
shl r11d, 2
mov rbx, r8
movzx r8d, r9b
xor r10b, r10b
add r8d, r11d
shl r8d, 2
movzx eax, r10b
inc r10b
add eax, r8d
mov cl, byte [rax + rbx]
xor byte [rdx], cl
inc rdx
cmp r10b, 4
jb 0x1400011fd
inc r9b
cmp r9b, 4
jb 0x1400011ef
mov rbx, qword [rsp + 8]
ret

Function at 0x140001224
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

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 rsi, rdx
mov r8, rdx
mov rdx, rcx
mov rbx, rcx
xor ecx, ecx
call fcn.1400011dc
mov dil, 1
lea r14, [rbx + 2]
mov r12d, 4
mov rdx, rbx
mov r8, r12
mov rcx, rdx
mov r9, r12
movzx eax, byte [rcx]
lea r10, [0x140023fb0]
mov al, byte [rax + r10]
mov byte [rcx], al
add rcx, r12
sub r9, 1
jne 0x14000126d
inc rdx
sub r8, 1
jne 0x140001267
mov al, byte [rbx + 5]
mov cl, byte [rbx + 1]
mov byte [rbx + 1], al
mov al, byte [rbx + 9]
mov byte [rbx + 5], al
mov al, byte [rbx + 0xd]
mov byte [rbx + 9], al
mov al, byte [rbx + 0xa]
mov byte [rbx + 0xd], cl
mov cl, byte [r14]
mov byte [r14], al
mov al, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
mov cl, byte [rbx + 6]
mov byte [rbx + 6], al
mov al, byte [rbx + 0xf]
mov byte [rbx + 0xe], cl
mov cl, byte [rbx + 3]
mov byte [rbx + 3], al
mov al, byte [rbx + 0xb]
mov byte [rbx + 0xf], al
mov al, byte [rbx + 7]
mov byte [rbx + 0xb], al
mov byte [rbx + 7], cl
cmp dil, 0xa
je 0x14000139c
mov r15, r14
mov rbp, r12
mov r11b, byte [r15 - 2]
mov r8b, byte [r15 - 1]
mov dl, r11b
mov r9b, byte [r15]
xor dl, r8b
xor r9b, byte [r15 + 1]
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
mov r10b, r9b
imul ecx, eax, 0x1b
xor r10b, r11b
xor r10b, r8b
xor cl, dl
mov dl, byte [r15]
xor cl, r11b
xor dl, r8b
xor r11b, byte [r15 + 1]
xor cl, r10b
mov byte [r15 - 2], cl
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
imul ecx, eax, 0x1b
mov al, r9b
shr al, 7
add r9b, r9b
movzx eax, al
xor cl, dl
xor cl, r8b
xor cl, r10b
mov byte [r15 - 1], cl
imul ecx, eax, 0x1b
mov al, r11b
shr al, 7
add r11b, r11b
movzx eax, al
xor cl, r9b
xor cl, byte [r15]
xor cl, r10b
mov byte [r15], cl
imul ecx, eax, 0x1b
xor cl, r11b
xor cl, byte [r15 + 1]
xor cl, r10b
mov byte [r15 + 1], cl
add r15, r12
sub rbp, 1
jne 0x1400012e7
mov r8, rsi
mov rdx, rbx
mov cl, dil
call fcn.1400011dc
inc dil
jmp 0x140001261
mov r8, rsi
mov rdx, rbx
mov cl, 0xa
call fcn.1400011dc
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000e208
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140222820]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x410
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx]
cmp dword [r8 + 4], 0
je 0x14000e283
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r9, rdi
lea r8, str.__s___s
lea rcx, [rbp]
mov qword [rsp + 0x20], rax
mov edx, 0x410
call fcn.1400040e8
and qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000e3b3
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
and qword [rsp + 0x68], 0
mov r9d, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x20f01ff
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
and qword [rsp + 0x70], 0
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor eax, eax
lea rcx, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
xor edx, edx
movups xmmword [rsp + 0x78], xmm0
lea ebx, [rax + 0x70]
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
lea r8, [rbp]
lea rax, [rsp + 0x78]
mov dword [rbp - 0x70], ebx
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x70]
mov rdx, rdi
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x628
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne bl
test eax, eax
je 0x14000e38a
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test bl, bl
je 0x14000e3b3
mov al, 1
jmp 0x14000e3b5
xor al, al
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14001af70
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140010c70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
mov rdx, rcx
je 0x140010ca3
xor r8d, r8d
mov cl, r8b
movabs rax, 0x51533f1509c71599
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0xc
jb 0x140010c7c
mov byte [rdx + 0xc], 0
mov rax, rdx
ret
Function at 0x140010ca8
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
mov rdx, rcx
je 0x140010cdb
xor r8d, r8d
mov cl, r8b
movabs rax, 0x61a7ddf587214d1b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x25
jb 0x140010cb4
mov byte [rdx + 0x25], 0
mov rax, rdx
ret

Function at 0x140010ce0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
mov rdx, rcx
je 0x140010d13
xor r8d, r8d
mov cl, r8b
movabs rax, 0x33936bbb8fbf972b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 7
jb 0x140010cec
mov byte [rdx + 7], 0
mov rax, rdx
ret

Function at 0x140010d18
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
mov rdx, rcx
je 0x140010d4b
xor r8d, r8d
mov cl, r8b
movabs rax, 0xb5e3ff6f79e787bf
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0xa
jb 0x140010d24
mov byte [rdx + 0xa], 0
mov rax, rdx
ret

Function at 0x140010d50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d83
xor r8d, r8d
mov cl, r8b
movabs rax, 0x717f5d0f8b9d9be7
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010d5c
mov byte [rdx + 9], 0
mov rax, rdx
ret
Function at 0x14001a680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x20
call fcn.140016370
mov rdi, qword [0x140223c80]
xor r14d, r14d
mov ebp, r14d
test rdi, rdi
je 0x14001a71e
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x40], rbx
mov ebx, r14d
mov qword [rsp + 0x48], rsi
mov esi, dword [rax + rdi + 0x88]
add rsi, rdi
cmp dword [rsi + 0x18], ebx
jbe 0x14001a714
mov qword [rsp + 0x50], r15
nop word [rax + rax]
mov ecx, dword [rsi + 0x20]
lea rdx, [0x140022878]
add rcx, rdi
mov r15d, ebx
mov ecx, dword [rcx + r15*4]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14001a708
mov ecx, dword [rsi + 0x24]
add rcx, rdi
movzx edx, word [rcx + r15*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rdi
mov ebp, dword [rcx + rdx*4]
add rbp, rdi
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a6d0
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
call rbp
test eax, eax
setne r14b
mov eax, r14d
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

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

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov r15, rcx
call fcn.140016370
mov rdi, qword [0x140223c80]
xor ebp, ebp
test rdi, rdi
je 0x14001a7de
movsxd rax, dword [rdi + 0x3c]
mov qword [rsp + 0x40], rbx
mov ebx, ebp
mov qword [rsp + 0x48], rsi
mov esi, dword [rax + rdi + 0x88]
add rsi, rdi
cmp dword [rsi + 0x18], ebx
jbe 0x14001a7d4
mov qword [rsp + 0x50], r14
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rsi + 0x20]
lea rdx, [0x140022ae0]
add rcx, rdi
mov r14d, ebx
mov ecx, dword [rcx + r14*4]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14001a7c8
mov ecx, dword [rsi + 0x24]
add rcx, rdi
movzx edx, word [rcx + r14*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rdi
mov ebp, dword [rcx + rdx*4]
add rbp, rdi
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x14001a790
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rcx, r15
mov rax, rbp
add rsp, 0x20
pop r15
pop rdi
pop rbp
jmp rax
Function at 0x14001bf90
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x14001bfcd
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.14001b17c
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001c0cc
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14001b17c
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x14001c040
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140003fe0
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x14001c10b
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001c10b
call fcn.14001afe8
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x14001c0f2
mov rcx, r14
call fcn.14001afe8
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret