joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140015090
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012da0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012dc0
xor al, al
jmp 0x140012e41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012dd3
xor al, al
jmp 0x140012e41
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012dfd
xor al, al
jmp 0x140012e41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012e11
xor al, al
jmp 0x140012e41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012e23
xor al, al
jmp 0x140012e41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012e3f
xor al, al
jmp 0x140012e41
mov al, 1
add rsp, 0x38
ret
Function at 0x140009e20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140009eb0
cmp r11, r10
ja 0x140009f26
cmp r10, rdx
ja 0x140009f38
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140009eb2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140009e90
jmp 0x140009f14
ja 0x140009eba
mov r11, r10
cmp rax, r8
jne 0x140009e54
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140009ef0
mov rdi, r8
sub ecx, edx
jns 0x140009f0b
jmp 0x140009f16
cmp r8, rsi
je 0x140009f47
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140009f16
xor al, 1
cmp rdi, rsi
jne 0x140009ed0
jmp 0x140009f16
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140049f70
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140049cf0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14004a0f0
int3
Function at 0x14000bfd0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0x30], rax
movzx eax, byte [rdx + 0x30]
mov byte [rsp + 0x27], al
movzx eax, byte [0x14006ec58]
mov edx, 0x5f0
xor ecx, ecx
call fcn.14002f810
test rax, rax
je 0x14000c229
mov rbx, rax
lea r15, [rsi + 0x38]
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call fcn.14003c510
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x28], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
nop
mov ebp, 1
lock xadd qword [0x14006eb10], rbp
mov r14, rbp
xor r14, rcx
lea r12, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r12
lea r13, [rax + r8]
rol rax, 0x15
add r14, r9
mov r12, r14
xor r12, r10
rol r14, 0x20
xor rbp, r13
add rbp, r12
rol r12, 0xd
xor r13, r11
xor r12, rbp
rol rbp, 0x20
xor r13, rax
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r13, rbp
xor r12, r14
rol r14, 0x20
xor rbp, r11
add rbp, r12
rol r12, 0xd
xor r12, rbp
rol rbp, 0x20
xor r14, 0xff
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r12, r14
rol r14, 0x20
xor r13, rbp
add rbp, r12
rol r12, 0xd
xor r12, rbp
rol rbp, 0x20
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r12
rol r12, 0x11
xor r12, r14
rol r14, 0x20
xor r13, rbp
add rbp, r12
rol r12, 0xd
add r14, r13
rol r13, 0x10
xor r13, r14
rol r13, 0x15
xor r12, rbp
add r14, r12
rol r12, 0x11
mov rbp, r14
rol rbp, 0x20
xor rbp, r12
xor rbp, r13
xor rbp, r14
je 0x14000c070
mov rax, qword [rsi + 0x58]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rdi + 0x138], rcx
movzx ecx, byte [rsp + 0x27]
mov byte [rdi + 0x140], cl
mov qword [rdi], 0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x88], rbx
mov rcx, qword [rsp + 0x28]
mov qword [rdi + 0x100], rcx
mov qword [rdi + 0x108], rbp
mov qword [rdi + 0x110], rax
mov rax, qword [rsi + 0x10]
shl rax, 1
test rax, rax
jne 0x14000c205
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rsi + 0x18]
mov rcx, qword [0x14006ebc8]
xor edx, edx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, 8
mov edx, 0x5f0
call fcn.140049ae0
int3
Function at 0x140013810
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140007570
cmp rax, rcx
je 0x140013835
cmp rdx, 4
jae 0x140013838
xor eax, eax
xor r8d, r8d
jmp 0x1400138d0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14004f7a0]
movdqa xmm3, xmmword [0x14004f7b0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140013860
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400138e7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400138d0
ret

Function at 0x140018850
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x14005c328]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400188c3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400188fa
test eax, eax
js 0x1400188d4
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400188ed
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140017d00
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140017120
mov ecx, 7
int 0x29
ud2
Function at 0x14002a720
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.1400192f0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
movabs rbx, 0x8000000000000000
cmp rcx, rbx
jne 0x14002a75d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
jmp 0x14002a78a
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.14002a640
mov r14, qword [rsp + 0x28]
cmp r14, rbx
jne 0x14002a7a3
lea rcx, [rsp + 0x30]
call fcn.140017020
mov qword [rsi], rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002a7c8
mov qword [rsi], r14
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x14002a797
mov qword [rsi], rbx
test r14, r14
je 0x14002a797
mov rcx, qword [0x14006ebc8]
xor edx, edx
mov r8, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
Function at 0x14002cb00
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14006ec58]
mov edx, 0x10
xor ecx, ecx
call fcn.14002f810
test rax, rax
je 0x14002cbf3
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14002ccb0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14002cbe5
mov rcx, qword [rbx]
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x18], rax
call qword [rax]
mov rax, qword [rbp - 0x18]
cmp qword [rax + 8], 0
mov rsi, qword [rbp - 0x20]
je 0x14002cbbe
cmp qword [rax + 0x10], 0x11
jae 0x14002cba7
mov r8, qword [rbp - 0x10]
jmp 0x14002cbaf
mov r8, qword [rbp - 0x10]
mov r8, qword [r8 - 8]
mov rcx, qword [0x14006ebc8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x14006ebc8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.140049ae0
ud2
Function at 0x14002d720
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14002d763
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14001e4a0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syspalwindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140049bb0
ud2

Function at 0x1400328e0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140032915
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14003291a
call fcn.14002d720
mov ecx, dword [0x14006ec5c]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov byte [rcx + 0xa8], 1
mov qword [rcx + 0xb0], rax
mov qword [rcx + 0xb8], rdx
add rsp, 0x38
ret
Function at 0x140034450
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140034492
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14003449a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400344ab
jmp 0x1400344c2
xor r10d, r10d
jmp 0x14003454d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400344c2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400344d9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400344f9
add r11, r8
jmp 0x14003462a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400345c2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140034570
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400345e0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400345f2
jmp 0x14003460c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14003460c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140034626
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003ba54
Capabilities:
Parse pe header

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

Function at 0x14003fe60
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003fc5c
Function at 0x140042f2c
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 0x140042f5c
xor eax, eax
jmp 0x14004301f
mov rbp, rbx
cmp word [rax], si
je 0x140042f81
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140042f68
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140042f64
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.140042e4c
movsxd r14, eax
test eax, eax
jne 0x140042fbf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140042f55
mov rcx, r14
call fcn.140043e08
mov rdi, rax
test rax, rax
jne 0x140042fd8
xor ecx, ecx
call fcn.1400414ac
jmp 0x140042fb4
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.140042e4c
test eax, eax
jne 0x140043009
mov rcx, rdi
call fcn.1400414ac
jmp 0x140043013
xor ecx, ecx
call fcn.1400414ac
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 0x140046510
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.140041f1c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004659a
cmp byte [rbp - 0x21], r15b
je 0x140046595
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400465d0
call fcn.140044618
test eax, eax
jne 0x1400465bc
cmp byte [rbp - 0x21], r15b
je 0x1400465b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400465d0
cmp byte [rbp - 0x21], r15b
je 0x1400465cd
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.1400414fc
test eax, eax
jne 0x140046670
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140041f1c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14004660f
cmp byte [rbp - 0x21], r15b
je 0x140046644
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140046644
call fcn.140044618
test eax, eax
jne 0x140046630
cmp byte [rbp - 0x21], r15b
je 0x140046629
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140046644
cmp byte [rbp - 0x21], r15b
je 0x140046641
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.1400414fc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140046670
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140046673
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140046681
mov rcx, rdi
call fcn.1400414ac
cmp byte [rbp + 0x3f], r15b
je 0x140046690
mov rcx, qword [rbp + 0x27]
call fcn.1400414ac
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 0x14012ce80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x6ebcf20e
lea rsp, [rsp + 8]
jne 0x14015644d
mov ecx, 0xd6bbfb39
mov rcx, rax
jmp 0x14015ad47
lea rsp, [rsp + 0x20]
jne 0x14012f31a
mov r9d, 0x7819e5b7
mov r9, rax
jmp 0x140149de5
mov eax, 0x953f582d
mov rax, qword [rbp + rbx*8 + 0x20]
call fcn.14015ad3b
mov ecx, 0x21bcce87
lea rdi, [rdi + rcx*2 - 0x43799d0f]
not rcx
movzx edx, byte [rdi + rcx*2 + 0x43799d10]
inc cx
sub cx, 0x803a
xor dl, bpl
add rcx, rcx
ror ecx, cl
add rcx, rcx
xor dl, 0xa1
shl cl, 0xe3
inc dl
ror ecx, 0xfe
lea rcx, [rcx + 0x7c152f21]
adc rcx, rcx
xor dl, 0x12
shr cl, 0xc5
neg cl
inc dl
add ecx, ecx
xor bpl, dl
dec ecx
rol cl, 0xa7
add rdx, rsp
mov cx, word [rcx + rdx - 0x3405f7fd]
push 0x42040eb1
sub r9, 2
jmp 0x140167638
lea rsp, [rsp + 0x10]
jne 0x140134e64
mov r8d, 0x9725a10f
mov r8, rax
jmp 0x14015ad47
call fcn.14012ff4e
jmp 0x14015ad47
mov rsp, qword [rbp + riz - 0x10]
push 0x7b38c48b
mov rbp, qword [rbp + riz - 8]
push 0x65ad01a0
mov qword [rbp + riz], rax
call fcn.14015a372
and al, 0x14
adc eax, 0x140
add byte [rdx + 0x3c], ch
invalid
call rax
jmp 0x140138ce2
jmp 0x140136a3b
push 0x61bca421
cmp ebx, 2
lea rsp, [rsp + 8]
jne 0x14015c5a5
mov edx, 0x85a34992
lea rdx, [rdx + rdx*4 + 0x7f85d5b1]
mov rdx, rax
jmp 0x14015ad47
dec ebx
jne 0x140163604
mov eax, 0x9d3c5231
mov rax, qword [rbp + riz]
jmp 0x14016038c
push 0xffffffff94965c3c
cmp ebx, 3
push 0x4caef706
jmp 0x140134bf9
sub rsp, 0x20
jmp 0x140148aab
mov rax, qword [rbp + rbx*8]
cmp ebx, 1
jmp 0x14012ba26
mov word [r9], cx
lea rsp, [rsp + 8]
jmp fcn.14015d201

Function at 0x1401583c8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], 0xffffffffef1f1e9d
mov byte [rdx], r11b
push 0xffffffff809714ac
mov qword [rsp + 0x20], 0xffffffff9329efb4
lea rsp, [rsp + 0x30]
jae fcn.14015f0aa
mov r10d, 0x41987da1
mov ax, word [r10 + rdi - 0x41987da1]
ror r10d, 0xb7
mov r10w, word [rdi + r10*2 - 0x61f68504]
adc rdi, 2
jmp 0x14014607e
rol dl, 1
push 0xffffffff860213b6
sub dl, 0xbc
push 0xffffffff95b1f02b
not dl
xor dword [rsp + 3], 0xe2a46d30
ror dl, 1
add dl, 0x11
xor sil, dl
rol qword [rsp + 6], 0x5e
lea rdx, [rsp + rdx + 0x28]
jae 0x14015561f
add byte [rax], al
add byte [rax], al
add byte [rax], al
mov esi, dword [rcx - 0x7ee22f66]
popfq
cmpsd dword [rsi], dword [rdi]
cmpsd dword [rsi], dword [rdi]
rcl byte [rsi + rdi + 0x4993e031]
xchg edx, eax
xchg esp, eax
xor eax, esp
xchg ebx, eax
xchg r10, rax
jne 0x14015840a
xlatb
add al, 0x45
invalid

Function at 0x14015ad3b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp], 0x11355f27
mov qword [rsp], rax
Function at 0x417300
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4174ab
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433f40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41736e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x417381
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4173a5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4173b9
cmp rbx, 0x1000
jae 0x417378
nop
jmp 0x417429
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x4173cd
xor edx, edx
jmp 0x417420
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433f40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4173af
jmp 0x417395
call fcn.00464c00
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004386a0
lea rax, [0x00522eef]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00438fa0
mov rax, qword [rsp + 0x38]
call fcn.00438ca0
lea rax, [0x00522fc7]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00438fa0
mov rax, qword [rsp + 0x30]
call fcn.00438ca0
call fcn.00438900
call fcn.00438720
lea rax, [0x00525683]
mov ebx, 0x21
call fcn.00436de0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00461040
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00417300