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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414486
push rbp
mov rbp, rsp
sub 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.0042ff60
xorps xmm15, xmm15
mov r14, qword [0x00583508]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4142d3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4142e2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414305
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414315
cmp rbx, 0x1000
jae 0x4142d9
nop
jmp 0x414398
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41432d
xor esi, esi
jmp 0x41438a
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.0042ff60
xorps xmm15, xmm15
mov r14, qword [0x00583508]
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 0x41430b
jmp 0x4142f6
call fcn.0045e4a0
xorps xmm15, xmm15
mov r14, qword [0x00583508]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414420
nop dword [rax + rax]
call fcn.004342e0
lea rax, [0x004a257a]
mov ebx, 0x19
call fcn.00434b60
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.004348a0
lea rax, [0x004a2561]
mov ebx, 0x19
call fcn.00434b60
mov eax, dword [rsp + 0x34]
call fcn.004348a0
nop
call fcn.00434520
call fcn.00434340
lea rax, [0x0049fc4e]
mov ebx, 0xd
call fcn.00432940
nop dword [rax + rax]
cmp eax, 0x5af
je 0x4143c0
call fcn.004342e0
lea rax, [0x004a257a]
mov ebx, 0x19
call fcn.00434b60
mov rax, qword [rsp + 0x38]
call fcn.004348a0
lea rax, [0x004a2561]
mov ebx, 0x19
call fcn.00434b60
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.004348a0
call fcn.00434520
call fcn.00434340
lea rax, [0x004a3a1e]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00432940
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045ade0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00414260
Function at 0x41c1a0
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x005832f2], 0
jne 0x41c287
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x41c27a
lea rbx, [0x005556d8]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x41c260
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.0045d080
lea rax, [0x004a5afc]
mov ebx, 0x2c
call fcn.00432940
nop
int3

Function at 0x41e560
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41e666
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x41e5a3
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x41e65b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.0041f340
test rax, rax
je 0x41e65b
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x0041e6a0]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.0045aca0
xorps xmm15, xmm15
mov r14, qword [0x00583508]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x41e649
xor eax, eax
jmp 0x41e653
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x41e591
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.0045ade0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.0041e560
Function at 0x42c640
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42c8c6
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42c8ba
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x005832f2], 0
jne 0x42c69a
xor edx, edx
xor ebx, ebx
jmp 0x42c6e0
xor edx, edx
jmp 0x42c6c5
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041ba00
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42c69e
add rax, 0x1268
call fcn.0042c5c0
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x42c854
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x42c6db
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.004113c0
test rax, rax
jne 0x42c72c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42c6db
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x42c76c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42c6db
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x42c8ad
lea r10, [0x005556d8]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x42c7ef
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x42c825
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42c6db
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42c8a5
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42c6db
cmp rbx, 0x200
ja 0x42c894
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00422240
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042c5c0
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.0045d0e0
mov rax, r8
call fcn.0045d060
mov rax, r8
mov ecx, 0x40
call fcn.0045d080
mov edx, 0x200
nop
call fcn.0045d0c0
nop
mov qword [rsp + 8], rax
call fcn.004618a0
mov rax, qword [rsp + 8]
jmp fcn.0042c640
Function at 0x441400
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x441567
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x441412
cmp edx, ecx
jne 0x441555
nop word [rax + rax]
test rsi, rsi
jne 0x441555
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x441474
nop
call fcn.0045e8c0
xorps xmm15, xmm15
mov r14, qword [0x00583508]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00441320
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x441550
mov rdx, qword [0x00530508]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x441545
mov rcx, qword [0x00530500]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00530f70]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00530f70], rax
nop
mov edx, 1
lea rsi, [0x00530f78]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x441533
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004a5341]
mov ebx, 0x28
nop
call fcn.00432940
mov rax, rsi
mov rcx, rdx
call fcn.0045d060
call fcn.00430fe0
lea rax, [0x004a46f1]
mov ebx, 0x23
call fcn.00432940
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045ade0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00441400
Function at 0x4535c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45366f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
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 rsi, [0x004536c0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
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.0045aca0
xorps xmm15, xmm15
mov r14, qword [0x00583508]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045ade0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.004535c0
Function at 0x45cbc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403183
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00408be0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045ade0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403160
cmp byte [0x005832eb], 0
je 0x45cbd5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x459e20
jmp 0x403160

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

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005835a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005832eb], 0
je 0x45cc15
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00583860]
aesenc xmm0, xmmword [0x00583870]
aesenc xmm0, xmmword [0x00583880]
movq rax, xmm0
ret
jmp 0x408e00

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

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005835a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005832eb], 0
je 0x45cc56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00583860]
aesenc xmm0, xmmword [0x00583870]
aesenc xmm0, xmmword [0x00583880]
movq rax, xmm0
ret
jmp 0x408e60

Function at 0x45e920
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
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 0x45e954
mov rcx, 0x28
jmp 0x45e95f
shl rcx, 3
add rcx, 0x1480
mov qword [0x00583508], rcx
pop rbp
ret
Function at 0x474000
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4740ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403100
xorps xmm15, xmm15
mov r14, qword [0x00583508]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4740af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0048bae0]
xor ebx, ebx
mov rcx, rdx
call fcn.00445480
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.004745e0
inc rbx
cmp rcx, rbx
jae 0x47409e
mov edi, 1
lea rsi, [0x0048bae0]
call fcn.00445560
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004bf218]
lea rsi, [0x004beba8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045ade0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00474000
Function at 0x1400290fc
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c6f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c6f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002924c
cmp rax, 0xffffffffffffffff
je 0x14002924c
xor edi, edi
test rbp, rbp
jle 0x1400291f7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f008
mov rbx, rax
test rax, rax
jne 0x140029184
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400291ed
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a028
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d3d0
cmp eax, 0xffffffff
je 0x1400291cd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029194
mov edx, r15d
mov ecx, r14d
call fcn.14001a028
jmp 0x1400291ed
cmp byte [rsi + 0x38], dil
je 0x1400291e4
cmp dword [rsi + 0x34], 5
jne 0x1400291e4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400291ed
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001adbc
jmp 0x140029260
jns 0x140029260
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c6f4
cmp rax, 0xffffffffffffffff
jne 0x140029218
cmp byte [rsi + 0x30], dil
je 0x140029260
mov edi, dword [rsi + 0x2c]
jmp 0x140029260
mov ecx, r14d
call fcn.1400184e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029260
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029260
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029259
mov eax, dword [rsi + 0x2c]
jmp 0x14002925e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c6f4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140476bdf
Capabilities:
Encode data using xor

Disassembly:
lea rcx, [0x1404565e0]
lea rsp, [rsp + 8]
mov edi, 0x362b1504
neg dil
movzx edi, byte [rdx + rdi*2 - 0x6c562bf8]
push 0x6b06d099
xor edi, ebp
and edi, 0xff
rol dword [rsp + 4], 0xab
mov edi, dword [rcx + rdi*4]
shr ebp, 8
xor ebp, edi
push 0x25352383
push 0x10391e9d
inc rdx
xor ebp, 0x1991542a
sar qword [rsp + 0x10], 0x86
dec rsi
lea rsp, [rsp + 0x18]
jne 0x140476beb
mov edi, 0xd72575b5
pop rdi
Function at 0x180001000
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xf0
mov eax, 0x5a4d
mov edi, edx
cmp word [rcx], ax
jne 0x180001131
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x180001131
movups xmm1, xmmword [rax + 0x28]
add rax, 0x18
lea r8, [rsp]
mov edx, 0x80
xor ebx, ebx
movups xmm0, xmmword [rax]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [r8 + 0x50], xmm1
movups xmmword [r8 + 0x60], xmm0
add r8, rdx
movups xmm0, xmmword [rax + 0x70]
add rax, rdx
movups xmmword [r8 - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [r8], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [r8 + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [r8 + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [r8 + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x60], xmm1
mov eax, dword [rsp + 0x70]
add rax, rcx
mov r10d, dword [rax + 0x20]
mov ebp, dword [rax + 0x1c]
add r10, rcx
mov r11d, dword [rax + 0x24]
add rbp, rcx
mov esi, dword [rax + 0x14]
add r11, rcx
test esi, esi
je 0x180001131
movzx eax, word [r11]
mov edx, 4
mov r9d, dword [rbp + rax*4]
mov eax, dword [r10]
add r9, rcx
add rax, rcx
jmp 0x180001116
imul edx, edx, 0x21
inc rax
add edx, r8d
movsx r8d, byte [rax]
test r8d, r8d
jne 0x18000110d
cmp edi, edx
je 0x18000114c
inc ebx
add r11, 2
add r10, 4
cmp ebx, esi
jb 0x1800010f4
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, r9
jmp 0x180001133

Function at 0x180001154
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbp, rcx
mov rsi, qword [rax + 0x18]
add rsi, 0x20
xor r14d, r14d
mov rbx, qword [rsi]
mov rdi, rbx
cmp word [rbx + 0x48], r14w
je 0x1800011a7
mov rcx, qword [rbx + 0x50]
mov rdx, rbp
call fcn.1800011d0
test eax, eax
jne 0x1800011c9
mov rbx, qword [rdi]
mov rdi, rbx
cmp rdi, rsi
jne 0x18000118a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, qword [rbx + 0x20]
jmp 0x1800011ae
Function at 0x180001310
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
movups xmm0, xmmword [0x1800020a8]
mov eax, dword [0x1800020b8]
xor esi, esi
cmp word [0x1800020ba], si
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], eax
je 0x180001371
mov edi, esi
lea r8, [rsp + 0x20]
mov eax, 0x5397829d
mul edi
mov eax, 1
shr edx, 4
sub ax, dx
movzx eax, ax
imul edx, eax, 0x31
add dx, di
inc edi
xor word [r8], dx
lea r8, [r8 + 2]
cmp edi, 0xa
jl 0x180001347
lea rcx, [rsp + 0x20]
call fcn.180001154
mov rbx, rax
lea rdi, [rsp + 0x20]
movzx eax, si
mov ecx, 0xa
rep stosw word [rdi], ax
mov rcx, rbx
mov edx, 0xde642d6
call section..text
mov edx, 0xa914b951
mov qword [section..data], rax
mov rcx, rbx
call section..text
mov edx, 0x4b6665ec
mov qword [0x180003008], rax
mov rcx, rbx
call section..text
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov qword [0x180003010], rax
add rsp, 0x40
pop rdi
ret

Function at 0x180001454
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp dword [0x1800020a0], 0x539
jle 0x1800014be
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
add rsp, 0x28
ret
Function at 0x180001d38
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movups xmm0, xmmword [str._FWXY]
xor r13d, r13d
cmp word [0x1800021da], r13w
movups xmmword [rax - 0x48], xmm0
mov eax, dword [0x1800021d8]
mov dword [rsp + 0x30], eax
je 0x180001da7
mov edi, r13d
lea r8, [rsp + 0x20]
mov eax, 0x4ec4ec4f
mul edi
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, di
inc edi
sub ax, cx
add ax, 0x31
xor word [r8], ax
lea r8, [r8 + 2]
cmp edi, 0xa
jl 0x180001d7e
lea rcx, [rsp + 0x20]
call fcn.180001154
mov rsi, rax
lea rdi, [rsp + 0x20]
movzx eax, r13w
lea r9, [0x180003020]
mov ecx, 0xa
mov ebx, r13d
rep stosw word [rdi], ax
movsxd rax, dword [rsi + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
add rcx, rsi
mov r15d, dword [rcx + 0x1c]
mov r14d, dword [rcx + 0x20]
add r15, rsi
mov r12d, dword [rcx + 0x24]
add r14, rsi
mov ebp, dword [rcx + 0x18]
add r12, rsi
lea eax, [rbp - 1]
mov ecx, 0x775a
mov ebp, eax
mov r8d, eax
mov eax, dword [r14 + rax*4]
add rax, rsi
cmp word [rax], cx
jne 0x180001e5a
mov ecx, 4
jmp 0x180001e1d
imul ecx, ecx, 0x21
inc rax
add ecx, edx
movsx edx, byte [rax]
test edx, edx
jne 0x180001e15
mov edi, ebx
add rdi, rdi
mov dword [r9 + rdi*8 + 8], ecx
movzx eax, word [r12 + r8*2]
mov ecx, dword [r15 + rax*4]
mov dword [r9 + rdi*8 + 0xc], ecx
add rcx, rsi
call fcn.180001c2c
inc ebx
lea r9, [0x180003020]
mov qword [r9 + rdi*8 + 0x10], rax
cmp ebx, 0x1f4
je 0x180001e5e
test ebp, ebp
jne 0x180001df5
lea eax, [rbx - 1]
mov dword [0x180003020], ebx
mov edi, r13d
test eax, eax
je 0x180001ef7
mov eax, ebx
mov edx, r13d
sub eax, edi
cmp eax, 1
je 0x180001eea
lea rbp, [0x180003020]
lea r10d, [rdx + 1]
mov r9d, edx
add r9, r9
mov r8d, r10d
add r8, r8
mov esi, dword [rbp + r9*8 + 0xc]
mov r11d, dword [rbp + r8*8 + 0xc]
cmp esi, r11d
jbe 0x180001edc
mov eax, dword [rbp + r8*8 + 8]
mov edx, dword [rbp + r9*8 + 8]
mov rcx, qword [rbp + r9*8 + 0x10]
mov dword [rbp + r9*8 + 8], eax
mov rax, qword [rbp + r8*8 + 0x10]
mov qword [rbp + r9*8 + 0x10], rax
mov dword [rbp + r9*8 + 0xc], r11d
mov dword [rbp + r8*8 + 8], edx
mov dword [rbp + r8*8 + 0xc], esi
mov qword [rbp + r8*8 + 0x10], rcx
mov ebx, dword [0x180003020]
mov ecx, ebx
mov edx, r10d
sub ecx, edi
dec ecx
cmp r10d, ecx
jb 0x180001e85
inc edi
lea ecx, [rbx - 1]
cmp edi, ecx
jb 0x180001e72
lea r11, [rsp + 0x40]
mov eax, 1
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret