joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019dd0
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 0x140019e0a
mov rcx, 0xffffffff80000001
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140019e65
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 0x140019e5f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x140019e67
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140019e80
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 0x140019ef6
mov ecx, dword [rsp + 0x38]
lea eax, [rcx - 1]
cmp eax, 0xfffffffd
ja 0x140019ef6
lea rdx, [rsp + 0x40]
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x140019ef6
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 0x140019eef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140019ef8
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14001e890
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 0x14001e953
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 0x14001e8c4
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 0x14001e956
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 0x14001e90f
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x14001e913
test rax, rax
je 0x14001e953
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 0x14001e944
cmp rdx, rax
jb 0x14001e930
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 0x14001f1f0
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 [0x1402c3a70]
xor esi, esi
mov rbx, r8
mov r14, rdx
mov ebp, ecx
test rax, rax
jne 0x14001f239
xor edx, edx
lea rcx, str.Setupapi.dll
call fcn.14001ff00
mov qword [0x1402c3a70], rax
test rax, rax
je 0x14001f316
cmp qword [0x1402c3a78], rsi
jne 0x14001f269
lea rdx, str.SetupDiGetClassDevsW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c3a78], rax
test rax, rax
je 0x14001f316
mov rax, qword [0x1402c3a70]
cmp qword [0x1402c3a80], rsi
jne 0x14001f299
lea rdx, str.SetupDiEnumDeviceInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c3a80], rax
test rax, rax
je 0x14001f316
mov rax, qword [0x1402c3a70]
cmp qword [0x1402c3a90], rsi
jne 0x14001f2c5
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c3a90], rax
test rax, rax
je 0x14001f316
mov rax, qword [0x1402c3a70]
cmp qword [0x1402c3a88], rsi
jne 0x14001f2f1
lea rdx, str.SetupDiGetDeviceInterfaceDetailW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c3a88], rax
test rax, rax
je 0x14001f316
mov rax, qword [0x1402c3a70]
cmp qword [0x1402c37e8], rsi
jne 0x14001f31d
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c37e8], rax
test rax, rax
jne 0x14001f31d
xor eax, eax
jmp 0x14001f3bd
mov r9d, 6
mov qword [rsp + 0x30], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [0x1402c3a78]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001f3b6
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 [0x1402c3a80]
test eax, eax
je 0x14001f3ad
nop word [rax + rax]
mov r8, rbx
mov rdx, rdi
mov ecx, ebp
call fcn.14001f840
cmp eax, 1
je 0x14001f3d3
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 [0x1402c3a80]
test eax, eax
jne 0x14001f370
mov rcx, rdi
call qword [0x1402c37e8]
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 0x14001f3b8
Function at 0x140020ab0
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 0x140020cd5
xor edx, edx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], dx
jne 0x140020ad6
test rax, rax
je 0x140020b14
xor ecx, ecx
nop word [rax + rax]
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x140020cd5
cmp r8w, 0x2f
je 0x140020cd5
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x140020af0
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.140020cf0
mov rsi, rax
test rax, rax
je 0x140020c05
mov qword [rsp + 0x50], r14
call fcn.140021550
mov r14, rax
test rax, rax
je 0x140020bf2
mov rcx, rsi
call fcn.14001e6f0
test eax, eax
je 0x140020bdb
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 0x140020b87
mov r8, rbx
mov rcx, rsi
call fcn.1401caf20
test eax, eax
je 0x140020baf
add rdi, 8
lea rax, [rsp + 0x30]
cmp rdi, rax
jb 0x140020b80
jmp 0x140020bbe
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.140020150
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x140020be9
mov rcx, rsi
call fcn.14001e690
test eax, eax
je 0x140020be9
mov rbp, rsi
xor esi, esi
jmp 0x140020be9
mov rdx, rsi
mov rcx, r14
call fcn.140020150
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 0x140020ca1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x140020caa
mov rcx, rbx
call fcn.14001e570
mov rdi, rax
test rax, rax
je 0x140020caa
mov ecx, 0x37e4
call fcn.14001fce0
test eax, eax
je 0x140020c3f
xor ecx, ecx
call fcn.1400211f0
jmp 0x140020c44
call fcn.140021550
mov rbx, rax
test rax, rax
je 0x140020c98
mov rdx, rdi
mov rcx, rax
call fcn.140020150
mov rbp, rax
test rax, rax
je 0x140020c8f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140020c71
test al, 0x50
je 0x140020c8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140020c84
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 0x140020caa
xor ecx, ecx
jmp 0x140020cb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140020cbd
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 0x140021550
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 0x1400215b2
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400215a7
cmp edi, eax
jb 0x1400215a7
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 0x140022520
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.140019dd0
test eax, eax
jne 0x140022573
lea rcx, [rsp + 0x50]
call fcn.140019e80
test eax, eax
jne 0x140022569
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x14002256e
movzx eax, word [rsp + 0x50]
movzx ecx, ax
jmp 0x140022577
mov ecx, dword [rsp + 0x58]
call fcn.140019bb0
mov esi, eax
call fcn.140024780
mov r9, rbx
mov r8d, edi
movzx edx, si
mov rcx, qword [rax + 0x18]
call fcn.1400226f0
test eax, eax
jne 0x1400225b0
call fcn.140024780
mov r9, rbx
mov r8d, edi
movzx edx, si
mov rcx, qword [rax + 0x10]
call fcn.1400226f0
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400226f0
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 0x140022762
mov r9d, 0x400
cmp bp, r9w
je 0x1400227bf
mov r8d, r14d
lea edx, [rbx + 6]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1400227bf
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1400227bf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
test rax, rax
je 0x1400227b6
and esi, 0xf
jbe 0x14002279e
mov ecx, esi
movzx eax, word [rdx]
lea rdx, [rdx + rax*2]
add rdx, 2
sub rcx, r12
jne 0x14002278e
movzx r8d, word [rdx]
test r8d, r8d
je 0x1400227b6
add rdx, 2
mov rcx, r15
call fcn.140019100
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 0x140022a30
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 0x140032aaf
cmp dword [rcx + 0xe8], 0
jne 0x140032aaf
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.140024780
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.140032e68
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 0x14002a5f0
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 0x14002a658
call fcn.140024780
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 0x14002a658
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14002a67a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.14003d000
mov esi, eax
test rdi, rdi
je 0x14002a678
test rbx, rbx
je 0x14002a678
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 0x14002b5b8
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 0x14002b690
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14002b690
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14002b690
test rsi, rsi
je 0x14002b690
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.140024780
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 0x14002b65d
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 0x14002b690
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.14003de18
mov esi, eax
test rbp, rbp
je 0x14002b680
test rdi, rdi
je 0x14002b680
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x14002b68c
mov rcx, rbx
call fcn.14002b214
mov eax, esi
jmp 0x14002b692
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 0x14002c8d0
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.14003b328
mov rdi, rax
test rax, rax
je 0x14002c94c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14002c947
cmp dword [rbx], 0x40
jb 0x14002c947
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 0x14002c947
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x14002c950
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 0x140031534
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 [0x1402c3e84]
test eax, eax
je 0x140031586
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c3e84]
test eax, eax
jne 0x14003158f
call fcn.140031ac0
test eax, eax
je 0x1400315ab
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402b5520]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400315b6
xor eax, eax
jmp 0x140031664
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 0x140031646
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140031648
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140031661
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 0x140031680
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 [0x1402c3e84]
test eax, eax
je 0x1400316ca
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c3e84]
test eax, eax
jne 0x1400316d3
call fcn.140031ac0
test eax, eax
je 0x1400316ef
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1402b5520]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400316f7
xor eax, eax
jmp 0x14003173e
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 0x140031721
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140031723
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14003173c
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 0x140031754
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 [0x1402c7268]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402c3e84]
test eax, eax
je 0x14003179f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c3e84]
test eax, eax
jne 0x1400317a8
call fcn.140031ac0
test eax, eax
je 0x1400317c4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402b5520]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400317cc
xor eax, eax
jmp 0x140031831
test rbx, rbx
jne 0x1400317ec
lea rcx, str.InitCommonControlsEx
call fcn.1400314a0
mov rbx, rax
test rax, rax
je 0x1400317ff
mov qword [0x1402c7268], rax
mov rcx, rbx
call fcn.1401c2f04
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 0x140031814
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140031816
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14003182f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400319e8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor r14d, r14d
mov word [rax - 0x18], r14w
mov qword [rax + 0x10], r14
mov ebx, r14d
mov eax, dword [0x1402c3e84]
test eax, eax
je 0x140031a30
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402c3e84]
test eax, eax
jne 0x140031a39
call fcn.140031ac0
test eax, eax
je 0x140031a55
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402b5520]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140031a5f
movzx eax, r14w
jmp 0x140031aa7
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx ebx, ax
mov word [rsp + 0x20], ax
mov edi, r14d
test bx, bx
sete dil
test edi, edi
je 0x140031a88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140031a8b
mov esi, r14d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140031aa4
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, bx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140032010
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
movsxd rbp, r8d
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0xd0], 0
jne 0x140032051
mov r8d, ebp
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14003212e
call fcn.1400232b0
mov r14, rax
test rax, rax
jne 0x140032069
mov ecx, 0x80004005
call fcn.14000f000
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401c2f04
mov rcx, r14
call rbx
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rdi, qword [rdi + 0xd0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x118]
mov rcx, rbx
call fcn.1401c2f04
lea rdx, [rsp + 0x50]
mov rcx, rdi
call rbx
mov rdx, rbp
or rbx, 0xffffffffffffffff
mov r9, rbx
mov r8, qword [rsp + 0x50]
mov rcx, rsi
call fcn.1401d7770
test eax, eax
je 0x1400320ea
cmp eax, 0xc
je 0x1400320e4
cmp eax, 0x16
je 0x1400320de
cmp eax, 0x22
je 0x1400320de
cmp eax, 0x50
je 0x1400320ea
call fcn.140023f80
int3
call fcn.140023f80
int3
call fcn.140023fb0
int3
test rsi, rsi
jne 0x1400320f3
xor ebp, ebp
jmp 0x1400320fe
mov rcx, rsi
call fcn.1401cb5b0
mov rbp, rax
mov rsi, qword [rsp + 0x50]
mov ecx, ebx
lock xadd dword [rsi - 8], ecx
add ecx, ebx
test ecx, ecx
jg 0x14003212c
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401c2f04
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret