joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140014198
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140014198
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140014185
nop
cmp rbx, rcx
jae 0x140014198
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140014170
cmp rbx, rcx
jae 0x140014198
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x14001419a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400141b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov eax, r8d
mov rsi, rdx
shr eax, 4
mov edi, r8d
inc ax
mov r14, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x1400142ce
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140014211
xor edi, edi
mov ebx, edi
jmp 0x140014269
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x140014228
xor edi, edi
mov ebx, edi
jmp 0x140014269
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140014255
nop
cmp rbx, rcx
jae 0x14001425a
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140014240
cmp rbx, rcx
jb 0x140014260
xor edi, edi
mov ebx, edi
jmp 0x140014269
xor edi, edi
cmp word [rbx], di
cmove rbx, rdi
test rbx, rbx
je 0x1400142ce
mov rax, qword [r14]
mov ecx, 1
movzx esi, word [rbx]
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, esi
or ecx, eax
jge 0x14001428f
mov edx, esi
mov rcx, r14
call fcn.140014770
movzx r9d, word [rbx]
lea r8, [rbx + 2]
mov rcx, qword [r14]
mov rdx, rsi
call fcn.1401f92d4
test eax, eax
je 0x1400142b5
cmp eax, 0xc
je 0x1400142f1
test dil, dil
jne 0x1400142b5
cmp eax, 0x50
jne 0x1400142eb
mov rcx, qword [r14]
cmp esi, dword [rcx - 0xc]
jg 0x1400142f7
mov dword [rcx - 0x10], esi
mov eax, 1
mov rcx, qword [r14]
mov word [rcx + rsi*2], di
jmp 0x1400142d0
xor eax, eax
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
call fcn.140068494
int3
call fcn.1400684b8
int3
mov ecx, 0x80070057
call fcn.140005f00
int3
Function at 0x140016730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rsi, r8
mov ebx, ecx
call fcn.14006da1c
movzx edx, bx
lea r8, [0x1402890b8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400168c7
call fcn.14006da1c
mov rdx, rdi
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400168c7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400168c7
call fcn.14006da1c
mov rdx, rdi
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1400168c7
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call fcn.14021f8d0
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140019a50
nop
cmp qword [rsp + 0xf8], 0
je 0x140016853
mov r8d, edi
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140009950
lea rcx, [rsp + 0x78]
call fcn.14000b320
test rax, rax
jne 0x140016853
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rsp + rcx + 0xb8], 0
cmovne eax, edx
or eax, dword [rsp + rcx + 0x80]
and eax, 0x17
mov dword [rsp + rcx + 0x80], eax
mov edx, dword [rsp + rcx + 0x84]
and edx, eax
jne 0x1400168ec
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140008e10
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x118]
call fcn.140029b4c
nop
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14004d990
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test dl, 4
je 0x1400168fa
lea rbx, [0x140287310]
jmp 0x14001690f
test dl, 2
lea rbx, [0x140287328]
lea rax, [0x140287340]
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140002890
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400034b0
lea rdx, [0x1402c1f00]
lea rcx, [rsp + 0x40]
call fcn.1401eae28
int3
Function at 0x140027840
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 rbx, rcx
cmp rdx, 0x10000
jae 0x140063ebb
cmp dword [rcx + 0xe8], 0
jne 0x140063ebb
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.14006da1c
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140063eff
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140063eff
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.140064234
jmp 0x140063f01
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004314c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14002fd26
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14002fd09
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14002fcf4

Function at 0x14004cf88
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.1401fd7cc
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14004cfda
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14004cfda
sub ecx, 1
je 0x14004cfd3
cmp ecx, 1
je 0x14004cfcc
xor eax, eax
jmp 0x14004cfdf
mov eax, 3
jmp 0x14004cfdf
mov eax, 1
jmp 0x14004cfdf
mov eax, 2
add rsp, 0x28
ret

Function at 0x14004e774
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004e7be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004e7be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004e7be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004e7be
cmp dword [rcx + 0x84], 0xe
jbe 0x14004e7be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004e7c0
xor al, al
add rsp, 0x28
ret
Function at 0x140051618
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, 0x30
xor ebx, ebx
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
je 0x140051680
call fcn.14006da1c
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140051680
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400516c6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edi, 1
test rbx, rbx
je 0x1400516a5
mov rcx, qword [r15]
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rax, qword [rcx + 0x40]
mov rcx, r15
call qword [case.0x14018c939.0]
mov edi, eax
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x1400516c4
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r14
call qword [case.0x14018c939.0]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14005238c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, r8
mov rdi, rdx
mov r8, rcx
test rdx, rdx
je 0x14005242c
movzx eax, word [rdx]
mov r9d, ebx
jmp 0x1400523c8
movzx eax, ax
add rax, rdx
mov rdx, rax
inc r9d
movzx eax, word [rax]
test ax, ax
jne 0x1400523b9
test r9d, r9d
je 0x14005242c
cmp r9d, 1
jne 0x1400523ec
mov r8, r14
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x140052445
xor eax, eax
jmp 0x14005242f
lea esi, [r9 - 1]
mov rcx, rdi
test esi, esi
je 0x140052408
mov edx, esi
movzx eax, word [rcx]
add bx, ax
add rcx, rax
sub rdx, 1
jne 0x1400523f9
movzx edx, bx
mov rcx, r8
add edx, 2
call fcn.1400522b0
movzx r8d, bx
mov rdx, rdi
mov rcx, rax
mov qword [r14], rax
call fcn.14021f230
mov eax, esi
jmp 0x14005242f
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
call fcn.140068494
int3
Function at 0x14006300c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rdi, r9
mov rbx, r8
and qword [r9], 0
mov r14, qword [rbp + 0x40]
and dword [r14], 0
cmp qword [rcx + 0xb0], 0
je 0x1400630e4
xor r8d, r8d
call fcn.140063474
mov rsi, rax
test rax, rax
je 0x140063190
mov qword [rbp - 0x20], rsi
and dword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and dword [rbp + 0x20], 0
and dword [rbp + 0x40], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0x40]
mov dword [r14], ecx
test eax, eax
jne 0x1400630c8
call fcn.140014a30
mov qword [rdi], rax
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400630c8
lea ebx, [rax + 1]
jmp 0x1400630d6
mov rcx, qword [rdi]
call fcn.140014a40
and qword [rdi], 0
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14006318e
mov rax, qword [rcx]
and qword [rsp + 0x20], 0
mov r9, rbx
mov r8, rdx
lea rdx, [rbp + 0x40]
mov rax, qword [rax + 0x108]
call qword [case.0x14018c939.0]
nop
mov rax, qword [rbp + 0x40]
mov ecx, dword [rax - 0x10]
test ecx, ecx
jne 0x140063114
xor ebx, ebx
jmp 0x14006316d
shr ecx, 1
mov dword [r14], ecx
call fcn.140014a30
mov qword [rdi], rax
xor r8d, r8d
lea ebx, [r8 + 1]
cmp dword [r14], r8d
jbe 0x140063169
lea ecx, [r8 + r8]
lea edx, [rcx + 1]
test edx, edx
js 0x1400631a5
mov rax, qword [rbp + 0x40]
cmp edx, dword [rax - 0x10]
jg 0x1400631a5
test ecx, ecx
js 0x1400631a5
cmp ecx, dword [rax - 0x10]
jg 0x1400631a5
movsxd rcx, ecx
mov dl, byte [rax + rcx*2 + 2]
shl dl, 4
sub dl, 0x51
add dl, byte [rax + rcx*2]
mov rax, qword [rdi]
mov byte [r8 + rax], dl
add r8d, ebx
cmp r8d, dword [r14]
jb 0x14006312d
mov rax, qword [rbp + 0x40]
lea rdx, [rax - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14006318e
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14018c939.0]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140005f00
int3
Function at 0x1400631b0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14006322b
xor r8d, r8d
call fcn.140063474
mov rsi, rax
test rax, rax
je 0x140063227
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140063227
mov eax, dword [rsp + 0x30]
jmp 0x140063241
mov eax, edi
jmp 0x140063241
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140063254
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f68]
mov eax, 0x2068
call fcn.14004e1c0
sub rsp, rax
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rbp + 0x1f50], rax
mov r12, r9
mov r10, r8
mov rdi, rdx
mov rsi, qword [rbp + 0x1fd0]
mov qword [rsp + 0x38], rdx
xor r13d, r13d
cmp qword [rcx + 0xb0], r13
je 0x1400633f7
xor r8d, r8d
mov rdx, r10
call fcn.140063474
mov r14, rax
test rax, rax
jne 0x1400632c7
mov rdx, rsi
jmp 0x14006342f
call fcn.140068b40
mov rcx, rax
test rax, rax
je 0x140063468
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14018c939.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x30], r13d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test eax, eax
jne 0x140063393
mov edx, dword [rsp + 0x30]
shr edx, 1
lea ecx, [rax + 1]
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edx
or eax, ecx
jge 0x140063346
lea rcx, [rsp + 0x38]
call fcn.140014770
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1401fe238
test eax, eax
js 0x14006345d
cmp eax, dword [rbx - 0xc]
jg 0x14006345d
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15d, r15d
jne 0x1400633c8
lea rcx, [rbx - 0x18]
call fcn.14004f494
add rax, 0x18
mov qword [rdi], rax
or eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x140063437
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
jmp 0x1400633e8
mov rdx, rsi
mov rcx, rdi
call fcn.14004eb8c
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140063437
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14018c939.0]
jmp 0x140063437
lea r8, [0x140287358]
test rsi, rsi
cmovne r8, rsi
mov rax, qword [rcx + 0xd8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x50]
mov rdx, r12
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14004eb8c
mov rax, rdi
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.14004d990
add rsp, 0x2068
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070057
call fcn.140005f00
nop
mov ecx, 0x80004005
call fcn.140005f00
int3
Function at 0x140063da4
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
mov rbx, qword [rcx + 0x100]
xor r14d, r14d
mov rdi, rcx
mov rsi, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], r14
je 0x140063e0b
call fcn.14006da1c
mov rdx, qword [rdi + 0xf0]
lea r8d, [r14 + 5]
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140063e0b
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rsi, rsi
je 0x140063e1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov eax, 1
test rbx, rbx
je 0x140063e61
mov edx, 0xffff
lea rcx, [rbx + 0xc]
cmp word [rbx + 2], dx
jne 0x140063e40
movzx r8d, word [rbx + 0x12]
movzx edx, word [rbx + 0x14]
jmp 0x140063e4b
movzx edx, word [rcx]
mov rcx, rbx
movzx r8d, word [rbx + 0xa]
test dword [rcx], 0x1801
jne 0x140063e5e
test r8w, r8w
jne 0x140063e5e
test dx, dx
je 0x140063e61
mov eax, r14d
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 0x140063e7c
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 rbx, rcx
cmp rdx, 0x10000
jae 0x140063ebb
cmp dword [rcx + 0xe8], 0
jne 0x140063ebb
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.14006da1c
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140063eff
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140063eff
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.140064234
jmp 0x140063f01
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140063f18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
call fcn.14006da1c
mov r8d, 5
mov rdx, rbx
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140063f82
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140063f82
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.140063f9c
jmp 0x140063f84
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006439c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rcx
mov r12, qword [rcx + 0x100]
mov rdi, qword [rcx + 0xf8]
call fcn.14006da1c
mov r13, qword [rax + 0x18]
cmp qword [rbx + 0xf0], 0
je 0x140064407
call fcn.14006da1c
mov r13, qword [rax + 0x18]
mov r8d, 5
mov rdx, qword [rbx + 0xf0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14006441d
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rdi, rdi
je 0x140064418
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test r12, r12
jne 0x140064426
or rax, 0xffffffffffffffff
jmp 0x1400645df
mov rcx, rbx
call fcn.140064b00
mov rdi, rax
mov qword [rsp + 0x20], rax
call fcn.14006f854
xor r14d, r14d
mov dword [rsp + 0x78], r14d
xor esi, esi
mov qword [rsp + 0x88], rsi
xor r15d, r15d
mov dword [rsp + 0x80], r15d
test rdi, rdi
je 0x140064507
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rdi, rax
je 0x140064507
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x140064507
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
lea r14d, [rsi + 1]
mov dword [rsp + 0x78], r14d
call fcn.14006bdb8
mov rdx, rax
test rax, rax
je 0x1400644ff
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x14018c939.0]
mov rsi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140064507
mov rax, qword [rax]
mov rcx, rsi
mov rax, qword [rax + 0x2a0]
call qword [case.0x14018c939.0]
test eax, eax
je 0x140064507
mov rcx, rsi
call fcn.140077c68
test eax, eax
je 0x140064507
xor edx, edx
mov rcx, rsi
call fcn.140077488
mov r15d, r14d
mov dword [rsp + 0x80], r14d
jmp 0x140064507
mov qword [rsp + 0x88], rsi
mov rcx, rbx
call fcn.14006f364
mov rcx, rdi
call fcn.1400711e4
mov r9, r13
mov r8, rax
mov rdx, r12
mov rcx, rbx
call fcn.140064324
test eax, eax
jne 0x140064556
cmp dword [rbx + 0x120], eax
jne 0x140064556
call fcn.14006da1c
mov r13, qword [rax + 0x10]
mov rcx, rdi
call fcn.1400711e4
mov r9, r13
mov r8, rax
mov rdx, r12
mov rcx, rbx
call fcn.140064324
and dword [rbx + 0x120], 0
jmp 0x14006457e
test r15d, r15d
je 0x140064590
mov edx, 1
mov rcx, rsi
call fcn.140077488
test r14d, r14d
je 0x1400645a3
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
test rdi, rdi
je 0x1400645bd
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [rbx + 0x40]
jne 0x1400645bd
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xc0]
call qword [case.0x14018c939.0]
mov rcx, rbx
call fcn.140064aa0
movsxd rax, dword [rbx + 0xb8]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006bb10
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x14006bb78
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x14006bb62
cmp qword [rcx + 0x18], 0
jne 0x14006bb5d
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14006bb7e
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14006bb78
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.14007b068
call fcn.140068494
int3
call fcn.140068494
int3