joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140190960
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx edi, dl
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401909a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._bm3_
mov r8d, 0x4700
mov edx, eax
call fcn.1401ad480
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp dil, 1
jne 0x1401909ad
or eax, 1
jmp 0x1401909b0
and eax, 0xfffffffe
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14019097b
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140191990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rdx
movzx ebx, cx
mov edx, 5
mov ecx, ebx
call sub.mfc120u.dll_Ordinal_2145
mov rdi, rax
mov r8d, 5
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
lea rcx, [rsp + 0x28]
call sub.mfc120u.dll_Ordinal_455
nop
mov rdx, rsi
lea rcx, [rsp + 0x28]
call sub.mfc120u.dll_Ordinal_6578
nop
lea rcx, [rsp + 0x28]
call sub.mfc120u.dll_Ordinal_1089
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140191de0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rsp + 0x20], 0
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [rsp + 0x20], 1
mov edx, 3
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov r8, rax
mov edx, 0x59
mov ecx, 0x800
lea r9d, [rdx - 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_8298]
lea rdx, [0x1403314a8]
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
test eax, eax
je 0x140191e6e
lea rdx, [0x1403314b0]
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
test eax, eax
jne 0x140191e7e
lea rdx, [0x14031e504]
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
mov rcx, rax
call fcn.140191ec0
test al, al
jne 0x140191ea8
lea rdx, [0x14031e460]
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140196800
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x7f
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rbx
lea edx, [r9 + 1]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_2373]
mov r9d, 0x7f
lea r8, [rsp + 0x150]
mov edx, 0x1003
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [rsp + 0x28], 0x7f
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x150]
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea rdx, [0x1402f458c]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_2373]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_2373]
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret

Function at 0x140196b10
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x7f
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rbx
lea edx, [r9 + 2]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_2373]
mov r9d, 0x7f
lea r8, [rsp + 0x150]
mov edx, 0x1003
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [rsp + 0x28], 0x7f
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x150]
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea rdx, [0x1402f458c]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_2373]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_2373]
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x140198840
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov dword [r8], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov rbx, r8
lea r9, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x40], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401988a2
mov eax, dword [rsp + 0x40]
mov dword [rbx], eax
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1401988b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
mov r15, rcx
mov rcx, qword [rcx]
lea rax, [rsp + 0x60]
mov rsi, r8
xor edi, edi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov r14, rdx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x60], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401989a3
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1401989a3
mov qword [rsp + 0x68], rbx
mov ecx, eax
mov qword [rsp + 0x30], rbp
mov ebx, eax
call qword [sym.imp.MSVCR120.dll_malloc]
mov r8d, ebx
mov rcx, rax
xor edx, edx
mov rbp, rax
call sub.MSVCR120.dll_memset
mov rcx, qword [r15]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x68]
mov rcx, rsi
test eax, eax
jne 0x140198982
mov rdx, rbp
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rcx, rbp
mov edi, 1
call qword [sym.imp.MSVCR120.dll_free]
mov rbp, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.mfc120u.dll_Ordinal_4138]
mov rcx, rbp
call qword [sym.imp.MSVCR120.dll_free]
mov rbp, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_4138]
mov eax, edi
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
ret

Function at 0x140198a10
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r8 + rax*2], 0
jne 0x140198a20
mov rcx, qword [rcx]
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140198a60
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140198a70
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140198ab9
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140198b80
Capabilities:
Hash data via wincrypt

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140198ba0
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea eax, [rdx - 0x8003]
mov rbx, rcx
mov edi, 1
mov ecx, 0x18
cmp eax, edi
mov esi, edx
cmova edi, ecx
xor r8d, r8d
xor edx, edx
mov r9d, edi
mov rcx, rbx
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140198c49
lea rdx, str.Nitro5Container
mov r9d, edi
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], 8
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140198c49
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x8009000f
jne 0x140198c37
lea rdx, str.Nitro5Container
mov r9d, edi
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140198c49
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
lea rax, [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
test eax, eax
setne al
add rsp, 0x30
pop rdi
ret
Function at 0x1401a0660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rcx
lea rcx, [rbp + 0x20]
call fcn.140161990
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
movzx eax, byte [0x14043c9d0]
cmp al, 1
je 0x1401a085b
test al, al
je 0x1401a079a
mov byte [0x14043c9d0], 0
mov r9d, 0x20119
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsevernote.exe
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x20]
call fcn.1401989c0
lea rcx, [rbp + 0x20]
test eax, eax
je 0x1401a075c
lea r8, [rbp + 0x18]
lea rdx, [0x1402d20f0]
call fcn.1401988b0
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401a079a
test rbx, rbx
je 0x1401a0854
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
nop
lea r8, [0x140334a68]
lea rdx, str.Evernote.exe
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_12313]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8, rax
mov edx, Ordinal_261
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
nop
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x1401a0854
mov r9d, 0x20119
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallF761359C_9CED_45AE_9A51_9D6605CD55C4
mov rdx, 0xffffffff80000002
call fcn.1401989c0
test eax, eax
jne 0x1401a07a1
mov r9d, 0x20119
lea r8, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstallF761359C_9CED_45AE_9A51_9D6605CD55C4
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x20]
call fcn.1401989c0
test eax, eax
jne 0x1401a07a1
xor bl, bl
jmp 0x1401a085d
lea r8, [rbp + 0x18]
lea rdx, str.InstallLocation
lea rcx, [rbp + 0x20]
call fcn.1401988b0
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401a079a
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
lea edx, [rax - 1]
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_4822]
cmp ax, 0x5c
jne 0x1401a0807
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
lea edx, [rax - 1]
mov r8d, 1
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_3683]
lea rdx, str.ENScript.exe
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_2373]
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401a079a
test rbx, rbx
je 0x1401a0854
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8, rax
mov edx, Ordinal_261
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
mov byte [0x14043c9d0], 1
mov bl, 1
lea rcx, [rbp + 0x18]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp + 0x20]
call fcn.140198770
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret
Function at 0x1401a9ad0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 8]
mov r9, r8
mov r8d, dword [r8]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401a9b12
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._bm3_
mov r8d, 0x4688
mov edx, eax
call fcn.1401ad4c0
xor al, al
add rsp, 0x38
ret
mov al, 1
add rsp, 0x38
ret

Function at 0x1401a9b20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rsi
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rcx, str.kPreferences
mov rax, qword [0x1404672c0]
call qword [rax + 0x1190]
mov rsi, rax
lea rdx, [0x1402d20f0]
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_286]
mov dword [rsp + 0x20], 1
test edi, edi
je 0x1401a9b8a
dec edi
jne 0x1401a9ba5
lea rdx, str.kCurrentSaveAsPath
jmp 0x1401a9b91
lea rdx, str.kCurrentOpenPath
mov rcx, rsi
call fcn.140191d70
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
test al, al
jne 0x1401a9bcc
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
mov rcx, rax
call fcn.1401a9c10
test al, al
jne 0x1401a9bf8
mov edx, Ordinal_261
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rdx, rax
xor r9d, r9d
xor ecx, ecx
lea r8d, [r9 + 5]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1401a9c10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov bl, 1
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove ebx, ecx
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1401ac320
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1401ac342
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [0x14043ca30], 0x7f
jne 0x1401ac350
call fcn.1401ac4a0
movzx eax, word [rbx]
xor edx, edx
mov qword [rsp + 0x30], rsi
lea rcx, [rbx + 2]
test ax, ax
je 0x1401ac48b
lea rsi, [0x14043ca30]
nop
cmp ax, 0x3d
je 0x1401ac393
cmp ax, 0x7f
ja 0x1401ac387
movzx eax, ax
cmp byte [rax + rsi], 0x3f
ja 0x1401ac387
inc edx
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x1401ac370
test edx, edx
je 0x1401ac48b
lea eax, [rdx + 2]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea ecx, [rax + rax*2]
movsxd rcx, ecx
call qword [sym.imp.MSVCR120.dll_malloc]
mov r10, rax
test rax, rax
je 0x1401ac48b
xor eax, eax
mov r8, r10
nop dword [rax]
nop dword [rax + rax]
xor r9d, r9d
movzx ecx, word [rbx]
add rbx, 2
test cx, cx
je 0x1401ac408
cmp cx, 0x3d
je 0x1401ac408
cmp cx, 0x7f
ja 0x1401ac402
movzx edx, cx
movzx ecx, byte [rdx + rsi]
cmp cl, 0x3f
ja 0x1401ac402
shl eax, 6
movzx ecx, cl
inc r9d
or eax, ecx
cmp r9d, 4
jl 0x1401ac3d3
cmp r9d, 4
jne 0x1401ac429
mov ecx, eax
shr ecx, 0x10
mov byte [r8], cl
mov ecx, eax
shr ecx, 8
add r8, 3
mov byte [r8 - 2], cl
mov byte [r8 - 1], al
jmp 0x1401ac3d0
cmp r9d, 3
jne 0x1401ac45f
mov rsi, qword [rsp + 0x30]
shl eax, 6
add r8, 2
mov ecx, eax
shr eax, 8
shr ecx, 0x10
mov byte [r8 - 2], cl
mov byte [r8 - 1], al
sub r8d, r10d
mov dword [rdi], r8d
mov rax, r10
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r9d, 2
jne 0x1401ac472
shl eax, 0xc
shr eax, 0x10
inc r8
mov byte [r8 - 1], al
mov rsi, qword [rsp + 0x30]
sub r8d, r10d
mov rax, r10
mov dword [rdi], r8d
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1401b8180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r14
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rdi, r9
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1401b820d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1401b822f
mov r8d, r14d
mov rdx, rax
lea rcx, [rsp + 0x28]
call sym.NitroFree.exe_public:_void___cdecl_CxMemFile::constructor_unsigned_char____ptr64__unsigned_long_int____ptr64
nop
mov r8d, ebp
lea rdx, [rsp + 0x28]
mov rcx, rsi
call sym.NitroFree.exe_public:_bool___cdecl_CxImage::Decode_class_CxFile____ptr64__unsigned_long_int____ptr64
movzx ebx, al
lea rcx, [rsp + 0x28]
call sym.NitroFree.exe_public_virtual:_void___cdecl_CxMemFile::destructor_void____ptr64
movzx eax, bl
jmp 0x1401b8231
movups xmm0, xmmword [str.Unable_to_load_resource_]
movups xmmword [rsi + 0x5c], xmm0
movsd xmm1, qword [0x140337720]
movsd qword [rsi + 0x6c], xmm1
movzx eax, byte [0x140337728]
mov byte [rsi + 0x74], al
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1401e961c
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x24], 0xca
mov rbx, rcx
jne 0x1401e964f
call fcn.1401e9804
cmp byte [rbx + 0x58], 0
je 0x1401e9648
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
cmp dword [rbx + 0x24], 0xcb
jne 0x1401e96cf
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x20], 0
je 0x1401e96c1
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1401e9673
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x1401e96b9
cmp eax, 2
je 0x1401e96c1
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401e9665
dec eax
test eax, 0xfffffffd
jne 0x1401e9665
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1401e9665
mov ecx, dword [rbx + 0x184]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1401e9665
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov dword [rbx + 0xa4], eax
jmp 0x1401e96f3
cmp dword [rbx + 0x24], 0xcc
je 0x1401e96f3
mov rax, qword [rbx]
mov dword [rax + 0x28], 0x14
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1401e9700
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, 0xcc
mov rdi, rcx
cmp dword [rcx + 0x24], ebx
je 0x1401e972f
mov rax, qword [rcx + 0x200]
call qword [rax]
and dword [rdi + 0x98], 0
mov dword [rdi + 0x24], ebx
mov rax, qword [rdi + 0x200]
cmp byte [rax + 0x10], 0
je 0x1401e97b1
lea rsi, [rdi + 0x98]
mov eax, dword [rsi]
jmp 0x1401e9783
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1401e9766
mov dword [rcx + 8], eax
mov rcx, qword [rdi + 0x10]
mov eax, dword [rdi + 0x78]
mov dword [rcx + 0xc], eax
mov rax, qword [rdi + 0x10]
mov rcx, rdi
call qword [rax]
mov rax, qword [rdi + 0x208]
mov ebx, dword [rsi]
xor r9d, r9d
mov r8, rsi
xor edx, edx
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rsi]
cmp eax, ebx
je 0x1401e97d5
cmp eax, dword [rdi + 0x78]
jb 0x1401e9747
mov rax, qword [rdi + 0x200]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi + 0x200]
mov rcx, rdi
call qword [rax]
and dword [rsi], 0
mov rax, qword [rdi + 0x200]
cmp byte [rax + 0x10], 0
jne 0x1401e9743
mov al, byte [rdi + 0x59]
neg al
mov al, 1
sbb ecx, ecx
neg ecx
add ecx, 0xcd
mov dword [rdi + 0x24], ecx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor al, al
jmp 0x1401e97c5

