joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050b60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 0xb], r9b
je 0x140050ba4
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0xb]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x140050b90
mov byte [r8 + 0xb], r9b
lea rax, [r8 + 0xa]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], 0xf
cmp r8, rax
jne 0x140050bce
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x140050be9
mov qword [rbp - 0x28], 0xa
movsd xmm0, qword [r8]
movsd qword [rbp - 0x38], xmm0
movzx eax, word [r8 + 8]
mov word [rbp - 0x30], ax
cmp byte [rdx + 0xe], 0
je 0x140050c13
mov rcx, r9
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0xb]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0xd
jb 0x140050c00
mov byte [rdx + 0xe], 0
lea rax, [rdx + 0xd]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], 0xf
cmp rdx, rax
jne 0x140050c3d
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x140050c5b
mov qword [rbp - 0x48], 0xd
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [rdx + 8]
mov dword [rbp - 0x50], eax
movzx eax, byte [rdx + 0xc]
mov byte [rbp - 0x4c], al
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.14003e540
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140050caf
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050ca9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050ca9
push rax
call fcn.140268217
int3
call fcn.1400b352c
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140050ced
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050ce8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050ce8
push rcx
call fcn.14029cb7b
int3
call fcn.1400b352c
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret

Function at 0x140057850
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x10], al
je 0x140057873
lea edx, [rax - 0xb]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x140057860
mov byte [rcx + 0x10], 0
lea r8, [rcx + 0xf]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14003e8f0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140058a90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140058ab3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0xb]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140058aa0
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x14007db50
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x28]
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x40
jae 0x14007dd08
lea ecx, [r8*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], rcx
mov byte [r8 + rbx + 0x2c], pe_nt_image_headers64
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x14007dbc8
cmp eax, 0x40
jae 0x14007dbb2
nop word [rax + rax]
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x40
jb 0x14007dba0
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.14007de50
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x14007dbd0
lea rsi, [rbx + 0x2c]
jae 0x14007dbe2
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x14007dbd0
movzx eax, byte [rbx + 7]
mov rdx, rsi
mov byte [rbx + 0x64], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x65], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x66], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x67], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x68], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x69], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbx]
mov byte [rbx + 0x6b], al
call fcn.14007de50
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x24]
mov rsi, qword [rsp + 0x30]
mov byte [rdi + 0x1f], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14007dd20
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov qword [rcx + 0x24], 0x5be0cd19
mov qword [rcx], rax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
ret
Function at 0x140097d60
Capabilities:
Check http status code

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea eax, [rdx - 0xc8]
mov rdi, rcx
mov rcx, qword [rcx]
mov esi, r8d
cmp eax, 0x64
jb 0x140097d95
lea rdx, str.Couldnt_set_desired_mode
call fcn.14007a080
lea eax, [rbx + 0x11]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
cmp edx, 0xc8
je 0x140097dac
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.14007a200
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r14
cmp esi, 0x13
jne 0x140097dc8
mov rcx, rdi
call fcn.140097ca0
jmp 0x140097eff
cmp esi, 0x14
jne 0x140097ee1
mov rsi, qword [rdi]
mov rbp, rbx
cmp dword [rsi + 0xba0], 2
jne 0x140097e49
mov rax, qword [rsi + 0x1e0]
mov rdx, qword [rax]
test rdx, rdx
je 0x140097e49
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rsp + 0x50], rbx
call fcn.140063990
test eax, eax
jne 0x140097eff
mov rcx, qword [rsp + 0x50]
lea edx, [rax + 0x2f]
call fcn.1400b4522
test rax, rax
je 0x140097e3e
mov rbp, qword [rsp + 0x50]
mov ecx, 1
sub rax, rbp
cmovne rcx, rax
mov byte [rcx + rbp], bl
jmp 0x140097e49
mov rcx, qword [rsp + 0x50]
call qword [str.:E_v_]
mov rdx, qword [rsi + 0xc08]
test rdx, rdx
jne 0x140097e6d
cmp byte [rsi + 0xf0d], bl
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x1400c6d1a]
test rbp, rbp
mov r9, r8
lea rax, [0x1400d02f8]
cmovne r9, rbp
lea rcx, [0x1400bc4d8]
cmovne r8, rax
call fcn.140068a00
mov rcx, rbp
mov r14, rax
call qword [str.:E_v_]
test r14, r14
jne 0x140097eac
lea ebx, [r14 + 0x1b]
jmp 0x140097f01
lea rcx, [rdi + 0xa00]
mov r8, r14
lea rdx, [0x1400cb550]
call fcn.1400adec0
mov rcx, r14
mov esi, eax
call qword [str.:E_v_]
test esi, esi
je 0x140097ed5
mov ebx, esi
jmp 0x140097f01
mov dword [rdi + 0xab8], 0x1f
jmp 0x140097f01
cmp esi, 0x15
jne 0x140097eec
lea r8d, [rsi - 8]
jmp 0x140097ef5
cmp esi, 0x16
jne 0x140097f01
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rdi
call fcn.1400977d0
mov ebx, eax
mov r14, qword [rsp + 0x60]
mov eax, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b2740
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str._E_v_]
mov rdi, rax
test rax, rax
jne 0x1400b2782
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400b27c9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + 0x10]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400b2822
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
sub rbp, 1
jne 0x1400b27e0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400b2863
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400c63ca]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400c63cb]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400b2830
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400b41b8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
push rbx
call fcn.1401f5ead
test rax, rax
je 0x1400b4202
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b4202
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b4202
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b4202
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b4202
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b4204
xor al, al
add rsp, 0x28
ret
Function at 0x7ff702020a0
Capabilities:
Get hostname

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x7ff702070c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor ebp, ebp
mov dword [rsp + 0x48], 0x30
mov ebx, 0xc
mov rdi, rdx
lea rax, [rsp + 0x38]
mov rsi, rcx
mov qword [r11 - 0x78], rbp
mov dword [rsp + 0x60], ebp
lea r8d, [rbx - 0xb]
lea r9, [rsp + 0x28]
lea rdx, [r11 - 0x80]
xor ecx, ecx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], 2
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x41], bpl
mov qword [r11 - 0x70], rbp
mov qword [r11 - 0x60], rbp
mov qword [r11 - 0x58], rax
call sub.ADVAPI32.dll_LsaOpenPolicy
cmp eax, ebp
jl 0x7ff702021ec
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x30]
mov edx, ebx
call sub.ADVAPI32.dll_LsaQueryInformationPolicy
cmp eax, ebp
mov ebx, eax
jl 0x7ff702025f3
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x40], rbp
je 0x7ff702025e6
movzx edx, word [rax + 2]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi + 8], rax
cmp rax, rbp
je 0x7ff70202604
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
movzx eax, word [rdx + 2]
mov word [rdi + 2], ax
call qword [sym.imp.ntdll.dll_RtlCopyUnicodeString]
jmp 0x7ff70202181
mov rcx, qword [rsp + 0x30]
call sub.ADVAPI32.dll_LsaFreeMemory
mov rcx, qword [rsp + 0x28]
call sub.ADVAPI32.dll_LsaClose
cmp ebx, ebp
jl 0x7ff702025fd
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x20], 0x11
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, ebp
je 0x7ff7020260e
mov edx, dword [rsp + 0x20]
mov ecx, 0x24
mov word [rsp + rdx*2 + 0x78], cx
lea eax, [rdx + 1]
lea rdx, [rsp + 0x78]
mov rcx, rsi
mov word [rsp + rax*2 + 0x78], bp
call qword [sym.imp.ntdll.dll_RtlCreateUnicodeString]
cmp al, bpl
je 0x7ff7020260e
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.7ff70202210
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
mov rcx, rax
call sub.ADVAPI32.dll_LsaFreeMemory
mov ebx, 0xc00000da
mov rcx, qword [rsp + 0x28]
call sub.ADVAPI32.dll_LsaClose
mov eax, ebx
jmp 0x7ff702021ec
mov ebx, 0xc0000017
jmp 0x7ff70202181
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 0xc0000017
jmp 0x7ff702021ec
Function at 0x7ff70202210
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x7ff702070c0]
jne 0x7ff70202534
rol rcx, 0x10
test cx, 0xffff
jne 0x7ff70202530
ret 0
ror rcx, 0x10
jmp 0x7ff70202f20
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rsi, [0x7ff70207190]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rdi, qword [0x7ff70207288]
lea rdx, [rsp + 0x60]
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x7ff70202f93
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
mov r11, qword [0x7ff70207288]
jmp 0x7ff70202faf
mov r11, qword [rsp + 0x58]
lea rax, [rsp + 0x58]
add rax, 8
mov qword [0x7ff70207288], r11
mov qword [0x7ff70207228], rax
mov rax, qword [0x7ff702070c0]
mov qword [0x7ff70207100], r11
mov qword [0x7ff70207210], rbx
mov dword [0x7ff702070f0], 0xc0000409
mov dword [0x7ff702070f4], 1
mov qword [rsp + 0x78], rax
mov rax, qword [0x7ff702070c8]
xor ecx, ecx
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x7ff70205a48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x7ff70203380
Capabilities:
Map section object

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
and dword [rax + 0x10], 0
and dword [rax + 0x14], 0
and qword [rax + 0x18], 0
mov eax, dword [0x7ff70207a48]
test eax, eax
jne 0x7ff7020346a
lea rdx, str.LsaPerformance
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
and qword [rsp + 0x68], 0
and dword [rsp + 0x78], 0
and qword [rsp + 0x80], 0
and qword [rsp + 0x88], 0
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x60]
lea rcx, [0x7ff70207a40]
mov edx, 4
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x60], 0x30
call qword [sym.imp.ntdll.dll_NtOpenSection]
mov ebx, eax
test eax, eax
js 0x7ff7020347d
mov rcx, qword [0x7ff70207a40]
mov dword [rsp + 0x48], 2
and dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0xb0]
lea r8, [0x7ff70207a38]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa8]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
or rdx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov ebx, eax
test eax, eax
js 0x7ff7020347d
mov eax, dword [0x7ff70207a48]
mov dword [0x7ff70207a30], 1
inc eax
mov dword [0x7ff70207a48], eax
xor eax, eax
add rsp, 0x90
pop rbx
ret
mov rdx, qword [0x7ff70207a38]
test rdx, rdx
je 0x7ff7020349b
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
and qword [0x7ff70207a38], 0
mov rcx, qword [0x7ff70207a40]
test rcx, rcx
je 0x7ff702034b5
call qword [sym.imp.ntdll.dll_NtClose]
and qword [0x7ff70207a40], 0
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
jmp 0x7ff70203474
Function at 0x7ff702039b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

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
sub rsp, 0x40
mov rax, qword gs:[0x30]
mov r12d, ecx
mov rbx, r8
mov rcx, qword [rax + 0x60]
mov r8d, dword [r8]
mov rsi, rdx
mov rcx, qword [rcx + 0x30]
add r8, r8
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor edi, edi
mov rbp, rax
cmp rax, rdi
jne 0x7ff70203a0b
lea ecx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
jmp 0x7ff70203ac6
movzx eax, word [rbx]
mov r8, rbx
mov rdx, rbp
mov ecx, r12d
mov word [rsp + 0x20], di
mov qword [rsp + 0x28], rsi
mov word [rsp + 0x22], ax
call sym.Secur32.dll_GetComputerObjectNameW
cmp al, dil
jne 0x7ff70203a54
mov eax, dword [rbx]
mov r8, rbp
xor edx, edx
add eax, eax
mov dword [rbx], eax
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7ff70203a04
lea rcx, [rsp + 0x30]
mov rdx, rbp
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
mov rcx, qword gs:[0x30]
mov r8, rbp
mov rcx, qword [rcx + 0x60]
xor edx, edx
mov esi, eax
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp esi, edi
jge 0x7ff70203ab7
mov eax, 0xc0000023
cmp esi, 0x80000005
cmove esi, eax
mov ecx, esi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x7ff70203aba
mov dil, 1
movzx ecx, word [rsp + 0x20]
mov al, dil
inc ecx
mov dword [rbx], ecx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
Function at 0x7ff7020be40
Capabilities:
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
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov r9, rcx
mov rbx, r8
mov ebp, edx
mov ecx, dword [rax + rcx + 0x88]
test ecx, ecx
je 0x7ff7020beda
cmp dword [rax + r9 + 0x8c], 0
je 0x7ff7020beda
lea rax, [r9 + rcx]
mov r11d, dword [rax + 0x18]
test r11d, r11d
je 0x7ff7020beda
mov r8d, dword [rax + 0x20]
xor edx, edx
mov edi, dword [rax + 0x1c]
add r8, r9
mov esi, dword [rax + 0x24]
add rdi, r9
add rsi, r9
test r11d, r11d
je 0x7ff7020beda
mov r10d, dword [r8]
add r10, r9
mov r14, r10
xor ecx, ecx
mov al, byte [r10]
jmp 0x7ff7020bec3
imul ecx, ecx, 0x83
movsx eax, al
add ecx, eax
inc r14
mov al, byte [r14]
test al, al
jne 0x7ff7020beb2
btr ecx, 0x1f
cmp ecx, ebp
je 0x7ff7020bef7
inc edx
add r8, 4
cmp edx, r11d
jb 0x7ff7020bea2
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
test rbx, rbx
jne 0x7ff7020bf08
movzx ecx, word [rsi + rdx*2]
mov eax, dword [rdi + rcx*4]
add rax, r9
jmp 0x7ff7020bedc
mov rdx, r10
mov rcx, r9
call rbx
jmp 0x7ff7020bedc
Function at 0x180c551b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180c5533f
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 0x180c551e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180c551cf
add dl, dl
jne 0x180c551f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180c55256
xor eax, eax
add dl, dl
jne 0x180c55205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180c5530d
add dl, dl
jne 0x180c55216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c55223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c55230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c5523d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180c5524a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180c551de
mov eax, 1
add dl, dl
jne 0x180c55266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c55273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180c5525b
sub eax, ebx
mov ebx, 1
jne 0x180c552ac
mov ecx, 1
add dl, dl
jne 0x180c5528e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180c5529b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180c55283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180c551de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180c552c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180c552d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180c552bd
cmp eax, 0x7d00
jae 0x180c552fb
cmp eax, 0x500
jb 0x180c552f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180c551de
cmp eax, 0x7f
ja 0x180c552fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180c551de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180c55332
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 0x180c551de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001000
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov eax, 1
cmp edx, eax
jne 0x180001016
add rsp, 0x28
jmp 0x180001044
test edx, edx
jne 0x180001027
mov rcx, qword [0x180003060]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x28
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x230
mov edi, 0x104
lea rdx, [rsp + 0x20]
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
xor ebx, ebx
lea rdx, str.Studio_One
lea rcx, [rsp + 0x20]
mov word [rsp + 0x34], bx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x18000109c
call fcn.18000112c
test eax, eax
je 0x1800010d2
mov edx, edi
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str._vcruntime140_1.dll
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180003060], rax
test rax, rax
jne 0x1800010d6
xor eax, eax
jmp 0x180001114
lea rbx, [0x180003018]
mov esi, 3
lea rdi, str.__CxxFrameHandler4
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rdi, 0x20
mov qword [rbx], rax
lea rbx, [rbx + 0x20]
sub rsi, 1
je 0x18000110f
mov rax, qword [0x180003060]
jmp 0x1800010e9
mov eax, 1
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x180001044
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov eax, 1
cmp edx, eax
jne 0x180001016
add rsp, 0x28
jmp 0x180001044
test edx, edx
jne 0x180001027
mov rcx, qword [0x180003060]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x28
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x230
mov edi, 0x104
lea rdx, [rsp + 0x20]
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
xor ebx, ebx
lea rdx, str.Studio_One
lea rcx, [rsp + 0x20]
mov word [rsp + 0x34], bx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x18000109c
call fcn.18000112c
test eax, eax
je 0x1800010d2
mov edx, edi
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str._vcruntime140_1.dll
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180003060], rax
test rax, rax
jne 0x1800010d6
xor eax, eax
jmp 0x180001114
lea rbx, [0x180003018]
mov esi, 3
lea rdi, str.__CxxFrameHandler4
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rdi, 0x20
mov qword [rbx], rax
lea rbx, [rbx + 0x20]
sub rsi, 1
je 0x18000110f
mov rax, qword [0x180003060]
jmp 0x1800010e9
mov eax, 1
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret