joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc53c9ac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc53ca2a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc53ca21
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc53ca21
mov rax, qword [rbp - 8]
jmp 0x2fc53ca3f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc53c9f4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000dbd8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000dc3f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000dc53
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000dc53
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x140034bba.0]
jmp 0x14000dc58
cmp dword [rcx + 8], 0
je 0x14000dc53
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14000dc58
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14000e8e8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov r15, r8
movsxd rsi, edx
mov rdi, rcx
lea r14, [rcx + 0x28]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
jle 0x14000ea20
cmp esi, dword [rdi + 0xc]
jge 0x14000ea20
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000e953
cmp esi, dword [rax + 0x10]
jl 0x14000ea0e
test r15, r15
je 0x14000ea0e
jmp 0x14000e988
mov ecx, 0x20
call fcn.14000e424
mov rbx, rax
test rbx, rbx
je 0x14000e96f
lea rax, vtable.CThreadData.0
mov qword [rbx], rax
and dword [rbx + 0x10], 0
and qword [rbx + 0x18], 0
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x18]
mov qword [rbx + rcx], rax
mov qword [rdi + 0x18], rbx
mov eax, dword [rdi + 0xc]
shl rax, 3
mov edx, dword [rsp + 0x58]
mov ecx, 0xffffffff
cmp qword [rbx + 0x18], 0
jne 0x14000e9b5
cmp rax, rcx
cmovbe edx, eax
ja 0x14000ea3d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x14000e9d1
cmp rax, rcx
cmovbe edx, eax
ja 0x14000ea4e
mov r8d, 2
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rcx, rax
test rax, rax
je 0x14000ea5f
mov qword [rbx + 0x18], rcx
mov eax, dword [rdi + 0xc]
sub eax, dword [rbx + 0x10]
movsxd r8, eax
shl r8, 3
movsxd rax, dword [rbx + 0x10]
lea rcx, [rcx + rax*8]
xor edx, edx
call fcn.14018f820
mov eax, dword [rdi + 0xc]
mov dword [rbx + 0x10], eax
mov rdx, rbx
mov ecx, dword [rdi]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000ea20
cmp esi, dword [rbx + 0x10]
jge 0x14000ea20
mov qword [rcx + rsi*8], r15
mov rcx, r14
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp rcx, rax
sbb ecx, ecx
and ecx, 0x80070216
call fcn.14000adf0
int3
cmp rcx, rax
sbb ecx, ecx
and ecx, 0x80070216
call fcn.14000adf0
int3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.14000c2c0
int3
Function at 0x14001133c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140011362
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000dbd8
jmp 0x1400113cd
cmp byte [0x140258e90], 0
jne 0x1400113a6
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140011396
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140258e88], rax
jmp 0x14001139d
mov rax, qword [0x140258e88]
mov byte [0x140258e90], 1
jmp 0x1400113ad
mov rax, qword [0x140258e88]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400113c7
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x140034bba.0]
jmp 0x1400113cd
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14001455c
Capabilities:
Get graphical window text

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 rdi, r8
mov rbx, rcx
call fcn.14001469c
xor r14d, r14d
mov esi, 1
mov rbp, rax
mov dword [rbx + 0x14], esi
mov rcx, rax
cmp dword [rbx], r14d
je 0x140014612
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rbx, eax
test eax, eax
js 0x140014635
mov rdx, qword [rdi]
mov ecx, dword [rdx - 0xc]
sub esi, dword [rdx - 8]
sub ecx, ebx
or esi, ecx
jge 0x1400145c3
mov edx, ebx
mov rcx, rdi
call fcn.14000b990
mov rdx, qword [rdi]
cmp ebx, dword [rdx - 0xc]
jg 0x140014635
mov dword [rdx - 0x10], ebx
lea r8d, [rbx + 1]
mov rax, qword [rdi]
mov rcx, rbp
mov word [rax + rbx*2], r14w
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400145ed
mov eax, r14d
jmp 0x1400145fa
movsxd rdx, dword [rcx - 0xc]
call fcn.140195a50
test eax, eax
js 0x140014635
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x140014635
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r14w
jmp 0x14001461a
mov rdx, qword [rdi]
call fcn.14001353c
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
mov ecx, 0x80070057
call fcn.14000adf0
int3
Function at 0x140014ad0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
cmp qword [rcx + 0xd0], rbp
jne 0x140014b12
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140014bb6
call fcn.14000d04c
mov rcx, rax
test rax, rax
je 0x140014bd1
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140034bba.0]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x118]
call qword [case.0x140034bba.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1401956e0
test eax, eax
je 0x140014b7a
cmp eax, 0xc
je 0x140014bcb
cmp eax, 0x50
jne 0x140014bdc
test rbx, rbx
jne 0x140014b83
mov ebx, ebp
jmp 0x140014b8e
mov rcx, rbx
call fcn.140195924
mov rbx, rax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140014bb4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140034bba.0]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.14000c2c0
nop
mov ecx, 0x80004005
call fcn.14000adf0
nop
call fcn.14000c29c
int3

Function at 0x140015164
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 0x14002328f
cmp dword [rcx + 0xe8], 0
jne 0x14002328f
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.14000d5e4
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.140023614
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 0x140016570
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x1400165d8
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x1400165c2
cmp qword [rcx + 0x18], 0
jne 0x1400165bd
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x1400165de
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 0x1400165d8
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.14001353c
call fcn.14000c29c
int3
call fcn.14000c29c
int3
Function at 0x14001921c
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 0x140019284
call fcn.14000d5e4
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 0x140019284
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400192a6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.1400270f0
mov esi, eax
test rdi, rdi
je 0x1400192a4
test rbx, rbx
je 0x1400192a4
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 0x14001944c
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 rdi, rcx
mov rbx, r8
lea rcx, [0x14021b5cc]
mov esi, edx
call fcn.140195924
mov r8d, eax
lea rdx, [0x14021b5cc]
mov rcx, rbx
call fcn.14000ba98
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x140019533
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x14001954b
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140019566
mov r9, qword [rbx]
lea edx, [rbp + 1]
mov ecx, dword [r9 - 0xc]
sub edx, dword [r9 - 8]
sub ecx, edi
or edx, ecx
jge 0x1400194e2
mov edx, edi
mov rcx, rbx
call fcn.14000b990
mov r9, qword [rbx]
cmp edi, dword [r9 - 0xc]
jg 0x140019566
mov dword [r9 - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rdx, r9
mov rcx, rsi
mov word [rax + rdi*2], bp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001950f
mov eax, ebp
jmp 0x14001951c
movsxd rdx, dword [rcx - 0xc]
call fcn.140195a50
test eax, eax
js 0x140019566
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140019566
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x14001954b
mov rcx, rdi
call fcn.1400149cc
test rax, rax
je 0x14001954b
mov rdx, rbx
mov rcx, rax
call fcn.1400199ec
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rax - 0x10]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.14000adf0
int3
Function at 0x1400199ec
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 rsi, rcx
xor ebp, ebp
mov rcx, qword [rcx + 0xd0]
mov rbx, rdx
test rcx, rcx
jne 0x140019aa0
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140019ac5
mov r9, qword [rbx]
lea edx, [rbp + 1]
mov ecx, dword [r9 - 0xc]
sub edx, dword [r9 - 8]
sub ecx, edi
or edx, ecx
jge 0x140019a4e
mov edx, edi
mov rcx, rbx
call fcn.14000b990
mov r9, qword [rbx]
cmp edi, dword [r9 - 0xc]
jg 0x140019ac5
mov dword [r9 - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rdx, r9
mov word [rax + rdi*2], bp
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140019a7c
mov eax, ebp
jmp 0x140019a89
movsxd rdx, dword [rcx - 0xc]
call fcn.140195a50
test eax, eax
js 0x140019ac5
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140019ac5
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140019ab0
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x140034bba.0]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.14000adf0
int3

Function at 0x14001a074
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 0x14001a14c
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14001a14c
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001a14c
test rsi, rsi
je 0x14001a14c
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.14000d5e4
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 0x14001a119
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 0x14001a14c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.140027e70
mov esi, eax
test rbp, rbp
je 0x14001a13c
test rdi, rdi
je 0x14001a13c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x14001a148
mov rcx, rbx
call fcn.140019d34
mov eax, esi
jmp 0x14001a14e
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 0x14001b0d4
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.140013884
mov rdi, rax
test rax, rax
je 0x14001b150
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14001b14b
cmp dword [rbx], 0x40
jb 0x14001b14b
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 0x14001b14b
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x14001b154
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 0x140023168
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 rdi, qword [rcx + 0x100]
xor r14d, r14d
mov rsi, rcx
mov rbp, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], r14
je 0x1400231ca
call fcn.14000d5e4
mov rdx, qword [rsi + 0xf0]
lea r8d, [r14 + 5]
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 rbp, rax
test rbp, rbp
je 0x1400231db
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov ebx, 1
test rdi, rdi
je 0x14002321f
mov eax, dword [rdi]
mov edx, 0xffff
mov ecx, eax
shr ecx, 0x10
cmp cx, dx
jne 0x140023203
mov eax, dword [rdi + 0xc]
movzx edx, word [rdi + 0x12]
movzx ecx, word [rdi + 0x14]
jmp 0x14002320b
movzx edx, word [rdi + 0xa]
movzx ecx, word [rdi + 0xc]
test eax, 0x1801
jne 0x14002321c
test dx, dx
jne 0x14002321c
test cx, cx
je 0x14002321f
mov ebx, r14d
cmp qword [rsi + 0xf0], r14
je 0x140023231
mov rcx, rbp
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]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140023250
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 0x14002328f
cmp dword [rcx + 0xe8], 0
jne 0x14002328f
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.14000d5e4
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.140023614
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 0x1400232ec
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 r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.14000d5e4
lea r8d, [rdi + 5]
mov rdx, rbx
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140023348
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.140023380
mov rcx, rsi
mov ebx, eax
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]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14002a230
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
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, qword [rdx + 0x10]
mov rdi, rdx
mov rbp, rcx
jne 0x14002a2a7
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14002a277
call fcn.140021538
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x14002a291
call fcn.140021538
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x14002a2a7
call fcn.140021538
call fcn.14000d5e4
cmp qword [rax + 0x68], 0
je 0x14002a2c1
mov rdx, rbx
mov rcx, rbp
call fcn.1400296f4
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.14002a51c
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14002a2e8
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14002a2f7
mov rbx, rsi
mov qword [rbp + 0xf8], rsi
or dword [rdi + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002def4
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

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 r14, rdx
mov r15, rcx
lea rdx, [0x14002e0bc]
mov ebp, r8d
lea rcx, [0x14025c8b8]
call fcn.14000e708
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x14002e09d
cmp word [rax + 0x10], bx
jne 0x14002e04c
lea rcx, str.comctl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
test rax, rax
je 0x14002dfe8
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x14002dfa6
lea rcx, str.MS_UI_Gothic
call fcn.14002e104
test eax, eax
je 0x14002dfa6
mov eax, ebp
lea edx, [rbx + 5]
neg eax
mov r9d, 0xfc11
mov rcx, rsi
sbb r8, r8
and r8d, 0xe
add r8, 0x3ee
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
jne 0x14002dfc9
neg ebp
mov r8d, 5
mov rcx, rsi
sbb rdx, rdx
and edx, 0xe
add rdx, 0x3ee
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14002dfe8
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002dfe8
mov r8, r14
mov rdx, r15
mov rcx, rax
call fcn.14002c16c
mov rax, qword [r15]
mov edx, 0xffffffff
mov ecx, dword [rsp + 0x58]
mov eax, dword [rax - 0x10]
inc eax
add rax, rax
cmp rax, rdx
cmovbe ecx, eax
ja 0x14002e0a3
mov edx, ecx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rdi + 8], rax
test rax, rax
je 0x14002e0b4
mov r8, qword [r15]
mov ecx, dword [r8 - 0x10]
inc ecx
movsxd rdx, ecx
mov rcx, rax
call fcn.140195668
test eax, eax
je 0x14002e044
cmp eax, 0xc
je 0x14002e0b4
cmp eax, 0x50
jne 0x14002e09d
movzx eax, word [r14]
mov word [rdi + 0x10], ax
mov rsi, qword [rdi + 8]
test rsi, rsi
jne 0x14002e059
mov eax, ebx
jmp 0x14002e061
mov rcx, rsi
call fcn.140195924
mov r8d, eax
mov rdx, rsi
mov rcx, r15
call fcn.14000ba98
movzx ecx, word [rdi + 0x10]
mov eax, 0xffff
mov rbp, qword [rsp + 0x48]
cmp cx, ax
mov rsi, qword [rsp + 0x50]
setne bl
mov word [r14], cx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.14000c29c
int3
cmp rdx, rax
sbb ecx, ecx
and ecx, 0x80070216
call fcn.14000adf0
int3
call fcn.14000c2c0
int3