joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a300
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rbx
push rsi
push r12
push r14
sub rsp, 0x68
mov rdx, qword [rcx + 0x10]
xor r9d, r9d
sub rdx, qword [rcx + 8]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
mov r14, rcx
mov esi, 0x32
sar rdx, 2
mov r12d, r9d
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14000a505
mov r8, qword [rcx + 8]
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r13
movabs r13, 0x4e6470b061fd8cdd
mov qword [r11 - 0x28], r15
mov r15d, r9d
nop word [rax + rax]
mov rcx, qword [r15 + r8 + 8]
mov rax, r13
sub rcx, qword [r15 + r8]
mov edi, r9d
imul rcx
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14000a4b2
mov rbp, r9
nop dword [rax]
mov rax, qword [r14 + 0x28]
lea rdx, str.BUTTON
mov qword [rsp + 0x58], r9
xor r8d, r8d
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov rax, qword [r14]
mov qword [rsp + 0x48], r9
mov r9d, 0x40000003
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0xa
mov dword [rsp + 0x30], 0xa
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x159
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [r14 + 8]
xor r9d, r9d
mov rbx, rax
add esi, 0x14
mov rdx, qword [r15 + rcx]
lea r8d, [r9 + 1]
mov rcx, rax
mov qword [rdx + rbp + 0x678], rax
mov edx, 0xf1
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r8, qword [r14 + 8]
mov rax, r13
mov rcx, qword [r15 + r8 + 8]
sub rcx, qword [r15 + r8]
imul rcx
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jbe 0x14000a47a
mov rcx, qword [r15 + r8 + 8]
mov rax, r13
sub rcx, qword [r15 + r8]
imul rcx
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea eax, [rdi + 1]
movsxd rcx, eax
cmp rcx, rdx
jne 0x14000a47a
add esi, 0x14
mov rcx, qword [r15 + r8 + 8]
inc edi
sub rcx, qword [r15 + r8]
mov rax, r13
imul rcx
add rbp, 0x688
mov r9d, 0
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, edi
cmp rax, rdx
jb 0x14000a3a0
mov rcx, qword [r14 + 0x10]
inc r12d
sub rcx, qword [r14 + 8]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
add r15, 0x18
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r12d
cmp rax, rdx
jb 0x14000a370
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rax, qword [r14 + 0x28]
lea rdx, str.BUTTON
mov qword [rsp + 0x58], r9
xor r8d, r8d
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov rax, qword [r14]
mov qword [rsp + 0x48], r9
mov r9d, 0x40000003
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0xa
mov dword [rsp + 0x30], 0xa
mov dword [rsp + 0x28], 0xd
mov dword [rsp + 0x20], 5
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov edx, 1
mov rbx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf1
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [r14 + 0x50], rbx
add rsp, 0x68
pop r14
pop r12
pop rsi
pop rbx
ret
Function at 0x1400191a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x30]
mov rbx, rdx
mov qword [rsp + 0x20], rax
mov rdi, rcx
lea rdx, str.SOFTWARENVIDIA_CorporationNVControlPanel2Client
mov r9d, 1
mov rcx, 0xffffffff80000002
test r8d, r8d
jne 0x1400191da
mov rcx, 0xffffffff80000001
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140019235
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov eax, 4
xor r8d, r8d
mov dword [rsp + 0x60], eax
mov rdx, rdi
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x14001922f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140019237
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140019250
Capabilities:
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x40], 0
mov rbx, rcx
and dword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1400192c6
mov ecx, dword [rsp + 0x38]
lea eax, [rcx - 1]
cmp eax, 0xfffffffd
ja 0x1400192c6
lea rdx, [rsp + 0x40]
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x1400192c6
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [rbx], ax
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400192bf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400192c8
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14001dc90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x14001dd53
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x14001dcc4
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14001dd56
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x14001dd0f
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x14001dd13
test rax, rax
je 0x14001dd53
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001dd44
cmp rdx, rax
jb 0x14001dd30
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e5f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rax, qword [0x1402c0978]
xor esi, esi
mov rbx, r8
mov r14, rdx
mov ebp, ecx
test rax, rax
jne 0x14001e639
xor edx, edx
lea rcx, str.Setupapi.dll
call fcn.14001f240
mov qword [0x1402c0978], rax
test rax, rax
je 0x14001e716
cmp qword [0x1402c0da0], rsi
jne 0x14001e669
lea rdx, str.SetupDiGetClassDevsW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c0da0], rax
test rax, rax
je 0x14001e716
mov rax, qword [0x1402c0978]
cmp qword [0x1402c0da8], rsi
jne 0x14001e699
lea rdx, str.SetupDiEnumDeviceInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c0da8], rax
test rax, rax
je 0x14001e716
mov rax, qword [0x1402c0978]
cmp qword [0x1402c0db8], rsi
jne 0x14001e6c5
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c0db8], rax
test rax, rax
je 0x14001e716
mov rax, qword [0x1402c0978]
cmp qword [0x1402c0db0], rsi
jne 0x14001e6f1
lea rdx, str.SetupDiGetDeviceInterfaceDetailW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c0db0], rax
test rax, rax
je 0x14001e716
mov rax, qword [0x1402c0978]
cmp qword [0x1402c06f8], rsi
jne 0x14001e71d
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c06f8], rax
test rax, rax
jne 0x14001e71d
xor eax, eax
jmp 0x14001e7bd
mov r9d, 6
mov qword [rsp + 0x30], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [0x1402c0da0]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001e7b6
xor eax, eax
mov r8, rbx
mov qword [rbx], rax
xor edx, edx
mov qword [rbx + 8], rax
mov rcx, rdi
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov dword [rbx], 0x20
call qword [0x1402c0da8]
test eax, eax
je 0x14001e7ad
nop word [rax + rax]
mov r8, rbx
mov rdx, rdi
mov ecx, ebp
call fcn.14001eb80
cmp eax, 1
je 0x14001e7d3
xor eax, eax
inc esi
mov qword [rbx], rax
mov r8, rbx
mov qword [rbx + 8], rax
mov edx, esi
mov qword [rbx + 0x10], rax
mov rcx, rdi
mov qword [rbx + 0x18], rax
mov dword [rbx], 0x20
call qword [0x1402c0da8]
test eax, eax
jne 0x14001e770
mov rcx, rdi
call qword [0x1402c06f8]
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [r14], rdi
mov eax, 1
jmp 0x14001e7b8
Function at 0x14001fdf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x140020015
xor edx, edx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], dx
jne 0x14001fe16
test rax, rax
je 0x14001fe54
xor ecx, ecx
nop word [rax + rax]
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x140020015
cmp r8w, 0x2f
je 0x140020015
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x14001fe30
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.140020030
mov rsi, rax
test rax, rax
je 0x14001ff45
mov qword [rsp + 0x50], r14
call fcn.1400207c0
mov r14, rax
test rax, rax
je 0x14001ff32
mov rcx, rsi
call fcn.14001daf0
test eax, eax
je 0x14001ff1b
lea rax, str.system32_
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x14001fec7
mov r8, rbx
mov rcx, rsi
call fcn.1401ca210
test eax, eax
je 0x14001feef
add rdi, 8
lea rax, [rsp + 0x30]
cmp rdi, rax
jb 0x14001fec0
jmp 0x14001fefe
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.14001f490
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x14001ff29
mov rcx, rsi
call fcn.14001da90
test eax, eax
je 0x14001ff29
mov rbp, rsi
xor esi, esi
jmp 0x14001ff29
mov rdx, rsi
mov rcx, r14
call fcn.14001f490
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x14001ffe1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x14001ffea
mov rcx, rbx
call fcn.14001d970
mov rdi, rax
test rax, rax
je 0x14001ffea
mov ecx, 0x37e4
call fcn.14001f020
test eax, eax
je 0x14001ff7f
xor ecx, ecx
call fcn.140020500
jmp 0x14001ff84
call fcn.1400207c0
mov rbx, rax
test rax, rax
je 0x14001ffd8
mov rdx, rdi
mov rcx, rax
call fcn.14001f490
mov rbp, rax
test rax, rax
je 0x14001ffcf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001ffb1
test al, 0x50
je 0x14001ffcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14001ffc4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x14001ffea
xor ecx, ecx
jmp 0x14001fff7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001fffd
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, LoadRegTypeLib
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x1400207c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140020822
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140020817
cmp edi, eax
jb 0x140020817
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400217c0
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov edi, ecx
xor ebp, ebp
lea rdx, [rax + 0x20]
lea rcx, str.UserDefinedLocale
mov word [rax + 0x18], bp
xor r8d, r8d
mov dword [rax + 0x20], ebp
call fcn.1400191a0
test eax, eax
jne 0x140021813
lea rcx, [rsp + 0x50]
call fcn.140019250
test eax, eax
jne 0x140021809
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x14002180e
movzx eax, word [rsp + 0x50]
movzx ecx, ax
jmp 0x140021817
mov ecx, dword [rsp + 0x58]
call fcn.140018fc0
mov esi, eax
call fcn.140023a90
mov r9, rbx
mov r8d, edi
movzx edx, si
mov rcx, qword [rax + 0x18]
call fcn.140021990
test eax, eax
jne 0x140021850
call fcn.140023a90
mov r9, rbx
mov r8d, edi
movzx edx, si
mov rcx, qword [rax + 0x10]
call fcn.140021990
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x140021990
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 r12
push r14
push r15
sub rsp, 0x20
mov eax, r8d
xor ebx, ebx
shr eax, 4
mov r15, r9
mov esi, r8d
movzx ebp, dx
movzx r9d, dx
mov rdi, rcx
lea r12d, [rbx + 1]
add ax, r12w
lea edx, [rbx + 6]
movzx r14d, ax
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
jne 0x140021a02
mov r9d, 0x400
cmp bp, r9w
je 0x140021a5f
mov r8d, r14d
lea edx, [rbx + 6]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x140021a5f
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140021a5f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
test rax, rax
je 0x140021a56
and esi, 0xf
jbe 0x140021a3e
mov ecx, esi
movzx eax, word [rdx]
lea rdx, [rdx + rax*2]
add rdx, 2
sub rcx, r12
jne 0x140021a2e
movzx r8d, word [rdx]
test r8d, r8d
je 0x140021a56
add rdx, 2
mov rcx, r15
call fcn.140018510
mov ebx, r12d
mov rcx, rdi
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]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140021d20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
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 0x140031dcf
cmp dword [rcx + 0xe8], 0
jne 0x140031dcf
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.140023a90
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
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.140032188
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 0x140029920
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 0x140029988
call fcn.140023a90
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140029988
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400299aa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.14003c240
mov esi, eax
test rdi, rdi
je 0x1400299a8
test rbx, rbx
je 0x1400299a8
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 0x14002a8d8
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 0x14002a9b0
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14002a9b0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14002a9b0
test rsi, rsi
je 0x14002a9b0
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.140023a90
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14002a97d
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 0x14002a9b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.14003d058
mov esi, eax
test rbp, rbp
je 0x14002a9a0
test rdi, rdi
je 0x14002a9a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x14002a9ac
mov rcx, rbx
call fcn.14002a534
mov eax, esi
jmp 0x14002a9b2
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 0x14002bb80
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.14003a568
mov rdi, rax
test rax, rax
je 0x14002bbfc
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14002bbf7
cmp dword [rbx], 0x40
jb 0x14002bbf7
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_SendMessageW]
bt rax, 0xd
jb 0x14002bbf7
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x14002bc00
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 0x140030854
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 [0x1402c11b4]
test eax, eax
je 0x1400308a6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c11b4]
test eax, eax
jne 0x1400308af
call fcn.140030de0
test eax, eax
je 0x1400308cb
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402b3530]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400308d6
xor eax, eax
jmp 0x140030984
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_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x140030966
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140030968
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140030981
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 0x1400309a0
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 [0x1402c11b4]
test eax, eax
je 0x1400309ea
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c11b4]
test eax, eax
jne 0x1400309f3
call fcn.140030de0
test eax, eax
je 0x140030a0f
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1402b3530]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140030a17
xor eax, eax
jmp 0x140030a5e
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140030a41
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140030a43
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140030a5c
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 0x140030a74
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 [0x1402c4598]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c11b4]
test eax, eax
je 0x140030abf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c11b4]
test eax, eax
jne 0x140030ac8
call fcn.140030de0
test eax, eax
je 0x140030ae4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402b3530]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140030aec
xor eax, eax
jmp 0x140030b51
test rbx, rbx
jne 0x140030b0c
lea rcx, str.InitCommonControlsEx
call fcn.1400307c0
mov rbx, rax
test rax, rax
je 0x140030b1f
mov qword [0x1402c4598], rax
mov rcx, rbx
call fcn.1401c24a4
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 0x140030b34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140030b36
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140030b4f
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