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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18002cad7
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x18002caf8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18002cafa
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18002cb53
test ecx, ecx
jle 0x18002cb2e
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18002cb53
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18002cb53
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18002cb80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18002cbb7
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov rdx, qword [rax]
test rdx, rdx
je 0x18002cbd8
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18002cbda
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18002cc40
test ecx, ecx
jle 0x18002cc0e
cmp rbx, rbp
mov rcx, r14
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x50]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x38]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18002cc40
cmp qword [rdi + 0x80], 0
je 0x18002cc40
mov rcx, rdi
call fcn.18002d370
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18002d090
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18002d0bd
xor eax, eax
jmp 0x18002d212
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x18002d0e8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x18002d0e8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x18002d212
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18002d205
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18002d12b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x18002d156
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18002d20a
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x18002d205
cmp eax, 1
jle 0x18002d1c5
cmp eax, 3
jne 0x18002d205
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18002d20a
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18002d1f3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18002d205
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x18002d20a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180393f50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18002d3a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18002d44c
cmp byte [rcx + 0x71], 0
je 0x18002d44c
mov rax, qword [rcx]
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18002d40d
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18002d411
sub eax, 1
je 0x18002d415
sub eax, 2
je 0x18002d44c
xor al, al
jmp 0x18002d44e
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18002d443
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18002d40d
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18002d44e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180393f50
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x180031920
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
lea rbx, [rcx + 0x90]
mov qword [rsp + 0x28], rbx
test rbx, rbx
je 0x18003196c
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003196c
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov rax, qword [r14]
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, r14
call qword [rax + 0x48]
test eax, eax
jne 0x180031a36
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x180031998
mov rdx, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x1800319a2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x180031a36
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.18015ca70
nop
mov ecx, dword [rsp + 0x20]
lea rdx, [rcx + rcx*8]
mov rcx, qword [r14 + 0x48]
lea rcx, [rcx + rdx*8]
mov rdx, rax
call fcn.180164110
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180031a1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180031a1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180031a1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
mov edi, ebp
jmp 0x180031a3b
mov edi, 1
test rbx, rbx
je 0x180031a53
mov rcx, qword [rbx]
test rcx, rcx
je 0x180031a4e
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x28], rbp
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18003c060
Capabilities:
Move file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
lea rbx, [rcx + 0x88]
mov qword [rsp + 0x28], rbx
test rbx, rbx
je 0x18003c0ac
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003c0ac
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov rax, qword [r14]
lea r8, [rsp + 0x20]
mov rdx, rdi
mov rcx, r14
call qword [rax + 0x48]
test eax, eax
jne 0x18003c176
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18003c0d8
mov rdx, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x18003c0e2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x18003c176
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.18015ca70
nop
mov ecx, dword [rsp + 0x20]
lea rdx, [rcx + rcx*8]
mov rcx, qword [r14 + 0x40]
lea rcx, [rcx + rdx*8]
mov rdx, rax
call fcn.180164110
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18003c15f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003c15a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003c15a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
mov edi, ebp
jmp 0x18003c17b
mov edi, 1
test rbx, rbx
je 0x18003c193
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003c18e
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x28], rbp
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180393f50
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18003d920
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x480
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.18015af70
test al, al
jne 0x18003d96b
mov eax, 1
jmp 0x18003db7c
lea rbx, [rsi + 0x18]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18003d97c
mov rcx, qword [rbx]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x18003d989
mov r8, qword [rdi]
lea r14, [rdi + 0x10]
mov rdx, qword [r14]
cmp rdx, qword [rbx + 0x10]
jne 0x18003d9c2
test rdx, rdx
je 0x18003d9b4
sub r8, rcx
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x18003d9c2
add rcx, 2
sub rdx, 1
jne 0x18003d9a0
mov rax, qword [rsi + 0x48]
cmp qword [rsi + 0x40], rax
jne 0x18003db7a
mov dword [rsi + 0x3c], 0xffffffff
cmp qword [r14], 0
je 0x18003d9e5
mov rcx, rdi
call fcn.18015b200
test al, al
jne 0x18003d9e5
mov eax, 0x80004005
jmp 0x18003db7c
cmp rbx, rdi
je 0x18003da02
cmp qword [rdi + 0x18], 8
jb 0x18003d9f4
mov rdi, qword [rdi]
mov r8, qword [r14]
mov rdx, rdi
mov rcx, rbx
call fcn.180005cd0
lea rcx, [rsi + 0x40]
call fcn.180033de0
cmp qword [rsi + 0x28], 0
jne 0x18003db6b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x38], xmm1
xor edi, edi
mov word [rsp + 0x28], di
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x50]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x206
ja 0x18003dac2
mov word [rsp + 0x460], di
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18003da80
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.180005cd0
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x18003dac2
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rbx
call fcn.180005cd0
cmp qword [rsi + 0x28], 0
je 0x18003db13
mov rax, rbx
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18003dad9
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x10]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x18003db13
cmp rcx, rdx
jae 0x18003db04
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp rdx, 8
jb 0x18003dafb
mov rbx, qword [rbx]
mov dword [rbx + rcx*2], 0x5c
jmp 0x18003db13
mov r9d, 0x5c
mov rcx, rbx
call fcn.1800345a0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18003db58
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003db53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003db53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xf0]
mov byte [rsi + 0x58], al
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180393f50
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x480
pop r14
pop rdi
pop rsi
ret
Function at 0x180081c40
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x60
cmp byte [rcx + 0x331], 0
lea rbx, [rcx - 0x40]
je 0x180081ca9
mov rax, qword [rcx + 0x338]
mov qword [rsp + 0x70], rax
nop
xor r8d, r8d
mov dword [rsp + 0x20], 0x4ff
mov r9d, 0xffffffff
lea rdx, [rsp + 0x70]
lea ecx, [r8 + 1]
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
jne 0x180081ca9
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x180081c60
mov rcx, rbx
add rsp, 0x60
pop rbx
jmp fcn.180080440
Function at 0x180086570
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rcx, qword [r8 + 0x10]
mov rdi, r8
mov rax, qword [rdx + 0x10]
lea r8, [rsp + 0x30]
cmp rax, rcx
mov qword [rsp + 0x38], rcx
mov rbx, rdx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x38]
cmovb r8, rdx
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x1800865b5
mov rdx, qword [rdi]
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x1800865c2
mov rcx, qword [rbx]
mov r8, qword [r8]
test r8, r8
je 0x1800865e8
call fcn.180159ad0
test eax, eax
je 0x1800865e8
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.18017a200
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x18008a010
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov byte [rsp + 0x20], 0
add rcx, 0x40
lea r8, [r11 - 0x58]
mov edx, 0xdb3
call qword [sym.imp.2345MiniUI.dll_public:_bool___cdecl_RC::RCMiniUIDialogView::GetItemCheck_unsigned_int__bool____ptr64____ptr64]
cmp qword [rdi + 0x488], 0
je 0x18008a1c6
mov rbx, qword [rdi + 0x398]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rbx, rax
jne 0x18008a1c6
cmp byte [rsp + 0x20], 0
je 0x18008a1c6
xor eax, eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
lea r8d, [rax + 6]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x50]
xor esi, esi
mov ecx, esi
movzx eax, word [rsp + 0x50]
cmp ax, 0x30
jb 0x18008a0d4
cmp ax, 0x39
ja 0x18008a0d4
lea rcx, [rcx + rcx*4]
movzx eax, ax
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x18008a0b2
mov dword [rdi + 0x4c4], ecx
movd xmm2, dword [rdi + 0x4c0]
cvtdq2pd xmm2, xmm2
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm2, xmm0
movd xmm1, dword [rdi + 0x4bc]
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm1
cvttsd2si rbx, xmm2
mov eax, 1
cmp ebx, eax
cmovb ebx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], si
mov r8d, ebx
lea rdx, [0x1803d2580]
lea rcx, [rsp + 0x30]
call fcn.18015a250
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, qword [rdi + 0x3e8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [rdi + 0x4c8], ebx
mov rcx, rdi
call fcn.180089f90
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x18008a1b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a1ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a1ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18008a1f0
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov byte [rsp + 0x20], 0
add rcx, 0x40
lea r8, [r11 - 0x58]
mov edx, 0xdb3
call qword [sym.imp.2345MiniUI.dll_public:_bool___cdecl_RC::RCMiniUIDialogView::GetItemCheck_unsigned_int__bool____ptr64____ptr64]
cmp qword [rdi + 0x488], 0
je 0x18008a3a6
mov rbx, qword [rdi + 0x3e8]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rbx, rax
jne 0x18008a3a6
cmp byte [rsp + 0x20], 0
je 0x18008a3a6
xor eax, eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
lea r8d, [rax + 6]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x50]
xor esi, esi
mov ecx, esi
movzx eax, word [rsp + 0x50]
cmp ax, 0x30
jb 0x18008a2b4
cmp ax, 0x39
ja 0x18008a2b4
lea rcx, [rcx + rcx*4]
movzx eax, ax
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x18008a292
mov dword [rdi + 0x4c8], ecx
movd xmm2, dword [rdi + 0x4bc]
cvtdq2pd xmm2, xmm2
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm2, xmm0
movd xmm1, dword [rdi + 0x4c0]
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm1
cvttsd2si rbx, xmm2
mov eax, 1
cmp ebx, eax
cmovb ebx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], si
mov r8d, ebx
lea rdx, [0x1803d2580]
lea rcx, [rsp + 0x30]
call fcn.18015a250
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, qword [rdi + 0x398]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [rdi + 0x4c4], ebx
mov rcx, rdi
call fcn.180089f90
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x18008a393
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a38e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a38e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18008a3d0
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0x488], rdi
je 0x18008a5d5
xor eax, eax
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x78], eax
lea r8d, [rdi + 6]
lea rdx, [r11 - 0x28]
mov rcx, qword [rcx + 0x438]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x70]
mov ecx, edi
movzx eax, word [rsp + 0x70]
cmp ax, 0x30
jb 0x18008a462
nop dword [rax]
cmp ax, 0x39
ja 0x18008a462
lea rcx, [rcx + rcx*4]
movzx eax, ax
lea rcx, [rcx - 0x18]
lea rcx, [rax + rcx*2]
add rdx, 2
movzx eax, word [rdx]
cmp ax, 0x30
jae 0x18008a440
mov dword [rbx + 0x4b8], ecx
mov eax, dword [rbx + 0x4bc]
imul eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1803f6fd0]
cvttsd2si rax, xmm0
mov dword [rbx + 0x4c4], eax
mov eax, dword [rbx + 0x4c0]
imul eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1803f6fd0]
cvttsd2si rax, xmm0
mov dword [rbx + 0x4c8], eax
mov rcx, rbx
call fcn.180089f90
mov edx, dword [rbx + 0x4c4]
lea rcx, [rsp + 0x50]
call fcn.18015a1d0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov rcx, qword [rbx + 0x398]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [rbx + 0x4c8]
lea rcx, [rsp + 0x30]
call fcn.18015a210
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x3e8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [rbx + 0x4b8]
mov rcx, rbx
call fcn.180088660
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x18008a56a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a565
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a565
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x18008a5c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a5bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008a5bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180393f50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret