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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor r14d, r14d
mov word [rax - 0x18], r14w
mov qword [rax + 0x10], r14
mov ebx, r14d
mov eax, dword [0x1404681f4]
test eax, eax
je 0x14001d99c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x14001d9a5
call fcn.14000d1e8
test eax, eax
je 0x14001d9c1
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14001d9cb
movzx eax, r14w
jmp 0x14001da13
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx ebx, ax
mov word [rsp + 0x20], ax
mov edi, r14d
test bx, bx
sete dil
test edi, edi
je 0x14001d9f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14001d9f7
mov esi, r14d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14001da10
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, bx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400200a8
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
movsxd rbp, r8d
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0xd0], 0
jne 0x1400200e9
mov r8d, ebp
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1400201c6
call fcn.140011eb8
mov r14, rax
test rax, rax
jne 0x140020101
mov ecx, 0x80004005
call fcn.140004610
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401bb6c4
mov rcx, r14
call rbx
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rdi, qword [rdi + 0xd0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x118]
mov rcx, rbx
call fcn.1401bb6c4
lea rdx, [rsp + 0x50]
mov rcx, rdi
call rbx
mov rdx, rbp
or rbx, 0xffffffffffffffff
mov r9, rbx
mov r8, qword [rsp + 0x50]
mov rcx, rsi
call fcn.1401c2f04
test eax, eax
je 0x140020182
cmp eax, 0xc
je 0x14002017c
cmp eax, 0x16
je 0x140020176
cmp eax, 0x22
je 0x140020176
cmp eax, 0x50
je 0x140020182
call fcn.14001170c
int3
call fcn.14001170c
int3
call fcn.140011730
int3
test rsi, rsi
jne 0x14002018b
xor ebp, ebp
jmp 0x140020196
mov rcx, rsi
call fcn.1401c2550
mov rbp, rax
mov rsi, qword [rsp + 0x50]
mov ecx, ebx
lock xadd dword [rsi - 8], ecx
add ecx, ebx
test ecx, ecx
jg 0x1400201c4
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401bb6c4
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140021c28
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x14002108a
xor eax, eax
add rsp, 0x28
ret
call fcn.14002109c
mov rcx, rax
add rsp, 0x28
jmp 0x140021c28
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14046b8a8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404681f4]
test eax, eax
je 0x140021c73
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x140021c7c
call fcn.14000d1e8
test eax, eax
je 0x140021c98
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140021ca0
xor eax, eax
jmp 0x140021d05
test rbx, rbx
jne 0x140021cc0
lea rcx, str.ImageList_Destroy
call fcn.14001d46c
mov rbx, rax
test rax, rax
je 0x140021cd3
mov qword [0x14046b8a8], rax
mov rcx, rbx
call fcn.1401bb6c4
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140021ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140021cea
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140021d03
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140021d1c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x14046b8b0]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1404681f4]
test eax, eax
je 0x140021d79
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x140021d82
call fcn.14000d1e8
test eax, eax
je 0x140021d9e
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x140021da9
xor eax, eax
jmp 0x140021e3c
test rbx, rbx
jne 0x140021dc9
lea rcx, str.ImageList_LoadImageA
call fcn.14001d46c
mov rbx, rax
test rax, rax
je 0x140021e08
mov qword [0x14046b8b0], rax
mov rcx, rbx
call fcn.1401bb6c4
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x140021e1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140021e20
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140021e39
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x140022874
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x18], 0
xor ebx, ebx
mov eax, dword [0x1404681f4]
test eax, eax
je 0x1400228b6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x1400228bf
call fcn.14000d1e8
test eax, eax
je 0x1400228db
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400228e3
xor eax, eax
jmp 0x140022927
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14002290a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14002290c
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140022925
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140026ed8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x140026f0a
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140026f0a
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140048728
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140026f1c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140026f47
mov r8, rdx
mov rdx, qword [rdi]
call fcn.14000fcf8
jmp 0x140026fbf
cmp byte [0x14046b9d8], 0
jne 0x140026f8e
lea rcx, [0x1401e8c60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140026f7e
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14046b9d0], rax
jmp 0x140026f85
mov rbx, qword [0x14046b9d0]
mov byte [0x14046b9d8], 1
jmp 0x140026f95
mov rbx, qword [0x14046b9d0]
test rbx, rbx
je 0x140026fb3
mov rcx, rbx
call fcn.1401bb6c4
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rsi
call rbx
jmp 0x140026fbf
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003b068
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx r14d, r8w
mov r15, rdx
mov r12, rcx
or r13d, 0xffffffff
movzx esi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x14046bde8]
and qword [rax + 0x20], 0
xor edi, edi
mov eax, dword [0x1404681f4]
test eax, eax
je 0x14003b0c6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x14003b0cf
call fcn.14000d1e8
test eax, eax
je 0x14003b0eb
lea rdx, [rsp + 0x78]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x14003b0f5
movzx eax, r13w
jmp 0x14003b166
test rbx, rbx
jne 0x14003b115
lea rcx, str.GetFileTitleA
call fcn.14003afd4
mov rbx, rax
test rax, rax
je 0x14003b131
mov qword [0x14046bde8], rax
mov rcx, rbx
call fcn.1401bb6c4
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx esi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp si, r13w
sete bl
test ebx, ebx
je 0x14003b148
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14003b14a
xor edi, edi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14003b163
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, si
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140040fd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x140040ffd
mov rdi, qword [rdx + 0x10]
jmp 0x14004104e
mov rdx, qword [rdx + 0x10]
mov r8d, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x14004101e
call fcn.14001e6dc
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x140041038
call fcn.14001e6dc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14004104e
call fcn.14001e6dc
call fcn.140012654
cmp qword [rax + 0x68], 0
je 0x140041068
mov rdx, rdi
mov rcx, rbp
call fcn.1400403cc
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400412d4
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14004108f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14004109e
mov rdi, rsi
mov qword [rbp + 0xf8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140041468
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x14046bf50]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1404681f4]
test eax, eax
je 0x1400414b4
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x1400414bd
call fcn.14000d1e8
test eax, eax
je 0x1400414d9
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400414e4
xor eax, eax
jmp 0x140041573
test r14, r14
jne 0x140041501
lea rcx, str.CreatePropertySheetPageA
call fcn.140041780
test rax, rax
je 0x14004153e
mov qword [0x14046bf50], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x140041522
cmp dword [rdi], 0x60
jb 0x140041522
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x140286120]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x14046bf50]
mov rcx, rbx
call fcn.1401bb6c4
mov rcx, rdi
call rbx
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x140041555
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140041557
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140041570
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14004158c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14046bf58]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404681f4]
test eax, eax
je 0x1400415d7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x1400415e0
call fcn.14000d1e8
test eax, eax
je 0x1400415fc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140041604
xor eax, eax
jmp 0x140041669
test rbx, rbx
jne 0x140041624
lea rcx, str.DestroyPropertySheetPage
call fcn.140041780
mov rbx, rax
test rax, rax
je 0x140041637
mov qword [0x14046bf58], rax
mov rcx, rbx
call fcn.1401bb6c4
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14004164c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14004164e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140041667
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140041680
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x14046bf60]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1404681f4]
test eax, eax
je 0x1400416cf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x1400416d8
call fcn.14000d1e8
test eax, eax
je 0x1400416f4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400416fe
or rax, 0xffffffffffffffff
jmp 0x140041768
test rbx, rbx
jne 0x14004171e
lea rcx, str.PropertySheetA
call fcn.140041780
mov rbx, rax
test rax, rax
je 0x140041733
mov qword [0x14046bf60], rax
mov rcx, rbx
call fcn.1401bb6c4
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x14004174a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14004174c
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140041765
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400507a4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14046bff8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404681f4]
test eax, eax
je 0x1400507ef
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x1400507f8
call fcn.14000d1e8
test eax, eax
je 0x140050814
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005081c
xor eax, eax
jmp 0x140050881
test rbx, rbx
jne 0x14005083c
lea rcx, str.GetOpenFileNameA
call fcn.14003afd4
mov rbx, rax
test rax, rax
je 0x14005084f
mov qword [0x14046bff8], rax
mov rcx, rbx
call fcn.1401bb6c4
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140050864
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140050866
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005087f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140050898
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14046c000]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404681f4]
test eax, eax
je 0x1400508e3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x1400508ec
call fcn.14000d1e8
test eax, eax
je 0x140050908
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140050910
xor eax, eax
jmp 0x140050975
test rbx, rbx
jne 0x140050930
lea rcx, str.GetSaveFileNameA
call fcn.14003afd4
mov rbx, rax
test rax, rax
je 0x140050943
mov qword [0x14046c000], rax
mov rcx, rbx
call fcn.1401bb6c4
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140050958
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005095a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140050973
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140076e2c
Capabilities:
Extract resource via kernel32 functions

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
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x140076e5d
call fcn.140012654
mov rdi, qword [rax + 0x18]
lea r8, [0x1401fb378]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x140076e7c
xor eax, eax
jmp 0x140076ec8
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140076e78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140076ebd
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140076ee4
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140079b18
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x14046c938]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1404681f4]
test eax, eax
je 0x140079b63
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1404681f4]
test eax, eax
jne 0x140079b6c
call fcn.14000d1e8
test eax, eax
je 0x140079b88
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140286120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140079b90
xor eax, eax
jmp 0x140079bf5
test rbx, rbx
jne 0x140079bb0
lea rcx, [0x1401fb228]
call fcn.14001d46c
mov rbx, rax
test rax, rax
je 0x140079bc3
mov qword [0x14046c938], rax
mov rcx, rbx
call fcn.1401bb6c4
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140079bd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140079bda
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140079bf3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14010534c
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret