joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007d4c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
jmp 0x140007db2
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x140007f1d
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x140007e68
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x140007e63
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
call qword [0x140594d10]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140007e2b
xor eax, eax
jmp 0x140007f22
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 8], ecx
movsxd rax, dword [rsp + 0x24]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1401e2ed0
jmp 0x140007d9a
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x10]
add rax, rcx
cmp qword [rsp + 0x58], rax
jae 0x140007e89
xor eax, eax
jmp 0x140007f22
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
call qword [0x140594d10]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140007ec9
xor eax, eax
jmp 0x140007f22
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x30]
call fcn.1401e2a80
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 8], ecx
jmp 0x140007d9a
mov eax, 1
add rsp, 0x48
ret
Function at 0x140007f28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
movzx eax, word [rsp + 0x30]
mov word [rsp + 8], ax
mov eax, 1
mov word [rsp + 4], ax
xor eax, eax
mov word [rsp], ax
mov dword [rsp + 0xc], 0
jmp 0x140007f68
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0xc], eax
jge 0x140007fd8
movzx eax, word [rsp + 4]
movzx ecx, word [rsp]
cmp eax, ecx
jne 0x140007f85
xor eax, eax
mov word [rsp], ax
movsxd rax, dword [rsp + 0xc]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
add eax, 0x609
movsxd rcx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x20]
mov byte [rdx + rcx], al
movsxd rax, dword [rsp + 0xc]
movzx ecx, word [rsp]
movzx ecx, word [rsp + rcx*2 + 8]
mov rdx, qword [rsp + 0x20]
movzx eax, byte [rdx + rax]
xor eax, ecx
movsxd rcx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x20]
mov byte [rdx + rcx], al
movzx eax, word [rsp]
inc ax
mov word [rsp], ax
jmp 0x140007f5e
add rsp, 0x18
ret
Function at 0x140008144
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14058e400]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor ecx, ecx
call fcn.140044580
mov rcx, qword [rsp + 0x110]
call fcn.14000802c
lea rdx, str.Local_AppWizard_Generated_Applications
mov rcx, qword [rsp + 0x110]
call fcn.140042f98
mov edx, 4
mov rcx, qword [rsp + 0x110]
call fcn.1400405fc
mov ecx, 0xf8
call fcn.140003238
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400081ec
lea rax, str.CSTMEditorView
mov qword [rsp + 0x20], rax
lea r9, str.CMainFrame
lea r8, str.CSTMEditorDoc
mov edx, 0x80
mov rcx, qword [rsp + 0x38]
call fcn.140043de8
mov qword [rsp + 0x40], rax
jmp 0x1400081f5
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x110]
call fcn.140041a24
mov rcx, qword [rsp + 0x110]
call fcn.140041d2c
mov edx, 1
mov rcx, qword [rsp + 0x110]
call fcn.140042348
lea rcx, [rsp + 0x80]
call fcn.14003f610
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x110]
call fcn.1400407c4
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x110]
call fcn.140041f48
test eax, eax
jne 0x140008294
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x80]
call fcn.14003f944
mov eax, dword [rsp + 0x30]
jmp 0x1400083e3
mov edx, 5
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 0x40]
call fcn.140029024
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 0x40]
call fcn.140008a50
mov edx, 1
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 0x40]
call fcn.140008004
call fcn.140007a3c
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0xd0], 0x55
mov byte [rsp + 0xd1], 0x73
mov byte [rsp + 0xd2], 0x65
mov byte [rsp + 0xd3], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0xd4], 0x33
mov byte [rsp + 0xd5], 0x32
mov byte [rsp + 0xd6], 0x2e
mov byte [rsp + 0xd7], 0x64
mov byte [rsp + 0xd8], VarBstrFromDisp
mov byte [rsp + 0xd9], VarBstrFromDisp
mov byte [rsp + 0xda], 0
mov byte [rsp + 0xe0], 0x53
mov byte [rsp + 0xe1], 0x68
mov byte [rsp + 0xe2], VarBstrFromDisp
mov byte [rsp + 0xe3], 0x77
mov byte [rsp + 0xe4], 0x57
mov byte [rsp + 0xe5], 0x69
mov byte [rsp + 0xe6], VarBstrFromDisp
mov byte [rsp + 0xe7], 0x64
mov byte [rsp + 0xe8], VarBstrFromDisp
mov byte [rsp + 0xe9], 0x77
mov byte [rsp + 0xea], 0
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x68]
call fcn.1400080ec
mov dword [rsp + 0x34], 1
lea rcx, [rsp + 0x80]
call fcn.14003f944
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401e1560
add rsp, 0x108
ret
Function at 0x140020880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x1400208e8
call fcn.14003b8bc
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x1400208e8
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14002090a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.1400501e8
mov esi, eax
test rdi, rdi
je 0x140020908
test rbx, rbx
je 0x140020908
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140021880
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
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140021958
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140021958
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140021958
test rsi, rsi
je 0x140021958
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.14003b8bc
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x140021925
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, r14
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140021958
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.1400558e0
mov esi, eax
test rbp, rbp
je 0x140021948
test rdi, rdi
je 0x140021948
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x140021954
mov rcx, rbx
call fcn.1400214e8
mov eax, esi
jmp 0x14002195a
xor eax, eax
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 0x140022ab0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.1400532b8
mov rdi, rax
test rax, rax
je 0x140022b2c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x140022b27
cmp dword [rbx], 0x40
jb 0x140022b27
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x140022b27
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140022b30
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400275cc
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], r14
push r15
sub rsp, 0x70
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15d, ecx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x140594d64]
test eax, eax
je 0x14002761e
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140594d64]
test eax, eax
jne 0x140027627
call fcn.140027b54
test eax, eax
je 0x140027643
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14058ced8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14002764e
xor eax, eax
jmp 0x1400276fc
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rsi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x1400276de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400276e0
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400276f9
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x140027718
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 [0x140594d64]
test eax, eax
je 0x140027762
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140594d64]
test eax, eax
jne 0x14002776b
call fcn.140027b54
test eax, eax
je 0x140027787
lea rdx, [rsp + 0x58]
mov rcx, qword [0x14058ced8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14002778f
xor eax, eax
jmp 0x1400277d6
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExA]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400277b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400277bb
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400277d4
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 0x1400277ec
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 [0x140598148]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140594d64]
test eax, eax
je 0x140027837
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140594d64]
test eax, eax
jne 0x140027840
call fcn.140027b54
test eax, eax
je 0x14002785c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14058ced8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140027864
xor eax, eax
jmp 0x1400278c9
test rbx, rbx
jne 0x140027884
lea rcx, str.InitCommonControlsEx
call fcn.140027538
mov rbx, rax
test rax, rax
je 0x140027897
mov qword [0x140598148], rax
mov rcx, rbx
call fcn.1401e1eac
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 0x1400278ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400278ae
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400278c7
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 0x140027a7c
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 [0x140594d64]
test eax, eax
je 0x140027ac4
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140594d64]
test eax, eax
jne 0x140027acd
call fcn.140027b54
test eax, eax
je 0x140027ae9
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14058ced8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140027af3
movzx eax, r14w
jmp 0x140027b3b
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 0x140027b1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140027b1f
mov esi, r14d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140027b38
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 0x1400285b8
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 0x1400285f9
mov r8d, ebp
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1400286d6
call fcn.14001c7f8
mov r14, rax
test rax, rax
jne 0x140028611
mov ecx, 0x80004005
call fcn.1400024b0
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401e1eac
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.1401e1eac
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.1401e9f34
test eax, eax
je 0x140028692
cmp eax, 0xc
je 0x14002868c
cmp eax, 0x16
je 0x140028686
cmp eax, 0x22
je 0x140028686
cmp eax, 0x50
je 0x140028692
call fcn.14001a9a0
int3
call fcn.14001a9a0
int3
call fcn.14001a9c4
int3
test rsi, rsi
jne 0x14002869b
xor ebp, ebp
jmp 0x1400286a6
mov rcx, rsi
call fcn.1401e5cf0
mov rbp, rax
mov rsi, qword [rsp + 0x50]
mov ecx, ebx
lock xadd dword [rsi - 8], ecx
add ecx, ebx
test ecx, ecx
jg 0x1400286d4
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401e1eac
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 0x1400293e8
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
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x140029427
cmp dword [rcx + 0xe8], 0
jne 0x140029427
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.14003b8bc
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.1400297dc
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140029484
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
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.14003b8bc
lea r8d, [rdi + 5]
mov rdx, rbx
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400294e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.140029518
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
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 0x14002a1ec
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], r14
push r15
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x140594d64]
test eax, eax
je 0x14002a23e
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140594d64]
test eax, eax
jne 0x14002a247
call fcn.140027b54
test eax, eax
je 0x14002a263
lea rdx, [rsp + 0x30]
mov rcx, qword [0x14058ced8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14002a26b
xor eax, eax
jmp 0x14002a2c3
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov rsi, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x14002a2a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14002a2a7
xor edi, edi
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14002a2c0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x1400338b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r15, rdx
mov r14, rcx
call fcn.14003b8bc
mov r8d, 0xf1
mov rdx, r15
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor r12d, r12d
test rax, rax
jne 0x1400338fa
xor eax, eax
jmp 0x1400339d2
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1400338f3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400338f3
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001a93c
mov rbp, rax
mov r9d, r12d
cmp r12w, word [rbx + 6]
jae 0x14003396c
mov rdx, rax
lea r8, [rbx + 8]
movzx ecx, word [r8]
inc r9d
mov dword [rdx], ecx
lea r8, [r8 + 2]
movzx eax, word [rbx + 6]
lea rdx, [rdx + 4]
cmp r9d, eax
jl 0x140033952
movzx r8d, word [rbx + 6]
mov rdx, rbp
mov rcx, r14
call fcn.14003420c
mov rcx, rbp
mov esi, eax
call fcn.14001a934
test esi, esi
je 0x1400339c7
movzx ecx, word [rbx + 4]
movzx eax, word [rbx + 2]
mov dword [rsp + 0x60], eax
add eax, 7
mov dword [rsp + 0x68], eax
lea eax, [rcx + 7]
mov dword [rsp + 0x64], ecx
mov r8, qword [rsp + 0x60]
mov rcx, r14
mov dword [rsp + 0x6c], eax
mov rdx, qword [rsp + 0x68]
call fcn.14003442c
mov rdx, r15
mov rcx, r14
call fcn.140033838
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140038e7c
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 [0x140598340]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140594d64]
test eax, eax
je 0x140038ec7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140594d64]
test eax, eax
jne 0x140038ed0
call fcn.140027b54
test eax, eax
je 0x140038eec
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14058ced8]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140038ef4
xor eax, eax
jmp 0x140038f59
test rbx, rbx
jne 0x140038f14
lea rcx, str.GetOpenFileNameA
call fcn.140038de8
mov rbx, rax
test rax, rax
je 0x140038f27
mov qword [0x140598340], rax
mov rcx, rbx
call fcn.1401e1eac
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 0x140038f3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140038f3e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140038f57
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