joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005bbf0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18005be40
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18005bd0b
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18005bc54
mov rax, qword [0x180095008]
cmp qword [rsp + 0x20], rax
ja 0x18005bc54
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005bc16
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18005bc86
jmp 0x18005bd0b
cmp dword [rsp + 0x50], 0x10000
jne 0x18005bcee
cmp qword [rsp + 0x48], 0x10000
jb 0x18005bcee
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005bccc
mov rax, qword [rsp + 0x28]
jmp 0x18005bd0d
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18005bcdc
xor eax, eax
jmp 0x18005bd0d
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005bd06
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18005be40
mov qword [rsp + 0x20], rax
jmp 0x18005bc16
xor eax, eax
add rsp, 0x68
ret

Function at 0x18005bd20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18005be80
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18005be37
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18005bd7b
mov rax, qword [0x180095008]
cmp qword [rsp + 0x20], rax
ja 0x18005bd7b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005bd3d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18005bdad
jmp 0x18005be37
cmp dword [rsp + 0x50], 0x10000
jne 0x18005be15
cmp qword [rsp + 0x48], 0x10000
jb 0x18005be15
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005bdf3
mov rax, qword [rsp + 0x28]
jmp 0x18005be39
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18005be03
xor eax, eax
jmp 0x18005be39
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005be32
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18005be80
mov qword [rsp + 0x20], rax
jmp 0x18005bd3d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18005bed0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18005c460
mov qword [rsp + 0x28], 0
cmp qword [0x180095528], 0
jne 0x18005bf18
cmp qword [0x180095520], 0
je 0x18005bf18
mov rax, qword [0x180095520]
mov qword [0x180095528], rax
cmp qword [0x180095528], 0
je 0x18005bfbe
mov rax, qword [0x180095528]
cmp qword [rax + 0x10], 0
je 0x18005bfbe
mov rax, qword [0x180095528]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005bfbe
mov rax, qword [0x180095528]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005bfbe
mov rax, qword [0x180095528]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18005bf84
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18005bf8b
xor eax, eax
jmp 0x18005c135
mov rax, qword [0x180095528]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x18005c135
mov rax, qword [0x180095520]
mov qword [0x180095528], rax
jmp 0x18005bfe0
mov rax, qword [0x180095528]
mov rax, qword [rax + 8]
mov qword [0x180095528], rax
cmp qword [0x180095528], 0
je 0x18005c02d
cmp qword [0x180095528], 0
je 0x18005c02b
mov rax, qword [0x180095528]
cmp qword [rax + 0x10], 0
je 0x18005c02b
mov rax, qword [0x180095528]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005c02b
mov rax, qword [0x180095528]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005c02b
jmp 0x18005bf5c
jmp 0x18005bfce
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18005c140
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18005c133
mov rax, qword [rsp + 0x48]
mov qword [0x180095528], rax
mov rax, qword [0x180095528]
mov dword [rax], 0x52727464
mov rax, qword [0x180095528]
mov qword [rax + 0x10], 0
mov rax, qword [0x180095528]
mov rcx, qword [0x180095520]
mov qword [rax + 8], rcx
mov rax, qword [0x180095528]
mov qword [0x180095520], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180095528]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18005c0e4
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18005c11e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18005c0da
mov rax, qword [0x180095528]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18005bf5c
xor eax, eax
add rsp, 0x58
ret
Function at 0x18005ce50
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18005ce97
xor al, al
jmp 0x18005cf39
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x18005cec1
xor al, al
jmp 0x18005cf39
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x18005cf31
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x18005cf31
mov al, 1
jmp 0x18005cf39
jmp 0x18005cf37
xor al, al
add rsp, 0x78
ret

Function at 0x18005d240
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180095520]
mov qword [rsp + 0x28], rax
jmp 0x18005d260
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005d28f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18005d28d
call sub.KERNEL32.dll_GetLastError
jmp 0x18005d291
jmp 0x18005d252
xor eax, eax
add rsp, 0x38
ret
Function at 0x18005d960
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180095538], eax
je 0x18005d98d
mov eax, 0x10dd
jmp 0x18005dba7
cmp dword [0x18009553c], 0
je 0x18005d9a1
mov eax, dword [0x18009553c]
jmp 0x18005dba7
cmp qword [rsp + 0x78], 0
jne 0x18005d9b3
mov eax, 0x57
jmp 0x18005dba7
cmp qword [rsp + 0x70], 0
jne 0x18005d9c5
mov eax, 6
jmp 0x18005dba7
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x18005d9f7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x18009553c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x180095540], rax
mov eax, dword [rsp + 0x20]
jmp 0x18005dba7
mov ecx, 0x30
call fcn.18005fce0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18005da6a
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x18009553c], eax
cmp qword [rsp + 0x30], 0
je 0x18005da55
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.18005fcd8
nop
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x180095540], rax
mov eax, dword [rsp + 0x20]
jmp 0x18005dba7
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.18005d930
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.18005d930
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x18005dac7
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x18005dae4
mov dword [rsp + 0x20], 9
cmp dword [0x180095530], 0
je 0x18005dadf
jmp 0x18005da2a
jmp 0x18005da20
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x18005db11
mov dword [rsp + 0x20], 9
cmp dword [0x180095530], 0
je 0x18005db0c
jmp 0x18005da2a
jmp 0x18005da20
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18005db48
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x18005da20
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x180095550]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x180095550], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x18005dbb0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180095538], eax
je 0x18005dbcb
mov eax, 0x10dd
jmp 0x18005dcf4
mov rax, qword [0x180095550]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005dc77
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
nop
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x18005dc41
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x18005dc41
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.18005c5a0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.18005fcd8
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x18005dbd7
mov qword [0x180095550], 0
call fcn.18005d000
nop
mov rax, qword [0x180095548]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x18005dcdd
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.18005fcd8
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x18005dc94
mov qword [0x180095548], 0
mov dword [0x180095538], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x18005e220
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18009553c], 0
je 0x18005e23d
mov eax, dword [0x18009553c]
jmp 0x18005e304
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x18005e250
xor eax, eax
jmp 0x18005e304
mov ecx, 0x10
call fcn.18005fce0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18005e2bf
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x18005e2a4
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.18005fcd8
nop
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18009553c], eax
mov qword [0x180095540], 0
mov eax, dword [rsp + 0x20]
jmp 0x18005e304
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x18005e2d9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x18005e279
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180095548]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180095548], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400266c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400266cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400266dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400266c5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x1400266f5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400266e2
sub eax, 3
jb 0x14002670f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140026746
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140026736
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140026734
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140026723
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140026682
jmp 0x1400266cd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xfc00
mov dl, 3
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140026796
cmp rsi, rcx
jae 0x14002679e
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14002677d
cmp al, 0x8f
ja 0x14002677d
cmp byte [rsi - 2], 0xf
je 0x140026783
sub al, 0xe8
cmp al, 1
ja 0x140026767
cmp rsi, rcx
jae 0x14002679e
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14002676d
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002679e
lodsb al, byte [rsi]
jmp 0x14002677d
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x23000]
mov eax, dword [rdi]
or eax, eax
je 0x1400267fb
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x261e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400267ab
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400267f5
mov qword [rbx], rax
add rbx, 8
jmp 0x1400267cb
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140026835
cmp al, 0xef
ja 0x140026827
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140026807
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140026816
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140026889
sub rsp, 0xffffffffffffff80
jmp 0x14000f618
Function at 0x140009450
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
test edx, edx
je 0x1400094ed
test r8, r8
jne 0x14000949c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
cmp rax, 0xffffffffffffffff
je 0x1400094ed
lea r8d, [rcx + 0x3b]
lea rdx, str.VisualPlugIn::KeyInput_cannot_use_a_null_character_buffer._n
jmp 0x1400094d0
cmp qword [rcx + 0x430], 0
jne 0x1400094ed
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
cmp rax, 0xffffffffffffffff
je 0x1400094ed
lea r8d, [rcx + 0x34]
lea rdx, str.VisualPlugIn::No_HWND_to_post_keyboard_messages_to._n
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400094ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183d70
add rsp, 0x48
ret

Function at 0x140009510
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r10, rdx
mov r9, rcx
test rdx, rdx
jne 0x14000956c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edx, edx
mov dword [rsp + 0x30], edx
cmp rax, 0xffffffffffffffff
je 0x14000962d
mov qword [rsp + 0x20], rdx
lea r8d, [rdx + 0x17]
lea rdx, str.NameIs:_inName_is_null_n
jmp 0x140009615
test r8w, r8w
jne 0x1400095a7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edx, edx
mov dword [rsp + 0x30], edx
cmp rax, 0xffffffffffffffff
je 0x14000962d
mov qword [rsp + 0x20], rdx
lea r8d, [rdx + 0x1a]
lea rdx, str.NameIs:_inNameLength_is_0_n
jmp 0x140009615
cmp r8w, word [rcx + 0x220]
je 0x140009647
movzx eax, word [rcx + 0x20]
mov edx, 0x100
movzx r9d, r8w
lea rcx, [rsp + 0x40]
lea r8, str.NameIs:_inNameLength__d____mName_0____d__n
mov dword [rsp + 0x20], eax
call fcn.140008bb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edx, edx
mov dword [rsp + 0x30], edx
cmp rax, 0xffffffffffffffff
je 0x14000962d
lea rcx, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], dl
jne 0x140009602
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000962d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140183d70
add rsp, 0x158
ret
xor edx, edx
cmp dx, r8w
jae 0x14000966c
nop
movzx ecx, dx
movzx eax, word [r9 + rcx*2 + 0x222]
cmp word [r10 + rcx*2], ax
jne 0x14000962d
inc dx
cmp dx, r8w
jb 0x140009650
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140183d70
add rsp, 0x158
ret
Function at 0x140009ee0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, word [r8]
lea r14, [r8 + 2]
mov rcx, qword [rdx]
cmp eax, r9d
mov esi, r9d
mov rbx, rdx
cmovle si, ax
mov rax, qword [rdx + 8]
sub rax, rcx
xor ebp, ebp
cmp rax, 2
jae 0x140009f6f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], ebp
cmp rax, 0xffffffffffffffff
je 0x140009f83
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbp
lea r8d, [rbp + 0x24]
mov rcx, rax
lea rdx, str.Insufficient_space_in_the_flattener.
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140009f83
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140009f83
movzx eax, si
shr ax, 8
mov byte [rcx], al
mov rax, qword [rdx]
mov byte [rax + 1], sil
add qword [rdx], 2
movzx edi, bp
cmp bp, si
jae 0x14000a00c
nop
mov rdx, qword [rbx]
movzx eax, di
movzx ecx, word [r14 + rax*2]
mov rax, qword [rbx + 8]
sub rax, rdx
cmp rax, 2
jae 0x140009ff1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [rsp + 0x30], ebp
cmp rax, 0xffffffffffffffff
je 0x14000a004
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbp
mov r8d, 0x24
lea rdx, str.Insufficient_space_in_the_flattener.
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000a004
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000a004
movzx eax, cx
shr ax, 8
mov byte [rdx], al
mov rax, qword [rbx]
mov byte [rax + 1], cl
add qword [rbx], 2
inc di
cmp di, si
jb 0x140009f90
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183d70
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14000a030
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov rcx, qword [rcx + 0xc48]
test rcx, rcx
jne 0x14000a085
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov dword [rsp + 0x58], ecx
cmp rax, 0xffffffffffffffff
je 0x14000a138
lea r8d, [rcx + 0x25]
lea rdx, str.Cannot_boink_this_plugin._No_module._n
jmp 0x14000a11b
lea rdx, str.iTunesPluginMain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0xc50], rax
test rax, rax
je 0x14000a0f1
xor ecx, ecx
mov dword [rsp + 0x30], 0xa
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x50], ecx
xor r8d, r8d
lea rcx, [0x14000acc0]
mov dword [rsp + 0x34], 9
mov qword [rsp + 0x40], rcx
mov ecx, 0x696e6974
mov qword [rsp + 0x38], rbx
call rax
test eax, eax
sete al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140183d70
add rsp, 0x70
pop rbx
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov dword [rsp + 0x58], ecx
cmp rax, 0xffffffffffffffff
je 0x14000a138
lea r8d, [rcx + 0x41]
lea rdx, str.Could_not_find_proc_address_for_iTunesPluginMain_in_this_plugin._n
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000a138
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140183d70
add rsp, 0x70
pop rbx
ret