joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov r10, qword [0x10072a18]
xor edx, edx
mov qword [rsp + 0x38], rbx
test r10, r10
lea rbx, str.TafgD7CU9NFtdjFmf
je 0x100089c9
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
add rcx, r10
mov r11d, dword [rcx + 0x1c]
mov eax, dword [rcx + 0x20]
mov r9d, dword [rcx + 0x24]
add r11, r10
add rax, r10
add r9, r10
test ebx, 0xffff0000
jne 0x10008978
movzx eax, bx
sub eax, dword [rcx + 0x10]
mov edx, dword [r11 + rax*4]
add rdx, r10
call rdx
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x28
ret
mov r8d, dword [rcx + 0x18]
test r8d, r8d
je 0x100089c9
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
nop
nop
mov esi, dword [rax]
mov rdi, rbx
mov ecx, 0x12
add rsi, r10
add r8d, 0xffffffff
repe cmpsb byte [rsi], byte [rdi]
je 0x100089b4
add rax, 4
add r9, 2
test r8d, r8d
jne 0x10008990
jmp 0x100089bf
movzx eax, word [r9]
mov edx, dword [r11 + rax*4]
add rdx, r10
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
call rdx
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x28
ret

Function at 0x1000a9cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x28
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.10028530
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, rdi
mov rsi, rax
je 0x1000aa1d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.1000a354
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
add rsp, 0x28
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x100137f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x1001384e
call fcn.10028530
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1001384e
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x10013870
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.10013274
test rdi, rdi
mov esi, eax
je 0x1001386e
test rbx, rbx
je 0x1001386e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1002c87c
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1002c89f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1002ed3c
add rsp, 0x20
pop rbx
ret
Function at 0x1002c8a8
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1002c8cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1002ed3c
add rsp, 0x20
pop rbx
ret

Function at 0x10037cb7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1006c320]
jne 0x1003446a
rol rcx, 0x10
test cx, 0xffff
jne 0x10034466
repz ret
ror rcx, 0x10
jmp 0x10037c10
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10071b80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x10071c78]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10037c95
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x10071b80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x10037cb7
mov rax, qword [rsp + 0x88]
mov qword [0x10071c78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10071c18], rax
mov rax, qword [0x10071c78]
mov qword [0x10071af0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10071c00], rax
mov dword [0x10071ae0], 0xc0000409
mov dword [0x10071ae4], 1
mov rax, qword [0x1006c320]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1006c328]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x10071b78], eax
mov ecx, 1
call fcn.10043980
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x10059ee8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x10071b78], 0
jne 0x10037d3e
mov ecx, 1
call fcn.10043980
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x10043a40
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.10038820
xor ebx, ebx
cmp qword [0x10072890], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x10043b71
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x10043aa3
xor eax, eax
jmp 0x10043c51
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x10043a9c
mov rcx, rax
call fcn.100387b0
lea rdx, [0x1005afb0]
mov rcx, rbp
mov qword [0x10072890], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.100387b0
lea rdx, [0x1005af98]
mov rcx, rbp
mov qword [0x10072898], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.100387b0
lea rcx, [rsp + 0x30]
mov qword [0x100728a0], rax
call fcn.10036cf0
test eax, eax
je 0x10043b27
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.10037d70
cmp dword [rsp + 0x30], 2
jne 0x10043b71
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.100387b0
test rax, rax
mov qword [0x100728b0], rax
je 0x10043b71
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.100387b0
mov qword [0x100728a8], rax
mov rcx, qword [0x100728a8]
cmp rcx, rsi
je 0x10043c03
cmp qword [0x100728b0], rsi
je 0x10043c03
call fcn.10038880
call rax
test rax, rax
mov rbp, rax
je 0x10043bce
mov rcx, qword [0x100728b0]
call fcn.10038880
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x10043bce
test byte [rsp + 0x48], 1
jne 0x10043c03
lea rcx, [rsp + 0x34]
call fcn.10036d40
test eax, eax
je 0x10043bf0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.10037d70
cmp dword [rsp + 0x34], 4
jb 0x10043bfd
bts edi, 0x15
jmp 0x10043c37
bts edi, 0x12
jmp 0x10043c37
mov rcx, qword [0x10072898]
cmp rcx, rsi
je 0x10043c37
call fcn.10038880
call rax
test rax, rax
mov rbx, rax
je 0x10043c37
mov rcx, qword [0x100728a0]
cmp rcx, rsi
je 0x10043c37
call fcn.10038880
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x10072890]
call fcn.10038880
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140f5fbe8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f5fbf2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f5fc1b
pop rbp
sub rbp, 0x33
sub rbp, 0xf5fbe8
sub rsp, 0x20
jmp 0x140f5fc3a
mov rax, 0xf5fbe8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
call 0xc5b67d90
add byte [rax], al
add byte [rax - 0x39], cl
ror dword [rbx], 6
add byte [rax], al
mov rdx, 0x49e42220
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f5fc59
jmp 0x140f5fc70
push 0xffffffffa9abc9a9
sbb al, 0x20
and byte [rax], ah
push 0x2128e1a1
and byte [rax], ah
push 0xffffffffe768c921
loopne 0x140f5fcaf
and byte [rax], ah
and byte [rax - 0x19], ch
loop 0x140f5fc96
and byte [rax], ah
and byte [rax - 0x29], ch
ret 0x2168
loope 0x140f5fc43
movabs eax, dword [0x70c821682020202c]
jo 0x140f5fd0b
cwde
jo 0x140f5fce1
or byte [rax], ah
and byte [rax], ah
and byte [rax], ah
push 0xffffffffedc0b699
and byte [rax], ah
and byte [rax], ah
and byte [rax + 0x21], ch
leave
push 0xffffffff82fb079a
clc
and byte [rax], ah
and byte [rax], ah
enter 0x2025, 0x20
and cl, cl
and byte ss:[rax], ah
and cl, ah
enter 0x1122, 0x31
push 0x2024e1a1
and byte [rax], ah
push 0xffffffffa52fe8df
invalid
shr ch, 0x20
and byte [rax], ah
and byte [rax], ah
push 0xffffffff9a68c921
invalid
invalid
and byte [rax], ah
and byte [rdx + 0x77], bh
push 0x1168f7a9
jmp 0xe4e80e82
Function at 0x1406fc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406fc1df
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 0x1406fc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406fc06f
add dl, dl
jne 0x1406fc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406fc0f6
xor eax, eax
add dl, dl
jne 0x1406fc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406fc1ad
add dl, dl
jne 0x1406fc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406fc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406fc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406fc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406fc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406fc07e
mov eax, 1
add dl, dl
jne 0x1406fc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406fc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406fc0fb
sub eax, ebx
mov ebx, 1
jne 0x1406fc14c
mov ecx, 1
add dl, dl
jne 0x1406fc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406fc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406fc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406fc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406fc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406fc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406fc15d
cmp eax, 0x7d00
jae 0x1406fc19b
cmp eax, 0x500
jb 0x1406fc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406fc07e
cmp eax, 0x7f
ja 0x1406fc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406fc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406fc1d2
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 0x1406fc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005eac
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rdi, rcx
call fcn.140062444
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Enter_updtShimAPIClass::GetVerifierInfo
mov edx, 3
mov rax, qword [rax + 0x38]
call qword [str._K_f_]
lea rbx, [rdi + 0x1f8]
xor r14d, r14d
mov dword [rbx], r14d
mov byte [rdi + 0x220], r14b
lea rsi, [rdi + 0x200]
lea r8d, [r14 + 7]
lea rdx, [0x1400e85c8]
mov rcx, rsi
call fcn.140001a78
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140005fd2
call fcn.140062444
lea r9d, [r14 + 1]
mov r8, qword [rax]
lea edx, [r14 + 2]
lea rcx, [rsp + 0x50]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str._GetVerifierInfo__Open_key:
mov rcx, rbx
call fcn.140015a04
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov rcx, rbx
call fcn.140015a04
lea rdx, str._failed
mov rcx, rbx
call fcn.140015a04
nop
lea rcx, [rbp - 8]
call fcn.14000c32c
lea rax, [rbp - 8]
mov qword [rbp + 0x90], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 8], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140069698
xor al, al
jmp 0x14000611f
mov dword [rbp + 0x98], 4
lea rax, [rbp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.VerifyDriverLevel
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140006031
call fcn.140062444
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Query_VerifyDriverLevel_failed
mov edx, 2
mov rax, qword [rax + 0x38]
call qword [str._K_f_]
jmp 0x1400060e3
mov dword [rbp + 0x98], r14d
lea rax, [rbp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, str.VerifyDrivers
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400060e3
mov word [rbp + 0x90], r14w
mov edx, dword [rbp + 0x98]
shr rdx, 1
inc rdx
lea r8, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14000c29c
nop
lea rax, [rbp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.VerifyDrivers
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, qword [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400060c6
mov rcx, rsi
call fcn.140001a78
nop
lea rcx, [rsp + 0x30]
call fcn.14000e940
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbx], r14d
setne al
mov byte [rdi + 0x220], al
call fcn.140062444
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Exit_updtShimAPIClass::GetVerifierInfo
mov edx, 3
mov rax, qword [rax + 0x38]
call qword [str._K_f_]
mov al, 1
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140006f54
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
lea rax, [rsp + 0x38]
xor edi, edi
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalNvBackend
mov qword [rsp + 0x38], rdi
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007014
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.Link
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x4e
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007014
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140006ff0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140006ff9
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000f738
mov al, 1
jmp 0x140007016
xor al, al
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006b320
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
Function at 0x14002796c
Capabilities:
Get memory capacity

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140126108]
xor rax, rsp
mov qword [rsp + 0x90], rax
call fcn.140031554
mov rdi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
xor r15d, r15d
test rax, rax
jne 0x1400279bd
jmp 0x140027b12
mov rax, qword [rax + 0x17]
cmp qword [rdi + 0xf], rax
jne 0x1400279cf
mov rcx, rdi
jmp 0x140027b0d
mov ecx, 0x58
call fcn.14006b1c0
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rsi, [rax + 8]
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x10], r15
mov eax, 7
mov qword [rsi + 0x18], rax
mov word [rsi], r15w
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], r15
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], rax
mov word [rbx + 0x30], r15w
mov qword [rsp + 0x40], rbx
mov dword [rbx + 0x28], r15d
mov qword [rbx], r15
mov rax, qword [rdi + 0x17]
sub rax, qword [rdi + 0xf]
sar rax, 3
mov dword [rbx + 0x50], eax
xor r8d, r8d
lea rdx, [0x1400e7f5c]
mov rcx, rsi
call fcn.140001a78
mov r14, r15
mov rcx, qword [rdi + 0xf]
mov rax, qword [rdi + 0x17]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x140027ac8
mov rcx, qword [rcx + r14*8]
cmp word [rcx + 0xc], r15w
je 0x140027ab1
movzx eax, word [rcx + 0xc]
add dword [rbx], eax
movzx eax, word [rcx + 0x15]
cmp dword [rbx + 0x28], eax
jae 0x140027a74
mov dword [rbx + 0x28], eax
cmp qword [rbx + 0x18], r15
jne 0x140027ab1
cmp byte [rcx + 0x12], 0x1f
jae 0x140027a9f
movzx eax, byte [rcx + 0x12]
lea rdx, [0x1400f59e0]
mov rdx, qword [rdx + rax*8]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140027a93
jmp 0x140027aa9
xor r8d, r8d
lea rdx, [0x1400e7f5c]
mov rcx, rsi
call fcn.140001a78
inc r14
mov rcx, qword [rdi + 0xf]
mov rax, qword [rdi + 0x17]
sub rax, rcx
sar rax, 3
cmp r14, rax
jb 0x140027a57
mov esi, 0x40
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140089b10
mov dword [rsp + 0x50], esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140027afb
mov rax, qword [rsp + 0x58]
shr rax, 0x14
mov dword [rbx + 4], eax
mov rcx, rdi
call fcn.140028548
mov rax, rbx
jmp 0x140027b14
call fcn.140028548
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006b320
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140039428
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x270
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rbx, rcx
mov esi, 1
mov edx, dword [rbp + 0x1b8]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14000c4b8
nop
mov r9, qword [rsp + 0x28]
mov r8d, dword [rbp + 0x1b8]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x140039505
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.140062444
mov r9d, esi
mov r8, qword [rax]
lea edx, [rsi + 1]
lea rcx, [rsp + 0x60]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetBasicFileVersion::GetFileVersionInfo_failedError_code_
mov rcx, rbx
call fcn.140015a04
mov edx, edi
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 8]
call fcn.14000c32c
lea rax, [rbp + 8]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 8], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
jmp 0x1400395cf
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [0x1400e7f50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140039554
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + 0xa]
mov word [r15], ax
movzx eax, word [rcx + 8]
mov word [r14], ax
movzx eax, word [rcx + 0xe]
mov word [rdi], ax
movzx ecx, word [rcx + 0xc]
mov rax, qword [rbp + 0x1b0]
mov word [rax], cx
jmp 0x1400395d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.140062444
mov r9d, esi
mov r8, qword [rax]
mov edx, 2
lea rcx, [rbp + 0x68]
call fcn.14000c39c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetBasicFileVersion::VerQueryValue_failedError_code_
mov rcx, rbx
call fcn.140015a04
mov edx, edi
mov rcx, rbx
call fcn.140013980
nop
lea rcx, [rbp + 0x110]
call fcn.14000c32c
lea rax, [rbp + 0x110]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x110], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x110]
call fcn.140069698
xor sil, sil
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140039623
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14003960f
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039643
call fcn.14006b200
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
and qword [rsp + 0x38], 0
mov al, sil
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14008d3ec
int3
Function at 0x140049170
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x1400491cb
mov rax, qword [rcx + 8]
mov r10, qword [rcx]
mov r8, qword [rcx + 0x18]
mov r9, qword [rcx + 0x10]
mov r11d, edx
add r10, rax
add r9, r8
rol rax, 0xd
xor rax, r10
rol r8, 0x10
xor r8, r9
rol r10, 0x20
add r9, rax
add r10, r8
rol rax, 0x11
rol r8, 0x15
xor rax, r9
xor r8, r10
rol r9, 0x20
sub r11, 1
jne 0x140049186
mov qword [rcx + 8], rax
mov qword [rcx], r10
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x10], r9
ret