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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x20], 0
xor ebx, ebx
mov eax, dword [0x140265b7c]
test eax, eax
je 0x1400155ae
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140265b7c]
test eax, eax
jne 0x1400155b7
call fcn.14000d050
test eax, eax
je 0x1400155d3
lea rdx, [rsp + 0x58]
mov rcx, qword [0x14025d4b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400155db
xor eax, eax
jmp 0x140015622
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x140015605
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140015607
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140015620
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x140015638
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 [0x140268f48]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140265b7c]
test eax, eax
je 0x140015683
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140265b7c]
test eax, eax
jne 0x14001568c
call fcn.14000d050
test eax, eax
je 0x1400156a8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14025d4b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400156b0
xor eax, eax
jmp 0x14001570d
test rbx, rbx
jne 0x1400156d0
lea rcx, [0x1401be780]
call fcn.140015368
mov rbx, rax
test rax, rax
je 0x1400156db
mov qword [0x140268f48], rax
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 0x1400156f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400156f2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14001570b
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 0x1400157f0
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 [0x140265b7c]
test eax, eax
je 0x140015838
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140265b7c]
test eax, eax
jne 0x140015841
call fcn.14000d050
test eax, eax
je 0x14001585d
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14025d4b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140015867
movzx eax, r14w
jmp 0x1400158af
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx ebx, ax
mov word [rsp + 0x20], ax
mov edi, r14d
test bx, bx
sete dil
test edi, edi
je 0x140015890
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140015893
mov esi, r14d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400158ac
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 0x140015f54
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0xc8], 0
jne 0x140015f92
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14001604a
call fcn.14000ab8c
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140015fb1
mov ecx, 0x80004005
call fcn.140005bd0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + pe_nt_image_headers64]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14019486c
test eax, eax
je 0x140016019
cmp eax, 0xc
je 0x140016013
cmp eax, 0x16
je 0x14001600d
cmp eax, 0x22
je 0x14001600d
cmp eax, 0x50
je 0x140016019
call fcn.140008aa8
int3
call fcn.140008aa8
int3
call fcn.140008acc
int3
test rbx, rbx
je 0x140016029
mov rcx, rbx
call fcn.140194850
mov rbx, rax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140016048
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001ba00
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14001ba7a
xor r8d, r8d
call fcn.14001bcc4
mov rsi, rax
test rax, rax
jne 0x14001ba36
mov eax, edi
jmp 0x14001ba90
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x14001ba32
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14001c5bc
Capabilities:
Delete registry key

Disassembly:
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 0x14001c61f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c633
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001c633
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14001c638
cmp dword [rcx + 8], 0
je 0x14001c633
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14001c638
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14001fc24
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
je 0x14001fc75
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001fc89
lea rdx, str.SetFileAttributesTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001fc89
mov r8, qword [rbx]
mov edx, edi
mov rcx, rsi
call rax
jmp 0x14001fc8b
cmp dword [rcx + 8], 0
je 0x14001fc89
mov edx, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14001fc8b
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001fc9c
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14025eb70]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
xor r12d, r12d
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
je 0x14001fcf0
mov rdx, rcx
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, rbp
call fcn.14001f4dc
neg eax
sbb esi, esi
and esi, dword [rsp + 0x58]
jmp 0x14001fcf8
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x14001fd0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
mov ecx, eax
call fcn.140038490
mov edx, dword [r14 + 0x20]
cmp edx, esi
je 0x14001fd4d
test sil, 1
je 0x14001fd4d
test rbp, rbp
je 0x14001fd30
mov r8d, edx
mov rcx, rbp
mov rdx, rdi
call fcn.14001fc24
jmp 0x14001fd39
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14001fd4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
mov ecx, eax
call fcn.140038490
lea rcx, [r14 + 8]
cmp qword [rcx], rbx
je 0x14001fe61
lea rdx, [rsp + 0x48]
call fcn.14001f27c
lea rcx, [r14 + 0x10]
cmp qword [rcx], rbx
je 0x14001fd7c
lea rdx, [rsp + 0x50]
call fcn.14001f27c
lea r12, [rsp + 0x50]
cmp qword [r14], rbx
je 0x14001fd93
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14001f27c
lea rbx, [rsp + 0x40]
test rbp, rbp
je 0x14001fdcd
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x80
mov r9d, 1
mov r8d, 0xc0000000
mov rdx, rdi
mov rcx, rbp
mov dword [rsp + 0x28], 3
and qword [rsp + 0x20], 0
call fcn.14001f3e8
jmp 0x14001fdf8
and qword [rsp + 0x30], 0
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 1]
mov rcx, rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14001fe11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
mov ecx, eax
call fcn.140038490
lea r9, [rsp + 0x48]
mov r8, r12
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x14001fe44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rdi
mov ecx, ebx
call fcn.140038490
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14001fe61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
mov ecx, eax
call fcn.140038490
mov edx, dword [r14 + 0x20]
cmp edx, esi
je 0x14001fea1
test sil, 1
jne 0x14001fea1
test rbp, rbp
je 0x14001fe84
mov r8d, edx
mov rcx, rbp
mov rdx, rdi
call fcn.14001fc24
jmp 0x14001fe8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14001fea1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
mov ecx, eax
call fcn.140038490
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140193150
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001fec4
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 [0x140265b7c]
test eax, eax
je 0x14001ff06
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140265b7c]
test eax, eax
jne 0x14001ff0f
call fcn.14000d050
test eax, eax
je 0x14001ff2b
lea rdx, [rsp + 0x50]
mov rcx, qword [0x14025d4b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14001ff33
xor eax, eax
jmp 0x14001ff77
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x14001ff5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14001ff5c
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14001ff75
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 0x140024208
Capabilities:
Delete file

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

Function at 0x14002424c
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 0x140024272
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14001c5bc
jmp 0x1400242d9
cmp byte [0x1402693e8], 0
jne 0x1400242b6
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400242a6
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402693e0], rax
jmp 0x1400242ad
mov rax, qword [0x1402693e0]
mov byte [0x1402693e8], 1
jmp 0x1400242bd
mov rax, qword [0x1402693e0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400242d3
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x1400242d9
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400375a0
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 edi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x1402697d8]
and qword [rax + 0x20], 0
xor esi, esi
mov eax, dword [0x140265b7c]
test eax, eax
je 0x1400375fe
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140265b7c]
test eax, eax
jne 0x140037607
call fcn.14000d050
test eax, eax
je 0x140037623
lea rdx, [rsp + 0x78]
mov rcx, qword [0x14025d4b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14003762d
movzx eax, r13w
jmp 0x140037696
test rbx, rbx
jne 0x14003764d
lea rcx, str.GetFileTitleW
call fcn.1400374f0
mov rbx, rax
test rax, rax
je 0x140037661
mov qword [0x1402697d8], rax
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx edi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp di, r13w
sete bl
test ebx, ebx
je 0x140037678
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14003767a
xor esi, esi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140037693
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, di
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 0x140046884
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 [0x1402698e0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140265b7c]
test eax, eax
je 0x1400468cf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140265b7c]
test eax, eax
jne 0x1400468d8
call fcn.14000d050
test eax, eax
je 0x1400468f4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14025d4b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400468fc
xor eax, eax
jmp 0x140046959
test rbx, rbx
jne 0x14004691c
lea rcx, str.GetOpenFileNameW
call fcn.1400374f0
mov rbx, rax
test rax, rax
je 0x140046927
mov qword [0x1402698e0], rax
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 0x14004693c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14004693e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140046957
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 0x140046970
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 [0x1402698e8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140265b7c]
test eax, eax
je 0x1400469bb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140265b7c]
test eax, eax
jne 0x1400469c4
call fcn.14000d050
test eax, eax
je 0x1400469e0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14025d4b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400469e8
xor eax, eax
jmp 0x140046a45
test rbx, rbx
jne 0x140046a08
lea rcx, str.GetSaveFileNameW
call fcn.1400374f0
mov rbx, rax
test rax, rax
je 0x140046a13
mov qword [0x1402698e8], rax
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 0x140046a28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140046a2a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140046a43
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 0x140047814
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x140046f6e
xor eax, eax
add rsp, 0x28
ret
call fcn.140046f8c
mov rcx, rax
add rsp, 0x28
jmp 0x140047814
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 [0x1402698f8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140265b7c]
test eax, eax
je 0x14004785f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140265b7c]
test eax, eax
jne 0x140047868
call fcn.14000d050
test eax, eax
je 0x140047884
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14025d4b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14004788c
xor eax, eax
jmp 0x1400478e9
test rbx, rbx
jne 0x1400478ac
lea rcx, str.ImageList_Destroy
call fcn.140015368
mov rbx, rax
test rax, rax
je 0x1400478b7
mov qword [0x1402698f8], rax
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 0x1400478cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400478ce
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400478e7
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 0x140047900
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 [0x140269900]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x140265b7c]
test eax, eax
je 0x14004795d
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140265b7c]
test eax, eax
jne 0x140047966
call fcn.14000d050
test eax, eax
je 0x140047982
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14025d4b8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x14004798d
xor eax, eax
jmp 0x140047a18
test rbx, rbx
jne 0x1400479ad
lea rcx, str.ImageList_LoadImageW
call fcn.140015368
mov rbx, rax
test rax, rax
je 0x1400479e4
mov qword [0x140269900], rax
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 0x1400479fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400479fc
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140047a15
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 0x14006f024
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 0x14006f055
call fcn.14001d328
mov rdi, qword [rax + 0x18]
lea r8, [0x1401d2c00]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x14006f074
xor eax, eax
jmp 0x14006f0c0
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14006f070
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14006f0b5
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.14006f0dc
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