joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b310
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400e4028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1400f3880]
mov ecx, dword [0x1400ed470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005b370
mov rsi, qword [0x1400f3878]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14006ac50
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1400f3880]
call fcn.1400699c0
cmp dword [0x1400f3880], 0xffffffff
jne 0x14005b34c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14006cd70
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.14006986c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1400f38c8]
mov ecx, dword [0x1400ed470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005b430
lea r8, [0x1400f3898]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.140037fa0
mov qword [0x1400f3878], rsi
lea rcx, [0x1400f3880]
call fcn.140069a58
jmp 0x14005b34c
lea rcx, [0x1400f38c8]
call fcn.1400699c0
cmp dword [0x1400f38c8], 0xffffffff
jne 0x14005b401
xorps xmm0, xmm0
movups xmmword [0x1400f38b8], xmm0
movups xmmword [0x1400f38a8], xmm0
movups xmmword [0x1400f3898], xmm0
lea rcx, [0x1400f3898]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400f38c8]
call fcn.140069a58
jmp 0x14005b401
Function at 0x14005b480
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400e4028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1400f3880]
mov ecx, dword [0x1400ed470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005b4e1
mov rax, qword [0x1400f3878]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14006ac50
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1400f3880]
call fcn.1400699c0
cmp dword [0x1400f3880], 0xffffffff
jne 0x14005b4bc
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14006cd70
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.14006986c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1400f38c8]
mov ecx, dword [0x1400ed470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005b5a1
lea r8, [0x1400f3898]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.140037fa0
mov qword [0x1400f3878], rsi
lea rcx, [0x1400f3880]
call fcn.140069a58
jmp 0x14005b4bc
lea rcx, [0x1400f38c8]
call fcn.1400699c0
cmp dword [0x1400f38c8], 0xffffffff
jne 0x14005b572
xorps xmm0, xmm0
movups xmmword [0x1400f38b8], xmm0
movups xmmword [0x1400f38a8], xmm0
movups xmmword [0x1400f3898], xmm0
lea rcx, [0x1400f3898]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400f38c8]
call fcn.140069a58
jmp 0x14005b572

Function at 0x14005dba0
Capabilities:
Get thread local storage value

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

Function at 0x14005dbe0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1400ed39c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14005dc1e
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14005dc17
call fcn.14003e0a0
jmp 0x14005dbfe
Function at 0x14005f2d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
movzx eax, byte [rcx + 0x4f]
test al, al
js 0x14005f3b3
test rax, rax
jne 0x14005f3a2
cmp dword [rsi + 0x50], 0
jne 0x14005f3a2
mov byte [rsi + 0x54], 0
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
je 0x14005f3f3
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.140051bb0
cmp rax, 0xffffffffffffffff
jne 0x14005f3e1
cmp dword [rsi + 0x58], 1
je 0x14005f3bc
mov rax, qword [rsi + 0x10]
mov bl, 1
cmp rax, qword [rsi + 0x18]
je 0x14005f3f9
movabs r14, 0x100003600
nop dword [rax]
movzx edx, byte [rax]
mov rcx, rdi
xor r8d, r8d
call fcn.140051bb0
cmp rax, 0xffffffffffffffff
jne 0x14005f3f9
cmp dword [rsi + 0x58], 1
mov rax, qword [rsi + 0x10]
je 0x14005f391
inc rax
mov qword [rsi + 0x10], rax
cmp rax, qword [rsi + 0x18]
jne 0x14005f360
jmp 0x14005f3f9
movzx ecx, byte [rax]
cmp rcx, 0x20
ja 0x14005f382
bt r14, rcx
jae 0x14005f382
jmp 0x14005f3f9
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400be320
mov rax, qword [rsi + 0x40]
jmp 0x14005f2e8
mov rax, qword [rsi + 8]
movzx eax, byte [rax]
cmp rax, 0x20
ja 0x14005f33f
movabs rcx, 0x100003600
bt rcx, rax
jae 0x14005f33f
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rax
cmp rax, qword [rsi + 0x18]
jne 0x14005f315
mov byte [rsi + 0x54], 1
xor ebx, ebx
mov eax, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140060540
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x1400f5680]
cmp rsi, 1
jbe 0x140060563
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14005dbe0
lea rcx, [0x1400f5680]
call fcn.140031cb0
test al, al
je 0x1400605a9
mov qword [0x1400f5688], 0
lea rdi, [0x1400f5680]
lea rsi, [0x1400f5688]
mov rcx, rsi
xor edx, edx
call fcn.14003e2b0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140031d50
jmp 0x140060553
mov rsi, qword [0x1400f5680]
jmp 0x140060553

Function at 0x1400606d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400f56a0]
mov ecx, dword [0x1400ed470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140060705
lea rcx, [0x1400f5698]
add rsp, 0x28
jmp fcn.14005dba0
lea rcx, [0x1400f56a0]
call fcn.1400699c0
cmp dword [0x1400f56a0], 0xffffffff
jne 0x1400606f5
mov qword [0x1400f5698], 0
lea rcx, [0x1400f5698]
xor edx, edx
call fcn.14003e2b0
lea rcx, [0x1400f56a0]
call fcn.140069a58
jmp 0x1400606f5
Function at 0x140061fa0
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 0x140062037
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140062021
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140061ffe
mov qword [rsi], rdi
call fcn.14005b300
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 0x14006203b
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14005b300
mov rcx, qword [rsi]
call fcn.14005cf30
mov qword [rsi], 0
jmp 0x140061fec
mov byte [rsi + 8], 1
int3

Function at 0x140067eb0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400f56e0]
mov ecx, dword [0x1400ed470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140067f16
lea rcx, [0x1400f56d8]
xor edx, edx
call fcn.14005dbe0
mov eax, dword [0x1400f56f0]
mov ecx, dword [0x1400ed470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140067f52
lea rcx, [0x1400f56e8]
xor edx, edx
add rsp, 0x28
jmp fcn.14005dbe0
lea rcx, [0x1400f56e0]
call fcn.1400699c0
cmp dword [0x1400f56e0], 0xffffffff
jne 0x140067ed5
mov qword [0x1400f56d8], 0
lea rcx, [0x1400f56d8]
xor edx, edx
call fcn.14003e2b0
lea rcx, [0x1400f56e0]
call fcn.140069a58
jmp 0x140067ed5
lea rcx, [0x1400f56f0]
call fcn.1400699c0
cmp dword [0x1400f56f0], 0xffffffff
jne 0x140067f04
mov qword [0x1400f56e8], 0
lea rcx, [0x1400f56e8]
xor edx, edx
call fcn.14003e2b0
lea rcx, [0x1400f56f0]
call fcn.140069a58
jmp 0x140067f04

Function at 0x1400694f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x1400f5760]
cmp rsi, 1
jbe 0x140069513
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14005dbe0
lea rcx, [0x1400f5760]
call fcn.140031cb0
test al, al
je 0x140069559
mov qword [0x1400f5768], 0
lea rdi, [0x1400f5760]
lea rsi, [0x1400f5768]
mov rcx, rsi
xor edx, edx
call fcn.14003e2b0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140031d50
jmp 0x140069503
mov rsi, qword [0x1400f5760]
jmp 0x140069503

Function at 0x140069570
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1400f5778]
mov ecx, dword [0x1400ed470]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400695ad
lea rcx, [0x1400f5770]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14005dbe0
lea rcx, [0x1400f5778]
call fcn.1400699c0
cmp dword [0x1400f5778], 0xffffffff
jne 0x140069599
mov qword [0x1400f5770], 0
lea rcx, [0x1400f5770]
xor edx, edx
call fcn.14003e2b0
lea rcx, [0x1400f5778]
call fcn.140069a58
jmp 0x140069599

Function at 0x140078c44
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140078d98
Function at 0x14007d09c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400ee2f0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14007d0fa
cmp word [rdx], r12w
jne 0x14007d0fa
or byte [rax + r8*8 + 0x38], cl
jmp 0x14007d100
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14007d25b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14007d236
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14007d139
mov rcx, r9
jmp 0x14007d15c
cmp r9, rdx
jae 0x14007d173
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14007d11d
jmp 0x14007d25b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007d230
cmp dword [rsp + 0x80], edi
je 0x14007d230
mov rdx, r14
lea r11, [0x1400ee2f0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14007d209
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14007d1dc
mov word [rbx], r12w
jmp 0x14007d257
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14007d1e5
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14007d257
cmp word [rsp + 0x70], r12w
jne 0x14007d216
cmp rbx, rsi
je 0x14007d1d6
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14008b7d0
cmp word [rsp + 0x70], r12w
je 0x14007d25b
mov word [rbx], r13w
jmp 0x14007d257
lea r11, [0x1400ee2f0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14007d253
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14007d25b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008f3bc
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 0x14008f3ec
xor eax, eax
jmp 0x14008f4af
mov rbp, rbx
cmp word [rax], si
je 0x14008f411
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14008f3f8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14008f3f4
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.14008f30c
movsxd r14, eax
test eax, eax
jne 0x14008f44f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14008f3e5
mov rcx, r14
call fcn.140034d60
mov rdi, rax
test rax, rax
jne 0x14008f468
xor ecx, ecx
call fcn.140055e60
jmp 0x14008f444
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.14008f30c
test eax, eax
jne 0x14008f499
mov rcx, rdi
call fcn.140055e60
jmp 0x14008f4a3
xor ecx, ecx
call fcn.140055e60
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 0x14008f4cc
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 0x14008f553
mov rsi, rbx
cmp word [rax], bp
je 0x14008f512
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14008f4fc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14008f4f8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140034d60
mov rdi, rax
test rax, rax
je 0x14008f540
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14006c6c0
mov rbp, rdi
xor ecx, ecx
call fcn.140055e60
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 0x140095d20
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.1400732c8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140095daa
cmp byte [rbp - 0x21], r15b
je 0x140095da5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140095de0
call fcn.140088394
test eax, eax
jne 0x140095dcc
cmp byte [rbp - 0x21], r15b
je 0x140095dc4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140095de0
cmp byte [rbp - 0x21], r15b
je 0x140095ddd
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.1400788a8
test eax, eax
jne 0x140095e80
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400732c8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140095e1f
cmp byte [rbp - 0x21], r15b
je 0x140095e54
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140095e54
call fcn.140088394
test eax, eax
jne 0x140095e40
cmp byte [rbp - 0x21], r15b
je 0x140095e39
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140095e54
cmp byte [rbp - 0x21], r15b
je 0x140095e51
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.1400788a8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140095e80
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140095e83
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140095e91
mov rcx, rdi
call fcn.140055e60
cmp byte [rbp + 0x3f], r15b
je 0x140095ea0
mov rcx, qword [rbp + 0x27]
call fcn.140055e60
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 0x14009c3a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x14009c4d0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x1400e4028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x14009c52e
mov edi, dword [rsi + 0x5c]
test r15b, r15b
je 0x14009c50e
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006ac50
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov edi, 1
cmovge edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.140081aac
cmp eax, 0xffffffff
je 0x14009c5ac
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x14009c54d
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x14009c5b6
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test r15b, r15b
je 0x14009c589
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x14009c50e
mov edi, edi
test rdi, rdi
jle 0x14009c668
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movzx ecx, byte [rsp + rax + 0x58]
call fcn.140083554
cmp eax, 0xffffffff
jne 0x14009c58b
mov edi, 0xffffffff
jmp 0x14009c50e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x57]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [0x1400fd008]
cmp eax, 1
jne 0x14009c651
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x14009c5ac
mov rcx, qword [rsi + 0x40]
call fcn.140081aac
cmp eax, 0xffffffff
je 0x14009c5ac
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x14009c5c7
cmp eax, 2
je 0x14009c5ac
cmp eax, 3
je 0x14009c572
jmp 0x14009c57a
movzx edi, byte [rsp + 0x57]
jmp 0x14009c50e
Function at 0x14009c6b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x14009c7e0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x1400e4028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x14009c83e
movzx edi, word [rsi + 0x5c]
test r15b, r15b
je 0x14009c81e
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006ac50
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov edi, 1
cmovge edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.140081aac
cmp eax, 0xffffffff
je 0x14009c8c4
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x14009c85d
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x14009c8cd
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test r15b, r15b
je 0x14009c89e
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x14009c81e
mov edi, edi
test rdi, rdi
jle 0x14009c97f
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movsx eax, byte [rsp + rax + 0x58]
movzx ecx, ax
call fcn.140083554
cmp eax, 0xffffffff
jne 0x14009c8a0
mov di, 0xffff
jmp 0x14009c81e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x56]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [0x1400fd008]
cmp eax, 1
jne 0x14009c968
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x14009c8c4
mov rcx, qword [rsi + 0x40]
call fcn.140081aac
cmp eax, 0xffffffff
je 0x14009c8c4
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x14009c8de
cmp eax, 2
je 0x14009c8c4
cmp eax, 3
je 0x14009c884
jmp 0x14009c88e
movzx edi, word [rsp + 0x56]
jmp 0x14009c81e

Function at 0x14009cee0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14009cf17
movabs r9, 0xf000000000000000
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
inc rdx
cmp rdx, r8
jne 0x14009cef1
ret

Function at 0x14009cf60
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14009cf98
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp rdx, r8
jne 0x14009cf71
ret