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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rax, qword [0x006881d8]
test rax, rax
mov rbx, rcx
mov rsi, rdx
mov ebp, r8d
lea r9, [rsp + 0x60]
je 0x40ed16
lea rcx, [rsp + 0x4c]
cmp rax, 0x7fff
mov edx, 0x8000
mov qword [rsp + 0x50], 0
cmovbe rax, rdx
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov qword [rsp + 0x58], 0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x60], 0
lea r8, [rsp + 0x58]
call fcn.0040e930
test al, al
mov edi, eax
jne 0x40ec71
test bpl, bpl
je 0x40ed39
mov edi, 1
jmp 0x40ed04
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x40ecfa
movabs r13, 0x400100100002600
mov r12, qword [rbx + 0x10]
xor eax, eax
mov qword [rbx + 0x10], rcx
mov rbp, qword [rbx + 0x18]
mov qword [rbx + 0x18], 0
nop dword [rax + rax]
movzx edx, byte [rcx + rax]
cmp dl, 0x3a
jbe 0x40ecc5
mov rdx, rsi
mov rcx, rbx
call fcn.0040db90
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
movzx edx, byte [rcx + rax]
cmp dl, 0x3a
ja 0x40eca9
bt r13, rdx
jae 0x40ecd5
add rax, 1
mov qword [rbx + 0x18], rax
jmp 0x40eca0
test dl, dl
jne 0x40eca9
mov eax, dword [0x006880e4]
test eax, eax
jg 0x40eced
mov dword [0x006880e4], 1
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rbp
mov rdx, qword [rsp + 0x58]
call fcn.0040e7f0
mov eax, edi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, r9
mov qword [rsp + 0x38], r9
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x64]
mov r9, qword [rsp + 0x38]
mov qword [0x006881d8], rax
jmp 0x40ec0d
mov r8d, dword [rsp + 0x4c]
lea rcx, str.Failed_to_read_options_from__s:_error__d_n
mov rdx, rsi
call fcn.0040c420
jmp 0x40ed04
Function at 0x414c90
Capabilities:
Get system information on windows
Read file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x414c08
movsx edx, byte [rdx]
test dl, dl
je 0x414b56
xor eax, eax
nop
add rax, 1
cmp byte [rbx + rax], 0
jne 0x414b40
cmp rax, 0xf9c
ja 0x414c43
mov rdi, qword [rsi]
mov eax, 1
xchg byte [rdi], al
test al, al
je 0x414b6c
mov rcx, rdi
call fcn.00438d60
mov rcx, qword [rsi + 8]
lea rax, [rcx - 1]
cmp rax, 1
jbe 0x414c30
cmp rcx, 0xffffffffffffffff
je 0x414c30
call qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsi + 8], 0xffffffffffffffff
cmp byte [rbx], 0x73
jne 0x414bed
lea r8, str.stdout
mov rax, rbx
jmp 0x414bb5
test r10d, r10d
je 0x414c10
add rax, 1
add r8, 1
movzx ecx, byte [rax]
cmp byte [r8], cl
movsx r10d, byte [rax]
je 0x414bb0
lea rdx, str.stderr
mov rax, rbx
jmp 0x414bda
test r8d, r8d
je 0x414c20
add rax, 1
add rdx, 1
movzx ecx, byte [rax]
cmp byte [rdx], cl
movsx r8d, byte [rax]
je 0x414bd5
lea rcx, [rsi + 0x10]
mov r9, rbx
mov edx, 0x1000
lea r8, [0x0059ec13]
call fcn.0040bf10
mov byte [rdi], 0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov qword [rsi + 8], 1
jmp 0x414c05
mov qword [rsi + 8], 2
jmp 0x414c05
mov qword [rsi + 8], 0xffffffffffffffff
cmp byte [rbx], 0x73
je 0x414b9b
jmp 0x414bed
movsx eax, byte [rbx + 7]
lea rcx, str.ERROR:_Path_is_too_long:__c_c_c_c_c_c_c_c..._n
movsx r9d, byte [rbx + 2]
movsx r8d, byte [rbx + 1]
mov dword [rsp + 0x40], eax
movsx eax, byte [rbx + 6]
mov dword [rsp + 0x38], eax
movsx eax, byte [rbx + 5]
mov dword [rsp + 0x30], eax
movsx eax, byte [rbx + 4]
mov dword [rsp + 0x28], eax
movsx eax, byte [rbx + 3]
mov dword [rsp + 0x20], eax
call fcn.0040d370
call fcn.00406930
nop
nop word [rax + rax]
mov rax, qword [rsp + 0x28]
test rax, rax
mov qword [rdx], 0
mov qword [r8], 0
mov qword [r9], 0
je 0x414cb4
jmp fcn.0040e930
mov eax, 1
ret
Function at 0x441080
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rcx, qword [rax + 0x30]
cmp qword [rcx + 0x90], rax
jne 0x441224
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
nop
inc dword [rcx + 0x244]
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
nop
mov rbx, rcx
mov qword [rdx + 0x138], rcx
mov rcx, qword [rbx + 0x30]
mov qword [rbx + 0xd8], rcx
mov rcx, qword [rax + 0x30]
movups xmm0, xmmword [rcx + 0x2e0]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x2f0]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx + 0x300]
movups xmmword [rsp + 0x40], xmm0
mov rcx, qword [rax + 0x70]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rax + 0x78]
mov qword [rsp + 0x18], rdx
call fcn.004a1860
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe8], 0
mov rcx, qword [rax + 0x30]
xor edx, edx
xchg dword [rcx + 0x350], edx
mov rcx, qword [rsp + 0x78]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x10], rcx
call fcn.00441280
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x58], rcx
jmp 0x4411af
nop
mov rax, qword [0x0063ec60]
mov qword [rsp], rax
mov dword [rsp + 8], 0
call fcn.004a8c60
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, rax
xor eax, eax
mov ebx, 1
lock cmpxchg dword [rcx + 0x350], ebx
sete sil
test sil, sil
je 0x44118c
mov rax, qword [rdx + 0x30]
mov byte [rax + 0xe8], 1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x18]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0047f320
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x2e0], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x2f0], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x300], xmm0
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
call fcn.004762e0
lea rax, [0x0056789e]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1e
nop dword [rax]
call fcn.00476d60
call fcn.00476380
mov dword [rsp], 2
call fcn.004703c0
mov rax, qword [rsp + 0x60]
nop dword [rax + rax]
jmp 0x4410b4
Function at 0x45ef60
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x006821f2], 0
jne 0x45f0c5
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x45f06e
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 0x45f0ba
lea rbx, [0x00664098]
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 0x45f02f
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 0x45f08a
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x45ef95
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 0x45ef95
mov ecx, 0x40
nop
call fcn.004a7020
lea rax, [0x00569dcc]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.00474b00
nop
int3
Function at 0x466500
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x46676e
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
nop
lea rax, [0x0066aa50]
mov qword [rsp], rax
call fcn.00448f80
lea rax, [0x0066a9c0]
mov qword [rsp], rax
call fcn.004572a0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
nop
nop
lea rcx, [0x0066aa50]
mov qword [rsp], rcx
call fcn.004491e0
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], 1
lea rdi, [rax + 0x10]
cmp dword [0x006824b0], 0
jne 0x46675f
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
cmp dword [0x006824b0], 0
nop dword [rax]
jne 0x466738
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00466060
cmp byte [rsp + 0x10], 0
je 0x4666d6
cmp dword [0x00682230], 0
jne 0x4665f4
mov byte [rsp + 0x88], 1
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 8], xmm0
call fcn.00451c00
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x18]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rcx + 0xa0]
test byte [rbx], al
test byte [rax], al
mov qword [rsp], rdx
lea rax, [rbx + 0x1698]
mov qword [rsp + 0x38], rax
mov qword [rsp + 8], rax
call fcn.0045e000
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 8
lea rax, [0x006232c1]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call fcn.0045de60
nop
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x4665e2
cmp byte [rax + 0xb1], 0
je 0x4665e2
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x4665e2
nop
nop
lea rax, [0x0066aa50]
mov qword [rsp], rax
call fcn.00448f80
nop
mov rax, qword [0x0066a9f0]
sub rax, qword [0x0066a9c0]
mov qword [0x0066a9f0], rax
mov rax, qword [0x0066a9d8]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [0x0066a9d8], rcx
nop
nop
lea rax, [0x0066aa50]
mov qword [rsp], rax
call fcn.004491e0
mov byte [rsp + 0x88], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x20]
mov rdi, rcx
mov rbx, qword [rsp + 0x78]
call fcn.004a6ca0
lea rdi, [rax + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.004a6c60
jmp 0x4665bb
mov rcx, qword [rsp + 0x68]
call fcn.004a6c60
jmp 0x466588
call fcn.004a4e00
jmp fcn.00466500
Function at 0x491100
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 0x4912b9
mov rdx, qword [rsp + 0x20]
movzx ebx, byte [rdx]
test ebx, ebx
jne 0x491136
movzx esi, byte [rsp + 0x48]
test sil, sil
je 0x491267
bt ebx, 7
nop word [rax + rax]
jae 0x491259
xor eax, eax
xor ebx, ebx
xor esi, esi
jmp 0x491160
lea esi, [rcx + 7]
mov rcx, rax
mov eax, r8d
nop word [rax + rax]
cmp rcx, rax
jbe 0x4912b4
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 0x49114e
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 0x4912a9
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 0x49129f
movzx edx, byte [rdx + r8]
bt edx, 7
jae 0x491251
xor ecx, ecx
xor edx, edx
xor edi, edi
nop
jmp 0x4911e8
lea edi, [rcx + 7]
mov ecx, r9d
cmp rax, rcx
jbe 0x491292
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 0x4911e2
cmp rax, r9
jb 0x491287
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 0x49120f
mov rax, rcx
mov r8d, 1
jmp 0x491186
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.004a70c0
mov rdx, rax
mov eax, ecx
mov rcx, rdx
call fcn.004a7000
mov rcx, rax
xor eax, eax
call fcn.004a7000
mov rcx, rax
mov eax, r8d
call fcn.004a70c0
call fcn.004a7000
xor eax, eax
nop dword [rax + rax]
call fcn.004a7000
nop
int3

Function at 0x4985e0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4986c1
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, [0x004a0540]
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.004a4ca0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
call fcn.004a4e00
jmp fcn.004985e0
Function at 0x4a3cc0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4a3d63
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
call fcn.00485fa0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
mov rsi, qword [rax + 0x28]
mov rdi, qword [rax + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rdi
call fcn.00491da0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x60], al
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
call fcn.004a4e00
jmp fcn.004a3cc0
Function at 0x4a69e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x43fa80
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.004475a0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.004a4e00
jmp 0x43fa20
cmp byte [0x006821f1], 0
je 0x4a69ff
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 8]
mov rax, qword [rax]
lea rdx, [rsp + 0x18]
jmp 0x4a3e20
jmp 0x43fa20

Function at 0x4a6a20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x006824e0]
nop
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*4]
xor rax, rcx
shl rcx, 0x20
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 rcx, rax
movabs rax, 0x83cf8eadf876d2d7
imul rax, rcx
mov rcx, rax
shr rax, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x006821f1], 0
je 0x4a6a5c
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x006827c0]
aesenc xmm0, xmmword [0x006827d0]
aesenc xmm0, xmmword [0x006827e0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x447820

Function at 0x4a6a80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x006824e0]
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 [0x006821f1], 0
je 0x4a6abd
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x006827c0]
aesenc xmm0, xmmword [0x006827d0]
aesenc xmm0, xmmword [0x006827e0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x4478a0

Function at 0x4a8940
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle_1]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00682740]
mov qword [rsp + 8], rdx
lea r8d, [0x00682208]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile_1]
call rax
add rsp, 0x30
ret
Function at 0x4b9480
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4b96c0
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp], rax
call fcn.004a8440
mov rax, qword [rsp + 0x58]
test byte [rax], al
lea rcx, [rax + 8]
mov qword [rsp + 0x40], rcx
mov qword [rsp], rcx
call fcn.004a8320
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
add rcx, 0x2e
imul rcx, rcx, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
imul rcx
sar rdx, 5
sar rcx, 0x3f
sub rdx, rcx
lea rax, [rdx + 0x15c]
sar rax, 0x3f
shr rax, 0x3d
lea rax, [rax + rdx]
lea rax, [rax + 0x15c]
sar rax, 3
mov qword [rsp + 0x18], rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp], rcx
call fcn.004a8320
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x18]
nop word [rax + rax]
cmp rdx, 0x57
jae 0x4b96ae
mov qword [rsp + 0x38], rcx
lea rax, [rdx + rdx*2]
mov qword [rsp + 0x30], rax
lea rcx, [0x0062f400]
lea rbx, [rcx + rax*8]
lea rbx, [rbx + 8]
mov qword [rsp], rbx
call fcn.004a8320
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea rdx, [0x0062f400]
add rax, qword [rdx + rcx*8 + 8]
add rax, 0x40
cmp rax, 0xffffffffffffffc4
jge 0x4b95a0
mov rax, qword [rsp + 0x18]
inc rax
jmp 0x4b9516
cmp rax, 0xffffffffffffffe0
jle 0x4b95b4
mov rcx, qword [rsp + 0x18]
lea rax, [rcx - 1]
jmp 0x4b9516
lea rax, [rdx + rcx*8]
mov qword [rsp], rax
mov qword [rsp + 8], 0x18
call fcn.004a83a0
mov rax, qword [rsp + 0x30]
lea rcx, [0x0062f400]
mov rdx, qword [rcx + rax*8 + 8]
mov qword [rsp + 0x38], rdx
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x58]
mov qword [rsp], rcx
call fcn.004a8320
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
mov rdx, rax
mov rax, rcx
mov rbx, qword [rsp + 0x28]
mov rcx, rdx
mul rbx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x10], rax
mov qword [rsp], rcx
nop
call fcn.004a8360
mov rax, qword [rsp + 0x10]
shr rax, 0x3f
mov rcx, qword [rsp + 0x20]
add rax, rcx
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
call fcn.004a8320
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
add rax, qword [rcx + 8]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x40]
mov qword [rsp], rdx
call fcn.004a8360
mov rax, qword [rsp + 0x38]
add rax, 0x40
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 8], rax
nop
call fcn.004a8460
mov rax, qword [rsp + 0x18]
mov rcx, rax
shl rax, 3
add rax, 0xfffffffffffffea4
neg rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rax, rdx
mov ecx, 0x57
call fcn.004a7000
nop
nop dword [rax]
call fcn.004a4e00
jmp fcn.004b9480
Function at 0x14000da34
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140017850], eax
call fcn.14000d780
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140017850], 0
jne case.default.0x14000da8a
mov ecx, 1
call fcn.14000d780
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
cmpsd dword [rsi], dword [rdi]
lahf
sbb esp, ebx
in al, dx
mov edx, 0x2f0cb258
invalid
pop rdi
punpcklwd mm0, dword [rax]
call [rdi]
movabs al, byte [0xdbf6b29ffa55dbbb]
sub byte [rdx + riz*8], cl
or dword [rax + rax + 0x2f], ebp
jne 0x140025cb3
enter 0xffffffffffffa016, 0xffffffffffffffcd
pop rbp
insd dword [rdi], dx
pop rsi
in eax, dx
stc
invalid
Function at 0x140001ba0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140001bc8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001bee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001bf0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001c49
test ecx, ecx
jle 0x140001c29
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001c49
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001c49
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140001c70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140001c92
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140001ca8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140001cc4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001cc6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001d02
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140001d9e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001d3d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140001d7e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140001d9e
cmp rbx, rax
ja 0x140001d50
test rbx, rbx
je 0x140001d9e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret