joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ac1c
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0xc0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor ebx, ebx
cmp qword [0x004c2ce0], rbx
je 0x42ac5b
cmp qword [0x004c2d08], rbx
je 0x42ac5b
mov al, 1
jmp 0x42ae0d
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, ebx
jge 0x42ac86
mov rcx, qword [rsp + 0x30]
cmp rcx, rbx
je 0x42ac7f
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x42ae0d
cmp qword [0x004c2ce0], rbx
jne 0x42ad30
lea r8, [rsp + 0x38]
mov edx, 0x11
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jge 0x42acc0
mov rcx, qword [rsp + 0x30]
cmp rcx, rbx
je 0x42acb9
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x42ae0d
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.0042ab30
nop
mov r9b, 1
mov r8d, 0x8000
lea rdx, [0x004c2cc8]
lea rcx, [rsp + 0x50]
call fcn.0042b524
lea rcx, [rsp + 0x50]
call fcn.0042aeb0
nop
cmp qword [rsp + 0x88], 8
jb 0x42ad17
mov rcx, qword [rsp + 0x70]
call fcn.00443d3c
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], rbx
mov word [rsp + 0x70], bx
cmp qword [0x004c2d08], rbx
jne 0x42adfb
lea r8, [rsp + 0x38]
mov edx, 0x12
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jge 0x42ad6a
mov rcx, qword [rsp + 0x30]
cmp rcx, rbx
je 0x42ad63
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x42ae0d
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.0042ab30
nop
mov r9b, 1
mov r8d, 0x8000
lea rdx, [0x004c2cf0]
lea rcx, [rsp + 0x50]
call fcn.0042b524
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.0042af0c
nop
lea rcx, [rsp + 0x50]
call fcn.0042aeb0
nop
mov rcx, qword [rsp + 0x40]
cmp rcx, rbx
je 0x42adcd
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp qword [rsp + 0x88], 8
jb 0x42ade2
mov rcx, qword [rsp + 0x70]
call fcn.00443d3c
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], rbx
mov word [rsp + 0x70], bx
mov rcx, qword [rsp + 0x30]
cmp rcx, rbx
je 0x42ae0b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.00443d60
add rsp, 0xc0
pop rbx
ret
Function at 0x4311ec
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov edx, 0x141
call qword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
mov rdi, rax
cmp rax, rsi
je 0x431278
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x208
mov word [rsp + 0x20], si
call fcn.00449860
lea rdx, [rsp + 0x20]
mov r8d, 0x105
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x20], si
je 0x431278
mov rcx, qword [rbx + 8]
lea edi, [rsi + 1]
mov edx, edi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, edi
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.00443d60
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x431644
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetCapture]
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea r11, [rbx + 0x5d8]
lea r8, [0x004316a8]
mov qword [rsp + 0x28], r11
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x5d0], rax
add rsp, 0x30
pop rbx
ret
Function at 0x437e00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbp, rdx
mov rsi, rcx
xor eax, eax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov edi, dword [rcx + 8]
or edi, 0x2001f
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x437ff2
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x437e86
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
and qword [rsp + 0x40], 0
and dword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
and edi, 0x300
mov dword [rsp + 0x48], edi
xor edi, edi
cmp ebx, edi
jne 0x437ff4
mov dword [rsp + 0x50], pe_nt_image_headers64
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
jne 0x437f51
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.00437e00
mov ebx, eax
cmp eax, edi
jne 0x437f33
mov dword [rsp + 0x50], pe_nt_image_headers64
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
je 0x437ee0
jmp 0x437f51
mov rcx, qword [rsp + 0x40]
cmp rcx, rdi
je 0x438009
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
jmp 0x438009
mov rcx, qword [rsp + 0x40]
cmp rcx, rdi
je 0x437f66
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
cmp byte [0x004c57e8], dil
jne 0x437fae
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rax, rdi
je 0x437f9e
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x004c57f0], rax
jmp 0x437fa5
mov rax, qword [0x004c57f0]
mov byte [0x004c57e8], 1
jmp 0x437fb5
mov rax, qword [0x004c57f0]
cmp rax, rdi
je 0x437fcd
xor r9d, r9d
mov r8d, dword [rsi + 8]
mov rdx, rbp
mov rcx, qword [rsi]
call rax
mov ebx, eax
jmp 0x437fdb
mov rdx, rbp
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
cmp rcx, rdi
je 0x438009
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
jmp 0x438009
xor edi, edi
mov rcx, qword [rsp + 0x40]
cmp rcx, rdi
je 0x438009
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.00443d60
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x438f3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp rax, rbx
jne 0x438fb0
call fcn.00422cfc
mov ebx, eax
jmp 0x4390ec
mov r8, r12
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
cmp rax, rbx
jne 0x438fd3
call fcn.00422cfc
mov ebx, eax
jmp 0x4390e2
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
mov qword [rsp + 0x40], rax
cmp rax, rbx
jne 0x438ff8
call fcn.00422cfc
mov ebx, eax
jmp 0x4390e2
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x439031
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x439027
lea rcx, [rsp + 0x70]
call fcn.00437160
nop
mov eax, 0x8007000e
jmp 0x439105
mov ecx, eax
cmp rcx, rbx
je 0x43906a
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x439060
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x43906a
lea rcx, [rsp + 0x70]
call fcn.00437190
jmp 0x439074
mov ecx, 0x80070057
call fcn.004066bc
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x439086
mov rax, qword [rsp + 0x70]
cmp rax, rbx
jne 0x439097
mov ebx, 0x8007000e
jmp 0x4390e2
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r12
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x4390be
call fcn.00422cfc
mov ebx, eax
jmp 0x4390e2
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.00438d7c
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x439103
lea rcx, [rsp + 0x70]
call fcn.00437160
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.00443d60
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x439dc4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x70
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov qword [r11 - 0x48], rdx
mov qword [r11 - 0x40], rbx
xor r13d, r13d
mov qword [r11 - 0x60], r13
cmp qword [rdx + 0x20], 8
jb 0x439e16
lea rsi, [rdx + 8]
mov rdx, qword [rsi]
jmp 0x439e1d
lea rsi, [rdx + 8]
mov rdx, rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r13d
je 0x439e86
cmp qword [rdi + 0x20], 8
jb 0x439e51
mov rcx, qword [rsi]
call fcn.00443d3c
mov ebp, 7
mov qword [rdi + 0x20], rbp
mov qword [rdi + 0x18], r13
mov word [rsi], r13w
cmp qword [rbx + 0x20], 8
jb 0x439e72
mov rcx, qword [rbx + 8]
call fcn.00443d3c
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x18], r13
mov word [rbx + 8], r13w
xor al, al
jmp 0x439f7c
mov dword [rsp + 0x30], r13d
mov eax, 4
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], eax
cmp qword [rbx + 0x20], 8
jb 0x439ea9
lea r12, [rbx + 8]
mov rdx, qword [r12]
jmp 0x439eb0
lea r12, [rbx + 8]
mov rdx, r12
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r13d
je 0x439f29
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rdi + 0x20], 8
jb 0x439ef7
mov rcx, qword [rsi]
call fcn.00443d3c
mov ebp, 7
mov qword [rdi + 0x20], rbp
mov qword [rdi + 0x18], r13
mov word [rsi], r13w
cmp qword [rbx + 0x20], 8
jb 0x439f18
mov rcx, qword [r12]
call fcn.00443d3c
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x18], r13
mov word [r12], r13w
xor al, al
jmp 0x439f7c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r11d, dword [rsp + 0x30]
mov dword [rbp], r11d
cmp qword [rdi + 0x20], 8
jb 0x439f4c
mov rcx, qword [rsi]
call fcn.00443d3c
mov ebp, 7
mov qword [rdi + 0x20], rbp
mov qword [rdi + 0x18], r13
mov word [rsi], r13w
cmp qword [rbx + 0x20], 8
jb 0x439f6d
mov rcx, qword [r12]
call fcn.00443d3c
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x18], r13
mov word [r12], r13w
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.00443d60
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x439fa4
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, VarUI4FromDisp
mov edi, r9d
xor ebx, ebx
call fcn.00449860
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, ebx
je 0x43a007
cmp dword [rsp + 0x30], 2
jne 0x43a007
cmp dword [rsp + 0x24], 5
jne 0x43a007
cmp dword [rsp + 0x28], edi
jne 0x43a007
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.00443d60
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
Function at 0x445770
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x4457aa
call fcn.00447ffc
and dword [rax], 0
call fcn.00447fd4
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.00447ef8
mov eax, ebx
jmp 0x4457fa
test edx, 0xfffffff9
jne 0x44577d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4457d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00448024
call fcn.00447fd4
mov eax, dword [rax]
jmp 0x4457fa
test al, 0x10
jne 0x4457f8
test al, 1
je 0x4457f8
test bl, 2
je 0x4457f8
call fcn.00447ffc
mov dword [rax], 5
call fcn.00447fd4
mov dword [rax], 0xd
jmp 0x4457ca
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x4466c8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.0044baec
nop
cmp dword [0x004c30e8], 1
je 0x446670
mov dword [0x004c30e4], 1
mov byte [0x004c30e0], r12b
test ebx, ebx
jne 0x44665c
mov rcx, qword [0x004c8010]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x446649
mov rcx, qword [0x004c8008]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x4465e8
call fcn.004475d4
cmp qword [rdi], rax
jne 0x4465e8
jmp 0x4465ce
cmp rdi, rsi
jb 0x446649
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.004475d4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x004c8010]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x004c8008]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x446627
cmp r13, rax
je 0x446647
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x4465ce
lea rdx, [0x0048faf8]
lea rcx, [0x0048fae0]
call fcn.00446404
lea rdx, [0x0048fb08]
lea rcx, [0x0048fb00]
call fcn.00446404
nop
test r12d, r12d
je 0x44667f
mov ecx, 8
call fcn.0044b9dc
test r12d, r12d
jne 0x4466aa
mov dword [0x004c30e8], 1
lea ecx, [r12 + 8]
call fcn.0044b9dc
mov ecx, r15d
call fcn.00446388
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x446538

Function at 0x4466d8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x446538
Function at 0x447b7f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x004bf230]
jne 0x443d7a
rol rcx, 0x10
test cx, 0xffff
jne 0x443d76
repz ret
ror rcx, 0x10
jmp 0x447ad8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x004c36d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x004c37c8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x447b5d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x004c36d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x447b7f
mov rax, qword [rsp + 0x88]
mov qword [0x004c37c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x004c3768], rax
mov rax, qword [0x004c37c8]
mov qword [0x004c3640], rax
mov rax, qword [rsp + 0x90]
mov qword [0x004c3750], rax
mov dword [0x004c3630], 0xc0000409
mov dword [0x004c3634], 1
mov rax, qword [0x004bf230]
mov qword [rsp + 0x68], rax
mov rax, qword [0x004bf238]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x004c36c8], eax
mov ecx, 1
call fcn.0044c398
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x00490230]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x004c36c8], 0
jne 0x447c06
mov ecx, 1
call fcn.0044c398
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x44bf64
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.004475d4
xor ebx, ebx
mov rdi, rax
cmp qword [0x004c3e98], rbx
jne 0x44c06a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x44c13f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x44c13f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x00490358]
mov rcx, rsi
mov qword [0x004c3e98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x004c3ea0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x004c3ea8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x004c3eb8], rax
test rax, rax
je 0x44c061
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x004c3eb0], rax
jmp 0x44c071
mov rax, qword [0x004c3eb0]
jmp 0x44c078
mov rax, qword [0x004c3eb0]
mov r11, qword [0x004c3eb8]
cmp rax, rdi
je 0x44c0e0
cmp r11, rdi
je 0x44c0e0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x004c3eb8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x44c0e0
test rax, rax
je 0x44c0e0
call rsi
test rax, rax
je 0x44c0da
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x44c0da
test byte [rsp + 0x38], 1
jne 0x44c0e0
bts ebp, 0x15
jmp 0x44c11e
mov rcx, qword [0x004c3ea0]
cmp rcx, rdi
je 0x44c11e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x44c11e
call rax
mov rbx, rax
test rax, rax
je 0x44c11e
mov rcx, qword [0x004c3ea8]
cmp rcx, rdi
je 0x44c11e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x44c11e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x004c3e98]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x44c13f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x44c141
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x451960
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x004c4080]
test rcx, rcx
jne 0x4518af
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x4518a8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x4518da
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x4518a4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x004c4080], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x45194d
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x4518fd
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x004c4080]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x45192a
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x45194d
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x004c4080]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x451931
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x451834

Function at 0x45273c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
and qword [r11 - 0x10], 0
lea rax, [r11 - 0x10]
mov ebx, r9d
mov rsi, r8
mov edi, 1
xor r8d, r8d
mov r9d, edi
mov qword [r11 - 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4527c6
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x4527c6
lea eax, [rbx + rbx]
lea r9, [rsp + 0x34]
lea rdx, str.ProductDir
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x4527c0
cmp dword [rsp + 0x34], edi
je 0x4527c2
xor edi, edi
mov eax, edi
jmp 0x4527c8
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x4528a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor esi, esi
mov rdi, rcx
add rcx, 0x1544
mov dword [rcx - 4], esi
lea r8d, [rsi + 0x18]
call fcn.00449960
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x208
mov word [rsp + 0x40], si
call fcn.00449860
mov ebx, 0x105
lea rcx, [rsp + 0x40]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, esi
je 0x4529d7
mov r8d, dword [rdi + 0x1548]
lea r9d, [rsi + 0x31]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.004527e0
lea rdx, [rsp + 0x40]
mov ecx, ebx
call fcn.0040ddbc
cmp eax, esi
je 0x4529d7
mov r8d, dword [rdi + 0x154c]
lea r9d, [rsi + 0x31]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.004527e0
lea rax, [rsp + 0x30]
lea r9d, [rsi + 1]
lea rdx, str.SoftwareMicrosoftVisualStudio6.0Setup
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4529d7
lea rbx, str.Microsoft_Visual_C
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 0x104
call fcn.0045273c
cmp eax, esi
je 0x4529bc
mov r8d, dword [rdi + 0x1558]
lea rdx, [rsp + 0x40]
mov r9d, 0x31
mov rcx, rdi
call fcn.004527e0
lea rax, str.ProductDir
add rbx, 8
cmp rbx, rax
jl 0x452986
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.00443d60
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret