joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418320
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41854a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00437b40
xorps xmm15, xmm15
mov r14, qword [0x005aa788]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x418399
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4183c0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, rcx
call fcn.004520e0
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
test rbx, rbx
jbe 0x4183e5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4183f9
cmp rbx, 0x1000
jae 0x4183a3
nop dword [rax]
jmp 0x418474
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41840d
xor esi, esi
jmp 0x41846a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00437b40
xorps xmm15, xmm15
mov r14, qword [0x005aa788]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x4183ef
jmp 0x4183d4
call fcn.004684e0
xorps xmm15, xmm15
mov r14, qword [0x005aa788]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4184ec
call fcn.0043c1c0
lea rax, [0x004c5dcb]
mov ebx, 0x19
call fcn.0043cac0
mov rax, qword [rsp + 0x68]
call fcn.0043c7c0
lea rax, [0x004c59e3]
mov ebx, 0x19
call fcn.0043cac0
mov eax, dword [rsp + 0x34]
call fcn.0043c7c0
call fcn.0043c420
call fcn.0043c240
lea rax, [0x004c2960]
mov ebx, 0xd
call fcn.0043a980
cmp eax, 0x5af
je 0x418497
call fcn.0043c1c0
lea rax, [0x004c5dcb]
mov ebx, 0x19
call fcn.0043cac0
mov rax, qword [rsp + 0x38]
call fcn.0043c7c0
lea rax, [0x004c59e3]
mov ebx, 0x19
nop
call fcn.0043cac0
mov eax, dword [rsp + 0x34]
call fcn.0043c7c0
call fcn.0043c420
call fcn.0043c240
lea rax, [0x004c758a]
mov ebx, 0x1f
call fcn.0043a980
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00418320
Function at 0x4237a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x42389e
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x4237e0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x42388f
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.00424300
nop dword [rax]
test rax, rax
je 0x42388f
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x004238e0]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00464800
xorps xmm15, xmm15
mov r14, qword [0x005aa788]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x42387d
xor eax, eax
jmp 0x423887
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x4237d2
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004237a0

Function at 0x45cb20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45cbd9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x0045cc20]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00464800
xorps xmm15, xmm15
mov r14, qword [0x005aa788]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045cb20
Function at 0x4669e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402f8f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409bc0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402f60
cmp byte [0x005aa5af], 0
je 0x4669f5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x463a40
jmp 0x402f60

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a02f
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
call fcn.0040a120
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x005aa880]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.0040a100
mov rbx, rax
movabs rax, 0x1d8e4e27c47d124b
nop dword [rax]
call fcn.0040a100
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x409fc0
cmp byte [0x005aa5af], 0
je 0x466a35
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005aabc0]
aesenc xmm0, xmmword [0x005aabd0]
aesenc xmm0, xmmword [0x005aabe0]
movq rax, xmm0
ret
jmp 0x409fc0

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a0cf
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
call fcn.0040a160
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x005aa880]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.0040a100
mov rbx, rax
movabs rax, 0x1d8e4e27c47d1247
nop dword [rax]
call fcn.0040a100
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x40a060
cmp byte [0x005aa5af], 0
je 0x466a76
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005aabc0]
aesenc xmm0, xmmword [0x005aabd0]
aesenc xmm0, xmmword [0x005aabe0]
movq rax, xmm0
ret
jmp 0x40a060

Function at 0x468460
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005aab40]
mov qword [rsp + 8], rdx
lea r8d, [0x005aa5c8]
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]
call rax
call fcn.00466920
add rsp, 0x30
ret
Function at 0x4689a0
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4689d0
mov rcx, 0x28
jmp 0x4689db
shl rcx, 3
add rcx, 0x1480
mov qword [0x005aa788], rcx
ret
Function at 0x4982c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x498514
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x70], rax
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x498303
dec rbx
mov r10, rbx
neg rbx
sar rbx, 0x3f
and ebx, 1
add rax, rbx
mov rbx, r10
mov rcx, r9
test rbx, rbx
je 0x4984e8
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x46], r8b
movzx r9d, byte [rax]
mov byte [rsp + 0x47], r9b
cmp r9b, 0x20
jbe 0x498430
cmp r9b, 0x22
je 0x498347
cmp r9b, 0x5c
jne 0x498445
lea r9, [rcx + 1]
jmp 0x4984a0
mov qword [rsp + 0x48], rcx
mov r8, rcx
shr rcx, 0x3f
lea r9, [r8 + rcx]
sar r9, 1
mov rax, rdi
mov rbx, rsi
mov rcx, rdx
mov rdi, r9
call fcn.00498220
mov rdx, qword [rsp + 0x48]
bt edx, 0
jb 0x4983e7
movzx edx, byte [rsp + 0x46]
test dl, dl
je 0x4983d8
mov r8, qword [rsp + 0x50]
cmp r8, 1
jle 0x4983d1
mov r9, qword [rsp + 0x58]
cmp byte [r9 + 1], 0x22
jne 0x4983cc
inc rbx
cmp rcx, rbx
jae 0x4983be
mov edi, 1
lea rsi, [0x004acce0]
call fcn.0044d1c0
movzx edx, byte [rsp + 0x46]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov byte [rbx + rax - 1], 0x22
lea rsi, [r9 + 1]
dec r8
jmp 0x4983e2
mov rsi, r9
jmp 0x4983e2
mov rsi, qword [rsp + 0x58]
jmp 0x4983e2
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
xor edx, 1
jmp 0x498419
inc rbx
cmp rcx, rbx
jae 0x498405
mov edi, 1
lea rsi, [0x004acce0]
nop dword [rax + rax]
call fcn.0044d1c0
mov byte [rbx + rax - 1], 0x22
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x46]
xor r9d, r9d
mov rdi, rax
mov rax, rsi
mov rsi, rbx
mov rbx, r8
mov r8d, edx
mov rdx, rcx
jmp 0x4984a0
cmp r9b, 9
je 0x498440
cmp r9b, 0x20
jne 0x498445
nop dword [rax]
test r8b, r8b
je 0x4984ac
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.00498220
inc rbx
cmp rcx, rbx
jae 0x49846f
mov edi, 1
lea rsi, [0x004acce0]
call fcn.0044d1c0
movzx r10d, byte [rsp + 0x47]
mov byte [rbx + rax - 1], r10b
mov rsi, rbx
mov rdx, rcx
xor r9d, r9d
mov rdi, rax
movzx r8d, byte [rsp + 0x46]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
nop word [rax + rax]
nop
cmp rbx, 1
jae 0x4982ea
jmp 0x498507
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.00498220
mov rsi, qword [rsp + 0x50]
dec rsi
mov rdx, rsi
neg rsi
sar rsi, 0x3f
and esi, 1
mov r8, qword [rsp + 0x58]
lea rdi, [rsi + r8]
mov rsi, rdx
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rax, rdi
mov rbx, rsi
mov rdi, rcx
mov rcx, rdx
call fcn.00498220
xor edi, edi
xor esi, esi
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov eax, 1
xor ecx, ecx
call fcn.00467060
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004982c0
Function at 0x499cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x499ec8
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x30], rax
nop dword [rax]
cmp rbx, 2
jl 0x499dab
movzx edx, byte [rax]
cmp byte [rax + 1], 0x3a
jne 0x499d1e
lea esi, [rdx - 0x30]
cmp sil, 9
jbe 0x499d0f
lea esi, [rdx - 0x61]
nop
cmp sil, 0x19
jbe 0x499d0f
lea esi, [rdx - 0x41]
cmp sil, 0x19
ja 0x499d1e
mov ebx, 2
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
cmp rbx, 5
jge 0x499d32
xor ecx, ecx
jmp 0x499d45
mov eax, edx
call fcn.00499b00
mov rbx, qword [rsp + 0x38]
mov ecx, eax
mov rax, qword [rsp + 0x30]
test cl, cl
jne 0x499d4d
xor ecx, ecx
jmp 0x499d64
movzx ecx, byte [rax + 1]
mov eax, ecx
call fcn.00499b00
mov rbx, qword [rsp + 0x38]
mov ecx, eax
mov rax, qword [rsp + 0x30]
test cl, cl
je 0x499d8e
cmp rbx, 2
jbe 0x499eba
movzx ecx, byte [rax + 2]
mov eax, ecx
call fcn.00499b00
xor eax, 1
mov rbx, qword [rsp + 0x38]
mov ecx, eax
mov rax, qword [rsp + 0x30]
jmp 0x499d90
xor ecx, ecx
test cl, cl
je 0x499db9
cmp rbx, 2
jbe 0x499ead
cmp byte [rax + 2], 0x2e
je 0x499db9
mov ecx, 3
jmp 0x499dd9
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rcx, qword [rsp + 0x10]
inc rcx
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
lea rdx, [rbx - 1]
nop dword [rax]
cmp rcx, rdx
jge 0x499db9
mov qword [rsp + 0x10], rcx
movzx edx, byte [rcx + rax]
mov eax, edx
call fcn.00499b00
test al, al
je 0x499dc7
mov rax, qword [rsp + 0x10]
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x38]
cmp rcx, rdx
jbe 0x499ea5
mov qword [rsp + 0x18], rdx
mov rcx, qword [rsp + 0x30]
movzx edx, byte [rax + rcx + 1]
mov eax, edx
call fcn.00499b00
test al, al
jne 0x499db9
mov rax, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x10]
movzx esi, byte [rsi + rax + 1]
nop dword [rax]
cmp sil, 0x2e
je 0x499db9
mov rcx, qword [rsp + 0x18]
jmp 0x499e5e
mov rcx, qword [rsp + 0x10]
inc rcx
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rdx, rcx
jle 0x499e8e
mov qword [rsp + 0x10], rcx
movzx edx, byte [rcx + rax]
mov eax, edx
call fcn.00499b00
test al, al
je 0x499e51
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x10]
cmp rdx, rcx
mov rax, qword [rsp + 0x30]
jb 0x499e9d
mov rbx, rcx
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
nop dword [rax]
call fcn.00466fe0
mov rax, rdx
call fcn.00466fa0
mov eax, 2
mov rcx, rax
call fcn.00466fa0
mov eax, 2
mov rcx, rax
call fcn.00466fa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00499cc0
Function at 0x140004ae0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140004b14
cmp word [rcx], 0x5a4d
jne 0x140004b14
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140004b14
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004b14
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140004a20
test eax, eax
jne 0x140004b30
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140004a90
test rax, rax
je 0x140004b25
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.1400052dc
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x1400051e0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140005180
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400055e0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x38], rax
call fcn.140006070
lea rcx, str.Mingw_w64_runtime_failure:_n
mov rdx, rax
call fcn.1400060f8
mov r8, qword [rsp + 0x38]
mov ecx, 2
mov qword [rsp + 0x28], r8
call fcn.140006070
mov r8, qword [rsp + 0x28]
mov rdx, rbx
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call fcn.1400060d8
nop
Function at 0x140005644
Capabilities:
Allocate or change rwx memory
Check if file exists

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1406e1c78]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1406e1c74]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140005692
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000568a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140005779
inc ebx
add rax, 0x28
jmp 0x14000566a
mov rcx, r12
call fcn.140005e71
mov rbp, rax
test rax, rax
jne 0x1400056b1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400055e0
movsxd rbx, ebx
mov rax, qword [0x1406e1c78]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140005f1f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1406e1c78]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140005713
mov rax, qword [0x1406e1c78]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400055e0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140005773
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140005773
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1406e1c78]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
invalid
test eax, eax
jne 0x140005773
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400055e0
inc dword [0x1406e1c74]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140005ba0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x1406e1ce0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1406e1cc0]
test rbx, rbx
je 0x140005bec
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140005be6
test eax, eax
jne 0x140005be6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140005bbe
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140005da0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140005dc3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140005dc3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140005dc4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140005dfe
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140005df5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140005e00
inc r8d
add rax, 0x28
jmp 0x140005ddc
xor eax, eax
ret

Function at 0x140005e71
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1406d6b50]
mov r8, rcx
mov rcx, r9
call fcn.140005da0
test eax, eax
je 0x140005e9d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140005dc4
xor eax, eax
add rsp, 0x28
ret
Function at 0x14076c3ca
Capabilities:
Encode data using xor

Disassembly:
invalid
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
neg bx
movabs r12, 0xab0b1dbbbba77a18
setg bl
je fcn.1406f621c
call fcn.1407932c0
add dword [rsi + rcx*2 - 0x7717332a], 0xffffffc2
sub cl, byte [rax - 0x3d731970]
pop rsi
add byte [rax + rsi*8 - 0x50], dh
sub al, 0xda
jo 0x14076c406
outsb dx, byte [rsi]
jl 0x14076c3ab
outsb dx, byte [rsi]
invalid

Function at 0x14077d22d
Capabilities:
Encode data using base64

Disassembly:
lea rbp, [rbp - 0x36ed995d]
and r12, r12
jae 0x1407aa84f
xor r9d, r9d
and r9w, r9w
shl qword [rsp + r9 + 0x20], 0xc6
seta byte [rsp + 0x20]
xchg qword [rsp + rcx*8 + 0x40], rbx
mov r9, qword [rsp + 0x30]
sub r10w, 0xd424
jle 0x140788910
call fcn.1407b12f3
add qword [rsp], 0xffffffffbf858a43
mov rbp, qword [rsp + 0x20]
mov rbp, qword [rbp + riz]
mov qword [rsp + 0x20], r14
mov r12, r10
call fcn.1407db552
mov r13d, 0x838d7385
xor word [rsp + 0x68], 0xaf
jg 0x14079ff70
fld qword [rdi + 0x75]
cmp eax, 0x8347b1ff
test ecx, ecx
cdq
std
lahf
iretd
jns 0x1407ff71a
add r12d, dword [rsp + 0x28]
setbe r12b
mov qword [rsp + r14 + 0x10068], r14
xchg qword [rsp + 0x70], rbp
mov r14, qword [rsp + r12 - 0x32b715a1]
jge 0x14078be54
bswap edi
mov r12, qword [rsp + 0x30]
shr rdi, 0x6d
shr di, 6
lea r13, [r13 + r13*4 - 0x286c7a7c]
mov r13, qword [rsp + rdi*4 + 0x48]
js 0x140780c3e
setbe byte [rsp + rdi*2 + 0x68]
shl dil, 0x3d
sete byte [rsp + rdi + 0x28]
and byte [rsp + rdi*4 + 0x28], 0x94
shr di, 0xf4
shr qword [rsp + rdi + 0x28], 0xf4
shl qword [rsp + rdi*8 + 0x28], 0x42
mov rdi, qword [rsp + rdi*4 + 0x38]
mov word [rsp + 0x28], 0xe28c
xor word [rsp + 0x28], 0x50b4

Function at 0x14078e14c
Capabilities:
Packed with generic packer

Disassembly:
and r14, 0x7e072514
call fcn.1407024be
push rax
invalid
jns 0x14078bcb9

Function at 0x1407eba59
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
shl di, 6
shr rdx, 0xb2
ja 0x1406fbdcc
shl rdx, 0x63
mov rdx, qword [rsp + 0x18]
add rdi, 0x3dab6207
setge dil
add edi, edi
je fcn.140777d26
setns dil
not dil
add edi, 0x5bf2f35
mov rdi, qword [rsp + 8]
jae 0x1407a3b2e
mov qword [rsp + 0x28], 0x4684ee04
xor byte [rsp + 0x28], 0x92
add qword [rsp + 8], 0xffffffffbf809a5b
xor word [rsp + 0x28], 0x192f
neg word [rsp + 0x28]
add word [rsp + 0x28], 0x2194
lea rsi, [rsi - 0x61476864]
add qword [rsp + 0x28], 0x521aa68a
call fcn.140763fe3
movabs rdx, 0x90b94d3e772eeda8
movabs rdx, 0x4f380f8a5fa1de02
call fcn.140816aee
push qword [rsp + 0x28]
popfq
lea rsp, [rsp + 0x38]
ret
sub edx, 0xa3a2a4be
xchg qword [rsp + 0x38], rsi
mov r10, qword [rsp + rdx - 0x5c5e4e31]
jns 0x1406f87b2
mov bh, 0xa8
in al, dx
jae 0x1407ebaf7
invalid
invalid
Function at 0x1407fb581
Capabilities:
Encode data using xor

Disassembly:
test byte [rsp + r9 + 0x40], 0xbe
mov r9, qword [rsp + r9*4 + 0x70]
mov dword [rsp + 0x40], 0xb181ca2e
call fcn.1407b6ca9
fmul st(2)
xchg byte [rax + 0xc], ah
jb 0x1407fb5b9
invalid
jb 0x1407fb55b
jo 0x1407fb5ef
xor byte [rsi], spl
rcl byte [rdx + rbx*4]
dec byte [rsi]
push 0xffffffffbeeae988
xchg byte [rdx], bh
mov ebx, 0xcf38d297
invalid
pop rbp
std
in eax, 0x3a
cmp edx, dword [rcx + 0x343a59ad]
lodsd eax, dword [rsi]
cmpsd dword [rsi], dword [rdi]
jl 0x1407fb60b
outsd dx, dword [rsi]
in eax, dx
shr dword [rsp + r12*2], 0x5b
retf 0x82da
or dword [rsi + 0x5112e282], edx
pop rsp
pop rbp
invalid
Function at 0x1410c6ac6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
cmp r15b, 0x3f
test rsp, r10
sub edi, edi
movzx r9w, r11b
mov r9b, 0x97
not r9w
movzx ebx, r8b
inc r10
movsx r10, r15w
setnp r10b
mov r11, rcx
mov r8, rdi
nop
mov r9w, 0x328a
movzx r9d, byte [r11]
movzx r10d, r13w
movzx r10d, byte [rdx]
jmp 0x1410c6b11
inc r11
jmp 0x1410c6b19
inc rdx
test bl, bl
je 0x1410c6b40
mov ecx, r8d
not ah
xchg ah, ah
mov eax, 0xd1905603
cmc
rol eax, cl
add al, r8b
xor r9b, al
inc r8
test dil, 0x80
test r9b, r9b
jmp 0x1410c6b48
je 0x1410c6b5c
cmp r9b, r10b
jmp 0x1410c6b56
je 0x1410c6b00
cmp r9b, r10b
jae 0x1410c6b80
or eax, 0xffffffff
mov rbx, qword [rsp + 8]
cmovl rdi, rdi
movsx edi, r12w
mov rdi, qword [rsp + 0x10]
jmp 0x1410c6b7f
ret
mov rbx, qword [rsp + 8]
cdqe
mov rax, r14
movsx ax, r8b
seta dil
movzx rax, r15w
bswap ax
movzx eax, di
mov eax, edi
bswap di
movsx rdi, r10w
mov rdi, qword [rsp + 0x10]
jmp 0x1410c6bb0
ret
Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
xor rax, rax
add rax, 0x5d
add rax, 3
mov rax, qword gs:[rax]
mov rcx, rax
xor rax, rax
mov edi, 0x17
inc rdi
mov rax, qword [rcx + rdi]
mov rcx, rax
xor rax, rax
mov edi, 0x1f
inc rdi
mov rax, qword [rcx + rdi]
mov rax, qword [rax]
mov rcx, rax
xor rax, rax
mov edi, 0x1f
inc rdi
mov rax, qword [rcx + rdi]
xor ecx, ecx
call 0x14000104f
jmp qword [sym.imp.KERNEL32.dll_ExitProcess]