joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400132a8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140057108]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebp, edx
mov rsi, rcx
xor ebx, ebx
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
lea ecx, [rbx + 1]
call fcn.140004fb8
mov rdi, rax
test rax, rax
je 0x140013312
lea r9d, [rbx + 4]
mov dword [rsp + 0x30], ebp
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013da0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140013470
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140057108]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, r8d
lea rdx, str.Received_Post_Shell_Event__ld_n
lea rcx, [0x140059000]
call fcn.1400066a4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], eax
and qword [rsp + 0x40], rax
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
lea ecx, [rax + 1]
call fcn.140004fb8
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140013517
mov dword [rsp + 0x48], 2
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.InstallStage
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
and dword [rsp + 0x38], ebx
call fcn.14000db4c
xor edx, edx
mov ecx, edi
call fcn.14000dd88
mov byte [0x14005e540], 1
test rbx, rbx
je 0x14001353a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140013da0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14001e96c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001e7d9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
test rax, rax
je 0x14001e7d9
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e7d9
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e7d9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e7d9
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e7d9
cmp dword [rcx + 0xf8], 0
je 0x14001e7d9
mov ecx, ebx
call fcn.14001e894
nop
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001e668
nop
cmp dword [rbp + 0x20], 0
je 0x14001e827
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001e830
nop
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001e768

Function at 0x14001f288
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001f2a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001b708
or eax, 0xffffffff
jmp 0x14001f2aa
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400294f0
Capabilities:
Read file on windows

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 rsi, rcx
test rcx, rcx
jne 0x140029212
call fcn.14001b794
mov dword [rax], 0x16
call fcn.14001b628
jmp 0x140029362
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140029362
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140029362
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140029241
lock or dword [rcx + 0x14], 0x10
jmp 0x140029362
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140029255
call fcn.1400298f0
mov ebp, dword [rsi + 0x10]
cmp ebp, 1
jne 0x140029265
mov rax, qword [rsi]
mov r14b, byte [rax]
jmp 0x140029268
xor r14b, r14b
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140028ecc
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140034008
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140029350
mov eax, dword [rsi + 0x14]
test al, 6
jne 0x1400292fb
mov rcx, rsi
call fcn.140028ecc
cmp eax, 0xffffffff
je 0x1400292e6
mov rcx, rsi
call fcn.140028ecc
cmp eax, 0xfffffffe
je 0x1400292e6
mov rcx, rsi
call fcn.140028ecc
movsxd rbx, eax
lea rdi, [0x14005f7b0]
mov rcx, rsi
sar rbx, 6
call fcn.140028ecc
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rdi + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400292ed
lea rdx, [0x1400574d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400292fb
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14002931f
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14002931f
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14002931f
mov dword [rsi + 0x20], 0x1000
mov rdx, qword [rsi]
cmp ebp, 1
jne 0x14002933d
movzx ecx, byte [rdx]
dec dword [rsi + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x140029348
movzx ecx, word [rdx]
add dword [rsi + 0x10], 0xfffffffe
add rdx, 2
mov qword [rsi], rdx
movzx eax, cx
jmp 0x140029367
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
mov eax, 0xffff
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
jmp 0x1400291dc
Function at 0x14002af00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140014240
sub rsp, rax
mov rax, qword [0x140057108]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140028ecc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002af4f
mov rax, rbp
jmp 0x14002b057
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x5f7b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002b3f0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x5f7b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002b053
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002b053
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002b3f0
test rax, rax
js 0x14002b053
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002b053
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002b045
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002b045
cmp byte [rcx], 0xd
jne 0x14002b02b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002b03a
cmp byte [rcx + 1], 0xa
jne 0x14002b03a
inc rcx
jmp 0x14002b03a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x57c10]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002b00d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002b057
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140013da0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002d1d4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002d25b
mov rsi, rbx
cmp word [rax], bp
je 0x14002d21a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002d204
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002d200
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140027944
mov rdi, rax
test rax, rax
je 0x14002d248
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140016dd0
mov rbp, rdi
xor ecx, ecx
call fcn.14002721c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140036ee8
Capabilities:
Clear file content

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 rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002b3f8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002b3f8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140037038
cmp rax, 0xffffffffffffffff
je 0x140037038
xor edi, edi
test rbp, rbp
jle 0x140036fe3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002b49c
mov rbx, rax
test rax, rax
jne 0x140036f70
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140036fd9
mov edx, 0x8000
mov ecx, r14d
call fcn.140021090
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14002a8e0
cmp eax, 0xffffffff
je 0x140036fb9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140036f80
mov edx, r15d
mov ecx, r14d
call fcn.140021090
jmp 0x140036fd9
cmp byte [rsi + 0x38], dil
je 0x140036fd0
cmp dword [rsi + 0x34], 5
jne 0x140036fd0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140036fd9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002721c
jmp 0x14003704c
jns 0x14003704c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002b3f8
cmp rax, 0xffffffffffffffff
jne 0x140037004
cmp byte [rsi + 0x30], dil
je 0x14003704c
mov edi, dword [rsi + 0x2c]
jmp 0x14003704c
mov ecx, r14d
call fcn.14002d71c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14003704c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14003704c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140037045
mov eax, dword [rsi + 0x2c]
jmp 0x14003704a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002b3f8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1403f3fe4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1403f402e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1403f402e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1403f402e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1403f402e
cmp dword [rcx + 0x84], 0xe
jbe 0x1403f402e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1403f4030
xor al, al
add rsp, 0x28
ret

Function at 0x1403f64ac
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 0x1403f6513
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1403f6527
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1403f6527
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.0x14041b43e.0]
jmp 0x1403f652c
cmp dword [rcx + 8], 0
je 0x1403f6527
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1403f652c
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1403f9798
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1403f97be
mov r8, rdx
mov rdx, qword [rbx]
call fcn.1403f64ac
jmp 0x1403f982a
cmp byte [0x14071a490], 0
jne 0x1403f9802
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1403f97f2
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14071a488], rax
jmp 0x1403f97f9
mov rax, qword [0x14071a488]
mov byte [0x14071a490], 1
jmp 0x1403f9809
mov rax, qword [0x14071a488]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x1403f9823
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x14041b43e.0]
jmp 0x1403f982a
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1403fa0c0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rsp + 0x34]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x30], eax
cmp eax, 0xffffffff
jne 0x1403fa0eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1403fa0f6
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.1400084b0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.140406020
int3
Function at 0x1403fa114
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test r8d, r8d
jne 0x1403fa126
xor eax, eax
jmp 0x1403fa143
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1403fa149
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.1400084b0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.140406020
int3

Function at 0x1403fa168
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x1403fa1a6
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov rdi, rcx
mov ebx, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1403fa1a7
cmp dword [rsp + 0x50], ebx
jne 0x1403fa1c4
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [rdi + 0x18]
call fcn.1400084b0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.140406020
int3
lea rcx, [rdi + 0x18]
call fcn.1400084b0
or edx, 0xffffffff
mov r8, rax
lea ecx, [rdx + 0xe]
call fcn.140405ce8
int3
Function at 0x1403fab14
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x140632200]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor ebp, ebp
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1403fabcf
test rdx, rdx
je 0x1403fabcf
mov rcx, rdx
call fcn.140589da4
xor edx, edx
mov word [rsp + 0x20], bp
mov r8d, 0x1fe
lea rcx, [rsp + 0x22]
mov rsi, rax
call fcn.14059be30
mov r8d, 0x100
cmp rsi, r8
ja 0x1403faba0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jne 0x1403faba0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1403fabac
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1403f22a0
mov rbx, qword [rsp + 0x260]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret
call fcn.1403f2654
int3

Function at 0x1403fb74c
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x1403fb7b4
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x1403fb79e
cmp qword [rcx + 0x18], 0
jne 0x1403fb799
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x1403fb7ba
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 0x1403fb7b4
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.1403fab14
call fcn.1403f2654
int3
call fcn.1403f2654
int3

Function at 0x1403fc45c
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 0x1403fc4ba
call fcn.1403f4e80
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 0x1403fc4ba
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1403fc4c5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.140409d60
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1403fcaf0
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 0x1403fcb9f
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x1403fcbc4
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 0x1403fcb50
mov edx, edi
mov rcx, rbx
call fcn.140012720
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x1403fcbc4
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 0x1403fcb7c
mov eax, ebp
jmp 0x1403fcb89
movsxd rdx, dword [rcx - 0xc]
call fcn.140589ed0
test eax, eax
js 0x1403fcbc4
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1403fcbc4
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1403fcbaf
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x14041b43e.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.1400031a0
int3

Function at 0x1403fccb4
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.1403fae60
mov rdi, rax
test rax, rax
je 0x1403fcd30
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1403fcd2b
cmp dword [rbx], 0x40
jb 0x1403fcd2b
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 0x1403fcd2b
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1403fcd34
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 0x1403fcd4c
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, [0x1405ff928]
mov esi, edx
call fcn.140589da4
mov r8d, eax
lea rdx, [0x1405ff928]
mov rcx, rbx
call fcn.1400103a0
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x1403fce2e
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x1403fce46
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x1403fce61
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 0x1403fcde0
mov edx, edi
mov rcx, rbx
call fcn.140012720
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x1403fce61
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 0x1403fce0b
mov eax, ebp
jmp 0x1403fce18
movsxd rdx, dword [rcx - 0xc]
call fcn.140589ed0
test eax, eax
js 0x1403fce61
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1403fce61
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1403fce46
mov rcx, rdi
call fcn.1404046c8
test rax, rax
je 0x1403fce46
mov rdx, rbx
mov rcx, rax
call fcn.1403fcaf0
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.1400031a0
int3

Function at 0x140401358
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 0x140401411
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140401411
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140401411
test rdi, rdi
je 0x140401411
xor r14d, r14d
xor esi, esi
call fcn.1403f4e80
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 0x1404013f1
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 0x140401411
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14040a2f4
mov edi, eax
test eax, eax
je 0x14040140d
mov rcx, rbx
call fcn.1404011c8
mov eax, edi
jmp 0x140401413
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