joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180006490
Capabilities:
Delete file

Disassembly:
add rcx, 0x58
jmp 0x18000c690

Function at 0x1800065b0
Capabilities:
Query environment variable

Disassembly:
add rcx, 0x58
jmp 0x18000ce50

Function at 0x180008ed0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r8, str.HomeTab_47c2cd1b_8f48_4b52_a018_1baefdf41b7d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0xc58], rax
test rax, rax
je 0x180008f28
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180008f0b
xor eax, eax
add rsp, 0x20
pop rbx
ret
xor edx, edx
mov r8b, 3
lea ecx, [rdx + 6]
call fcn.1800698a0
test eax, eax
je 0x180008f28
mov rcx, qword [rbx + 0xc58]
call fcn.1800729e0
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x18000c690
Capabilities:
Delete file

Disassembly:
add rcx, 0x10
jmp 0x18000c690
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov rbx, rcx
call fcn.180011c10
test al, al
jne 0x18000c6d2
mov eax, 0x80004005
jmp 0x18000c764
lea rdx, [rbx + 0x80]
mov qword [rsp + 0x70], 7
xor eax, eax
mov qword [rsp + 0x68], rax
mov word [rsp + 0x58], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.180003570
nop
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180071140
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180012ea0
nop
cmp qword [rsp + 0x48], 8
jb 0x18000c738
mov rcx, qword [rsp + 0x30]
call fcn.1800bf8b4
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0x70], 8
jb 0x18000c762
mov rcx, qword [rsp + 0x58]
call fcn.1800bf8b4
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800bf8d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180014980
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r12, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x58], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x1800149c6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x1800149d3
call fcn.1800184d0
test eax, eax
je 0x1800149e9
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800149ed
xor eax, eax
jmp 0x180014a31
mov r8, rdi
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.USER32.dll_GetClassInfoExW]
mov esi, eax
mov dword [rsp + 0x20], eax
mov edi, ebx
test eax, eax
sete dil
test edi, edi
je 0x180014a16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x180014a2f
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret

Function at 0x180014cb0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
sub rsp, 0x70
mov edi, r9d
mov rsi, r8
mov r12, rdx
mov r13d, ecx
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x180014cff
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x180014d0c
call fcn.1800184d0
test eax, eax
je 0x180014d22
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x180014d29
xor eax, eax
jmp 0x180014dcc
mov qword [rsp + 0x58], rbx
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, r12
mov ecx, r13d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
mov edi, ebx
test rax, rax
sete dil
test edi, edi
je 0x180014db0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x180014dc9
mov ecx, ebx
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 r12, qword [r11 + 0x28]
mov rsp, r11
pop r13
ret
Function at 0x180015590
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov word [rsp + 0x20], bx
mov qword [rsp + 0x48], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x1800155cb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x1800155d8
call fcn.1800184d0
test eax, eax
je 0x1800155ee
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800155f3
mov ax, bx
jmp 0x180015635
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx edi, ax
mov word [rsp + 0x20], ax
mov esi, ebx
test di, di
sete sil
test esi, esi
je 0x180015619
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x180015632
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ax, di
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180015890
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x48], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x1800158cb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x1800158d8
call fcn.1800184d0
test eax, eax
je 0x1800158ee
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x1800158f2
xor eax, eax
jmp 0x180015934
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov qword [rsp + 0x20], rax
mov esi, ebx
test rax, rax
sete sil
test esi, esi
je 0x180015918
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test esi, esi
je 0x180015931
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180015fc0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x58], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x180015ffb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x180016008
call fcn.1800184d0
test eax, eax
je 0x18001601e
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x180016022
xor eax, eax
jmp 0x18001606a
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x20], rax
mov edi, ebx
test rax, rax
sete dil
test edi, edi
je 0x18001604e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x180016067
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x180016860
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x180016893
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x1800168a2
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x180016f20
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, dword [rcx + 8]
xor eax, eax
mov rsi, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
or edi, 0x2001f
xor r8d, r8d
mov r9d, edi
mov rbp, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x18001706c
test rcx, rcx
je 0x180016f95
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
and edi, 0x300
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], edi
test ebx, ebx
jne 0x18001706c
xor edi, edi
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180017041
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180016f20
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x18001706c
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180016ff0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180017056
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.180017150
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x180017077
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800bf8d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x180017150
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x180146d29], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1800171ab
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001719b
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x180146d29], 1
mov qword [0x180146d30], rax
jmp 0x1800171b2
mov rax, qword [0x180146d30]
mov byte [0x180146d29], 1
jmp 0x1800171b2
mov rax, qword [0x180146d30]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1800171d1
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]
Function at 0x180017ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, r9
mov rbx, r8
mov rax, rdx
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x70], r12
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rax
call fcn.180015fc0
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180017f67
call fcn.180016080
mov ebx, eax
jmp 0x1800180a9
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180017f8a
call fcn.180016080
mov ebx, eax
jmp 0x18001809f
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 0x180017faf
call fcn.180016080
mov ebx, eax
jmp 0x18001809f
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 0x180017fe8
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x180017fde
lea rcx, [rsp + 0x70]
call fcn.180016800
nop
mov eax, 0x8007000e
jmp 0x1800180c2
mov ecx, eax
test eax, eax
je 0x180018025
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18001801b
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x180018025
lea rcx, [rsp + 0x70]
call fcn.180016830
mov rax, qword [rsp + 0x70]
jmp 0x18001802f
mov ecx, 0x80070057
call fcn.180018720
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180018047
test rax, rax
jne 0x180018053
mov ebx, 0x8007000e
jmp 0x18001809f
mov dword [rsp + 0x28], ebx
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 0x18001807a
call fcn.180016080
mov ebx, eax
jmp 0x18001809f
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r12w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180017ce0
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1800180c0
lea rcx, [rsp + 0x70]
call fcn.180016800
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1800bf8d0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x180028580
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x830
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x820], rax
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
jne 0x18002869d
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x50]
mov r8d, 0x7d0
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rbx, qword [0x180140118]
lea rax, [rsp + 0x50]
shr rax, 0x10
lea r11, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
test ax, ax
jne 0x1800285f4
lea rcx, [rsp + 0x30]
movzx edx, r11w
call fcn.180014450
mov rbx, qword [rsp + 0x30]
jmp 0x180028653
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x848], rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rdi, eax
test eax, eax
je 0x18002864b
lea rcx, [rsp + 0x30]
mov edx, edi
call fcn.1800145b0
test eax, eax
je 0x180028646
lea eax, [rdi + 1]
mov r8, rdi
movsxd rcx, eax
add r8, r8
add rcx, rcx
cmp rcx, r8
jb 0x180028646
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800c2cf0
jmp 0x18002864b
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x848]
lea rdx, str.open
xor r9d, r9d
mov r8, rbx
xor ecx, ecx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbx - 0xc]
lea rax, [0x180140108]
cmp rcx, rax
je 0x1800286de
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x1800286de
call fcn.1800bf8f0
jmp 0x1800286de
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x38], rcx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [rsp + 0x48], 0x8200
movsxd rcx, eax
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov r8, qword [rsp + 0x40]
lea r9, [rsp + 0x38]
mov rcx, rax
mov edx, 0x4e
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1800bf8d0
add rsp, 0x830
pop rbx
ret
Function at 0x18003a4f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0x1a0
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, qword [0x180145d20]
mov r12, rcx
mov edi, 1
lea edx, [rdi + 0x67]
mov rcx, rbx
mov r8d, 0xf0
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x18003a6e1
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18003a6e1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18003a6e1
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x1d8], r13
mov qword [rsp + 0x198], r14
mov qword [rsp + 0x190], r15
xor r13d, r13d
mov r14d, 0x1234
mov r15d, 0x403
mov qword [rsp + 0x1c8], rbp
nop dword [rax]
movzx esi, word [rbx]
cmp r13w, si
je 0x18003a69b
movzx eax, word [rbx + 2]
mov ebp, dword [rbx + 4]
add rbx, 8
cmp r15w, ax
jne 0x18003a61a
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov rdx, rbx
mov qword [rsp + 0x70], rax
call fcn.18003e220
mov rax, qword [rsp + 0x70]
mov rcx, qword [r12 + 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, r13d
cmp rcx, rax
je 0x18003a690
call fcn.1800c17d4
jmp 0x18003a690
cmp r14w, ax
jne 0x18003a690
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.18003e220
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rcx
cmp rcx, rax
je 0x18003a667
call fcn.1800c17d4
mov rcx, qword [r12 + 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, r13d
add rbx, rbp
test edi, edi
jne 0x18003a5a0
mov rbp, qword [rsp + 0x1c8]
mov r13, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x1d0]
mov r14, qword [rsp + 0x198]
mov r15, qword [rsp + 0x190]
mov eax, edi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800bf8d0
add rsp, 0x1a0
pop r12
pop rdi
pop rbx
ret
mov eax, edi
jmp 0x18003a6c5
Function at 0x18003ebd0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x38], 0xffffffffffffffff
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x18003ec23
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x18003ec30
call fcn.1800184d0
test eax, eax
je 0x18003ec46
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18003ec4c
or rax, 0xffffffffffffffff
jmp 0x18003eca2
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov rdx, r12
mov rcx, r13
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
mov edi, ebx
cmp rax, 0xffffffffffffffff
sete dil
test edi, edi
je 0x18003ec86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18003ec9f
mov ecx, ebx
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 r12, qword [rsp + 0x68]
add rsp, 0x40
pop r13
ret
Function at 0x18003ecc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r13, r8
mov r12, rcx
call fcn.180025790
or rdi, 0xffffffffffffffff
mov rcx, r12
lea edx, [rdi + 0x69]
lea r8d, [rdi + 6]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x18003edea
lea edx, [rdi + 0x69]
mov r8d, 0xf0
mov rcx, r12
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor ebx, ebx
mov rbp, rbx
test rax, rax
je 0x18003ed37
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18003edba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x18003edb0
mov rdx, rbp
mov rcx, rax
call fcn.18003e8e0
lea r9, [0x18003e720]
mov r8, r13
mov rcx, r12
mov rdx, rax
mov qword [rsp + 0x20], rbx
mov rbp, rax
call fcn.18003ebd0
mov rdi, rax
test rax, rax
je 0x18003ed8f
cmp rax, 0xffffffffffffffff
jne 0x18003ed97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rbp, rsi
je 0x18003edc2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x18003edc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18003edc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rbp, qword [rsp + 0x58]
test ebx, ebx
je 0x18003edd3
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
mov rax, rdi
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret

Function at 0x18003f830
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x48], rbx
mov eax, dword [0x180146ce4]
test eax, eax
je 0x18003f86c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180146ce4]
test eax, eax
jne 0x18003f879
call fcn.1800184d0
test eax, eax
je 0x18003f88f
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1801400f0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18003f893
xor eax, eax
jmp 0x18003f8f1
mov rax, qword [0x180146d88]
test rax, rax
jne 0x18003f8b7
lea rcx, str.ImageList_Destroy
call fcn.18003fc40
mov qword [0x180146d88], rax
test rax, rax
je 0x18003f8c2
mov rcx, rdi
call rax
mov esi, eax
mov dword [rsp + 0x20], eax
mov edi, ebx
test esi, esi
sete dil
test edi, edi
je 0x18003f8d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18003f8ef
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret