joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff72e2e1bb0
Capabilities:
Contain obfuscated stackstrings
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x7ff72e3c3a28]
xor rax, rsp
mov qword [rbp], rax
movups xmm0, xmmword [str.Unknown]
mov r14, rdx
mov r15, rcx
xorps xmm1, xmm1
xor edx, edx
mov rcx, r14
movaps xmmword [rbp - 0x80], xmm0
movzx r12d, r8b
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x7ff72e2e1cfa
mov ecx, esi
lea rdx, [0x7ff72e3a00b4]
call fcn.7ff72e32ab48
mov rdi, rax
test rax, rax
je 0x7ff72e2e1cfa
lea rdx, [0x7ff72e3a00b4]
mov ecx, 4
call fcn.7ff72e32a284
mov rbx, rax
test rax, rax
je 0x7ff72e2e1cf2
mov r9, rdi
mov dword [rax], 1
mov r8d, esi
xor edx, edx
mov rcx, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x7ff72e2e1cd6
xor eax, eax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [0x7ff72e39a2b0]
mov dword [rsp + 0x50], eax
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x7ff72e2e1cd6
mov rdx, qword [rsp + 0x58]
movzx ecx, word [rdx + 0xc]
movzx r8d, word [rdx + 0xe]
movzx eax, word [rdx + 8]
movzx r9d, word [rdx + 0xa]
mov edx, 0x40
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x28], r8d
lea r8, str._u._u._u._u
mov dword [rsp + 0x20], eax
call fcn.7ff72e2cb0d0
sub dword [rbx], 1
jne 0x7ff72e2e1cfa
mov rcx, rdi
call fcn.7ff72e32ab40
mov edx, 4
mov rcx, rbx
call fcn.7ff72e329cb8
jmp 0x7ff72e2e1cfa
mov rcx, rdi
call fcn.7ff72e32ab40
call fcn.7ff72e2d2760
mov edx, 0x800
mov r8d, 1
mov rcx, r14
mov rbx, rax
call fcn.7ff72e2ee070
mov rdi, rax
call fcn.7ff72e2d2760
movdqa xmm0, xmmword [str.NvcPluginLoadHeS]
lea rdx, [rsp + 0x60]
mov rcx, qword [r15]
mov rsi, rax
mov r9d, 3
mov dword [rsp + 0x70], 0x7265706c
lea rax, [rbp - 0x80]
mov dword [rsp + 0x74], 0x336e6957
sub esi, ebx
mov dword [rsp + 0x78], 0x70632e32
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rdi
lea r8d, [r9 + 0x71]
mov qword [rsp + 0x30], rax
lea rax, str.Secure_loading__ls____ls_at__p_took__lu_microseconds
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x7c], 0x70
call fcn.7ff72e2d6d80
test rdi, rdi
je 0x7ff72e2e1d9f
test r12b, r12b
je 0x7ff72e2e1d9f
mov rax, qword [r15 + 0x30]
test rax, rax
je 0x7ff72e2e1d9f
mov dword [rax + 0x40], esi
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.7ff72e329d50
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x7ff72e2e78c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x7ff72e2e799f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x7ff72e2e78f7
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x7ff72e2e79a2
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x7ff72e2e7946
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x7ff72e2e7950
test rax, rax
je 0x7ff72e2e799f
lfence
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x7ff72e2e7990
cmp rdx, rax
jb 0x7ff72e2e7970
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff72e2ee070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov r14d, r8d
xor ecx, ecx
mov ebp, edx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x7ff72e2ee1d5
movzx eax, word [rbx]
cmp eax, 0x5c
je 0x7ff72e2ee0d3
cmp eax, 0x2f
je 0x7ff72e2ee0d3
mov ecx, eax
call fcn.7ff72e368cd0
test eax, eax
je 0x7ff72e2ee1d5
cmp word [rbx + 2], 0x3a
jne 0x7ff72e2ee1d5
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x7ff72e2ee0d3
cmp ax, 0x2f
jne 0x7ff72e2ee1d5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7ff72e2ee1b9
test al, 0x50
jne 0x7ff72e2ee1b9
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov edx, 0x80000000
mov rcx, rbx
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff72e2ee140
lea ecx, [rax + 0x21]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
test r14d, r14d
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
cmove rdx, rdi
call fcn.7ff72e2eeda0
test eax, eax
je 0x7ff72e2ee18b
test r14d, r14d
je 0x7ff72e2ee174
cmp dword [rsp + 0x60], edi
jne 0x7ff72e2ee174
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x7ff72e2ee18b
and ebp, 0xffffe8f7
xor edx, edx
mov r8d, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rsi, rsi
je 0x7ff72e2ee1a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x7ff72e2ee12a
xor ecx, ecx
jmp 0x7ff72e2ee124
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x7ff72e2f6d60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x88
mov rax, qword [0x7ff72e3c3a28]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp qword [rcx + 0x18], 8
jb 0x7ff72e2f6d80
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x7ff72e2f6dad
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x7ff72e2f6dc7
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.7ff72e329d50
add rsp, 0x88
ret
shr eax, 0xa
and al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.7ff72e329d50
add rsp, 0x88
ret
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.7ff72e2d3190
nop
mov r8, rax
lea rdx, str.GetFileAttributes___failed:
lea rcx, [rsp + 0x58]
call fcn.7ff72e2d1730
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.7ff72e2d1e00
lea rdx, [0x7ff72e3c10c0]
lea rcx, [rsp + 0x20]
call fcn.7ff72e32bf90
int3
Function at 0x7ff72e352ce0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x7ff72e352acf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff72e352acf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff72e352acf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff72e352acf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff72e352acf
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff72e352acf
cmp dword [rcx + 0xf8], 0
je 0x7ff72e352acf
mov ecx, ebx
call fcn.7ff72e352c00
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.7ff72e352854
cmp dword [rbp + 0x20], 0
je 0x7ff72e352b1c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.7ff72e352b24
int3
xor r8d, r8d
xor edx, edx
jmp 0x7ff72e352a68
Function at 0x140002440
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140018210]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r8d, 0x40
lea rdx, [rsp + 0x20]
lea rcx, str._MSI_TEST
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
je 0x1400024a8
movzx eax, word [rsp + 0x20]
lea rdx, [rsp + 0x20]
test eax, eax
je 0x1400024a6
mov ecx, dword [0x140018e44]
and eax, 0x1f
lea rdx, [rdx + 2]
bts ecx, eax
movzx eax, word [rdx]
test eax, eax
jne 0x14000248f
mov dword [0x140018e44], ecx
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400107f0
add rsp, 0xb8
ret
Function at 0x1400046b8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140018210]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r12, rdx
mov r8, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x30]
xor r15d, r15d
xor r14d, r14d
call fcn.1400012b4
lea r8, [0x140012dd0]
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400013d8
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140004769
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140004861
mov rcx, qword [rbp + 0x178]
lea edx, [rdi - 0x3b]
call fcn.140003410
mov esi, eax
jmp 0x140004847
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.1400048c4
mov esi, eax
test eax, eax
jns 0x1400047a7
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.1400033d4
mov rcx, rbx
call fcn.1400043f8
jmp 0x140004847
lea r8, [0x140012dd8]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400013d8
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400047f0
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.140003410
mov esi, eax
jmp 0x14000479a
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400048c4
mov esi, eax
test eax, eax
jns 0x140004824
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.1400033d4
mov rcx, rdi
call fcn.1400043f8
jmp 0x14000479a
mov rcx, rdi
call fcn.1400043f8
movsxd rax, dword [rsp + 0x24]
mov rcx, rbx
movsxd r14, dword [rsp + 0x20]
shl r14, 0x1f
or r14, rax
call fcn.1400043f8
xor esi, esi
test esi, esi
jns 0x140004861
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x62
call fcn.1400033d4
jmp 0x140004866
mov r15, r14
xor esi, esi
test esi, esi
jns 0x140004882
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x6b
call fcn.1400033d4
mov eax, esi
jmp 0x14000488f
mov rax, r15
shl rax, 2
mov qword [r12], rax
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400107f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000b508
Capabilities:
Check os version

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetVersion]
nop dword [rax + rax]
test eax, eax
js 0x14000b565
cmp al, 6
jb 0x14000b565
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x14000b565
lea rdx, str.HeapSetInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x14000b565
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [0x140012758]
add rsp, 0x38
ret
Function at 0x140010004
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp byte [0x14001944c], bl
jne 0x1400100b9
cmp byte [0x1400190f8], bl
je 0x1400100b9
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x1400100ca
lea rdx, str.GetSystemWow64DirectoryW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
jne 0x140010076
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor edi, edi
jmp 0x140010096
mov edx, 0x105
mov rcx, rdi
call qword [0x140012758]
mov edi, eax
test eax, eax
jne 0x140010098
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, edi
jmp 0x1400100ca
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140010b98
Capabilities:
Print debug messages

Disassembly:
jmp 0x140010ba4
push rbx
sub rsp, 0x540
mov rax, qword [0x140018210]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140010c21
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140010c41
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400107f0
add rsp, 0x540
pop rbx
ret
Function at 0x140010ba4
Capabilities:
Print debug messages

Disassembly:
jmp 0x140010ba4
push rbx
sub rsp, 0x540
mov rax, qword [0x140018210]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140010c21
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140010c41
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400107f0
add rsp, 0x540
pop rbx
ret

Function at 0x140010e6c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140010eb8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140010eb0
cmp dword [rcx + 0x3c], edx
jl 0x140010eb0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140010eb0
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 0x140010eb8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14554a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14554a1df
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 0x14554a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14554a06f
add dl, dl
jne 0x14554a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14554a0f6
xor eax, eax
add dl, dl
jne 0x14554a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14554a1ad
add dl, dl
jne 0x14554a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14554a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14554a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14554a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14554a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14554a07e
mov eax, 1
add dl, dl
jne 0x14554a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14554a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14554a0fb
sub eax, ebx
mov ebx, 1
jne 0x14554a14c
mov ecx, 1
add dl, dl
jne 0x14554a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14554a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14554a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14554a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14554a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14554a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14554a15d
cmp eax, 0x7d00
jae 0x14554a19b
cmp eax, 0x500
jb 0x14554a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14554a07e
cmp eax, 0x7f
ja 0x14554a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14554a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14554a1d2
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 0x14554a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400095c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x990]
sub rsp, 0xa90
mov rax, qword [0x14006c038]
xor rax, rsp
mov qword [rbp + 0x980], rax
mov rbx, r8
mov esi, edx
mov rdi, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x180]
call fcn.14001cd80
lea r14, [rbp + 0x9d8]
call fcn.140004740
mov qword [rsp + 0x30], r14
lea rdx, [rbp + 0x180]
mov qword [rsp + 0x28], 0
mov r9, 0xffffffffffffffff
mov r8d, 0x400
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
call fcn.140028db8
test dword [rdi + 0x63c], esi
je 0x14000965c
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
lea rcx, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x40], rax
mov r8d, 0x200
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call fcn.14001cd80
test sil, 1
je 0x1400096b3
lea r8, str.ZONE_ERROR
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
test sil, 2
je 0x1400096cf
lea r8, str.ZONE_WARN
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
test sil, 4
je 0x1400096eb
lea r8, str.ZONE_FUNCTION
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
test sil, 8
je 0x140009707
lea r8, str.ZONE_VERBOSE
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
test sil, 0x10
je 0x140009723
lea r8, str.ZONE_EVENT
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
test sil, 0x40
je 0x14000973f
lea r8, str.ZONE_GET
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
test sil, sil
jns 0x14000975a
lea r8, str.ZONE_SRVEVENT
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
bt esi, 8
jae 0x140009776
lea r8, str.ZONE_VERBOSE_2
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
bt esi, 9
jae 0x140009792
lea r8, str.ZONE_EVENTLOG
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
bt esi, 0xa
jae 0x1400097ae
lea r8, str.ZONE_EVENTLOG_VERBOSE_2
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140002050
lea rax, [rbp + 0x180]
mov edx, 0x200
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, str._FMAPOService__s::_s
lea rcx, [rbp - 0x80]
call fcn.140002050
mov rcx, qword [rbp + 0x980]
xor rcx, rsp
call fcn.140019840
add rsp, 0xa90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000a0b0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.14001a240
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x1510], rbx
mov qword [rsp + 0x1518], rsi
mov r14d, edx
mov r15, rcx
mov rsi, qword [rbp + 0x1428]
xor r12d, r12d
mov word [rbp + 0x3d0], r12w
mov byte [rbp - 0x30], r12b
mov rbx, qword [rbp + 0x1430]
mov ecx, dword [rbx]
mov dword [rsp + 0x38], ecx
mov eax, dword [rbx + 4]
mov dword [rsp + 0x3c], eax
call fcn.140004ca0
mov edi, eax
mov dword [rsp + 0x30], 3
mov ecx, r12d
mov eax, 8
cmp byte [rbx + 8], cl
cmovne ecx, eax
mov dword [rsp + 0x34], ecx
mov ecx, 1
lock xadd dword [0x140070110], ecx
inc ecx
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x48], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x50], eax
lea rax, str.c:usersdivynslindesktopmy_pcnb_forte_svn_fmservice_code_fmservice_1_w11_all_fmservice_1_84_support_dat_pacxpackagesmicrosoft.windows.implementationlibrary.1.0.210204.1includewil_resource.h
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], r14d
mov dword [rsp + 0x74], edi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], r15
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov rax, qword [0x1400701c8]
test rax, rax
je 0x14000a1b4
call rax
mov qword [rbp - 0x50], rax
jmp 0x14000a1b8
mov qword [rbp - 0x50], r12
mov rax, qword [0x1400701d8]
test rax, rax
je 0x14000a1d5
mov r8d, 0x400
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call rax
mov rax, qword [0x1400701d0]
test rax, rax
je 0x14000a1e8
lea rcx, [rsp + 0x30]
call rax
mov rax, qword [0x140070190]
test rax, rax
je 0x14000a1fb
lea rcx, [rsp + 0x30]
call rax
cmp dword [rsp + 0x38], r12d
jl 0x14000a218
mov dword [rsp + 0x38], 0x8000ffff
mov ecx, 0x8000ffff
call fcn.140004ee0
mov dword [rsp + 0x3c], eax
cmp byte [0x140070201], r12b
jne 0x14000a269
mov rax, qword [0x140070208]
test rax, rax
je 0x14000a235
call rax
movzx r12d, al
jmp 0x14000a241
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne r12b
test r12d, r12d
jne 0x14000a269
mov rax, qword [0x140070210]
test rax, rax
je 0x14000a2bf
cmp byte [0x1400701f0], r12b
jne 0x14000a2bf
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call rax
jmp 0x14000a2bf
mov rax, qword [0x140070210]
test rax, rax
je 0x14000a292
cmp byte [0x1400701f0], 0
jne 0x14000a292
mov r8d, 0x800
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x30]
call rax
cmp word [rbp + 0x3d0], 0
jne 0x14000a2b2
lea r8, [rsp + 0x30]
mov edx, 0x800
lea rcx, [rbp + 0x3d0]
call fcn.1400048d0
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x140070200], 0
je 0x14000a2d7
mov rax, qword [0x1400701c0]
test rax, rax
je 0x14000a2d7
call rax
nop
lea rcx, [rsp + 0x30]
call fcn.140005e10
int3