joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007f10
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14000644e
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140007f10
cmp byte [0x14004f130], 0
jne 0x140006499
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006489
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x14004f130], 1
mov qword [0x14004f128], rax
jmp 0x1400064a0
mov rax, qword [0x14004f128]
mov byte [0x14004f130], 1
jmp 0x1400064a0
mov rax, qword [0x14004f128]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400064bf
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140007f84
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x140007f9f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x140007f9f
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x140007f9f
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
shl ebx, 0xa5
cmp ecx, dword [rdx + 0x40068b3d]
sub al, 0x6c
invalid
pop rsi
jb 0x140077ce9
movabs dword [0xb388c1495559c537], eax
push rcx
invalid
Function at 0x1400081a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140048370]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000822e
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000822e
call fcn.140005780
mov ebx, eax
jmp 0x140008356
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000824f
call fcn.140005780
jmp 0x140008345
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140008272
call fcn.140005780
jmp 0x140008345
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140008294
mov ebx, 0x8007000e
jmp 0x140008347
mov ecx, eax
test eax, eax
je 0x1400082cc
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400082c2
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400082cc
lea rcx, [rsp + 0x70]
call fcn.140005660
jmp 0x1400082d6
mov ecx, 0x80070216
call fcn.140005990
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400082e9
cmp qword [rsp + 0x70], 0
jne 0x1400082f8
mov ebx, 0x8007000e
jmp 0x140008347
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140008322
call fcn.140005780
jmp 0x140008345
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140007fc0
mov ebx, eax
test rdi, rdi
je 0x140008356
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14000836d
lea rcx, [rsp + 0x70]
call fcn.1400069d0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140019d00
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140008cc0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
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]
add rsp, 0x38
ret

Function at 0x140008d00
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x140008d18
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140008d24
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x140008d20
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140009790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov r12, r9
mov r13, r8
mov rbx, rdx
mov r14, rcx
call fcn.140011f90
xor edi, edi
lea r8d, [rdi + 5]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x1400098a9
mov r8d, 0xf0
mov rdx, rbx
mov rcx, r14
mov qword [rsp + 0x68], r15
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15d, edi
test rax, rax
je 0x140009807
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
mov rdx, rsi
mov rcx, r14
mov qword [rsp + 0x60], rbp
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000988b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14000988b
mov rdx, r15
mov rcx, rax
call fcn.140010ba0
mov r9, r12
mov r8, r13
mov rsi, rax
mov rax, qword [rsp + 0x80]
mov rcx, r14
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rdi, rax
test rax, rax
jne 0x14000986d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rsi, rbp
je 0x140009893
test rsi, rsi
je 0x140009893
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140009893
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r15, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
test ebx, ebx
je 0x1400098a9
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140010f40
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x140010f68
add rsp, 0x30
pop rbx
ret
lea rax, [rsp + 0x40]
lea r8, [0x14000e100]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140010fa9
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x50], rdi
mov rax, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret

Function at 0x140011430
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [0x14004f0d9], 0
mov esi, edx
mov rdi, rcx
je 0x140011456
or eax, 0xffffffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor ecx, ecx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x140011498
cmp eax, 0x80010106
jne 0x1400114d4
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14001149c
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov byte [rdi + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov rdx, rax
call fcn.14000ea60
cmp al, 1
jne 0x1400114c4
mov edx, esi
mov rcx, rdi
call fcn.1400107f0
mov ebx, eax
jmp 0x1400114c8
mov ebx, dword [rsp + 0x40]
cmp byte [rdi + 0x62], 0
je 0x1400114d4
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140012170
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
lea r8, str.EM47D2CDD9E9E7
xor ecx, ecx
lea edx, [rbx + 1]
mov esi, r9d
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400121c2
lea ecx, [rbx + 1]
call fcn.14000df30
test al, al
je 0x1400121c2
lea rcx, [0x14004f210]
mov edx, esi
call fcn.140011430
mov ebx, eax
test rdi, rdi
je 0x1400121d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140013940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x1b0
mov rax, qword [0x140048370]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, qword [0x14004f2b0]
mov r14, rcx
movzx edx, dx
mov r8d, 0xf0
mov rcx, rbx
mov edi, 1
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140013b2f
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140013b2f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140013b2f
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x1a0], r12
mov qword [rsp + 0x198], r13
mov qword [rsp + 0x190], r15
mov r13d, 0x403
mov r12d, 0x1234
xor r15d, r15d
mov qword [rsp + 0x1e0], rbp
nop dword [rax]
movzx esi, word [rbx]
cmp r15w, si
je 0x140013ae9
movzx eax, word [rbx + 2]
mov ebp, dword [rbx + 4]
add rbx, 8
cmp r13w, ax
jne 0x140013a69
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov rdx, rbx
mov qword [rsp + 0x70], rax
call fcn.140014520
mov rax, qword [rsp + 0x70]
mov rcx, qword [r14 + 8]
movzx edx, si
xor r9d, r9d
mov r8d, 0x143
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, qword [rsp + 0x70]
cmp rax, 0xffffffffffffffff
lea rax, [rsp + 0x78]
cmove edi, r15d
cmp rcx, rax
je 0x140013ade
call fcn.1400174c4
jmp 0x140013ade
cmp r12w, ax
jne 0x140013ade
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov rdx, rbx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x38], 0xffffffffffffffff
mov qword [rsp + 0x70], rax
call fcn.140014520
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rcx
cmp rcx, rax
je 0x140013ab6
call fcn.1400174c4
mov rcx, qword [r14 + 8]
lea rax, [rsp + 0x30]
movzx edx, si
xor r9d, r9d
mov r8d, 0x40b
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r15d
add rbx, rbp
test edi, edi
jne 0x1400139f0
mov rbp, qword [rsp + 0x1e0]
mov r12, qword [rsp + 0x1a0]
mov rsi, qword [rsp + 0x1a8]
mov r13, qword [rsp + 0x198]
mov r15, qword [rsp + 0x190]
mov eax, edi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140019d00
add rsp, 0x1b0
pop r14
pop rdi
pop rbx
ret
mov eax, edi
jmp 0x140013b13

Function at 0x140014630
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xe8
call fcn.1400146d0
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.140019d30
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], ecx
lea rcx, str.igfxHK.exe
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400146c0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0xe8
ret
Function at 0x1400146d0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbx
mov eax, 0x10f0
call fcn.14001aa80
sub rsp, rax
mov rax, qword [0x140048370]
xor rax, rsp
mov qword [rsp + 0x10e0], rax
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140019d30
lea rcx, [rsp + 0xe2]
xor ebx, ebx
xor edx, edx
mov r8d, 0x7fe
mov dword [rsp + 0x70], 0x68
mov word [rsp + 0xe0], bx
call fcn.140019d30
lea rcx, [rsp + 0x8e2]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x8e0], bx
call fcn.140019d30
lea rcx, [rsp + 0x8e0]
mov edx, 0x800
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x8e0]
lea rcx, [rsp + 0xe0]
mov edx, 0x400
call fcn.140017b48
lea r8, [0x140031a98]
lea rcx, [rsp + 0xe0]
mov edx, 0x400
call fcn.140017b48
lea r8, str.igfxTray.exe
lea rcx, [rsp + 0xe0]
mov edx, 0x400
call fcn.140017b48
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400147fe
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x10e0]
xor rcx, rsp
call fcn.140019d00
add rsp, 0x10f0
pop rbx
ret
Function at 0x1400167a0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140016931
mov rcx, qword [rcx + 0x68]
mov qword [rsp + 0x50], rdi
xor edi, edi
mov dword [rsp + 0x40], edi
test rcx, rcx
je 0x140016937
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [rax + 0x470]
test eax, eax
js 0x14001692c
cmp dword [rsp + 0x40], edi
je 0x14001692c
mov rcx, qword [rbx + 0x68]
mov dword [rsp + 0x48], edi
test rcx, rcx
je 0x140016942
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x4f8]
test eax, eax
js 0x14001692c
cmp dword [rsp + 0x48], 1
jne 0x14001692c
lea r9, str.GlobalSmartFrameOperation
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov byte [0x14004f285], 1
mov byte [0x1400482b0], dil
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r9, str.LocalExitSmartFrameThread
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [0x14004f288], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14004f290], rax
mov qword [rbx + 0x80], rdi
mov rax, qword [0x14004f288]
mov rcx, qword [0x14004f290]
test rax, rax
je 0x1400168cf
test rcx, rcx
je 0x1400168cf
lea rax, [rbx + 0x88]
lea r8, [0x1400165c0]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rbx
mov qword [rbx + 0x80], rax
call fcn.1400164a0
mov rcx, qword [rbx + 8]
mov edx, 0xc9
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, str.SmartFrame_monitor_started_successfully
jmp 0x14001691a
mov byte [0x1400482b0], 1
test rax, rax
je 0x1400168f2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14004f290]
mov qword [0x14004f288], rdi
test rcx, rcx
je 0x140016904
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004f290], rdi
mov rcx, qword [rbx + 8]
mov edx, 0xc9
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, str.SmartFrame_failed_to_start
or r8, 0xffffffffffffffff
mov edx, 0x181
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
mov ecx, 0x80004003
call fcn.140016e80
int3
mov ecx, 0x80004003
call fcn.140016e80
int3
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1403b7180]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1403b7190]
mov dword [rax], 1
mov rax, qword [0x1403b71a0]
mov dword [rax], 1
mov rax, qword [0x1403b7130]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1403b7170]
mov dword [0x1403be00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1403b7250]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1403b7230]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [str._Q_v_]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [str._._n_]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140015040
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400151cb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [str.__n_]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x140411d30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x1400150a5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x1400150b4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x1400150d3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x1400150e3
cmp rbx, 0x1000
jae 0x1400150ab
jmp 0x14001514d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x1400150f5
xor edx, edx
jmp 0x140015144
mov rcx, qword [str.__n_]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword [0x140411d30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x1400150d9
jmp 0x1400150c8
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x140411d30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call dbg.runtime.printlock
lea rax, [0x1400d8a51]
mov ebx, 0x18
nop dword [rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x1400d8d78]
mov ebx, 0x19
nop dword [rax + rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x30]
call dbg.runtime.printuint
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x1400da8fb]
mov ebx, 0x21
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.sysUnusedOS
Function at 0x140015200
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140015426
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x140411d30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x140015273
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x140015282
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x1400152a5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x1400152b5
cmp rbx, 0x1000
jae 0x140015279
nop
jmp 0x140015338
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x1400152cd
xor esi, esi
jmp 0x14001532a
mov rax, qword [sym.VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword [0x140411d30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x1400152ab
jmp 0x140015296
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword [0x140411d30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x1400153c0
nop dword [rax + rax]
call dbg.runtime.printlock
lea rax, [0x1400d8d91]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call dbg.runtime.printuint
lea rax, [0x1400d8d78]
mov ebx, 0x19
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
call dbg.runtime.printuint
nop
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x1400d626c]
mov ebx, 0xd
call dbg.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x140015360
call dbg.runtime.printlock
lea rax, [0x1400d8d91]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x1400d8d78]
mov ebx, 0x19
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call dbg.runtime.printuint
call dbg.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x1400da1ff]
mov ebx, 0x1f
nop dword [rax + rax]
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp dbg.runtime.sysUsedOS