joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140263a20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x58], rdi
cmp dword [0x14068c074], edi
jne 0x140263af1
mov eax, dword [0x14068c070]
test eax, eax
jne 0x140263af1
mov r9d, dword [0x14068c07c]
test r9d, r9d
je 0x140263a8a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov r9d, dword [0x14068c07c]
test eax, eax
jne 0x140263af1
test r9d, r9d
jne 0x140263a9c
call fcn.14018bc50
test eax, eax
je 0x140263ab2
lea rdx, [rsp + 0x58]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x140263af1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x140263ae7
cmp eax, 0x78
je 0x140263ae7
cmp eax, 1
je 0x140263ae7
cmp eax, 0x32
je 0x140263ae7
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
mov dword [0x14068c070], 1
mov r8d, ebx
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x20], rax
cmp dword [0x14068c074], 0
je 0x140263b1a
cmp dword [0x14068c070], 0
jne 0x140263b47
mov ebx, edi
test rsi, rsi
sete bl
test ebx, ebx
je 0x140263b2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140263b47
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x140263ad1
Function at 0x140266920
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rax, [rbx - 0x65]
cmp rax, 5
ja case.default.0x140266969
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x2669e8]
add rax, rcx
jmp rax
lea rbx, str.https:__mediasoftwareapps.magix.com_v2_productinfo.asp_PlaceNews
jmp case.default.0x140266969
lea rbx, str.https:__mediasoftwareapps.magix.com_v2_productinfo.asp_PlaceFAQ
jmp case.default.0x140266969
lea rbx, str.https:__mediasoftwareapps.magix.com_v2_productinfo.asp_PlaceSupport
jmp case.default.0x140266969
lea rbx, str.https:__mediasoftwareapps.magix.com_v2_productinfo.asp_PlaceHome
jmp case.default.0x140266969
lea rbx, str.https:__mediasoftwareapps.magix.com_v2_productinfo.asp_ProductSoftEncode
jmp case.default.0x140266969
lea rbx, str.http:__www.magix.com_us_privacy_statement_
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [rsp + 0x28], 0xa
lea rdx, str.open
mov rcx, rax
xor r9d, r9d
lea rax, [rsp + 0x30]
mov r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x250
pop rbx
ret
Function at 0x1402d9da0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, qword [rsp + 0x2f8]
mov rbx, rcx
xor ecx, ecx
mov r12, r9
mov r15, r8
mov rsi, rdx
xor r13d, r13d
call qword [sym.imp.ole32.dll_OleInitialize]
mov r14d, r13d
mov ebp, 1
test eax, eax
mov eax, dword [rdi + 0x840]
cmovns r14d, ebp
and eax, 8
test al, al
je 0x1402d9e2d
mov qword [rsp + 0x40], r13
lea edx, [rbp - 2]
mov dword [rsp + 0x38], r13d
xor r9d, r9d
mov qword [rsp + 0x30], r13
xor r8d, r8d
mov dword [rsp + 0x28], 3
xor ecx, ecx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov eax, dword [rsp + 0x2f0]
mov r9, r12
mov qword [rsp + 0x28], rdi
mov r8, r15
mov rdx, rsi
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.1402d9820
mov edi, eax
test eax, eax
js 0x1402d9e67
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x70]
mov rcx, rbx
call fcn.1402d9c10
mov edi, eax
cmp dword [rbx + 0x1f80], r13d
je 0x1402d9eb0
mov r8d, 0x104
mov word [rsp + 0x60], r13w
lea rdx, [rsp + 0x60]
xor ecx, ecx
call sym.ErrorReportClient.exe_SfGetModuleFileName
lea r9, [0x14044b1c4]
mov dword [rsp + 0x28], 5
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1402d9f3f
cmp dword [rbx + 0x1f84], r13d
je 0x1402d9f3f
mov rax, qword [rbx + 0x1f88]
cmp dword [rax - 8], r13d
je 0x1402d9f3f
lea rdx, [rbx + 0x1f90]
mov rax, qword [rdx]
cmp dword [rax - 8], r13d
je 0x1402d9ee9
lea rcx, [rsp + 0x58]
call fcn.1402d5f30
mov esi, r13d
jmp 0x1402d9f02
lea rdx, [0x14044b1c4]
lea rcx, [rsp + 0x50]
call fcn.1402d6160
mov ebp, r13d
mov esi, 2
mov r9, qword [rax]
xor edx, edx
mov r8, qword [rbx + 0x1f88]
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r13
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
test esi, esi
je 0x1402d9f31
lea rcx, [rsp + 0x50]
call fcn.1402d84a0
test ebp, ebp
je 0x1402d9f3f
lea rcx, [rsp + 0x58]
call fcn.1402d84a0
test r14d, r14d
je 0x1402d9f4a
call qword [sym.imp.ole32.dll_OleUninitialize]
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402daf90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, qword [rcx + 0x10]
mov edx, 3
mov rdi, rcx
call fcn.1402dce90
mov r8, rax
xor edx, edx
mov rcx, rbx
call sym.ErrorReportClient.exe_SfMsgBoxSetAppData
mov rcx, rdi
call fcn.1402de040
mov rcx, qword [rdi + 8]
xor esi, esi
mov ebx, eax
test byte [rcx + 0x840], 2
jne 0x1402db04a
lea ecx, [rsi + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1402db04a
lea ecx, [rsi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1402db04a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xe0]
test eax, eax
je 0x1402db04a
mov rcx, qword [rdi + 8]
mov edx, esi
mov eax, dword [rcx + 0x830]
and eax, 0x40
test al, al
jne 0x1402db030
mov edx, dword [rcx + 0x82c]
lea r8, [rcx + 0x620]
xor r9d, r9d
add rcx, 8
call sym.ErrorReportClient.exe_SfMetric_DeleteKeyHiveAndVersion
or dword [rdi + 0x1ee0], 1
test ebx, ebx
js 0x1402db0d7
mov rcx, rdi
call fcn.1402dd610
mov ebx, eax
test eax, eax
js 0x1402db0d7
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rdi
call qword [rax + 0xc0]
test eax, eax
js 0x1402db09e
cmp si, word [rsp + 0x30]
je 0x1402db09e
mov rax, qword [0x1406baea0]
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, qword [rax + 0x1ee8]
mov rax, qword [rcx]
call qword [rax + 0x78]
call fcn.1402ef210
mov ebx, eax
test eax, eax
js 0x1402db0d7
mov rcx, qword [0x1406baea0]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call sym.ErrorReportClient.exe_SfWheel_Initialize
lea rcx, str.SfCloseHidingDialogMsg
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [rdi + 0x1f9c], eax
test eax, eax
jne 0x1402db140
mov ebx, 0x80004005
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [0x1406baea0]
mov rcx, qword [rcx + 0x10]
call sym.ErrorReportClient.exe_SfWheel_Terminate
mov rcx, qword [rdi + 0x1fa0]
test rcx, rcx
je 0x1402db10c
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rdi + 0x1fa0], rsi
call fcn.1402ef310
mov rcx, rdi
call fcn.1402dddc0
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14039bbb0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rdx, qword [rdi + 0x10]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x28], esi
mov r9d, 0x104
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x30], si
call sym.ErrorReportClient.exe_SfHelp_CreateHelpFilePathEX
lea rdx, [rsp + 0x30]
xor ecx, ecx
call sym.ErrorReportClient.exe_SfHelp_SetHelpFilePath
mov rdx, qword [rdi + 0x10]
lea r8, [rsp + 0x30]
mov r9d, 0x104
mov dword [rsp + 0x28], esi
mov ecx, 1
mov qword [rsp + 0x20], rsi
call sym.ErrorReportClient.exe_SfHelp_CreateHelpFilePathEX
lea rdx, [rsp + 0x30]
mov ecx, 1
call sym.ErrorReportClient.exe_SfHelp_SetHelpFilePath
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xb0]
mov ebx, eax
test eax, eax
js 0x1402db0d7
mov rax, qword [0x1406baea0]
mov rcx, qword [rax + 0x1ed0]
mov dword [rcx + 0x2c], 1
jmp 0x1402db119
Function at 0x1402db5e0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbp, r8
mov r15, rcx
mov r8, rdx
mov esi, 1
mov edx, esi
mov ecx, 0x100000
mov r14, r9
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov rdi, rax
test rax, rax
je 0x1402db662
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x1402db642
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
mov dword [r14], ebx
jmp 0x1402db665
mov r8, rbp
mov edx, 0x8128
mov rcx, r15
call fcn.1402db520
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [r14], esi
jmp 0x1402db665
mov dword [r14], ebx
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1402dc2b0
Capabilities:
Accept command line arguments

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
xor edi, edi
cmp dword [rax - 8], edi
jle 0x1402dc3f4
lea rcx, [rsp + 0x20]
call fcn.1402d5f30
lea rcx, [rsp + 0x20]
call fcn.1402d6f40
mov rax, qword [rsp + 0x20]
mov ecx, SHCreateStdEnumFmtEtc
cmp cx, word [rax]
jne 0x1402dc3ea
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x50], rbx
call fcn.1402d5f10
lea rcx, [rsp + 0x68]
call fcn.1402ef4a0
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x1402dc3db
mov qword [rsp + 0x38], rbp
mov rcx, rax
mov qword [rsp + 0x30], rsi
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1402dc340
lea edx, [rdi + 9]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1402d6160
mov rax, qword [rsp + 0x58]
mov ecx, 1
mov esi, dword [rax - 8]
lea ebp, [rsi + rsi]
movsxd rdx, ebp
add rdx, 0xa
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x1402dc3c2
lea eax, [rbp + 2]
mov dword [rdi], eax
lea r8d, [rsi + 1]
mov rdx, qword [rsp + 0x58]
lea rcx, [rdi + 8]
call fcn.1401b0690
mov dword [rdi + 4], 0x8004e005
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov r9, rdi
mov edx, 0x601
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsp + 0x58]
mov edi, 0x8004e0a9
call fcn.1402d84a0
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.1402d84a0
mov rbx, qword [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1402d84a0
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x1402dd230
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x240
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x230], rax
movsxd rsi, r8d
mov rbx, rdx
test rdx, rdx
je 0x1402dd3d8
test r8d, r8d
je 0x1402dd3d8
mov qword [rsp + 0x250], rdi
xor r9d, r9d
xor edi, edi
mov r8d, 0x401a
mov word [rdx], di
xor ecx, ecx
lea rdx, [rsp + 0x20]
mov word [rsp + 0x20], di
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1402dd3d1
cmp di, word [rsp + 0x20]
je 0x1402dd3d1
mov edx, 0x104
lea rcx, [rsp + 0x20]
call sym.ErrorReportClient.exe_SfAddSlashToPathName
mov r8, qword [0x1406baea0]
lea r9, [rdi - 1]
add r8, 0x858
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call sym.ErrorReportClient.exe_SfAddSlashToPathName
mov r8, qword [0x1406baea0]
lea r9, [rdi - 1]
add r8, 0x38
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call sym.ErrorReportClient.exe_SfAddSlashToPathName
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], di
jne 0x1402dd320
cmp esi, eax
jbe 0x1402dd3a1
test esi, esi
jle 0x1402dd349
mov rdx, rsi
lea r8, [rsp + 0x20]
mov r9, 0xffffffffffffffff
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402dd35e
and eax, 0x10
test al, al
jne 0x1402dd373
xor edx, edx
mov rcx, rbx
call sym.ErrorReportClient.exe_SfCreateDirectory
test eax, eax
jne 0x1402dd373
mov edi, 0x8004e006
jmp 0x1402dd3a6
mov rcx, rbx
call sym.ErrorReportClient.exe_SfIsDirectoryWritable
test eax, eax
jne 0x1402dd3a6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1402dd3a6
mov edi, 0x8004e009
jmp 0x1402dd3a6
mov edi, 0x8004e03c
mov eax, edi
mov rdi, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop rsi
ret
mov eax, 0x8000ffff
jmp 0x1402dd3a8
mov eax, 0x80070057
jmp 0x1402dd3b0
Function at 0x1402de040
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 8]
xor edi, edi
mov rbx, rcx
test r9, r9
je 0x1402de066
mov eax, dword [r9 + 0x828]
jmp 0x1402de068
mov eax, edi
mov rcx, qword [rcx + 0x20]
mov dword [rsp + 0x30], eax
test rcx, rcx
jne 0x1402de134
mov eax, dword [r9 + 0x830]
movzx edx, word [rbx + 0x1aa0]
and eax, 0x40
test al, al
je 0x1402de092
mov eax, edi
jmp 0x1402de0a6
cmp di, dx
je 0x1402de09f
mov eax, dword [rbx + 0x1ca8]
jmp 0x1402de0a6
mov eax, dword [r9 + 0x82c]
add r9, 0x620
mov r8d, 0x38
cmp di, dx
mov ecx, 0x1aa0
mov edx, eax
cmove ecx, r8d
lea r8, [rsp + 0x30]
add rcx, rbx
call sym.ErrorReportClient.exe_SfLang_LoadUserLCIDMetricAppReg
mov r8d, dword [rsp + 0x30]
test r8d, r8d
jne 0x1402de0f3
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r8d, ax
and r8d, 0x3ff
bts r8d, 0xa
mov dword [rsp + 0x30], r8d
mov rax, qword [rbx + 8]
test dword [rax + 0x830], 0x200
je 0x1402de112
mov ecx, r8d
call sym.ErrorReportClient.exe_SfLang_GetConditionedLCID
mov r8d, eax
mov dword [rsp + 0x30], eax
mov rdx, qword [rbx + 0x10]
lea rcx, [rbx + 0x20]
xor r9d, r9d
call sym.ErrorReportClient.exe_SfLang_Open
mov edi, eax
mov dword [rbx + 0x1ec8], 1
mov eax, dword [rsp + 0x30]
jmp 0x1402de13d
call sym.ErrorReportClient.exe_SfLang_GetLCID
mov dword [rsp + 0x30], eax
mov rcx, qword [rbx + 0x20]
mov r8d, 1
mov edx, eax
call sym.ErrorReportClient.exe_SfLang_UpdateKernelLCID
mov rcx, qword [rbx + 0x20]
call sym.ErrorReportClient.exe_SfLang_UpdateThreadLocale
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1402e94a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
lea eax, [rdx - 0x100]
mov rbp, r8
mov rbx, rcx
test eax, 0xfffffffb
jne 0x1402e9674
lea rax, [r8 - 0x10]
cmp rax, 2
jbe 0x1402e9674
xor eax, eax
movzx edi, ax
lea ecx, [rax + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1402e94ed
mov edi, 2
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1402e9501
or di, 4
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1402e9515
or di, 8
xor ecx, ecx
mov qword [rsp + 0x60], r15
cmp cx, word [rbx + 0x28]
je 0x1402e9531
movzx r11d, word [rbx + 0x28]
movzx r15d, bp
movzx esi, word [rbx + 0x2c]
jmp 0x1402e953b
movzx r11d, bp
mov r15d, ecx
movzx esi, di
mov rdx, qword [rbx + 8]
mov r12d, 0xffffffff
mov r13, qword [rsp + 0x80]
mov r9d, ecx
mov r8d, ecx
mov r10, rcx
mov eax, ecx
test rdx, rdx
je 0x1402e955f
mov eax, dword [rdx]
cmp r8d, eax
jge 0x1402e95d7
mov rcx, qword [rdx + 8]
imul rcx, r10
add rcx, qword [rdx + 0x10]
je 0x1402e95bd
mov eax, dword [r13]
test eax, eax
jne 0x1402e9584
mov eax, dword [rcx + 0x28]
and eax, 2
jne 0x1402e95bd
jmp 0x1402e9589
test dword [rcx + 0x38], eax
je 0x1402e95bd
lea rax, [rcx + 0x14]
test rax, rax
je 0x1402e95bd
cmp r11w, word [rax]
jne 0x1402e95a5
cmp r15w, word [rax + 2]
jne 0x1402e95a5
cmp si, word [rax + 4]
je 0x1402e95c7
test rax, rax
je 0x1402e95bd
cmp r11w, word [rax]
jne 0x1402e95bd
cmp si, word [rax + 4]
mov eax, 1
cmove r9d, eax
inc r8d
inc r10
xor ecx, ecx
jmp 0x1402e9556
mov r12d, dword [rcx + 8]
mov esi, 1
mov r9d, esi
xor ecx, ecx
jmp 0x1402e95dc
mov esi, 1
mov r15, qword [rsp + 0x60]
cmp r12d, 0xffffffff
je 0x1402e9627
mov word [rbx + 0x2c], cx
mov r9d, esi
mov qword [rsp + 0x28], r13
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov edx, r12d
mov rcx, rbx
mov dword [rbx + 0x28], 0
call fcn.1402e9770
cmp eax, 0x8004e00a
je 0x1402e9674
mov eax, esi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp cx, word [rbx + 0x28]
je 0x1402e964b
mov dword [rbx + 0x28], 0
mov eax, esi
mov word [rbx + 0x2c], cx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp cx, di
je 0x1402e9674
test r9d, r9d
je 0x1402e9674
mov word [rbx + 0x28], bp
mov eax, esi
mov word [rbx + 0x2a], cx
mov word [rbx + 0x2c], di
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402eeae0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov qword [rcx + 8], r9
lea rcx, [rsp + 0x50]
mov rbp, r9
mov r15d, r8d
mov rsi, rdx
call fcn.1402d5f10
test rsi, rsi
jne 0x1402eeb17
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x1402eeb1a
mov rax, rsi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1402d6720
mov rdi, qword [r14]
lea rdx, [rsp + 0x50]
mov ebx, r15d
lea rcx, [rsp + 0x58]
or ebx, 4
test rsi, rsi
cmovne ebx, r15d
call fcn.1402d5f30
mov rdx, rax
mov r9, rbp
mov r8d, ebx
mov rcx, r14
call qword [rdi + reloc.SHELL32.dll_ILFindChild]
lea rcx, [rsp + 0x50]
mov ebx, eax
call fcn.1402d84a0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1402f48c0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1406baea0]
movsxd rbx, r8d
call fcn.1402d96e0
test rax, rax
je 0x1402f48f4
test ebx, ebx
je 0x1402f48f4
mov rdx, rbx
lea rcx, [0x1402f4a40]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_EnumWindows]
add rsp, 0x20
pop rbx
ret

Function at 0x1402f7da0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x1406baea0]
mov rsi, rcx
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
mov rbx, r8
mov rdi, rdx
mov r9, qword [rax + 0x1ed0]
mov rax, qword [r9 + 8]
mov r9d, dword [rax + 0x2c]
mov dword [rsp + 0x48], r9d
call fcn.140328750
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp method.CSfPrefs.virtual_40
push rbx
sub rsp, 0x40
mov rbx, rcx
mov qword [rsp + 0x20], rdx
mov rcx, qword [0x1406baea0]
mov qword [rsp + 0x28], r8
call fcn.1402d96e0
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140307080
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rbx
lea rcx, [0x140307640]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x140307040
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x1406baea0]
mov rsi, rcx
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
mov rbx, r8
mov rdi, rdx
mov r9, qword [rax + 0x1ed0]
mov rax, qword [r9 + 8]
mov r9d, dword [rax + 0x2c]
mov dword [rsp + 0x48], r9d
call fcn.140328750
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp method.CSfPrefs.virtual_40
push rbx
sub rsp, 0x40
mov rbx, rcx
mov qword [rsp + 0x20], rdx
mov rcx, qword [0x1406baea0]
mov qword [rsp + 0x28], r8
call fcn.1402d96e0
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140307080
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rbx
lea rcx, [0x140307640]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x14030f080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbp
push r12
push r13
sub rsp, 0x70
mov qword [r11 + 0x10], rbx
mov r12, r8
mov qword [r11 + 0x18], rsi
mov rbx, r9
xor esi, esi
mov qword [r11 - 0x20], r14
mov eax, esi
mov r13, rdx
mov rbp, rcx
cmp qword [rcx + 0xb0], rax
jne 0x14030f0e1
mov qword [r11 - 0x50], rsi
lea edx, [rsi + 8]
mov r9d, 0xffffffff
mov dword [rsp + 0x30], esi
mov qword [r11 - 0x60], rsi
mov r8d, r9d
add rcx, 0xb0
mov dword [rsp + 0x20], esi
call sym.ErrorReportClient.exe_SfList_CreateExZ
test eax, eax
js 0x14030f1b3
mov qword [rsp + 0x60], r15
mov r15d, dword [rsp + 0xb0]
test r15d, r15d
je 0x14030f1ae
mov qword [rsp + 0xa8], rdi
add rbx, 0x10
mov rcx, qword [rbx]
call qword [rbx - 8]
mov rdi, rax
test rax, rax
je 0x14030f1a1
mov rcx, qword [0x1406baea0]
xor r9d, r9d
movzx edx, word [rbx - 0x10]
mov rcx, qword [rcx + 0x20]
lea r8d, [r9 + 5]
call sym.ErrorReportClient.exe_SfLoadResourceCustom
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [rbx - 0x10]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov r9d, 1
mov rax, qword [rbx]
mov dword [rsp + 0x40], ecx
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea edx, [r9 - 2]
mov qword [rsp + 0x58], rbp
movups xmm1, xmmword [rsp + 0x50]
mov qword [rsp + 0x90], rdi
movups xmmword [rdi + 0xf0], xmm0
movups xmmword [rdi + 0x100], xmm1
mov rcx, qword [rbp + 0xb0]
call sym.ErrorReportClient.exe_SfList_InsertList
inc esi
add rbx, 0x18
cmp esi, r15d
jb 0x14030f103
jmp 0x14030f1a6
mov eax, 0x8007000e
mov rdi, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
test eax, eax
js 0x14030f1ed
mov eax, dword [rsp + 0xc0]
mov r8, r12
mov r9d, dword [rsp + 0xb8]
mov rdx, r13
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.14030f6c0
add rsp, 0x70
pop r13
pop r12
pop rbp
ret