joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140052540
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor edi, edi
mov r15, rdx
mov r14, rcx
cmp rdx, rdi
je 0x1400526b9
call fcn.1400519d0
mov rax, qword [r14 + 0x338]
mov r8, qword [rax]
mov rax, qword [r14 + 0x310]
mov qword [rsp + 0x30], rax
mov rax, qword [r14 + 0x300]
mov qword [rsp + 0x38], r8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rcx, qword [rax]
mov rax, qword [r14 + 0x2d8]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov r13, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [r14 + 0x338]
cmp rbp, rdi
je 0x1400525e7
cmp rbp, qword [r14 + 0x310]
je 0x1400525ec
call fcn.14009861c
cmp r12, rbx
je 0x1400526b9
cmp rbp, rdi
jne 0x140052604
call fcn.14009861c
mov r11, rdi
jmp 0x140052608
mov r11, qword [rbp]
cmp r12, qword [r11 + 0x28]
jne 0x140052613
call fcn.14009861c
mov rcx, r15
call fcn.1400980d0
mov r8, qword [r12 + 0x28]
lea rcx, [r12 + 0x10]
mov r9, r15
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.140005d88
cmp eax, edi
je 0x140052680
cmp rbp, rdi
jne 0x140052647
call fcn.14009861c
mov r11, rdi
jmp 0x14005264b
mov r11, qword [rbp]
cmp r12, qword [r11 + 0x28]
jne 0x140052656
call fcn.14009861c
mov r12, qword [r12]
cmp r13, rdi
jne 0x140052669
call fcn.14009861c
mov r11, rdi
jmp 0x14005266d
mov r11, qword [r13]
cmp rsi, qword [r11 + 0x28]
jne 0x140052678
call fcn.14009861c
mov rsi, qword [rsi]
jmp 0x1400525d2
cmp r13, rdi
jne 0x14005268c
call fcn.14009861c
jmp 0x140052690
mov rdi, qword [r13]
cmp rsi, qword [rdi + 0x28]
jne 0x14005269b
call fcn.14009861c
cmp qword [rsi + 0x30], 0x10
jb 0x1400526a8
mov rcx, qword [rsi + 0x18]
jmp 0x1400526ac
lea rcx, [rsi + 0x18]
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.14009c558
jmp 0x1400526bf
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140054f70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x140054ffe
call fcn.14004c7b0
test eax, eax
jne 0x140054ffe
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x140054ffe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140054fbe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbx
call fcn.1400980d0
test rax, rax
je 0x140054fe5
cmp byte [rax + rbx - 1], 0x5c
je 0x140054fe5
lea rdx, [rax + 2]
lea r8, [0x1400c55c0]
mov rcx, rbx
call fcn.140098ed8
lea r8, str.HPInstaller_
mov rdx, rdi
mov rcx, rbx
call fcn.140098ed8
mov eax, 1
jmp 0x140055000
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14005500c
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x20
and dword [rax + 0x10], 0
and dword [rax + 0x18], 0
lea rdx, [rax + 0x10]
mov rbx, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x38], eax
test eax, eax
jne 0x140055061
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004d8f0
lea r8, str.GetFileVersionInfoSize_failed_with__s_n
lea rcx, [0x14010f570]
mov r9, rax
mov edx, 0x80
call fcn.140001000
jmp 0x14005513d
mov ecx, eax
call fcn.140061284
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14005508a
lea rdx, str.Can_not_allocate_memory._n
lea rcx, [0x14010f570]
call fcn.14004b7ec
jmp 0x14005513d
mov r8d, dword [rsp + 0x38]
mov r9, rax
xor edx, edx
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x1400550ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004d8f0
lea rdx, str.GetFileVersionInfo_failed_with__s_n
lea rcx, [0x14010f570]
mov r8, rax
call fcn.14004b7ec
mov rcx, qword [rsp + 0x48]
jmp 0x140055138
mov rdi, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [0x1400c55c0]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140055112
cmp dword [rsp + 0x40], 0
je 0x140055112
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
mov ebx, dword [rdx + 8]
mov edx, dword [rdx + 0xc]
shl rbx, 0x20
or rbx, rdx
call fcn.14006127c
mov rax, rbx
jmp 0x14005513f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004d8f0
lea rdx, str.VerQueryValue_failed_with__s_n
lea rcx, [0x14010f570]
mov r8, rax
call fcn.14004b7ec
mov rcx, rdi
call fcn.14006127c
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14005514c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r8, str.IsSystemLocaleUserLocaleCodePageMismatched__
lea rcx, [0x14010f570]
mov edx, 2
call fcn.140001000
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea r8, str.System_LCID:__d_nUser_LCID:__d
lea rcx, [0x14010f570]
mov r9d, ebx
mov edx, 0x20
mov edi, eax
mov dword [rsp + 0x20], eax
call fcn.140001000
lea r8, [rsp + 0x30]
mov r9d, 6
mov edx, 0x1004
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea r8, [rsp + 0x38]
mov r9d, 6
mov edx, 0x1004
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea rcx, [rsp + 0x30]
call fcn.14009a5fc
lea rcx, [rsp + 0x38]
mov edi, eax
call fcn.14009a5fc
lea r8, str.System_Codepage:__d_nUser_Codepage:__d
lea rcx, [0x14010f570]
mov r9d, edi
mov edx, 0x20
mov ebx, eax
mov dword [rsp + 0x20], eax
call fcn.140001000
lea r8, str.IsSystemLocaleUserLocaleCodePageMismatched__
lea rcx, [0x14010f570]
mov edx, 4
call fcn.140001000
xor eax, eax
cmp edi, ebx
setne al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14005b3f4
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x330
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
cmp rcx, rbx
je 0x14005b654
cmp rdx, rbx
je 0x14005b654
mov byte [rsp + 0x210], bl
xor edx, edx
mov r8d, 0x103
lea rcx, [r11 - 0x147]
call fcn.1400988d0
mov r13d, 0x800
mov word [rsp + 0x28], r13w
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x210]
lea r8, str.RenamedAutorunFolder
lea rdx, str.Version
mov rcx, rsi
call fcn.14005ad18
mov edx, ebx
cmp eax, ebx
sete dl
cmp edx, ebx
je 0x14005b4c8
lea r8, str.RenamedAutorunFolder_key_is_missing__
mov edx, 0x400
lea rcx, [0x14010f570]
call fcn.140001000
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp eax, ebx
seta bl
mov esi, ebx
jmp 0x14005b650
lea rcx, [rsp + 0xa0]
call fcn.140017288
nop
mov r12d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rbx
mov byte [rsp + 0x48], bl
lea rcx, [0x1400c49dc]
call fcn.1400980d0
mov r8, rax
lea rdx, [0x1400c49dc]
lea rcx, [rsp + 0x40]
call fcn.14000352c
nop
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, str..._
mov qword [rsp + 0x20], rax
lea r9d, [r12 - 0xe]
mov rdx, rsi
lea rcx, [rsp + 0xa0]
call fcn.140012418
nop
cmp qword [rsp + 0x60], 0x10
jb 0x14005b551
mov rcx, qword [rsp + 0x48]
call fcn.14006127c
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x88], rbx
mov byte [rsp + 0x78], bl
lea rcx, [rsp + 0x210]
call fcn.1400980d0
mov r8, rax
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x70]
call fcn.14000352c
nop
mov r9d, r13d
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.140015768
mov edx, ebp
mov rcx, rdi
call fcn.140054f70
mov esi, eax
cmp eax, ebx
je 0x14005b61a
mov rcx, rdi
call fcn.1400980d0
cmp rax, rbx
jbe 0x14005b5d7
cmp byte [rdi + rax - 1], 0x5c
je 0x14005b5d7
lea rdx, [rax + 2]
lea r8, [0x1400c55c0]
mov rcx, rdi
call fcn.140098ed8
lea r8, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae r8, qword [rsp + 0x78]
mov rdx, rbp
mov rcx, rdi
call fcn.140098ed8
mov r9, rdi
lea r8, str.Using_infrastructure_directory__s
mov edx, 0x20
lea rcx, [0x14010f570]
call fcn.140001000
mov rcx, rdi
call fcn.14005c168
nop
cmp qword [rsp + 0x90], 0x10
jb 0x14005b62f
mov rcx, qword [rsp + 0x78]
call fcn.14006127c
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x88], rbx
mov byte [rsp + 0x78], bl
lea rcx, [rsp + 0xa0]
call fcn.140016824
mov eax, esi
jmp 0x14005b656
xor eax, eax
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x378]
add rsp, 0x330
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005bae0
Capabilities:
Compare security identifiers

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 r12
sub rsp, 0x220
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x210], rax
call fcn.14004c7b0
xor r12d, r12d
cmp eax, r12d
je 0x14005bb25
lea eax, [r12 + 1]
jmp 0x14005bcfd
lea rax, [rsp + 0x110]
mov ebp, r12d
mov dword [rsp + 0x60], r12d
mov byte [rsp + 0x7c], r12b
mov byte [rsp + 0x7d], r12b
mov byte [rsp + 0x7e], r12b
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x7f], r12b
mov byte [rsp + 0x80], r12b
mov byte [rsp + 0x81], 5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x70]
mov rcx, rax
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, r12d
jne 0x14005bb83
xor eax, eax
jmp 0x14005bcfd
mov r9d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
lea edi, [r8 + 2]
lea rax, [rsp + 0x60]
mov edx, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
cmp eax, r12d
jne 0x14005bbb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14005bb7c
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
cmp rax, r12
je 0x14005bb7c
mov r9d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov r8, rbx
mov edx, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
cmp eax, r12d
je 0x14005bb7c
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x7c]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov r8d, 0x20
mov dl, dil
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, r12d
je 0x14005bb7c
mov edi, r12d
cmp dword [rbx], r12d
jbe 0x14005bce2
lea rsi, [rbx + 8]
mov rdx, qword [rsi]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, r12d
je 0x14005bcd4
lea rax, [rsp + 0x78]
mov dword [rsp + 0x60], 0x80
mov rdx, qword [rsi]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x190]
lea r8, [rsp + 0x90]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
cmp eax, r12d
jne 0x14005bccf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x534
jne 0x14005bb7c
lea r8, str.NONE_MAPPED
lea rcx, [rsp + 0x90]
mov edx, 0x80
call fcn.1400986e0
mov ebp, 1
inc edi
add rsi, 0x10
cmp edi, dword [rbx]
jb 0x14005bc4c
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x14005bcf2
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebp
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140061100
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x14005bdac
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov rdi, rdx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1400988d0
mov r8, rbx
mov ebx, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.1400986e0
lea r8, [0x1400c55c0]
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140098ed8
lea rcx, [rsp + 0x20]
mov r8, rdi
mov rdx, rbx
call fcn.140098ed8
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14005be53
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14005be53
lea rdx, str.Hpzinst:_DeleteShortcut_failed_n
lea rcx, [0x14010f570]
call fcn.14004b9f0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret

Function at 0x14005c0b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov edi, ecx
call fcn.14004c758
test eax, eax
je 0x14005c0d8
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x14005c15d
lea rax, str.HPInstallerTemp
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
mov edi, eax
test eax, eax
je 0x14005c129
lea r8, str.Could_not_get_temp_path_____hr_d
lea rcx, [0x14010f570]
mov r9d, eax
mov edx, 0x400
call fcn.140001000
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14005c15d
test rbx, rbx
je 0x14005c155
mov rcx, rbx
call fcn.1400980d0
test rax, rax
je 0x14005c155
cmp byte [rax + rbx - 1], 0x5c
je 0x14005c155
lea rdx, [rax + 2]
lea r8, [0x1400c55c0]
mov rcx, rbx
call fcn.140098ed8
mov rcx, rbx
call fcn.1400980d0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14005c168
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
test rcx, rcx
jne 0x14005c1a8
lea r8, str.Trying_to_create_folder_with_pFolder__NULL___
lea rcx, [0x14010f570]
mov edx, 8
call fcn.140001000
jmp 0x14005c279
call fcn.1400980d0
test rax, rax
jne 0x14005c1bb
lea r8, str.Trying_to_create_folder_with_pFolder_______
jmp 0x14005c192
mov rcx, rbx
call fcn.14000bbb0
test eax, eax
je 0x14005c1d1
mov eax, 1
jmp 0x14005c27b
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.1400988d0
lea rdx, [rsp + 0x30]
mov r8d, 0x104
mov rcx, rbx
call fcn.14005be74
lea rcx, [rsp + 0x30]
call fcn.14005c168
test eax, eax
je 0x14005c25c
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14005c235
lea r8, str.Created_folder__s
lea rcx, [0x14010f570]
mov r9, rbx
mov edx, 0x20
call fcn.140001000
jmp 0x14005c1c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreateDirectory___s__failed.__error0x_x_n
lea rcx, [0x14010f570]
mov r9, rbx
mov edx, 8
mov dword [rsp + 0x20], eax
call fcn.140001000
jmp 0x14005c279
lea r9, [rsp + 0x30]
lea r8, str.CreateDirectory___s__failed.
lea rcx, [0x14010f570]
mov edx, 8
call fcn.140001000
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140061100
add rsp, 0x150
pop rbx
ret

Function at 0x14005c294
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp qword [0x140120190], 0
jne 0x14005c36a
and dword [rsp + 0x28], 0
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareMicrosoftInternet_Explorer
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call fcn.14004e070
test eax, eax
jne 0x14005c36a
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0xff
mov byte [rsp + 0x40], al
call fcn.1400988d0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
lea rdx, str.Version
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x100
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14005c360
cmp dword [rsp + 0x30], 1
jne 0x14005c360
lea rcx, [rsp + 0x40]
call fcn.14005bfe0
mov qword [0x140120190], rax
mov rcx, qword [rsp + 0x38]
call fcn.14004e608
mov rax, qword [0x140120190]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140061100
add rsp, 0x158
ret
Function at 0x140061120
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14010bfc0]
jne 0x14006111a
rol rcx, 0x10
test cx, 0xffff
jne 0x140061116
repz ret
ror rcx, 0x10
jmp 0x140061120
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rsi, [0x1401204f0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rdi, qword [0x1401205e8]
lea rdx, [rsp + 0x60]
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140061193
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x1401205e8]
jmp 0x1400611af
mov r11, qword [rsp + 0x58]
lea rax, [rsp + 0x58]
add rax, 8
mov qword [0x1401205e8], r11
mov qword [0x140120588], rax
mov rax, qword [0x14010bfc0]
mov qword [0x140120460], r11
mov qword [0x140120570], rbx
mov dword [0x140120450], 0xc0000409
mov dword [0x140120454], 1
mov qword [rsp + 0x78], rax
mov rax, qword [0x14010bfc8]
xor ecx, ecx
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400d86b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400611af
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14010bfc0]
jne 0x14006111a
rol rcx, 0x10
test cx, 0xffff
jne 0x140061116
repz ret
ror rcx, 0x10
jmp 0x140061120
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
lea rsi, [0x1401204f0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rdi, qword [0x1401205e8]
lea rdx, [rsp + 0x60]
mov rcx, rdi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140061193
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x1401205e8]
jmp 0x1400611af
mov r11, qword [rsp + 0x58]
lea rax, [rsp + 0x58]
add rax, 8
mov qword [0x1401205e8], r11
mov qword [0x140120588], rax
mov rax, qword [0x14010bfc0]
mov qword [0x140120460], r11
mov qword [0x140120570], rbx
mov dword [0x140120450], 0xc0000409
mov dword [0x140120454], 1
mov qword [rsp + 0x78], rax
mov rax, qword [0x14010bfc8]
xor ecx, ecx
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400d86b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140062a5c
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 r12
push r13
sub rsp, 0x20
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.1400638e0
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
cmp rax, rdi
je 0x140062ab8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.1400624f0
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x140062b4c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialogOneStopInit.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x140062b8b
cmp dword [rcx + 0xa8], 0
jne 0x140062b8b
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.1400638e0
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140062af0
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140064924
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 rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14008a454
mov rsi, rax
test rax, rax
je 0x1400649a0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14006499b
cmp dword [rbx], 0x40
jb 0x14006499b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x14006499b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x1400649a4
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret