joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140047030
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x140047077
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140047091
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14004706f
mov qword [rsi], rdi
call fcn.14004a610
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x1400470a7
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14004a610
mov rcx, qword [rsi]
call fcn.14004c8c0
mov qword [rsi], 0
jmp 0x14004705d
int3

Function at 0x14004a620
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1400f50a8]
mov ecx, dword [0x1400f2494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004a680
mov rsi, qword [0x1400f50a0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140061c90
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1400f50a8]
call fcn.140060aa0
cmp dword [0x1400f50a8], 0xffffffff
jne 0x14004a65c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140063db0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14006094c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1400f50f0]
mov ecx, dword [0x1400f2494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004a740
lea r8, [0x1400f50c0]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.14002d3c0
mov qword [0x1400f50a0], rsi
lea rcx, [0x1400f50a8]
call fcn.140060b38
jmp 0x14004a65c
lea rcx, [0x1400f50f0]
call fcn.140060aa0
cmp dword [0x1400f50f0], 0xffffffff
jne 0x14004a711
xorps xmm0, xmm0
movups xmmword [0x1400f50e0], xmm0
movups xmmword [0x1400f50d0], xmm0
movups xmmword [0x1400f50c0], xmm0
lea rcx, [0x1400f50c0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400f50f0]
call fcn.140060b38
jmp 0x14004a711
Function at 0x14004a790
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1400f50a8]
mov ecx, dword [0x1400f2494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004a7f1
mov rax, qword [0x1400f50a0]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140061c90
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1400f50a8]
call fcn.140060aa0
cmp dword [0x1400f50a8], 0xffffffff
jne 0x14004a7cc
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140063db0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14006094c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1400f50f0]
mov ecx, dword [0x1400f2494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004a8b1
lea r8, [0x1400f50c0]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.14002d3c0
mov qword [0x1400f50a0], rsi
lea rcx, [0x1400f50a8]
call fcn.140060b38
jmp 0x14004a7cc
lea rcx, [0x1400f50f0]
call fcn.140060aa0
cmp dword [0x1400f50f0], 0xffffffff
jne 0x14004a882
xorps xmm0, xmm0
movups xmmword [0x1400f50e0], xmm0
movups xmmword [0x1400f50d0], xmm0
movups xmmword [0x1400f50c0], xmm0
lea rcx, [0x1400f50c0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400f50f0]
call fcn.140060b38
jmp 0x14004a882
Function at 0x14004aed0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140048f80
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1400f5108]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14004af2d
jnp 0x14004af92
ucomisd xmm0, xmm6
jne 0x14004af39
jnp 0x14004b0a8
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x1400d3940]
subpd xmm1, xmmword [0x1400d3950]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x1400d3960]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140061c90
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov r12d, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1400f5118]
mov ecx, dword [0x1400f2494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004b0af
mov eax, dword [0x1400f5128]
mov ecx, dword [0x1400f2494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004b0e9
rdtsc
mov r14, rax
mov r15, rdx
xor edi, edi
lea rbx, [rsp + 0x30]
mov qword [rbx], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbp, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rbx], rdi
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbp, qword [0x1400f5120]
cvtsi2sd xmm1, rbp
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1400d3938]
ucomisd xmm2, xmm1
ja 0x14004af2d
shl r15, 0x20
or r14, r15
sub r14, qword [0x1400f5110]
movq xmm0, r14
punpckldq xmm0, xmmword [0x1400d3940]
subpd xmm0, xmmword [0x1400d3950]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1400f5108], xmm0
jmp 0x14004af2d
xor eax, eax
jmp 0x14004af6b
lea rcx, [0x1400f5118]
call fcn.140060aa0
cmp dword [0x1400f5118], 0xffffffff
jne 0x14004afdc
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1400f5110], rdx
lea rcx, [0x1400f5118]
call fcn.140060b38
jmp 0x14004afdc
lea rcx, [0x1400f5128]
call fcn.140060aa0
cmp dword [0x1400f5128], 0xffffffff
jne 0x14004b001
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1400f5120], rax
lea rcx, [0x1400f5128]
call fcn.140060b38
jmp 0x14004b001
Function at 0x14004fb50
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1400e62e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14004fb84
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x14004fb84
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14004fb7e

Function at 0x14004fb90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1400e62e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14004fbce
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14004fbc7
call fcn.140032df0
jmp 0x14004fbae

Function at 0x140051d50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
movzx eax, byte [rcx + 0x4f]
test al, al
js 0x140051e2b
test rax, rax
jne 0x140051e1c
cmp dword [rsi + 0x50], 0
jne 0x140051e1c
mov byte [rsi + 0x54], 0
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
je 0x140051e6b
lea rdi, [rsi + 0x20]
lea rcx, [rax + 1]
mov qword [rsi + 0x10], rcx
movzx edx, byte [rax]
mov rcx, rdi
xor r8d, r8d
call fcn.140043400
cmp rax, 0xffffffffffffffff
jne 0x140051e59
cmp dword [rsi + 0x58], 1
je 0x140051e34
mov rax, qword [rsi + 0x10]
mov bl, 1
cmp rax, qword [rsi + 0x18]
je 0x140051e71
nop dword [rax]
movzx edx, byte [rax]
mov rcx, rdi
xor r8d, r8d
call fcn.140043400
cmp rax, 0xffffffffffffffff
jne 0x140051e71
cmp dword [rsi + 0x58], 1
mov rax, qword [rsi + 0x10]
je 0x140051e01
inc rax
mov qword [rsi + 0x10], rax
cmp rax, qword [rsi + 0x18]
jne 0x140051dd0
jmp 0x140051e71
movzx ecx, byte [rax]
cmp rcx, 0x20
ja 0x140051df2
movabs rdx, 0x100003600
bt rdx, rcx
jae 0x140051df2
jmp 0x140051e71
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400b29f0
mov rax, qword [rsi + 0x40]
jmp 0x140051d66
mov rax, qword [rsi + 8]
movzx eax, byte [rax]
cmp rax, 0x20
ja 0x140051db9
movabs rcx, 0x100003600
bt rcx, rax
jae 0x140051db9
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
jne 0x140051d93
mov byte [rsi + 0x54], 1
xor ebx, ebx
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140057350
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x1400fac70]
cmp rsi, 1
jbe 0x140057373
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14004fb90
lea rcx, [0x1400fac70]
call fcn.140038080
test al, al
je 0x1400573b8
xorps xmm0, xmm0
movups xmmword [0x1400fac78], xmm0
lea rdi, [0x1400fac70]
lea rsi, [0x1400fac78]
mov rcx, rsi
xor edx, edx
call fcn.140033000
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140038120
jmp 0x140057363
mov rsi, qword [0x1400fac70]
jmp 0x140057363
Function at 0x1400574e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400faca0]
mov ecx, dword [0x1400f2494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140057515
lea rcx, [0x1400fac90]
add rsp, 0x28
jmp fcn.14004fb50
lea rcx, [0x1400faca0]
call fcn.140060aa0
cmp dword [0x1400faca0], 0xffffffff
jne 0x140057505
xorps xmm0, xmm0
movups xmmword [0x1400fac90], xmm0
lea rcx, [0x1400fac90]
xor edx, edx
call fcn.140033000
lea rcx, [0x1400faca0]
call fcn.140060b38
jmp 0x140057505

Function at 0x1400580f0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor ebx, ebx
test edx, edx
sete bl
xor ecx, ecx
mov edx, ebx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x140058187
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140058171
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14005814e
mov qword [rsi], rdi
call fcn.14004a610
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x14005818b
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14004a610
mov rcx, qword [rsi]
call fcn.14004c8c0
mov qword [rsi], 0
jmp 0x14005813c
mov byte [rsi + 8], 1
int3

Function at 0x140060470
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400fae18]
mov ecx, dword [0x1400f2494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400604d6
lea rcx, [0x1400fae08]
xor edx, edx
call fcn.14004fb90
mov eax, dword [0x1400fae30]
mov ecx, dword [0x1400f2494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140060511
lea rcx, [0x1400fae20]
xor edx, edx
add rsp, 0x28
jmp fcn.14004fb90
lea rcx, [0x1400fae18]
call fcn.140060aa0
cmp dword [0x1400fae18], 0xffffffff
jne 0x140060495
xorps xmm0, xmm0
movups xmmword [0x1400fae08], xmm0
lea rcx, [0x1400fae08]
xor edx, edx
call fcn.140033000
lea rcx, [0x1400fae18]
call fcn.140060b38
jmp 0x140060495
lea rcx, [0x1400fae30]
call fcn.140060aa0
cmp dword [0x1400fae30], 0xffffffff
jne 0x1400604c4
xorps xmm0, xmm0
movups xmmword [0x1400fae20], xmm0
lea rcx, [0x1400fae20]
xor edx, edx
call fcn.140033000
lea rcx, [0x1400fae30]
call fcn.140060b38
jmp 0x1400604c4

Function at 0x140060660
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x1400fae38]
cmp rsi, 1
jbe 0x140060683
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14004fb90
lea rcx, [0x1400fae38]
call fcn.140038080
test al, al
je 0x1400606c8
xorps xmm0, xmm0
movups xmmword [0x1400fae40], xmm0
lea rdi, [0x1400fae38]
lea rsi, [0x1400fae40]
mov rcx, rsi
xor edx, edx
call fcn.140033000
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140038120
jmp 0x140060673
mov rsi, qword [0x1400fae38]
jmp 0x140060673

Function at 0x14006fdb4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14006ff08
Function at 0x14008652c
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 0x14008655c
xor eax, eax
jmp 0x14008661f
mov rbp, rbx
cmp word [rax], si
je 0x140086581
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140086568
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140086564
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.14008647c
movsxd r14, eax
test eax, eax
jne 0x1400865bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140086555
mov rcx, r14
call fcn.14002b110
mov rdi, rax
test rax, rax
jne 0x1400865d8
xor ecx, ecx
call fcn.140047180
jmp 0x1400865b4
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.14008647c
test eax, eax
jne 0x140086609
mov rcx, rdi
call fcn.140047180
jmp 0x140086613
xor ecx, ecx
call fcn.140047180
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 0x14008663c
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 0x1400866c3
mov rsi, rbx
cmp word [rax], bp
je 0x140086682
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14008666c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140086668
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14002b110
mov rdi, rax
test rax, rax
je 0x1400866b0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140063700
mov rbp, rdi
xor ecx, ecx
call fcn.140047180
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 0x14008cd64
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.14006a438
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14008cdee
cmp byte [rbp - 0x21], r15b
je 0x14008cde9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14008ce24
call fcn.14007f504
test eax, eax
jne 0x14008ce10
cmp byte [rbp - 0x21], r15b
je 0x14008ce08
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14008ce24
cmp byte [rbp - 0x21], r15b
je 0x14008ce21
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.14006fa18
test eax, eax
jne 0x14008cec4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14006a438
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14008ce63
cmp byte [rbp - 0x21], r15b
je 0x14008ce98
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14008ce98
call fcn.14007f504
test eax, eax
jne 0x14008ce84
cmp byte [rbp - 0x21], r15b
je 0x14008ce7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14008ce98
cmp byte [rbp - 0x21], r15b
je 0x14008ce95
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.14006fa18
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14008cec4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14008cec7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14008ced5
mov rcx, rdi
call fcn.140047180
cmp byte [rbp + 0x3f], r15b
je 0x14008cee4
mov rcx, qword [rbp + 0x27]
call fcn.140047180
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 0x1400a6d90
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.14006094c
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400a6e00]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.14006fb94
mov qword [rbx], rax
test rax, rax
je 0x1400a6de7
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400a7280
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1400f4fe8], 0
je 0x1400a72c6
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140061c90
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1400f4fc0]
test rdi, rdi
je 0x1400a7367
test byte [0x1400e4f68], 1
je 0x1400a72a9
cmp byte [rdi + 0x17], 0
jns 0x1400a72e8
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400f4fe8], rax
inc rax
cmp rax, 1
ja 0x1400a72a9
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140063db0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400a7426
xor esi, esi
jmp 0x1400a72a9
mov ecx, 0x18
call fcn.14006094c
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140063db0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1400cfa30]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1400243a0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400a73cd
mov r8, qword [rdi + 8]
jmp 0x1400a73d1
and r8d, 0x7f
mov rcx, rdi
mov dx, 0x5c
call fcn.1400442a0
cmp rax, 0xffffffffffffffff
je 0x1400a740b
lea rcx, [rax + 1]
movzx edx, byte [rdi + 0x17]
test dl, dl
jns 0x1400a74e1
cmp qword [rdi + 8], rax
jbe 0x1400a74f1
mov rdx, qword [rdi]
mov qword [rdi + 8], rcx
mov word [rdx + rax*2 + 2], 0
lea rdx, [0x1400d21a8]
mov rcx, rdi
call fcn.1400255c0
mov qword [0x1400f4fc0], rdi
jmp 0x1400a72d6
mov rcx, qword [0x1400f4fc0]
lea rdx, [rsp + 0x40]
call fcn.140025220
mov rcx, qword [0x1400f4fc0]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x1400a74d5
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400a7468
lea rdx, [0x1400d21a4]
call fcn.1400255c0
mov rcx, qword [0x1400f4fc0]
lea rdx, [0x1400d21a8]
call fcn.1400255c0
mov rcx, qword [0x1400f4fc0]
cmp byte [rcx + 0x17], 0
jns 0x1400a7484
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400f4fe8], rax
inc rax
cmp rax, 1
ja 0x1400a72a9
mov qword [0x1400f4fe8], 0
jmp 0x1400a7360
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
jmp 0x1400a744d
cmp rax, rdx
jae 0x1400a74f1
mov byte [rdi + 0x17], cl
mov rdx, rdi
jmp 0x1400a7404
call fcn.140074570
int3
Function at 0x1400a87e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1400a885f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1400a8864
test bl, bl
je 0x1400a883b
cmp byte [rdi + 8], 0
je 0x1400a88c0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov edx, esi
call fcn.14002afc0
mov sil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140061c90
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rdi]
jmp 0x1400a880d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x1400a888c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400a8891
xor esi, esi
jmp 0x1400a8848
mov rcx, qword [rdi]
jmp 0x1400a8879
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rdi + 8], 0
je 0x1400a88c8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400a883b
mov esi, dword [rsp + 0x24]
jmp 0x1400a883b
mov rcx, qword [rdi]
jmp 0x1400a8830
mov rcx, qword [rdi]
jmp 0x1400a88a8