Function at 0x1401ede24
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
lea rdx, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x140206d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rcx + 0x18]
mov r12d, dword [rsp + 0xa8]
mov rbp, rcx
mov ecx, dword [rsp + 0xa0]
movsxd r15, edx
mov esi, r8d
mov r14, qword [rax + r15*8]
lea r8, [rsp + 0x30]
mov edx, r12d
mov eax, dword [r14]
mov r13, r9
mov dword [rsp + 0x30], eax
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
mov eax, dword [r14 + 8]
mov dword [rsp + 0x38], eax
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x3c], eax
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x40], eax
mov eax, dword [r14 + 0x14]
mov dword [rsp + 0x44], eax
mov eax, ecx
sar ecx, 7
and ecx, 1
and eax, 0x7f
mov dword [rsp + 0x4c], ecx
mov rcx, rbp
mov dword [rsp + 0x48], eax
call fcn.140205e40
test eax, eax
je 0x140206d93
or eax, 0xffffffff
jmp 0x140206e2f
mov qword [rsp + 0x88], rdi
cmp r12d, r15d
jg 0x140206dae
mov rax, qword [rbp + 0x18]
inc r15d
movsxd rcx, r15d
mov r14, qword [rax + rcx*8]
xor edi, edi
cmp dword [r14 + 0x14], edi
jle 0x140206e25
mov qword [rsp + 0x80], rbx
nop
xor ebx, ebx
cmp dword [r14 + 0x10], ebx
jle 0x140206e15
nop dword [rax + rax]
mov r9d, edi
mov r8d, ebx
mov edx, r15d
mov rcx, rbp
call fcn.140207570
test eax, eax
jns 0x140206de9
xor eax, eax
jmp 0x140206df0
cmp eax, esi
jl 0x140206df0
lea eax, [rsi - 1]
movsxd rcx, eax
mov r9d, edi
mov r8d, ebx
mov eax, dword [r13 + rcx*4]
mov edx, r12d
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140207e60
inc ebx
cmp ebx, dword [r14 + 0x10]
jl 0x140206dd0
inc edi
cmp edi, dword [r14 + 0x14]
jl 0x140206dc0
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
xor eax, eax
mov rbp, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rsi
ret