joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b26e0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov rdi, rcx
mov dword [rcx + reloc.mfc120u.dll_Ordinal_324], 0xffffffe2
xor ebx, ebx
mov dword [rbp + 0x67], ebx
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, Ordinal_261
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rdx, rax
xor ecx, ecx
mov r8d, Ordinal_261
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or edx, 0xffffffff
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
lea edx, [rbx + 0x5c]
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc120u.dll_Ordinal_12433]
mov r8d, eax
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc120u.dll_Ordinal_7940]
nop
lea r8, str.controlactivation.exe
mov rdx, rax
lea rcx, [rbp + 0x7f]
call fcn.1400afec0
nop
mov rdx, rax
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov r8, qword [rdi + 0x158]
lea rdx, str._a__s
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
xor edx, edx
lea r8d, [rbx + 0x70]
lea rcx, [rbp - 0x29]
call sub.MSVCR120.dll_memset
mov dword [rbp - 0x29], 0x70
lea rax, str.open
mov qword [rbp - 0x19], rax
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov qword [rbp - 0x11], rax
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov qword [rbp - 9], rax
mov dword [rbp + 7], 5
mov dword [rbp - 0x25], 0x40
lea rcx, [rbp - 0x29]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400b2819
lea ebx, [rax + 1]
jmp 0x1400b284c
or edx, 0xffffffff
mov rcx, qword [rbp + 0x3f]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400b283c
lea rdx, [rbp + 0x67]
mov rcx, qword [rbp + 0x3f]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1400b2843
mov ebx, 2
jmp 0x1400b284c
mov ecx, dword [rbp + 0x67]
mov dword [rdi + reloc.mfc120u.dll_Ordinal_324], ecx
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov eax, ebx
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
Function at 0x1400b2970
Capabilities:
Check if file exists
Create thread
Get file attributes

Disassembly:
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rbx, rcx
add rcx, 0x158
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
test al, al
jne 0x1400b2b88
xor edx, edx
mov rcx, rbx
call sub.mfc120u.dll_Ordinal_13723
lea rcx, [rbp + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, Ordinal_261
lea rcx, [rbp + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rdx, rax
xor ecx, ecx
mov r8d, Ordinal_261
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or edx, 0xffffffff
lea rcx, [rbp + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
mov edx, 0x5c
lea rcx, [rbp + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_12433]
mov r8d, eax
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_7940]
nop
lea r8, str.controlactivation.exe
mov rdx, rax
lea rcx, [rbp + 0x168]
call fcn.1400afec0
nop
mov rdx, rax
lea rcx, [rbp + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rbp + 0x168]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp + 0x170]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rbp + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400b2b04
lea rcx, [rbp + 0x168]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, 0xc4
lea rcx, [rbp + 0x168]
call qword [sym.imp.mfc120u.dll_Ordinal_8043]
lea rcx, [rbp + 0x168]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.140190f20
nop
mov rbx, qword [0x1404672c0]
mov rcx, rax
call fcn.140191980
mov rcx, rax
call qword [rbx + Ordinal_6578]
nop
lea rcx, [rbp + 0x170]
call fcn.1401918b0
nop
lea rcx, [rbp + 0x168]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x1400b2b88
lea rcx, [rbp + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
xor ecx, ecx
mov dword [rbp + 0x160], ecx
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, rbx
lea r8, [0x1400b2ba0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x4c8], rax
test rax, rax
je 0x1400b2b88
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call sub.mfc120u.dll_Ordinal_4682
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400bb3c0
nop
lea rax, [rsp + 0x40]
mov qword [rbx + 0x4b8], rax
lea rcx, [rsp + 0x40]
call sub.mfc120u.dll_Ordinal_3908
nop
lea rcx, [rsp + 0x40]
call fcn.1400bb430
mov rbx, qword [rsp + 0x278]
add rsp, 0x250
pop rbp
ret
Function at 0x1400b9930
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov qword [rax - 0x50], 0xfffffffffffffffe
mov rdi, rcx
xor ebp, ebp
mov dword [rax - 0x58], ebp
lea rcx, [rax + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x50], rbp
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0xa8]
lea ecx, [rbp + 3]
call fcn.140195770
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8, rax
mov rdx, 0xffffffff80000002
mov r9d, 0x20019
lea rcx, [rsp + 0x40]
call fcn.14008ff80
test eax, eax
jne 0x1400b9a49
mov edx, Ordinal_261
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rsi, rax
mov dword [rsp + 0x98], Ordinal_528
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.installsource
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b9a2a
mov eax, dword [rsp + 0xa0]
dec eax
cmp eax, 1
ja 0x1400b9a2a
test rsi, rsi
je 0x1400b9a2a
cmp dword [rsp + 0x98], ebp
jne 0x1400b9a2a
mov word [rsi], bp
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
test rbx, rbx
je 0x1400b9a4e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rbp
jmp 0x1400b9a4e
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400b9a5d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rax, rdi
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400bbae0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rbx, rdx
mov rdi, rcx
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov r8, rbx
lea rdx, [rbp + 0x67]
mov rcx, rdi
call fcn.1400bbdb0
nop
mov rdx, rax
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rbp + 7]
call fcn.140176db0
nop
lea rcx, [rbp - 0x39]
call fcn.140176db0
nop
mov ebx, dword [0x14032e844]
or ebx, 0x7001
lea rcx, [rdi + 8]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
xor r9d, r9d
mov r8d, ebx
lea rcx, [rbp + 7]
call fcn.140177170
test eax, eax
je 0x1400bbca7
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
xor r9d, r9d
mov r8d, 0x4000
lea rcx, [rbp - 0x39]
call fcn.140177170
test eax, eax
je 0x1400bbc9e
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.140177210
test eax, eax
je 0x1400bbc7f
nop
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_5576]
test eax, eax
jle 0x1400bbc6a
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
test eax, eax
je 0x1400bbc6a
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rcx, [rbp + 7]
call sub.mfc120u.dll_Ordinal_5585
lea rcx, [rbp + 0x77]
test rax, rax
lea rdx, [0x1402e0810]
je 0x1400bbc28
lea rdx, [0x1402f2cd0]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov r8, qword [rbp + 0x67]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140177440
nop
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.140177210
test eax, eax
jne 0x1400bbbd0
lea rcx, [rbp - 0x39]
call sub.mfc120u.dll_Ordinal_2773
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rbp + 7]
call sub.mfc120u.dll_Ordinal_2773
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rbx, rax
lea rcx, [rdi + 8]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
xor r8d, r8d
mov rdx, rbx
call sub.mfc120u.dll_Ordinal_12305
nop
lea rcx, [rbp - 0x39]
call sub.mfc120u.dll_Ordinal_1422
nop
lea rcx, [rbp + 7]
call sub.mfc120u.dll_Ordinal_1422
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bbf50
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x4b0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x4c8], rbx
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
lea rcx, [0x140468b00]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140190f20
nop
mov rcx, rax
call fcn.140191980
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov r8, rax
xor edx, edx
xor ecx, ecx
mov rax, qword [0x1404672c0]
call qword [rax + 0xfa0]
nop
lea rcx, [rsp + 0x58]
call fcn.1401918b0
mov rax, qword [0x1404672d8]
call qword [rax + 0x18]
mov rdi, rax
mov qword [rsp + 0x58], rax
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rax, qword [0x140467270]
call qword [rax + 0x318]
test eax, eax
jne 0x1400bc035
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140190e40
nop
mov rcx, rax
call fcn.140191980
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_13477]
nop
lea rcx, [rsp + 0x50]
call fcn.140191950
test rdi, rdi
je 0x1400bc047
mov rcx, rdi
mov rax, qword [0x1404672d8]
call qword [rax + 0x60]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400bc064
mov rcx, qword [rsp + 0x40]
mov rax, qword [0x140467270]
call qword [rax + 0xc8]
nop
jmp 0x1400bc06b
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [0x140468b08]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140190f20
nop
mov rcx, rax
call fcn.140191980
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov r8, rax
xor edx, edx
xor ecx, ecx
mov rax, qword [0x1404672c0]
call qword [rax + 0xfa0]
nop
lea rcx, [rsp + 0x50]
call fcn.1401918b0
mov rax, qword [0x1404672d8]
call qword [rax + 0x18]
mov rdi, rax
mov qword [rsp + 0x58], rax
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rax, qword [0x140467270]
call qword [rax + 0x318]
test eax, eax
jne 0x1400bc12d
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140190e40
nop
mov rcx, rax
call fcn.140191980
lea rcx, [rbx + 8]
mov rdx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_13477]
nop
lea rcx, [rsp + 0x50]
call fcn.140191950
test rdi, rdi
je 0x1400bc13f
mov rcx, rdi
mov rax, qword [0x1404672d8]
call qword [rax + 0x60]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400bc15c
mov rcx, qword [rsp + 0x40]
mov rax, qword [0x140467270]
call qword [rax + 0xc8]
nop
jmp 0x1400bc163
lea rcx, [rbx + 8]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x4c8]
add rsp, 0x4b0
pop rdi
ret
Function at 0x1400bc1a0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rbx, rdx
mov rdi, rcx
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov r8, rbx
lea rdx, [rbp + 0x67]
mov rcx, rdi
call fcn.1400bbdb0
nop
mov rdx, rax
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
nop
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rbp + 7]
call fcn.140176db0
nop
lea rcx, [rbp - 0x39]
call fcn.140176db0
nop
xor sil, sil
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
xor r9d, r9d
mov r8d, 0x4000
lea rcx, [rbp - 0x39]
call fcn.140177170
test eax, eax
je 0x1400bc38d
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.140177210
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
test eax, eax
je 0x1400bc332
mov ebx, dword [0x14032e844]
or ebx, 0x7001
lea rcx, [rdi + 8]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
xor r9d, r9d
mov r8d, ebx
lea rcx, [rbp + 7]
call fcn.140177170
test eax, eax
je 0x1400bc332
mov sil, 1
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140177440
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.140177210
test eax, eax
je 0x1400bc329
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_2861]
test eax, eax
je 0x1400bc318
mov r8, qword [rbp + 0x67]
lea rdx, [0x1402f2cd0]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140177440
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.140177210
test eax, eax
jne 0x1400bc2d2
lea rcx, [rbp + 7]
call sub.mfc120u.dll_Ordinal_2773
lea rcx, [rbp - 0x39]
call sub.mfc120u.dll_Ordinal_2773
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
test sil, sil
je 0x1400bc38d
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rbx, rax
lea rcx, [rdi + 8]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
xor r8d, r8d
mov rdx, rbx
call sub.mfc120u.dll_Ordinal_12305
nop
lea rcx, [rbp - 0x39]
call sub.mfc120u.dll_Ordinal_1422
nop
lea rcx, [rbp + 7]
call sub.mfc120u.dll_Ordinal_1422
nop
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bf340
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x850
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov r14, qword [rsp + 0x8a0]
xor edi, edi
mov r15, r9
mov r13, r8
mov r12, rdx
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x24], edi
call sub.mfc120u.dll_Ordinal_2170
mov rcx, qword [rax + 0x10]
lea rdx, [rsp + 0x30]
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, [0x1402f42b0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400bf3d1
xor al, al
jmp 0x1400bf4b2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x848], rbp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x1400bf4a8
mov edx, ebp
mov ecx, 2
mov qword [rsp + Ordinal_2180], rbx
mov qword [rsp + Ordinal_2113], rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rax
mov r8d, ebp
mov rbx, rax
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, [0x1402dfd40]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
mov ebx, eax
test eax, eax
je 0x1400bf47e
mov rdx, qword [rsp + 0x28]
movzx ecx, word [rdx + 0xa]
mov dword [r12], ecx
movzx ecx, word [rdx + 8]
mov dword [r13], ecx
test r15, r15
je 0x1400bf472
movzx ecx, word [rdx + 0xe]
mov dword [r15], ecx
test r14, r14
je 0x1400bf47e
movzx ecx, word [rdx + 0xc]
mov dword [r14], ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rsi, qword [rsp + 0x840]
cmp ebx, 1
mov rbx, qword [rsp + 0x880]
sete al
jmp 0x1400bf4aa
xor al, al
mov rbp, qword [rsp + 0x848]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x850
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400bf4e0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [rsp + 0x20], 1
mov r8d, dword [rsp + 0x50]
lea rdx, str._d_x_
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.1400c07d0
nop
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_2372]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea r8, [0x1402d22dc]
lea rdx, [0x1402f458c]
mov rcx, rdi
call qword [sym.imp.mfc120u.dll_Ordinal_12313]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400bfbb0
Capabilities:
Get memory capacity

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
lea rcx, [r11 - 0x58]
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x28]
shr rax, 0x14
mov ecx, eax
shl ecx, 0x14
cmp qword [rsp + 0x28], rcx
je 0x1400bfc11
inc eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x78
ret

Function at 0x1400bfc30
Capabilities:
Get session user name
Get user security identifier

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
xor eax, eax
mov esi, 0x20
mov ecx, 0x200
mov r15, rdx
mov dword [r11 + 0x20], Ordinal_261
mov dword [rsp + 0x40], eax
mov dword [r11 + 0x10], eax
mov dword [r11 + 0x18], eax
mov ebp, esi
call qword [sym.imp.MSVCR120.dll_malloc]
lea rdx, [rsp + 0xa8]
mov rcx, rax
mov r14, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ecx, esi
call sub.mfc120u.dll_Ordinal_265
mov r12, 0xffffffffffffffff
mov rbx, rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov eax, 2
mul rsi
cmovo rax, r12
mov rcx, rax
call sub.mfc120u.dll_Ordinal_265
mov rdi, rax
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rax
nop word [rax + rax]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x98]
mov r8, rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa0]
mov rdx, r14
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x98], esi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0xa0], ebp
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x1400bfd35
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
jne 0x1400bfdd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400bfdd2
cmp dword [rsp + 0x98], esi
jbe 0x1400bfd7e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [rsp + 0x98]
call sub.mfc120u.dll_Ordinal_265
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rax
mov rbx, rax
call sub.MSVCR120.dll_memset
mov esi, dword [rsp + 0x98]
cmp dword [rsp + 0xa0], ebp
jbe 0x1400bfce0
mov rcx, rdi
call sub.mfc120u.dll_Ordinal_266
mov ecx, dword [rsp + 0xa0]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call sub.mfc120u.dll_Ordinal_265
mov r8d, dword [rsp + 0xa0]
xor edx, edx
add r8, r8
mov rcx, rax
mov rdi, rax
call sub.MSVCR120.dll_memset
mov ebp, dword [rsp + 0xa0]
jmp 0x1400bfce0
mov r8d, dword [rsp + 0x98]
mov rdx, rbx
mov rcx, r15
call fcn.1400bc620
mov rcx, r14
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, rdi
call sub.mfc120u.dll_Ordinal_266
mov rcx, rbx
call sub.mfc120u.dll_Ordinal_266
mov rax, r15
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400bfe90
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], 0
mov rcx, rdx
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [rsp + 0x20], 1
mov edx, Ordinal_261
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov rcx, rbx
test eax, eax
lea rdx, [0x1402f4620]
je 0x1400bfef8
lea rdx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x260
pop rbx
ret

Function at 0x1400bff20
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov ebx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
xor edi, edi
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov r8d, ebx
lea rdx, str.SoftwareNitroPro_d.0Settings
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
mov dword [rsp + 0x80], edi
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c0009
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.allowMultipleInstances
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bfff2
cmp dword [rsp + 0x88], 4
je 0x1400bfff9
mov dword [rsp + 0x80], edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], rdi
cmp dword [rsp + 0x80], 0
setne bl
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
movzx eax, bl
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret