joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001cc90
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14001ccaa
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001cd6c
bt eax, 0xa
jae 0x14001cd6c
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001ccd0
mov rdx, qword [rbx]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001cce0
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], ax
lea rcx, [rsp + 0x20]
call fcn.140013490
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.14002e89c
shr rax, 0x20
test eax, eax
jne 0x14001cda8
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14001cd6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001cdb5
call fcn.140055f50
cmp qword [rbx + 0x18], 8
jb 0x14001cd76
mov rbx, qword [rbx]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001cd97
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14001cd97
xor al, al
jmp 0x14001cd9d
mov al, 1
jmp 0x14001cd9d
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea r8, [rsp + 0x20]
mov edx, eax
call fcn.14001c350
nop
call fcn.14005f880
int3
Function at 0x1400203b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400bb230]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140020492
cmp byte [rcx + 0x72], 0
je 0x140020492
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
mov rax, qword [rax + 0x18]
call qword [0x140097528]
cmp di, ax
je 0x14002048e
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x140097528]
test eax, eax
je 0x140020454
sub eax, 1
je 0x140020458
cmp eax, 2
jne 0x14002048e
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140055f30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140020485
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1400643d8
cmp rdi, rax
jne 0x14002048e
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14002043c
xor al, al
jmp 0x14002043c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140055f30
add rsp, 0x60
pop rbx
ret

Function at 0x140021130
Capabilities:
Get session information
Get session user name
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400bb230]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rcx], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
lea r8d, [rdi + 7]
lea rdx, str.UNKNOWN
call fcn.140013490
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
jne 0x14002119e
lea rcx, str.Error_retrieving_session_id_for_generating_log_name.
jmp 0x140021213
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov r8d, 5
mov edx, eax
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x14002120c
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14002120c
mov eax, dword [rsp + 0x48]
cmp eax, 2
jbe 0x1400211f2
mov r8d, eax
shr r8, 1
dec r8
mov rcx, rbx
call fcn.140013490
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
jmp 0x140021219
lea rcx, str.WTSQuerySessionInformation_failed_to_retrieve_the_size_of_the_current_user_name_for_the_log_name.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
jmp 0x140021219
lea rcx, str.WTSQuerySessionInformation_failed_to_retrieve_current_user_name_for_the_log_name.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140055f30
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140027000
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400bb230]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov eax, r8d
mov edi, r8d
xor edi, 8
and al, 8
cmove edi, r8d
test rcx, rcx
jne 0x140027039
xor eax, eax
jmp 0x1400270df
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14009bd28]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rbx
test eax, eax
jns 0x140027068
mov edi, ebp
jmp 0x1400270ce
mov r9, rsi
mov r8, rbx
lea rdx, str._s_s
lea rcx, [rsp + 0x30]
call fcn.140026e90
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400270bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
call fcn.140014fc0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bp
test rbx, rbx
je 0x1400270dc
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140055f30
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
xor r8d, r8d
xor edx, edx
jmp 0x140027000

Function at 0x140027100
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400bb230]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov eax, r8d
mov edi, r8d
xor edi, 8
and al, 8
cmove edi, r8d
test rcx, rcx
jne 0x140027039
xor eax, eax
jmp 0x1400270df
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14009bd28]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rbx
test eax, eax
jns 0x140027068
mov edi, ebp
jmp 0x1400270ce
mov r9, rsi
mov r8, rbx
lea rdx, str._s_s
lea rcx, [rsp + 0x30]
call fcn.140026e90
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400270bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
call fcn.140014fc0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bp
test rbx, rbx
je 0x1400270dc
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140055f30
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
xor r8d, r8d
xor edx, edx
jmp 0x140027000

Function at 0x1400271c0
Capabilities:
Delete registry key

Disassembly:
lea rax, vtable.CoreTech::internal::CRegKeyImpl.0
mov qword [rcx], rax
jmp fcn.140027220
Function at 0x140027220
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140027268
cmp byte [rbx + 0x14], 0
je 0x14002724d
lea rdx, [0x1400ad09c]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rbx + 8]
mov byte [rbx + 0x14], 0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 8], 0
mov dword [rbx + 0x10], 0
add rsp, 0x20
pop rbx
ret
xor eax, eax
mov dword [rbx + 0x10], eax
add rsp, 0x20
pop rbx
ret

Function at 0x140027520
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rdi, rdx
mov rbx, rcx
je 0x1400275c7
test rdx, rdx
je 0x1400275c7
cmp byte [0x1400c2d44], 0
jne 0x14002758f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002757f
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c2d48], rax
mov byte [0x1400c2d44], 1
jmp 0x140027596
mov rax, qword [0x1400c2d48]
mov byte [0x1400c2d44], 1
jmp 0x140027596
mov rax, qword [0x1400c2d48]
mov rcx, qword [rbx + 8]
mov rdx, rdi
test rax, rax
je 0x1400275b6
mov r8d, dword [rbx + 0x10]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
mov eax, 0x57
add rsp, 0x20
pop rdi
ret

Function at 0x140027620
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
mov r10d, edx
test rcx, rcx
jne 0x140027638
lea eax, [rcx + 0x57]
add rsp, 0x48
ret
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
test rax, rax
cmovne rdx, rax
xor eax, eax
mov qword [rsp + 0x38], rdx
mov edx, r10d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x48
ret

Function at 0x140027fc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x140028040
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1400bb230]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx + 8]
test rbx, rbx
jne 0x140028078
lea eax, [rbx + 0x57]
jmp 0x140028168
lea rcx, [rsp + 0x48]
call fcn.140027130
nop
mov r9d, dword [rdi + 0x10]
or r9d, 0x2001f
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140027a00
mov ebx, eax
test eax, eax
jne 0x14002815c
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140028141
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140028040
mov ebx, eax
test eax, eax
jne 0x14002815c
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400280f0
lea rcx, [rsp + 0x48]
call fcn.140027220
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0xd0]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.1400271c0
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140055f30
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140028350
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1400bb230]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebp, r8d
mov rsi, rdx
mov r12, rcx
mov edx, ebp
mov rcx, rsi
mov r8, r9
mov r14, r9
call qword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov r15d, dword [rsp + 0x2d0]
test r15d, r15d
je 0x14002848c
test eax, eax
jne 0x14002848c
mov qword [rsp + 0x278], rbx
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x268], r13
xor r13d, r13d
mov edi, r13d
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call fcn.140058840
mov qword [rsp + 0x38], r13
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r13
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], r13
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x14002845d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r13
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140028464
mov rdx, qword [rsp + 0x48]
mov r9, r14
mov r8d, ebp
mov dword [rsp + 0x20], r15d
mov rcx, r12
call fcn.140028350
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140028464
cmp eax, 0x103
je 0x140028472
inc edi
test ebx, ebx
je 0x1400283c3
mov eax, ebx
jmp 0x140028474
xor eax, eax
mov rdi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x278]
mov r13, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140055f30
add rsp, 0x280
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret

Function at 0x140028530
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
test r9, r9
je 0x140028560
mov eax, dword [rsp + 0x60]
cmp eax, 1
jb 0x140028560
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
mov eax, 0x57
add rsp, 0x38
ret
Function at 0x14002ac10
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x20
cmp byte [rcx + 0x20], 0
mov rbx, rdx
mov rsi, rcx
jne 0x14002ace0
cmp qword [rdx + 0x18], 8
mov rcx, rdx
mov dword [rsp + 0x50], 0
jb 0x14002ac3d
mov rcx, qword [rdx]
lea rdx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x14002ace0
mov r9, qword [rsi + 0x10]
mov edx, ebp
mov r8, qword [rsi + 8]
mov rcx, r9
sub rcx, r8
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x40], 0
cmp rbp, rcx
jae 0x14002ac76
lea rax, [r8 + rbp]
jmp 0x14002aca3
jbe 0x14002aca7
mov rax, qword [rsi + 0x18]
sub rax, r8
cmp rdx, rax
jbe 0x14002ac94
lea r8, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.14002a3f0
jmp 0x14002aca7
sub rdx, rcx
lea r8, [rsi + 8]
mov rcx, r9
call fcn.14002a500
mov qword [rsi + 0x10], rax
mov rcx, qword [rsi + 8]
call fcn.140015a60
cmp qword [rbx + 0x18], 8
mov rdi, qword [rsp + 0x48]
jb 0x14002acbf
mov rbx, qword [rbx]
mov r9, rax
mov r8d, ebp
xor edx, edx
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
sete al
mov byte [rsi + 0x20], al
add rsp, 0x20
pop rsi
pop rbp
pop rbx
ret
xor al, al
add rsp, 0x20
pop rsi
pop rbp
pop rbx
ret
Function at 0x140073e4c
Capabilities:
Read file on windows

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 rbx, rcx
test rcx, rcx
jne 0x140073b72
call fcn.14005ffb0
mov dword [rax], 0x16
call fcn.14005f860
jmp 0x140073cbd
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140073cbd
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140073cbd
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140073ba1
lock or dword [rcx + 0x14], 0x10
jmp 0x140073cbd
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140073bb5
call fcn.140074274
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x140073bc5
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x140073bc8
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.140071620
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.14007d7a0
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140073cab
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140073c59
mov rcx, rbx
call fcn.140071620
cmp eax, 0xffffffff
je 0x140073c44
mov rcx, rbx
call fcn.140071620
cmp eax, 0xfffffffe
je 0x140073c44
mov rcx, rbx
call fcn.140071620
movsxd rdi, eax
lea r14, [0x1400c4600]
mov rcx, rbx
sar rdi, 6
call fcn.140071620
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140073c4b
lea rdx, [0x1400bb5e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140073c59
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140073c7d
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140073c7d
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140073c7d
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x140073c9b
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x140073ca6
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x140073cc2
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
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
jmp 0x140073b3c
Function at 0x140c8b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140c8b1df
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 0x140c8b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c8b06f
add dl, dl
jne 0x140c8b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c8b0f6
xor eax, eax
add dl, dl
jne 0x140c8b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c8b1ad
add dl, dl
jne 0x140c8b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c8b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c8b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c8b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c8b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c8b07e
mov eax, 1
add dl, dl
jne 0x140c8b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c8b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c8b0fb
sub eax, ebx
mov ebx, 1
jne 0x140c8b14c
mov ecx, 1
add dl, dl
jne 0x140c8b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c8b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c8b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c8b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c8b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c8b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c8b15d
cmp eax, 0x7d00
jae 0x140c8b19b
cmp eax, 0x500
jb 0x140c8b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c8b07e
cmp eax, 0x7f
ja 0x140c8b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c8b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c8b1d2
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 0x140c8b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400071b0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x5088
call fcn.140008aa0
sub rsp, rax
mov rax, qword [0x14000eb98]
xor rax, rsp
mov qword [rsp + 0x5070], rax
mov qword [rsp + 0x58], 0
mov rax, qword [0x14000ee20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x2ee
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.Java_Accessibility_API_view
lea rdx, str.AccessInfoWin
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140007257
lea rcx, str.cannot_create_API_window
call fcn.1400038e0
xor eax, eax
jmp 0x1400072e3
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x5000
jae 0x140007272
jmp 0x140007277
call fcn.140008874
mov rax, qword [rsp + 0x68]
mov byte [rsp + rax + 0x70], 0
mov r9d, 0x5000
lea r8, [rsp + 0x70]
mov rax, qword [rsp + 0x5090]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x5090]
mov ecx, dword [rax + 0x10]
call fcn.140004330
lea r9, [rsp + 0x70]
mov r8, qword [0x14000ee00]
mov edx, 0x7d1
mov rcx, qword [rsp + 0x60]
call fcn.140004150
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov rcx, qword [rsp + 0x5070]
xor rcx, rsp
call fcn.140008b10
add rsp, 0x5088
ret
Function at 0x140007310
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov dword [rsp + 0x80], 0x50
mov dword [rsp + 0x84], 3
lea rax, [0x140007950]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 0
mov rax, qword [0x14000ee20]
mov qword [rsp + 0x98], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0xa8], rax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xb0], rax
lea rax, str.JACCESSWALKERMENU
mov qword [rsp + 0xb8], rax
lea rax, [0x14000eb60]
mov qword [rsp + 0xc0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov dword [rsp + 0x80], 0x50
mov rax, qword [0x14000ee20]
mov qword [rsp + 0x98], rax
lea rax, str.AccessInfoWin
mov qword [rsp + 0xc0], rax
lea rax, [0x140007f10]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x84], 0
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0xc8], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0xa8], rax
lea rax, [0x14000bca2]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 0
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], 0
mov rax, qword [0x14000ee20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, [0x14000eb60]
lea rdx, [0x14000eb60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [0x14000edf0], rax
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x74], 2
lea rcx, [rsp + 0x70]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [rsp + 0x118]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_UpdateWindow]
call section..text
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400075a3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x14000759e
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140007566
call fcn.1400020d0
mov rax, qword [rsp + 0x110]
add rsp, 0x108
ret
Function at 0x1400075c0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, 0xffffffffffff0000
xor r8d, r8d
mov edx, 0x1101
mov rcx, qword [0x14000ee18]
call qword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
lea rcx, [0x140007c60]
call qword [sym.imp.USER32.dll_EnumWindows]
add rsp, 0x28
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140013190
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
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, 0x28
ret