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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x0060a7d0]
test rcx, rcx
jne 0x4427e4
xor ecx, ecx
xor edx, edx
jmp 0x4427f9
call fcn.00456ee0
mov rcx, rbx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r14
mov rsi, qword [r14 + 0x30]
inc dword [rsi + 0xd8]
mov qword [r14 + 0x10], 0xfffffffffffffade
mov byte [r14 + 0xb7], 1
call fcn.00442760
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x70], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x78], rdx
mov ebx, 2
mov ecx, 3
call fcn.0043c080
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x442866
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x4428a2
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x00442ac0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.00464a20
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x44290b
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x00442a40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp], rax
nop
call fcn.00464a20
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442760
mov rcx, qword [rsp + 0x20]
mov al, byte [0x00586eb8]
test al, al
je 0x44294b
lea rax, [0x004d4b98]
mov qword [rsp], rax
call fcn.00464a20
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442760
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
cmp dword [rax + 0x2298], 0
nop
je 0x442998
lea rax, fcn.0043d900
mov qword [rsp], rax
call fcn.00464a20
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442760
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rdx, qword [rax + 0xa0]
mov edx, dword [rdx + 0x14]
mov dword [rax + 0x388], edx
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
mov qword [rax + 0x38], 0
mov rdx, qword [rcx + 0x30]
mov rbx, rax
mov qword [rdx + 0xb0], rax
mov rax, qword [rcx + 0x30]
mov qword [rax + 0xa0], 0
mov eax, 2
xchg dword [rbx + 4], eax
mov al, byte [0x00586ea8]
test al, al
je 0x442a24
lea rax, [0x004d4b90]
mov qword [rsp], rax
call fcn.00464a20
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442760
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret
Function at 0x4477a0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x447907
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 0x4477b2
cmp edx, ecx
jne 0x4478f5
nop word [rax + rax]
test rsi, rsi
jne 0x4478f5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x447814
nop
call fcn.00468720
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
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.004476c0
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 0x4478f0
mov rdx, qword [0x00585b58]
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 0x4478e5
mov rcx, qword [0x00585b50]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00586e10]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00586e10], rax
nop
mov edx, 1
lea rsi, [0x00586e18]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x4478d3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004d231b]
mov ebx, 0x28
nop
call fcn.00437700
mov rax, rsi
mov rcx, rdx
call fcn.00466e20
call fcn.004362e0
lea rax, [0x004d13ff]
mov ebx, 0x23
call fcn.00437700
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004477a0
Function at 0x44b580
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x44b5c8
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x44b5c8
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x44b5d8
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.00435100
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x44b6b1
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00435380
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x44b6b1
cmp qword [rcx + 8], rax
ja 0x44b5d3
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x453000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x453177
movzx edx, byte [rax]
test edx, edx
jne 0x453034
nop dword [rax]
test r8b, r8b
jne 0x453034
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x453047
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x453137
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x453125
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x453117
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45309d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x4530e0
mov eax, 1
cmp rax, rbx
ja 0x4530cb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00466ee0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45310f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x4530d3
mov rcx, r11
mov eax, r12d
jmp 0x4530a2
mov rcx, rbx
call fcn.00466e20
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00466e20
mov eax, r8d
mov rcx, rbx
call fcn.00466ee0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45316d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x453130
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x45304d
mov eax, edx
mov rcx, rbx
call fcn.00466e20
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00466e20
nop
int3

Function at 0x458d40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x458df5
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.004569c0
nop
test bl, bl
je 0x458def
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x00458e40]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00464a20
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
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.00464b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00458d40
Function at 0x45bd60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45be0f
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, [0x0045be60]
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 + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00464a20
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
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.00464b40
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.0045bd60
Function at 0x466940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4043c3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a360
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4043a0
cmp byte [0x0060a80b], 0
je 0x466955
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x463b80
jmp 0x4043a0

Function at 0x466960
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 [0x0060ab20]
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 [0x0060a80b], 0
je 0x466995
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0060ae40]
aesenc xmm0, xmmword [0x0060ae50]
aesenc xmm0, xmmword [0x0060ae60]
movq rax, xmm0
ret
jmp 0x40a580

Function at 0x4669a0
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 [0x0060ab20]
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 [0x0060a80b], 0
je 0x4669d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0060ae40]
aesenc xmm0, xmmword [0x0060ae50]
aesenc xmm0, xmmword [0x0060ae60]
movq rax, xmm0
ret
jmp 0x40a5e0

Function at 0x468760
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 0x468794
mov rcx, 0x28
jmp 0x46879f
shl rcx, 3
add rcx, 0x1480
mov qword [0x0060aa30], rcx
pop rbp
ret
Function at 0x481840
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48190a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004038a0
xorps xmm15, xmm15
mov r14, qword [0x0060aa30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4818ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004b0300]
xor ebx, ebx
mov rcx, rdx
call fcn.0044c100
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.00481e20
inc rbx
cmp rcx, rbx
jae 0x4818de
mov edi, 1
lea rsi, [0x004b0300]
call fcn.0044c1e0
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, [0x004f1a98]
lea rsi, [0x004f1290]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00481840

Function at 0x49bbe0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49c31f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x49bc0d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x49be91
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x49bebd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004f2fe0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004b0200]
lea rbx, [0x004f1988]
call fcn.00436b40
inc rax
cmp rax, r8
jge 0x49bee2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x49bf17
lea rdi, [0x004b0280]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x49bc03
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x49befb
jmp 0x49bed0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00464b40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0049bbe0

Function at 0x49c4c0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x49c4d7
inc rax
cmp rax, 4
jge 0x49c4ef
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x49c4d4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x49c500
inc rax
cmp rax, 4
jge 0x49c50e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x49c537
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x49c51b
jmp 0x49c4fd
Function at 0x140001270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
lea r8d, [rbp + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14000131a
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000131a
mov rcx, rax
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov eax, 2
shr ebx, 1
lea ecx, [rbx + 1]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140001710
add rbx, rbx
mov rdx, rsi
mov r8, rbx
mov rcx, rax
mov rdi, rax
call fcn.140002670
mov rsi, qword [rsp + 0x30]
mov rax, rdi
mov word [rbx + rdi], bp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400058f8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005724
Function at 0x140035eb0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14005f738], rbx
je 0x140035efc
cmp rax, rbx
jne 0x140035eef
mov ebx, 1
mov esi, ebx
jmp 0x140035f01
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140035ed4
mov ebx, 1
mov eax, dword [0x14005f740]
cmp eax, ebx
jne 0x140035f17
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140035f7c
mov eax, dword [0x14005f740]
test eax, eax
jne 0x140035f76
mov dword [0x14005f740], ebx
lea r15, [0x140043888]
lea rdi, [0x140043870]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140035f68
test eax, eax
jne 0x140035f6c
cmp qword [rdi], 0
je 0x140035f5d
mov rax, qword [rdi]
mov rcx, qword [0x140043810]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140035f3e
test eax, eax
je 0x140035f7c
mov eax, 0xff
jmp 0x140036058
mov dword [0x14005eac4], ebx
mov eax, dword [0x14005f740]
cmp eax, ebx
jne 0x140035fa3
lea rdx, [0x140043868]
lea rcx, [0x140043818]
call sub.msvcrt.dll__initterm
mov dword [0x14005f740], 2
test esi, esi
jne 0x140035fb0
xor eax, eax
xchg qword [0x14005f738], rax
cmp qword [0x14005f748], 0
je 0x140035fe4
lea rcx, [0x14005f748]
call fcn.1400362b0
test eax, eax
je 0x140035fe4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14005f748]
mov r9, qword [0x140043810]
call r9
mov r8, qword [0x14005ead8]
mov rdx, qword [0x14005ead0]
mov ecx, dword [0x14005eac8]
call fcn.1400013f8
mov dword [0x14005eac0], eax
cmp dword [0x14005eae0], 0
jne 0x140036014
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14005eac4], 0
jne 0x140036029
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14005eac0]
jmp 0x140036058
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1401b3000
add rsp, 0x28
jmp 0x140035eb0

Function at 0x14003619c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400361e8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400361e0
cmp dword [rcx + 0x3c], edx
jl 0x1400361e0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400361e0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400361e8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140643058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406431df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140643089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14064306f
add dl, dl
jne 0x140643096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406430f6
xor eax, eax
add dl, dl
jne 0x1406430a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406431ad
add dl, dl
jne 0x1406430b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406430c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406430d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406430dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406430ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14064307e
mov eax, 1
add dl, dl
jne 0x140643106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140643113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406430fb
sub eax, ebx
mov ebx, 1
jne 0x14064314c
mov ecx, 1
add dl, dl
jne 0x14064312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14064313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140643123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140643168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140643175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14064315d
cmp eax, 0x7d00
jae 0x14064319b
cmp eax, 0x500
jb 0x140643196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064307e
cmp eax, 0x7f
ja 0x14064319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406431d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14064307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000d2b0
Capabilities:
Access the windows event log

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140019028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dword [0x140019fc0], 1
mov rsi, rdx
movzx ebp, cx
jne 0x14000d305
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea ecx, [rbx + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
jmp 0x14000d37b
lea rbx, [0x140013068]
mov qword [rsp + 0xa0], rdi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
test rax, rax
je 0x14000d373
xor ecx, ecx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ebx, 2
mov dword [rsp + 0x30], ecx
xor r8d, r8d
mov word [rsp + 0x28], bx
mov r9d, 0xc0020001
mov qword [rsp + 0x20], rcx
movzx edx, bp
mov rcx, rdi
mov qword [rsp + 0x58], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000e120
add rsp, 0x70
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000ebdc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ec26
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ec26
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ec26
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ec26
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ec26
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000ec28
xor al, al
add rsp, 0x28
ret