joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b6160
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea esi, [r8 - 4]
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
cmp r8d, esi
jbe 0x1800b62a0
lea r13, [0x1800a3380]
lea rcx, [0x18009cff0]
lea rdx, [0x1800b60a0]
lea r14, [0x1800b60e0]
lea r15, [0x18009d8d0]
lea r12, [0x1800a33b0]
mov eax, edi
sub eax, 0x40
je 0x1800b6225
sub eax, 1
je 0x1800b6215
sub eax, 3
je 0x1800b61f9
cmp eax, 1
jne 0x1800b6296
mov rax, qword [rbx]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor ecx, ecx
lea edx, [r9 + 0x39]
call fcn.180015a70
inc rax
mov qword [rsp + 0x98], rax
jmp 0x1800b6288
mov eax, 0x65
nop
cmp eax, 0x65
je 0x1800b62c0
add eax, 0x96
cmp eax, 0xfb
jb 0x1800b6200
mov qword [rbx + 0x4768], r13
mov qword [rbx + 0x4770], rcx
jmp 0x1800b6296
mov qword [rbx + 0x4778], rdx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea ecx, [rdx + 0x1a]
call fcn.18003bee0
test eax, eax
je 0x1800b6288
mov ecx, 0x6c
mov eax, ecx
sub eax, 0x6c
je 0x1800b627a
sub eax, 1
je 0x1800b6271
cmp eax, 1
jne 0x1800b6281
mov qword [rbx + 0x4778], r14
jmp 0x1800b6281
mov qword [rbx + 0x4770], r15
jmp 0x1800b6281
mov qword [rbx + 0x4768], r12
inc ecx
cmp ecx, 0x6f
jb 0x1800b6257
lea rcx, [0x18009cff0]
lea rdx, [0x1800b60a0]
dec edi
cmp edi, esi
ja 0x1800b61b4
movzx eax, byte [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
lea rcx, [rsp + 0x98]
mov r9, rbp
lea r8d, [rdx + 0xd]
call fcn.18009cc50
test al, al
je 0x1800b62fc
mov rdx, qword [rsp + 0x98]
mov r9, rbp
mov rcx, qword [rbx]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
jne 0x1800b62fc
jmp 0x1800b62a8
xor al, al
jmp 0x1800b62a8
Function at 0x1800b6300
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
imul ebp, ecx, 0x190
mov rdi, r9
mov r12, r8
mov r14, rdx
mov r15d, ecx
mov esi, ecx
cmp ecx, ebp
ja 0x1800b63f5
xor r13d, r13d
nop dword [rax + rax]
cmp esi, 0x854
ja 0x1800b648e
je 0x1800b6482
cmp esi, 0x10
je 0x1800b6434
cmp esi, 0x34
je 0x1800b6418
cmp esi, 0xee
je 0x1800b63cc
cmp esi, 0x290
je 0x1800b6381
cmp esi, 0x510
je 0x1800b63f5
jmp 0x1800b657f
mov rax, qword [rdi]
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x10]
add rcx, qword [rax + 8]
mov rax, qword [r14]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x58], rcx
lea ecx, [rdx + 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call fcn.1800be6b0
mov qword [rsp + 0x40], rdi
jmp 0x1800b657f
xor r9d, r9d
lea rcx, [rsp + 0x48]
mov rdx, r14
lea r8d, [r9 + 0x29]
call fcn.18009bad0
test al, al
jne 0x1800b657f
nop dword [rax + rax]
mov byte [rsp + 0x40], r13b
mov rax, qword [rsp + 0x40]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movups xmm0, xmmword [r14]
movups xmmword [rdi + 0x10], xmm0
movsd xmm1, qword [r14 + 0x10]
movsd qword [rdi + 0x20], xmm1
mov qword [rdi + 0x28], r12
jmp 0x1800b657f
mov rax, qword [r14]
lea r8, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor ecx, ecx
lea edx, [r9 + 0x39]
call fcn.180015a70
mov rcx, qword [rdi]
xor r9d, r9d
mov dword [rsp + 0x28], 0x8a
xor r8d, r8d
xor edx, edx
add rax, qword [rcx + 0x10]
mov rcx, rdi
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.18007dd10
jmp 0x1800b657f
mov dword [rdi + 0x34], 0x80
jmp 0x1800b657f
cmp esi, 0x1074
je 0x1800b656d
cmp esi, 0x1894
je 0x1800b654a
cmp esi, 0x261e
je 0x1800b64c4
cmp esi, 0x4b4e
jne 0x1800b657f
mov byte [rsp + 0x40], 1
jmp 0x1800b63f5
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x60], rax
mov r8d, 0x90
xor ecx, ecx
call fcn.18005d4a0
mov rdx, qword [rsp + 0x48]
mov r9, r14
mov r8d, 1
mov qword [rdi], rax
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
je 0x1800b657f
mov ebx, 1
mov eax, ebx
sub eax, 1
je 0x1800b651c
cmp eax, 0xc5
je 0x1800b63f0
jmp 0x1800b653a
mov r9, qword [rdi]
xor r8d, r8d
mov qword [rsp + 0x28], r13
xor ecx, ecx
mov qword [rsp + 0x20], r13
lea edx, [r8 + 0x34]
call fcn.1800691c0
mov qword [rdi], r13
add ebx, 0xc5
cmp ebx, 0x18b
jb 0x1800b6508
jmp 0x1800b657f
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x5b
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r13
xor ecx, ecx
call fcn.18002c8f0
jmp 0x1800b657f
lea rax, [rdi + 0x38]
mov dword [rdi + 0x30], 1
mov qword [rdi + 0xc8], rax
lea eax, [r15 + r15*4]
lea esi, [rsi + rax*8]
cmp esi, ebp
jbe 0x1800b6340
jmp 0x1800b63f5
Function at 0x140008c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
xor esi, esi
mov qword [rsp + 0x58], rdi
mov rbp, rdx
mov qword [rsp + 0x60], r12
mov r14, rcx
mov qword [rsp + 0x28], r13
mov ecx, esi
mov qword [rsp + 0x20], r15
mov edx, esi
mov eax, 0x4f0f
cmp eax, 0x506c
je 0x140008c84
cmp eax, 0x5010
jae 0x140008c7b
mov rcx, r14
mov eax, 0x506c
jmp 0x140008c63
cmp eax, 0x55f0
jbe 0x140008c63
jmp 0x140008c93
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx + 0x88], esi
je 0x140008cfa
mov eax, dword [rdx + 0x88]
add rax, r14
mov r15d, dword [rax + 0x18]
test r15d, r15d
jle 0x140008cfa
mov edi, dword [rax + 0x20]
mov ebx, dword [rax + 0x24]
add rdi, r14
mov r13d, dword [rax + 0x1c]
add rbx, r14
movzx eax, word [rbx]
mov r8, 0xffffffffffffffff
lea rcx, [rax*4]
add rcx, r13
mov r12d, dword [rcx + r14]
nop
inc r8
cmp byte [r8 + rbp], 0
jne 0x140008cd0
mov ecx, dword [rdi]
mov rdx, rbp
add rcx, r14
call fcn.1401ad870
test eax, eax
je 0x140008d1e
inc esi
add rbx, 2
add rdi, 4
cmp esi, r15d
jl 0x140008cb5
xor eax, eax
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
lea rax, [r14 + r12]
jmp 0x140008cfc
Function at 0x14000c7d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialogEx.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 0x140029b8f
cmp dword [rcx + 0xe8], 0
jne 0x140029b8f
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.14002e34c
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 0x140029bd3
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140029bd3
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.140029f08
jmp 0x140029bd5
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 0x14000c950
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 0x14000c9c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000c9c8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000c9b5
nop
cmp rbx, rcx
jae 0x14000c9c8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000c9a0
cmp rbx, rcx
jae 0x14000c9c8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x14000c9ca
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 0x14000c9e0
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 rbp, rdx
shr eax, 4
mov edi, r8d
inc ax
mov rsi, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x14000caed
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000caed
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000caed
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000ca85
nop word [rax + rax]
cmp rbx, rcx
jae 0x14000caed
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000ca70
cmp rbx, rcx
jae 0x14000caed
cmp word [rbx], 0
je 0x14000caed
mov rax, qword [rsi]
mov ecx, 1
movzx edi, word [rbx]
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or ecx, eax
jge 0x14000cab1
mov edx, edi
mov rcx, rsi
call fcn.14000d0e0
movzx r9d, word [rbx]
lea r8, [rbx + 2]
mov rcx, qword [rsi]
mov rdx, rdi
call fcn.1401b8bd4
xor edx, edx
test eax, eax
je 0x14000cad4
cmp eax, 0xc
je 0x14000cb10
cmp eax, 0x50
jne 0x14000cb0a
mov rcx, qword [rsi]
cmp edi, dword [rcx - 0xc]
jg 0x14000cb16
mov dword [rcx - 0x10], edi
mov eax, 1
mov rcx, qword [rsi]
mov word [rcx + rdi*2], dx
jmp 0x14000caef
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.140024f34
int3
call fcn.140024f58
int3
mov ecx, 0x80070057
call fcn.1400071d0
int3
Function at 0x14000cb30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov edi, edx
mov ecx, edx
call fcn.14002b0d4
mov rsi, rax
test rax, rax
jne 0x14000cb65
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, edi
mov qword [rsp + 0x30], rbx
shr eax, 4
mov r8d, 6
inc ax
mov qword [rsp + 0x38], rbp
movzx edx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14000cc4f
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000cc4f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000cc4f
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000cbea
cmp rbx, rcx
jae 0x14000cc4f
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000cbd5
cmp rbx, rcx
jae 0x14000cc4f
cmp word [rbx], 0
je 0x14000cc4f
mov rax, qword [r14]
mov esi, 1
movzx edi, word [rbx]
mov ecx, esi
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or ecx, eax
jge 0x14000cc18
mov edx, edi
mov rcx, r14
call fcn.14000d0e0
movzx r9d, word [rbx]
lea r8, [rbx + 2]
mov rcx, qword [r14]
mov rdx, rdi
call fcn.1401b8bd4
xor ecx, ecx
test eax, eax
je 0x14000cc3b
cmp eax, 0xc
je 0x14000cc76
cmp eax, 0x50
jne 0x14000cc70
mov rax, qword [r14]
cmp edi, dword [rax - 0xc]
jg 0x14000cc7c
mov dword [rax - 0x10], edi
mov rax, qword [r14]
mov word [rax + rdi*2], cx
jmp 0x14000cc53
xor ecx, ecx
mov esi, ecx
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.140024f34
int3
call fcn.140024f58
int3
mov ecx, 0x80070057
call fcn.1400071d0
int3

Function at 0x14000ff1c
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
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14000ff7a
call fcn.14002e34c
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 0x14000ff7a
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000ff85
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.14002fc58
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140010124
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, [0x1401dbc80]
mov esi, edx
call fcn.1401b8e50
mov r8d, eax
lea rdx, [0x1401dbc80]
mov rcx, rbx
call fcn.14000cd10
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x140010206
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x14001021e
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140010239
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x1400101b8
mov edx, edi
mov rcx, rbx
call fcn.14000d0e0
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140010239
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rcx, rsi
mov word [rax + rdi*2], bp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400101e3
mov eax, ebp
jmp 0x1400101f0
movsxd rdx, dword [rcx - 0xc]
call fcn.1401b8f7c
test eax, eax
js 0x140010239
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140010239
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x14001021e
mov rcx, rdi
call fcn.140018f4c
test rax, rax
je 0x14001021e
mov rdx, rbx
mov rcx, rax
call fcn.1400106e8
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.1400071d0
int3

Function at 0x1400106e8
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 0x140010797
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x1400107bc
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x140010748
mov edx, edi
mov rcx, rbx
call fcn.14000d0e0
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x1400107bc
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
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 0x140010774
mov eax, ebp
jmp 0x140010781
movsxd rdx, dword [rcx - 0xc]
call fcn.1401b8f7c
test eax, eax
js 0x1400107bc
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400107bc
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1400107a7
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x14007c61a.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.1400071d0
int3
Function at 0x140010d5c
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, rdx
mov rbx, rcx
test rcx, rcx
je 0x140010e15
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140010e15
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140010e15
test rdi, rdi
je 0x140010e15
xor r14d, r14d
xor esi, esi
call fcn.14002e34c
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140010df5
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbp
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140010e15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14003079c
mov edi, eax
test eax, eax
je 0x140010e11
mov rcx, rbx
call fcn.140010a24
mov eax, edi
jmp 0x140010e17
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

Function at 0x140011d8c
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.1400324dc
mov rdi, rax
test rax, rax
je 0x140011e08
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x140011e03
cmp dword [rbx], 0x40
jb 0x140011e03
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 0x140011e03
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140011e0c
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 0x140018b1c
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x140018b84
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x140018b6e
cmp qword [rcx + 0x18], 0
jne 0x140018b69
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x140018b8a
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 0x140018b84
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.140032178
call fcn.140024f34
int3
call fcn.140024f34
int3
Function at 0x140019458
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
cmp qword [rcx + 0xd0], rbp
jne 0x140019492
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140019536
call fcn.14002aeac
mov rcx, rax
test rax, rax
je 0x140019551
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14007c61a.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rax, qword [rax + 0x118]
call qword [case.0x14007c61a.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1401b915c
test eax, eax
je 0x1400194fa
cmp eax, 0xc
je 0x14001954b
cmp eax, 0x50
jne 0x14001955c
test rbx, rbx
jne 0x140019503
mov ebx, ebp
jmp 0x14001950e
mov rcx, rbx
call fcn.1401b8e50
mov rbx, rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140019534
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c61a.0]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
call fcn.140024f58
nop
mov ecx, 0x80004005
call fcn.1400071d0
nop
call fcn.140024f34
int3

Function at 0x14001f9c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rdx
mov rbp, rcx
call fcn.14002e34c
mov r8d, 0xf1
mov rdx, r14
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r15d, r15d
test rax, rax
je 0x14001fad9
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001fad9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14001fad9
movzx ecx, word [rax + 6]
lea eax, [r15 + 4]
mul rcx
lea rcx, [r15 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.14000d380
mov rsi, rax
mov r9d, r15d
movzx eax, word [rbx + 6]
cmp r15w, ax
jae 0x14001fa7b
mov rdx, rsi
lea r8, [rbx + 8]
movzx ecx, word [r8]
inc r9d
mov dword [rdx], ecx
lea r8, [r8 + 2]
movzx eax, word [rbx + 6]
lea rdx, [rdx + 4]
cmp r9d, eax
jl 0x14001fa61
movzx r8d, ax
mov rdx, rsi
mov rcx, rbp
call fcn.140020310
mov rcx, rsi
mov edi, eax
call fcn.1400024e0
test edi, edi
je 0x14001fad5
movzx ecx, word [rbx + 4]
movzx eax, word [rbx + 2]
mov dword [rsp + 0x60], eax
add eax, 7
mov dword [rsp + 0x68], eax
lea eax, [rcx + 7]
mov dword [rsp + 0x64], ecx
mov r8, qword [rsp + 0x60]
mov rcx, rbp
mov dword [rsp + 0x6c], eax
mov rdx, qword [rsp + 0x68]
call fcn.140020518
mov rdx, r14
mov rcx, rbp
call fcn.14001f94c
mov edi, eax
mov eax, edi
jmp 0x14001fadb
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140026d0c
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 0x140026de4
xor r8d, r8d
call fcn.140027184
mov rsi, rax
test rax, rax
je 0x140026e93
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 0x140026dc8
call fcn.14000d380
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 0x140026dc8
lea ebx, [rax + 1]
jmp 0x140026dd6
mov rcx, qword [rdi]
call fcn.1400024e0
and qword [rdi], 0
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140026e91
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.0x14007c61a.0]
nop
mov rax, qword [rbp + 0x40]
mov ecx, dword [rax - 0x10]
test ecx, ecx
jne 0x140026e14
xor ebx, ebx
jmp 0x140026e70
shr ecx, 1
mov dword [r14], ecx
call fcn.14000d380
mov qword [rdi], rax
xor r8d, r8d
lea ebx, [r8 + 1]
cmp dword [r14], r8d
jbe 0x140026e6c
lea ecx, [r8 + r8]
lea edx, [rcx + 1]
test edx, edx
js 0x140026ea8
mov rax, qword [rbp + 0x40]
cmp edx, dword [rax - 0x10]
jg 0x140026ea8
movsxd r9, ecx
movzx edx, word [rax + r9*2 + 2]
test ecx, ecx
js 0x140026ea8
cmp ecx, dword [rax - 0x10]
jg 0x140026ea8
shl dl, 4
sub dl, 0x51
add dl, byte [rax + r9*2]
mov rax, qword [rdi]
mov byte [r8 + rax], dl
add r8d, ebx
cmp r8d, dword [r14]
jb 0x140026e2d
mov rax, qword [rbp + 0x40]
lea rdx, [rax - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140026e91
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14007c61a.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.1400071d0
int3