joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140098240
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
cmp edx, 1
jne 0x140098279
test r8, r8
je 0x14009832d
xor eax, eax
mov dword [r8], eax
call fcn.140002c2a
mov qword [rdi + 8], rax
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea eax, [rdx - 3]
test eax, 0xfffffff7
je 0x1400982cb
cmp qword [rcx + 0x18], 8
jb 0x14009828d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140098313
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x35
ja 0x1400982b2
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x140098313
cmp eax, 0x7b
je 0x140098313
cmp eax, 0x57
je 0x140098313
cmp eax, 0xa1
je 0x140098313
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140098315
cmp qword [rcx + 0x18], 8
jb 0x1400982d5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140098313
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x35
ja 0x1400982fa
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x140098313
cmp eax, 0x7b
je 0x140098313
cmp eax, 0x57
je 0x140098313
cmp eax, 0xa1
je 0x140098313
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140098315
xor eax, eax
lea r9, str.boost::filesystem::remove
mov r8, rdi
mov rdx, rbx
mov ecx, eax
call fcn.1400962d0
test al, al
je 0x14009833a
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400987c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x1400987c0
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400987f6
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x140098816
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140097450
jmp 0x1400988db
mov r15d, 3
bt ebp, 0xa
jae 0x1400988aa
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140098833
mov rcx, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
jne 0x140098877
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140097450
nop
jmp 0x1400988db
mov rcx, rdi
call fcn.140096c60
test al, al
jne 0x1400988a1
mov edx, ebp
mov rcx, rdi
call fcn.1400971d0
mov dword [rsi], 9
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400988db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1400988bf
mov dword [r14], 0
call fcn.140002c2a
mov qword [r14 + 8], rax
mov edx, ebp
mov rcx, rdi
call fcn.1400971d0
test bpl, 0x10
jne 0x1400988d5
mov r15d, 2
mov dword [rsi], r15d
mov dword [rsi + 4], eax
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x140098950
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140098950
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rdx + 0x18], 8
mov rdi, rcx
mov rcx, rdx
mov rbx, r8
mov rsi, rdx
jb 0x140098973
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x1400989a0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140097450
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x40], rbp
xor ebp, ebp
test rbx, rbx
je 0x1400989b7
mov dword [rbx], ebp
call fcn.140002c2a
mov qword [rbx + 8], rax
mov rcx, rsi
bt r14d, 0xa
jae 0x1400989e6
call fcn.140096c60
mov edx, r14d
mov rcx, rsi
movzx ebx, al
call fcn.1400971d0
mov ecx, 4
test bl, bl
jne 0x1400989e2
mov ecx, 9
mov dword [rdi], ecx
jmp 0x140098a12
mov edx, r14d
mov ebx, r14d
call fcn.1400971d0
and ebx, 0x10
je 0x1400989fc
mov ecx, dword [rsp + 0x48]
jmp 0x140098a02
mov ecx, eax
mov eax, dword [rsp + 0x48]
test ebx, ebx
setne bpl
add ebp, 2
test ebx, ebx
mov dword [rdi], ebp
cmove eax, ecx
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov dword [rdi + 4], eax
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400a0000
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400a0000
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbp, r8
mov r14, rdx
mov ecx, dword [0x140119b18]
cmp ecx, 0xffffffff
je 0x1400a003f
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
jne 0x1400a005c
call fcn.1400a1d90
mov ecx, dword [0x140119b18]
cmp ecx, 0xffffffff
jne 0x1400a0053
xor esi, esi
jmp 0x1400a005c
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov rax, qword [r14]
mov qword [rsp + 0x38], rax
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x40], rcx
mov edx, 1
test rcx, rcx
je 0x1400a0088
mov eax, edx
lock xadd dword [rcx + 8], eax
test rcx, rcx
je 0x1400a0088
lock xadd dword [rcx + 8], edx
mov qword [rsp + 0x68], rbp
mov edi, 0xffffffff
test rcx, rcx
je 0x1400a00c9
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a00c9
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a00c9
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x88], rbp
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 0x28]
call fcn.1400031d4
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.1400013f7
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400a0175
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a0175
mov rbx, qword [rsp + 0x80]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a0175
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x1400a01a7
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a01a7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400a01a7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a0eb0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400a0eb0
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x140119b18]
cmp ecx, 0xffffffff
je 0x1400a0f15
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400a0f15
mov rcx, qword [rax + 0x28]
mov rax, rcx
mov rdx, qword [rcx + 8]
cmp byte [rdx + 0x19], 0
jne 0x1400a0f03
cmp qword [rdx + 0x20], rbx
jae 0x1400a0eec
mov rdx, qword [rdx + 0x10]
jmp 0x1400a0ef2
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], 0
je 0x1400a0ee0
cmp rax, rcx
je 0x1400a0f03
cmp rbx, qword [rax + 0x20]
jae 0x1400a0f06
mov rax, rcx
cmp rax, rcx
je 0x1400a0f15
add rax, 0x28
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400a1d90
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
call fcn.14009f090
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x1400a05f0]
lea rcx, [0x14011e640]
call fcn.140003e90
mov ecx, dword [0x140119b18]
cmp ecx, 0xffffffff
je 0x1400a1dd4
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
add rsp, 0x30
pop rbx
ret

Function at 0x1400a2cd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, dword [0x140119b18]
cmp ecx, 0xffffffff
jne 0x1400a2cf8
xor esi, esi
jmp 0x1400a2d01
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x1400a2e25
mov rcx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x18]
mov rbx, rax
nop word [rax + rax]
mov r8, rbx
mov rdx, rcx
test rcx, rcx
jne 0x1400a2d34
test rax, rax
je 0x1400a2dfe
mov rbx, rax
test rdx, rdx
cmovne rbx, r8
test rbx, rbx
je 0x1400a2dab
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400a2d87
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsi + 0x18]
mov rbx, rax
test rax, rax
jne 0x1400a2d50
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x1400a2d20
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400a2ddf
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x1400a2ddf
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.140003cc4
mov rcx, qword [rsi + 0x30]
test rcx, rcx
jne 0x1400a2dc0
jmp 0x1400a2d13
lea rdx, [0x1400a05f0]
lea rcx, [0x14011e640]
call fcn.140003e90
mov ecx, dword [0x140119b18]
cmp ecx, 0xffffffff
je 0x1400a2e25
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x1400a2e57
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400a2e57
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a3280
Capabilities:
Create thread
Resume thread

Disassembly:
jmp 0x1400a3280
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx]
lea r8, [0x1400a3330]
mov rdi, rcx
xor edx, edx
xor ecx, ecx
lea rax, [r9 + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rsi, rax
test rax, rax
jne 0x1400a32c5
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rdi]
mov qword [rsp + 0x40], rbx
lock inc dword [rax + 8]
mov rbx, qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400a32e8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rdi]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x40]
mov al, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x423000
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x008404df], 0
jne 0x423165
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x42310e
xor eax, eax
nop
nop
nop
mov rcx, rax
shr rax, 3
and rcx, 7
mov edx, 1
shl edx, cl
nop
add rax, qword [rbx + 0x50]
lock or byte [rax], dl
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x42315a
lea rbx, [0x00822378]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov esi, 1
shl esi, cl
test sil, bl
jne 0x4230cf
lock or byte [rdx], sil
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
mov rcx, qword [rsp + 0x30]
add qword [rax + 0x16a8], rcx
mov rcx, qword [rsp + 0x38]
add qword [rax + 0x16b0], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
cmp word [rbx + 0x5e], 0
je 0x42312a
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x423035
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
movzx esi, byte [rbx + 0x66]
cmp sil, 0x40
sbb rdi, rdi
shr rdx, cl
and rax, rdx
movzx edx, word [rbx + 0x5c]
imul rax, rdx
mov ecx, esi
shr rax, cl
and rax, rdi
jmp 0x423035
mov ecx, 0x40
nop
call fcn.0046cf20
lea rax, [0x0067758b]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.00439360
nop
int3
Function at 0x455d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
jbe 0x455ef9
mov rdx, qword [rsp + 0x20]
movzx ebx, byte [rdx]
test ebx, ebx
jne 0x455d76
movzx esi, byte [rsp + 0x48]
test sil, sil
je 0x455ea7
bt ebx, 7
nop word [rax + rax]
jae 0x455e99
xor eax, eax
xor ebx, ebx
xor esi, esi
jmp 0x455da0
lea esi, [rcx + 7]
mov rcx, rax
mov eax, r8d
nop word [rax + rax]
cmp rcx, rax
jbe 0x455ef4
movzx edi, byte [rax + rdx]
lea r8d, [rax + 1]
mov r9d, edi
and edi, 0x7f
mov rax, rcx
mov ecx, esi
shl edi, cl
or ebx, edi
test r9b, 0x80
jne 0x455d8e
mov esi, ebx
and ebx, 1
neg ebx
shr esi, 1
xor ebx, esi
mov rsi, qword [rsp + 0x40]
add dword [rsi], ebx
nop dword [rax + rax]
cmp rax, r8
jb 0x455ee9
sub rax, r8
mov rbx, qword [rsp + 0x30]
sub rbx, r8
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and r8, rbx
lea rbx, [rdx + r8]
test rax, rax
jbe 0x455edf
movzx edx, byte [rdx + r8]
bt edx, 7
jae 0x455e91
xor ecx, ecx
xor edx, edx
xor edi, edi
nop
jmp 0x455e28
lea edi, [rcx + 7]
mov ecx, r9d
cmp rax, rcx
jbe 0x455ed2
movzx r8d, byte [rcx + rbx]
lea r9d, [rcx + 1]
mov r10d, r8d
and r8d, 0x7f
mov ecx, edi
shl r8d, cl
or edx, r8d
test r10b, 0x80
jne 0x455e22
cmp rax, r9
jb 0x455ec7
mov rcx, qword [rsp + 0x38]
add qword [rcx], rdx
sub rsi, r9
mov rcx, rsi
neg rsi
sar rsi, 0x3f
and rsi, r9
lea rdx, [rbx + rsi]
mov qword [rsp + 0x50], rdx
sub rax, r9
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x68], 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov r9d, 1
jmp 0x455e4f
mov rax, rcx
mov r8d, 1
jmp 0x455dc6
mov qword [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], 0
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rax
mov eax, r9d
call fcn.0046cfc0
mov rdx, rax
mov eax, ecx
mov rcx, rdx
call fcn.0046cf00
mov rcx, rax
xor eax, eax
call fcn.0046cf00
mov rcx, rax
mov eax, r8d
call fcn.0046cfc0
call fcn.0046cf00
xor eax, eax
nop dword [rax + rax]
call fcn.0046cf00
nop
int3

Function at 0x45d5e0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x45d6c1
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x004655a0]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0046abc0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
call fcn.0046ad20
jmp fcn.0045d5e0
Function at 0x46c9a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x00840920]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x008404de], 0
je 0x46c9dd
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00840be0]
aesenc xmm0, xmmword [0x00840bf0]
aesenc xmm0, xmmword [0x00840c00]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x40a6e0

Function at 0x47c060
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rdx, 5
sar rsi, 0x3f
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x47c139
lea rsi, [rdx + rdx*2]
lea rdi, [0x007c8240]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x47c0e2
inc rdx
nop
jmp 0x47c0b8
cmp r9, 0xffffffffffffffe0
jle 0x47c0ed
dec rdx
jmp 0x47c0b8
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.0046cf00
nop
int3
Function at 0x14001143d
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b4c0
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 0x140011541
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001bff0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c010
xor al, al
jmp 0x14001c091
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c023
xor al, al
jmp 0x14001c091
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 0x14001c04d
xor al, al
jmp 0x14001c091
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c061
xor al, al
jmp 0x14001c091
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c073
xor al, al
jmp 0x14001c091
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001c08f
xor al, al
jmp 0x14001c091
mov al, 1
add rsp, 0x38
ret
Function at 0x140062590
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400625b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14006262c
mov rdi, r14
mov rcx, rbx
call fcn.1400639d0
test rax, rax
jle 0x140062604
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14025e2c0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14006261c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140062624
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400625c6
sub r14, rdi
jmp 0x140062719
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140062643
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140062645
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14006267a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14025e2c0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140062716
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x1400626b5
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x1400626f1
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14026c304
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14006272f
cmp rbp, rax
ja 0x1400626c1
mov r8, rdi
test rdi, rdi
je 0x140062716
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14026c304
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x140062719