joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400115c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor r13d, r13d
mov rsi, rdx
lea rdx, str.NgscbCheckIsAOACDevice
mov byte [rbp - 0x1f], r13b
mov byte [rbp - 0x20], r13b
mov rbx, r9
mov qword [rbp - 0x10], r13
mov rdi, r8
mov byte [rbp - 0x1e], r13b
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
je 0x140011795
lea rdx, str.NgscbCheckIsHSTIVerified
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x140011795
lea rdx, str.NgscbCheckHSTIPrerequisitesVerified
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
je 0x140011795
lea rdx, str.NgscbCheckDmaSecurity
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x140011795
lea rcx, [rbp - 0x1f]
mov rax, r12
call qword [0x140022378]
test eax, eax
js 0x14001168a
cmp byte [rbp - 0x1f], 0
jne 0x140011795
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x20]
mov rax, r15
call qword [0x140022378]
test eax, eax
js 0x140011782
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140011782
xor r8d, r8d
lea rcx, [rbp - 0x1e]
mov rax, r14
call qword [0x140022378]
test eax, eax
js 0x1400116cd
cmp byte [rbp - 0x1e], 0
jne 0x1400116e0
mov r9, rbx
mov r8, rdi
mov edx, 0x3c0
mov rcx, rsi
call fcn.14001151c
cmp byte [rbp - 0x20], 0
jne 0x140011762
and dword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
and dword [rbp - 0x1c], 0
lea r8, str.HSTIVerificationRequired
mov qword [rsp + 0x30], rax
lea rdx, str.SYSTEMCurrentControlSetControlBitLockerAutoDEHSTI
lea rax, [rbp - 0x1c]
mov r9d, SafeArrayLock
mov qword [rsp + 0x28], rax
mov rcx, 0xffffffff80000002
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
cmp edx, 0x80070002
jne 0x140011746
xor edx, edx
xor ecx, ecx
mov dword [rbp - 0x1c], ecx
jmp 0x140011749
mov ecx, dword [rbp - 0x1c]
test edx, edx
js 0x140011782
movzx eax, byte [rbp - 0x20]
test ecx, ecx
mov edx, 1
cmove eax, edx
mov byte [rbp - 0x20], al
test al, al
je 0x140011782
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140011782
lea rcx, [rbp - 0x20]
mov rax, r13
call qword [0x140022378]
test eax, eax
js 0x140011782
cmp byte [rbp - 0x20], 0
jne 0x140011795
mov r9, rbx
mov r8, rdi
mov edx, 0x3bf
mov rcx, rsi
call fcn.14001151c
cmp qword [rbp - 0x10], 0
je 0x1400117b1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x10]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140012048
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x140035868]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, r9d
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x40], 0x208
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
mov edx, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
xor edi, edi
test eax, eax
je 0x1400121cc
mov edx, 0x153
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
test eax, eax
je 0x1400121cc
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400121d1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
mov r8, r15
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rax, qword [rsi]
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rsi
mov rax, qword [rax + 0x60]
call qword [0x140022378]
test ebx, ebx
js 0x14001219f
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
mov r10, rax
mov r8, qword [rsi]
mov rax, qword [r8 + 0x60]
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, r10
lea rdx, [r14 + 0x38]
mov rcx, rsi
call qword [0x140022378]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
jmp 0x1400121bf
mov rax, qword [rsi]
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x48]
lea rdx, [r14 + 0x38]
mov rcx, rsi
mov rax, qword [rax + 0x60]
call qword [0x140022378]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400121d1
mov edi, 0x80070490
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14001cbc0
add rsp, 0x298
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001a41c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xa0
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140035868]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov rcx, qword [rcx + 0x48]
xor r15d, r15d
test rcx, rcx
je 0x14001a643
mov rdi, qword [rsi + 0x50]
test rdi, rdi
jne 0x14001a48a
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140022378]
mov rdi, rax
test rax, rax
je 0x14001a643
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x60]
mov rcx, rdi
call qword [0x140022378]
test eax, eax
jne 0x14001a4e6
mov rbx, qword [rsi + 0x48]
cmp dword [rsi + 0x98], r15d
je 0x14001a4d0
test rbx, rbx
je 0x14001a4e6
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001a4e6
lea r8d, [rax + 1]
mov rdx, rdi
call fcn.140009278
mov rcx, qword [rbx + 0x30]
call fcn.14000932c
jmp 0x14001a4e6
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14001b670
test eax, eax
je 0x14001a643
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x14001a594
mov r14d, SafeArrayLock
mov dword [rsp + 0x40], r14d
xor edx, edx
lea r8d, [r14 + 0x10]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov r8, qword [rsi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], r15w
jne 0x14001a540
lea rcx, [rsp + 0x78]
test rax, rax
jne 0x14001a561
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x14001a56e
or r9, 0xffffffffffffffff
mov rdx, r14
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
mov rax, qword [rdi]
lea r9, [rsp + 0x78]
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0xa0]
call qword [0x140022378]
jmp 0x14001a62d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
mov rdi, qword [0x1400382c0]
call qword [sym.imp.MFC42u.dll_Ordinal_1463]
mov qword [rax + 0x18], rdi
mov edx, 0x75
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
mov r9d, 0x30
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001a621
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
jmp 0x14001a634
cmp rbx, 0xffffffffffffffff
je 0x14001a643
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14001cbc0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14001a9c4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov rbx, rcx
mov rdi, qword [rcx + 0x3b8]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, rdi
jne 0x14001aa2f
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14001aa2f
mov rcx, qword [rbx + 0x3b8]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14001aa2f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x301
mov rcx, qword [rbx + 0x3b8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14001abd7
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rdx, [0x140022b78]
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
mov rcx, rbx
call fcn.140018ea8
mov rsi, rax
test rax, rax
je 0x14001abcd
mov rcx, qword [rax]
mov rax, qword [rcx + 0x30]
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 0x67]
mov rcx, rsi
call qword [0x140022378]
mov dword [rbp - 0x29], 4
and dword [rbp - 0x21], 0
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
jmp 0x14001ab4c
mov dword [rbp - 0x25], r14d
lea r9, [rbp - 0x29]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14001ab31
movsxd rax, dword [rbp + 0x6f]
cmp qword [rbp - 1], rax
jge 0x14001ab20
xor edi, edi
cmp dword [rbp + 0x67], edi
jle 0x14001ab20
mov rax, qword [rsi]
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x7f]
mov r8d, edi
mov edx, dword [rbp - 1]
mov rcx, rsi
mov rax, qword [rax + 0x50]
call qword [0x140022378]
test eax, eax
je 0x14001ab19
test edi, edi
je 0x14001ab0b
lea rdx, [0x140024044]
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_Ordinal_1287]
mov rdx, qword [rbp + 0x7f]
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_Ordinal_1284]
inc edi
cmp edi, dword [rbp + 0x67]
jl 0x14001aad2
lea rdx, [0x140028fc8]
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_Ordinal_1287]
movsxd r8, r14d
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x14001aaa3
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14001abcd
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x14001abc6
mov rax, qword [rbp + 0x77]
mov ecx, dword [rax - 8]
lea ecx, [rcx*2 + 2]
mov edi, ecx
mov edx, ecx
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14001abc6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001abc6
mov r8d, edi
mov rdx, qword [rbp + 0x77]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14001abe8
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov rax, qword [0x140035868]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
xor r12d, r12d
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x14001ad7b
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140022378]
mov rcx, rsi
mov rdi, rax
call fcn.140018ea8
mov r14, rax
test rdi, rdi
je 0x14001ad7b
mov eax, 0xd4010c
lea rcx, [rsp + 0x50]
test r14, r14
mov ebx, 0x540108
mov r8d, 0x88
cmove ebx, eax
xor edx, edx
call sub.msvcrt.dll_memset
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x50]
or dword [rbp - 0x30], 0xffffffff
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x50], 0x88
mov dword [rbp - 0x80], 0x8100
call qword [sym.imp.COMDLG32.dll_PrintDlgExW]
test eax, eax
js 0x14001ad7b
lea ecx, [r12 + 1]
cmp dword [rbp - 0x2c], ecx
jne 0x14001ad7b
mov ebx, dword [rsp + 0x78]
test cl, bl
jne 0x14001acc0
mov eax, r12d
bt ebx, 0x16
jae 0x14001acc2
mov eax, ecx
shr ebx, 0x16
not ebx
and ebx, ecx
test eax, eax
cmovne rdi, r14
test rdi, rdi
je 0x14001ad7b
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x60]
call qword [0x140022378]
test eax, eax
jne 0x14001acff
mov rdx, qword [rsi + 0x48]
mov r8, rdi
mov rcx, rsi
call fcn.14001b670
test eax, eax
je 0x14001ad7b
mov r14d, SafeArrayLock
lea rcx, [rbp - 0x20]
xor edx, edx
mov dword [rsp + 0x40], r14d
lea r8d, [r14 + 0x10]
call sub.msvcrt.dll_memset
mov r8, qword [rsi + 0x10]
or rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [r8 + rax*2], r12w
jne 0x14001ad24
lea rcx, [rbp - 0x20]
test rax, rax
jne 0x14001ad44
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x14001ad50
mov r9, rsi
mov rdx, r14
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
mov rax, qword [rdi]
lea rcx, [rbp - 0x20]
mov rdx, qword [rsp + 0x70]
mov r9d, esi
mov qword [rsp + 0x28], rcx
mov r8d, ebx
mov rcx, rdi
mov dword [rsp + 0x20], esi
mov rax, qword [rax + 0x90]
call qword [0x140022378]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14001cbc0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
Function at 0x14001c2c0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x30
xor esi, esi
and dword [0x14003ab98], esi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea r14d, [rsi + 1]
test rax, rax
je 0x14001c48c
mov ecx, dword [rsp + 0x58]
cmp ecx, 2
jl 0x14001c48c
dec ecx
mov ebp, r14d
cmp ecx, r14d
jl 0x14001c48c
lea rdi, [rax + 8]
mov rbx, qword [rdi]
mov ecx, 0xfffd
movzx eax, word [rbx]
sub ax, 0x2d
test cx, ax
jne 0x14001c44f
add rbx, 2
lea rdx, [0x140029078]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14001c446
lea rdx, str.help
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14001c446
inc ebp
cmp ebp, dword [rsp + 0x58]
jge 0x14001c48c
lea rdx, [0x140029090]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14001c3ad
mov rdx, qword [rdi + 8]
lea rcx, [0x14003abb8]
mov dword [0x1400382a4], r14d
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
mov eax, 2
jmp 0x14001c42d
lea rdx, str.report
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14001c3e0
mov rdx, qword [rdi + 8]
lea rcx, [0x14003abb0]
mov dword [0x1400382a4], r14d
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
mov eax, 4
jmp 0x14001c42d
lea rdx, str.computer
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14001c413
mov rdx, qword [rdi + 8]
lea rcx, [0x14003aba0]
mov dword [0x1400382a8], r14d
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
mov eax, 8
jmp 0x14001c42d
lea rdx, str.category
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x10
or esi, eax
add ebp, r14d
mov eax, dword [rsp + 0x58]
add rdi, 0x10
dec eax
cmp ebp, eax
jle 0x14001c31f
jmp 0x14001c464
mov dword [0x14003ab98], r14d
jmp 0x14001c48c
cmp ebp, r14d
jne 0x14001c464
mov rdx, rbx
lea rcx, [0x14003aba8]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
test esi, esi
je 0x14001c48c
and qword [rsp + 0x28], 0
lea r9, [rsp + 0x20]
mov r8d, r14d
mov dword [rsp + 0x28], esi
mov edx, 0x802
mov dword [rsp + 0x20], r14d
xor ecx, ecx
call qword [sym.imp.ntdll.dll_WinSqmAddToStream]
mov rbx, qword [rsp + 0x50]
mov eax, r14d
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14001d140
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001d18c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001d184
cmp dword [rcx + 0x3c], edx
jl 0x14001d184
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14001d184
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 0x14001d18c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14019a000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.14019a0d6
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14019a037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14019a02d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x14019a0cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x14019a0cb
add rax, rdx
mov r8d, dword [rax + 0x20]
mov ecx, dword [rax + 0x18]
add r8, rdx
push rax
jrcxz 0x14019a0ca
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor r9, r9
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x14019a081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x14019a072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x14019a021
Function at 0x1400038d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000392d
lea rbx, [0x1404e1240]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003914
cmp r10, 2
jb 0x140003914
cmp byte [r9], r8b
jne 0x140003914
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400038f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000396f
lea rbx, [0x1404e1240]
cmp r8b, 0x23
jne 0x140003953
cmp byte [r9], r8b
jne 0x140003953
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003940
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003ab0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140003aca
mov qword [r8], 0
lea rdx, [0x1404e0598]
call fcn.140003980
mov rbx, rax
test rax, rax
jne 0x140003aea
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140003bc1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003bc1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003bc1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003bc1
cmp rdi, 0xffffffffffffffff
je 0x140003bc1
mov rax, qword [0x1407e5d20]
test rax, rax
je 0x140003b5e
inc dword [rax + 0xfc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003bc1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140003bae
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1407e5d20]
test rax, rax
je 0x140003ba3
dec dword [rax + 0xfc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003bca
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140003bbc
mov qword [r14], rdi
mov rax, rsi
jmp 0x140003bcc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140007a00
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x120]
mov rax, qword [rcx + 0x128]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1404e1240]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1407e5d20]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x4038], ebx
jne 0x140007a96
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140027aa0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140007aa0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x128]
lea r9, [0x1404e1240]
movss xmm2, dword [rcx + 0x140]
movss xmm3, dword [rcx + 0x144]
movsxd rcx, dword [rcx + 0x120]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret