joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a44a0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1404672c0]
mov esi, edx
mov rbp, rcx
call qword [rax + 0x1168]
mov r8, qword [0x140467260]
mov rdi, qword [0x1404672c0]
lea rcx, str.AVRibbon:Main:SaveAs:Btn
mov rbx, rax
call qword [r8 + 0x28]
mov rcx, rbx
mov rdx, rax
call qword [rdi + 0x1208]
lea r8, [rsp + 0x70]
mov edx, esi
lea rcx, [rax + 0xb0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1400a4632
mov rax, qword [rbp + 0x808]
cmp rax, rdx
je 0x1400a4641
test rax, rax
je 0x1400a4531
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov rbx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
cmp rax, rbx
setne bl
test bl, bl
je 0x1400a455c
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetParent]
mov eax, dword [rbp + 0x81c]
mov rcx, qword [rsp + 0x70]
mov r9d, dword [rbp + 0x818]
sub eax, dword [rbp + 0x814]
mov rcx, qword [rcx + 8]
sub r9d, dword [rbp + 0x810]
mov r8d, dword [rbp + 0x814]
mov edx, dword [rbp + 0x810]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
je 0x1400a4609
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rbp + 0x800]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x78], 0x64
mov dword [rsp + 0x7c], 0x64
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x34], 0x64
mov rdx, qword [rdx + 8]
lea rax, [rsp + 0x30]
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.BCGCBPRO2300u120.dll_public:_int___cdecl_CBCGPStaticLayout::AddAnchor_struct_HWND______ptr64__enum_CBCGPStaticLayout::XMoveType__enum_CBCGPStaticLayout::XSizeType__class_CPoint_const____ptr64__class_CPoint_const____ptr64____ptr64]
lea rcx, [rbp + 0x4d0]
call sub.mfc120u.dll_Ordinal_13058
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
mov qword [rbp + 0x808], rcx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400a4641
mov rcx, qword [rcx + 0x18]
call rax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a7030
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1404672c0]
mov esi, edx
mov rbp, rcx
call qword [rax + 0x1168]
mov r8, qword [0x140467260]
mov rdi, qword [0x1404672c0]
lea rcx, str.AVRibbon:Main:Share:Btn
mov rbx, rax
call qword [r8 + 0x28]
mov rcx, rbx
mov rdx, rax
call qword [rdi + 0x1208]
lea r8, [rsp + 0x70]
mov edx, esi
lea rcx, [rax + 0xb0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1400a71c2
mov rax, qword [rbp + 0x808]
cmp rax, rdx
je 0x1400a71d1
test rax, rax
je 0x1400a70c1
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov rbx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
cmp rax, rbx
setne bl
test bl, bl
je 0x1400a70ec
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetParent]
mov eax, dword [rbp + 0x81c]
mov rcx, qword [rsp + 0x70]
mov r9d, dword [rbp + 0x818]
sub eax, dword [rbp + 0x814]
mov rcx, qword [rcx + 8]
sub r9d, dword [rbp + 0x810]
mov r8d, dword [rbp + 0x814]
mov edx, dword [rbp + 0x810]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
je 0x1400a7199
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rbp + 0x800]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x78], 0x64
mov dword [rsp + 0x7c], 0x64
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x34], 0x64
mov rdx, qword [rdx + 8]
lea rax, [rsp + 0x30]
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.BCGCBPRO2300u120.dll_public:_int___cdecl_CBCGPStaticLayout::AddAnchor_struct_HWND______ptr64__enum_CBCGPStaticLayout::XMoveType__enum_CBCGPStaticLayout::XSizeType__class_CPoint_const____ptr64__class_CPoint_const____ptr64____ptr64]
lea rcx, [rbp + 0x4d0]
call sub.mfc120u.dll_Ordinal_13058
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
mov qword [rbp + 0x808], rcx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400a71d1
mov rcx, qword [rcx + 0x18]
call rax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a8b00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rcx
cmp eax, 0x201
je 0x1400a8b8f
cmp eax, 0x100
jne 0x1400a8b8f
mov rax, qword [rdx + 0x10]
cmp rax, 0xd
jne 0x1400a8b53
mov rax, qword [0x1404672c0]
call qword [rax + 0x11a8]
xor r9d, r9d
mov edx, 0x111
mov rcx, rax
mov r8d, 0x8134
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
add rsp, 0x20
pop rbx
ret
cmp rax, 0x72
jne 0x1400a8b8f
lea ecx, [rax - 0x62]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov rcx, rbx
je 0x1400a8b7f
call fcn.1400a86b0
mov eax, 1
add rsp, 0x20
pop rbx
ret
call fcn.1400a8630
mov eax, 1
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp qword [sym.imp.BCGCBPRO2300u120.dll_public_virtual:_int___cdecl_CBCGPPopupDlg::PreTranslateMessage_struct_tagMSG____ptr64____ptr64]
Function at 0x1400ad1c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rdi, rdx
mov rbx, rcx
cmp eax, 0x7b
je 0x1400ad29f
cmp eax, 0x100
je 0x1400ad200
cmp eax, 0x104
je 0x1400ad29f
add eax, 0xfffffdfc
cmp eax, 2
jmp 0x1400ad283
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
test si, ax
jne 0x1400ad285
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
jne 0x1400ad285
mov rax, qword [0x1404672c0]
call qword [rax + 0x530]
test al, 2
je 0x1400ad268
mov rax, qword [rdi + 0x10]
cmp rax, 0x43
jne 0x1400ad24a
mov rcx, rbx
call fcn.1400aced0
jmp 0x1400ad268
cmp rax, 0x56
jne 0x1400ad25a
mov rcx, rbx
call fcn.1400acf90
jmp 0x1400ad268
cmp rax, 0x58
jne 0x1400ad29f
mov rcx, rbx
call fcn.1400acf10
cmp qword [rdi + 0x10], 0x2e
jne 0x1400ad277
mov rcx, rbx
call fcn.1400acf50
mov rax, qword [rdi + 0x10]
sub rax, 0x70
cmp rax, 0x17
jbe 0x1400ad29f
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140288d88
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
jmp qword [sym.imp.mfc120u.dll_Ordinal_11735]
Function at 0x1400aeca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x4b0
mov qword [rax - 0x430], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rsi, rcx
mov qword [rsp + 0x40], rcx
call sub.mfc120u.dll_Ordinal_10044
xor edi, edi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], rdi
mov edx, Ordinal_1495
mov rcx, rsi
call sub.mfc120u.dll_Ordinal_5144
mov rbx, rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x90]
mov rcx, rsi
call sub.mfc120u.dll_Ordinal_12576
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0xd0]
nop
mov ecx, 0x230
call sub.mfc120u.dll_Ordinal_1484
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400aed54
mov rcx, rax
call fcn.1400acd00
mov rcx, rax
jmp 0x1400aed57
mov rcx, rdi
mov qword [rsi + 0x130], rcx
test rcx, rcx
je 0x1400aed97
mov rax, qword [rcx]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], Ordinal_1495
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x20], rdx
mov r9d, 0x50000000
xor r8d, r8d
xor edx, edx
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
nop
jmp 0x1400aeda0
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x70], edi
mov qword [rsp + 0x78], rdi
lea rdx, [rsp + 0x58]
mov ecx, 3
call fcn.140195770
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8, rax
mov rdx, 0xffffffff80000002
mov r9d, 0x20019
lea rcx, [rsp + 0x68]
call fcn.14008ff80
test eax, eax
jne 0x1400aee7f
lea r14, [rsi + 0x148]
mov edx, Ordinal_261
mov rcx, r14
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rsi, rax
mov dword [rsp + 0x50], Ordinal_521
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.installsource
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400aee60
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
ja 0x1400aee60
test rsi, rsi
je 0x1400aee60
cmp dword [rsp + 0x50], 0
jne 0x1400aee60
mov word [rsi], di
or edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
test rbx, rbx
je 0x1400aee84
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rdi
jmp 0x1400aee84
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1400aee93
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov eax, 1
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400af4b0
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
sub rsp, 0x548
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x530], rax
mov rdx, rcx
lea r8, [r11 + 0x10]
lea rcx, [r11 - 0x408]
call qword [sym.imp.MSVCR120.dll_vsprintf]
mov r9d, 1
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 4]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rax, [rsp + 0x20]
dec rax
nop
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x1400af510
mov ecx, dword [0x1402e9ba8]
movsd xmm0, qword [str._font_info.log]
mov r9, qword [0x140468a48]
movsd qword [rax], xmm0
mov dword [rax + 8], ecx
movzx ecx, word [0x1402e9bac]
mov word [rax + 0xc], cx
movzx ecx, byte [0x1402e9bae]
mov byte [rax + 0xe], cl
test r9, r9
je 0x1400af57d
lea rax, [rsp + reloc.mfc120u.dll_Ordinal_320]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400af560
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_320]
mov edx, 1
call qword [sym.imp.MSVCR120.dll_fwrite]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x548
ret
Function at 0x1400af9b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x2c0]
sub rsp, reloc.mfc120u.dll_Ordinal_960
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
lea rcx, str.________________________________r_nInstaledFonts___START_r_n_r_n
call fcn.1400af4b0
lea rax, [rsp + 0x70]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
xor edi, edi
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400afb63
lea rcx, [rbp + 0x1a1]
xor edx, edx
mov r8d, Ordinal_261
mov byte [rbp + 0x1a0], dil
call sub.MSVCR120.dll_memset
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x68]
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x1a0]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x78]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x7c]
mov dword [rbp - 0x80], Ordinal_266
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x6c]
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x64]
mov dword [rsp + 0x60], Ordinal_261
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov dword [rsp + 0x68], Ordinal_261
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x1400afb58
mov qword [rsp + reloc.mfc120u.dll_Ordinal_976], rbx
mov ebx, edi
nop word [rax + rax]
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
lea r8, [rbp + 0xa0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x7c]
mov edx, ebx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x60], Ordinal_261
mov byte [rbp + 0xa0], dil
mov qword [rsp + 0x20], rdi
mov byte [rbp - 0x60], dil
mov dword [rsp + 0x68], Ordinal_261
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1400afb48
cmp dword [rsp + 0x7c], 1
jne 0x1400afb48
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0xa0]
lea rcx, str.__s__t__s__r_n
call fcn.1400af4b0
inc ebx
cmp ebx, dword [rsp + 0x64]
jb 0x1400afad0
mov rbx, qword [rsp + reloc.mfc120u.dll_Ordinal_976]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.________________________________r_nInstaledFonts___FINISHED_r_n_r_n
call fcn.1400af4b0
mov al, 1
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140289bf0
mov rdi, qword [rsp + 0x3d8]
add rsp, reloc.mfc120u.dll_Ordinal_960
pop rbp
ret
Function at 0x1400b07f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x58
mov qword [rbp - 0x28], 0xfffffffffffffffe
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x18], ebx
mov qword [rbp - 0x10], rbx
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rdx, [rbp + 0x40]
lea ecx, [rbx + 3]
call fcn.140195770
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8, rax
mov rdx, 0xffffffff80000002
mov r9d, 0x20019
lea rcx, [rbp - 0x20]
call fcn.14008ff80
test eax, eax
jne 0x1400b091e
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, Ordinal_261
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rsi, rax
mov dword [rbp + 0x28], Ordinal_521
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x30]
xor r8d, r8d
lea rdx, str.abversion
mov rdi, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b08bb
mov eax, dword [rbp + 0x30]
dec eax
cmp eax, 1
ja 0x1400b08bb
test rsi, rsi
je 0x1400b08bb
cmp dword [rbp + 0x28], ebx
jne 0x1400b08bb
mov word [rsi], bx
or edx, 0xffffffff
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
test rdi, rdi
je 0x1400b08dd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rbx
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x18], ebx
lea rdx, [0x1402ea714]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_2867]
test eax, eax
jne 0x1400b08fa
lea ebx, [rax + 1]
jmp 0x1400b0912
lea rdx, [0x1402ea718]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_2867]
test eax, eax
jne 0x1400b0912
lea ebx, [rax + 2]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x1400b0922
mov rdi, qword [rbp - 0x20]
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
test rdi, rdi
je 0x1400b093b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x58
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b0960
Capabilities:
Delete file
Query or enumerate registry value
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor esi, esi
mov rdi, rcx
mov dword [rcx + 0x4d4], esi
mov rcx, qword [rcx + 0x4d8]
test rcx, rcx
je 0x1400b09af
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x4d8], rsi
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareNITROPRO
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b0ba5
lea rcx, [rbp - 0x7e]
xor edx, edx
mov r8d, Ordinal_521
mov qword [rsp + 0x2b8], rbx
mov word [rbp - 0x80], si
call sub.MSVCR120.dll_memset
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
lea rdx, str.InAppPurchasingLog
xor r8d, r8d
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x58], Ordinal_521
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x2b8]
jne 0x1400b0ba5
cmp word [rbp - 0x80], si
je 0x1400b0ba5
xor r9d, r9d
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0x80]
lea edx, [r9 + 4]
lea r8d, [r9 + 3]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 0x4d8], rax
cmp rax, 0xffffffffffffffff
jne 0x1400b0aa7
mov qword [rdi + 0x4d8], rsi
jmp 0x1400b0ba5
xor ecx, ecx
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x48], rcx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileTime]
xor eax, eax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov rax, qword [rsp + 0x60]
movabs rcx, 0x861c46800
sub rax, qword [rsp + 0x48]
cmp rax, rcx
jbe 0x1400b0b5e
mov rcx, qword [rdi + 0x4d8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x80]
mov qword [rdi + 0x4d8], rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400b0b5e
xor r9d, r9d
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0x80]
lea edx, [r9 + 4]
lea r8d, [r9 + 3]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 0x4d8], rax
cmp rax, 0xffffffffffffffff
je 0x1400b0a9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400b0b9b
mov rcx, qword [rdi + 0x4d8]
mov eax, 0xfeff
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov r8d, 2
mov word [rsp + 0x40], ax
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rdi + 0x4d4], 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140289bf0
lea r11, [rsp + 0x2a0]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400b0bd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor ebx, ebx
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0xfe
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x60], bx
call sub.MSVCR120.dll_memset
lea r8, str.SOFTWAREMicrosoftInternet_Explorer
lea rcx, [rsp + 0x40]
mov r9d, 0x20019
mov rdx, 0xffffffff80000002
call fcn.14008ff80
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x1400b0cdf
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
lea rdx, str.version
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x30], Ordinal_261
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b0c8f
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400b0c8f
cmp dword [rsp + 0x30], ebx
jne 0x1400b0c8f
mov word [rsp + 0x60], bx
test rdi, rdi
je 0x1400b0ca0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rbx
lea rdx, [0x1402dc530]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCR120.dll_wcsstr]
test rax, rax
je 0x1400b0cdf
mov word [rax], bx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
mov r8d, 0xa
mov qword [rsp + 0x38], rbx
call qword [sym.imp.MSVCR120.dll_wcstol]
cmp eax, 7
jl 0x1400b0cdf
mov ebx, 1
test rdi, rdi
je 0x1400b0ced
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140289bf0
mov rbx, qword [rsp + 0x180]
add rsp, 0x170
pop rdi
ret
Function at 0x1400b1170
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push r14
sub rsp, 0x198
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp dword [rcx + 0x4d4], 0
mov r14, rdx
mov rbp, rcx
je 0x1400b12ff
cmp qword [rcx + 0x4d8], 0
je 0x1400b12ff
test rdx, rdx
je 0x1400b12ff
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r15
xor r15d, r15d
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x50], r15d
mov esi, r15d
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0xfe
mov word [rsp + 0x70], r15w
call sub.MSVCR120.dll_memset
movzx ecx, word [rsp + 0x62]
movzx edx, word [rsp + 0x60]
movzx r8d, word [rsp + 0x5e]
movzx eax, word [rsp + 0x64]
movzx r10d, word [rsp + 0x5a]
movzx r9d, word [rsp + 0x58]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
lea r8, str._r_n__.4d._.2d._.2d__.2d:_.2d:_.2d_
lea edx, [r15 + 0x7f]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x20], r10d
call qword [sym.imp.MSVCR120.dll_swprintf_s]
or rbx, 0xffffffffffffffff
mov rdi, rbx
lea rax, [rsp + 0x70]
inc rdi
cmp word [rax + rdi*2], si
jne 0x1400b1250
add edi, edi
je 0x1400b1294
nop dword [rax]
mov rcx, qword [rbp + 0x4d8]
mov eax, esi
mov r8d, edi
lea rdx, [rsp + 0x70]
lea r9, [rsp + 0x50]
sub r8d, esi
lea rdx, [rdx + rax*2]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400b12df
add esi, dword [rsp + 0x50]
cmp esi, edi
jb 0x1400b1260
mov edi, r15d
nop word [rax + rax]
inc rbx
cmp word [r14 + rbx*2], di
jne 0x1400b12a0
add ebx, ebx
je 0x1400b12df
nop
mov rcx, qword [rbp + 0x4d8]
mov eax, edi
mov r8d, ebx
lea r9, [rsp + 0x50]
lea rdx, [r14 + rax*2]
sub r8d, edi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400b12df
add edi, dword [rsp + 0x50]
cmp edi, ebx
jb 0x1400b12b0
mov rdi, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x1c0]
mov r15, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x198
pop r14
pop rbp
ret