joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180208300
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x58]
call fcn.180004ab0
nop
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jle 0x1802083f8
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov qword [rsp + 0x38], rax
mov eax, 2
mov rcx, qword [rsp + 0x38]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180388958
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jg 0x1802083e4
movsxd rax, dword [rsp + 0x24]
xor ecx, ecx
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*2], cx
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.18000d5a0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.180388460
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call fcn.180004a40
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x58]
call fcn.1800049c0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180388400
add rsp, 0x88
ret
Function at 0x180208810
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x18020882d
jmp 0x18020894c
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetLastActivePopup]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x18020885c
mov edx, 9
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x40], 0
xor r9d, r9d
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x2000
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [rsp + 0x40], 0x64
jb 0x180208896
mov r9d, 3
xor r8d, r8d
xor edx, edx
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x48], eax
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rsp + 0x44], eax
mov r8d, 1
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r8d, r8d
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x68
ret
Function at 0x18020a600
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp rax, r8
je 0x18020a6f5
mov qword [rsp + 0x30], rbx
nop word [rax + rax]
mov rbx, qword [rax]
test rbx, rbx
je 0x18020a62d
cmp dword [rbx + 0x1c], edx
je 0x18020a640
add rax, 8
cmp rax, r8
jne 0x18020a620
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
movzx eax, byte [rbx + 0x18]
test al, al
je 0x18020a6f0
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 8]
xorps xmm1, xmm1
mov ecx, eax
xorps xmm0, xmm0
cvtsi2sd xmm1, rcx
mov ecx, dword [rbx + 0xc]
cvtsi2sd xmm0, rcx
divsd xmm1, xmm0
comisd xmm1, xmmword [0x1803e8428]
movsd qword [rbx + 0x10], xmm1
jb 0x18020a6a0
movsd xmm1, qword [0x1803e8428]
movabs rax, 0x3ff0000000000000
mov qword [rbx + 0x10], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x18020a6c7
mov eax, edi
sub eax, dword [rbx + 0x38]
cmp eax, dword [rbx + 0x20]
jb 0x18020a6c7
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
mov dword [rbx + 0x38], edi
movsd xmm0, qword [rbx + 0x10]
ucomisd xmm0, qword [0x1803e8428]
mov rdi, qword [rsp + 0x20]
jp 0x18020a6f0
jne 0x18020a6f0
mov rax, qword [rbx]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
jmp qword [rax + 8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x180214120
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor edi, edi
mov rbx, rcx
mov qword [rcx], rdi
cmp qword [0x1804cf800], rdi
jne 0x1802141ab
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x20a
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rax, [rsp + 0x30]
mov word [rsp + 0x236], di
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x180214190
lea rdx, [rsp + 0x30]
lea rcx, [0x1804cf7f0]
call fcn.180004ea0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180388400
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x180214250
Capabilities:
Check os version
Get session user name

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
mov eax, dword [0x1804de0c8]
test eax, eax
jle 0x18021429d
inc eax
mov dword [0x1804de0c8], eax
mov al, 1
jmp 0x1802143fd
xor bpl, bpl
xor r14d, r14d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
lea ecx, [r14 + 1]
call fcn.180388424
mov rbx, rax
mov qword [rsp + 0x30], rax
mov byte [rax], bpl
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x44]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x11c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1802142f4
cmp dword [rsp + 0x44], 6
setae al
mov byte [rbx], al
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.180177490
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.180176440
test bl, bl
je 0x1802143e6
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1802143e6
lea rdx, str.ImpersonateLoggedOnUser
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call rax
test eax, eax
je 0x1802143db
inc dword [0x1804de0c8]
mov rcx, qword [rsi]
test rcx, rcx
je 0x180214367
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], rbx
mov rbx, r14
mov bpl, 1
cmp qword [0x1804cf820], rbx
jne 0x1802143db
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov word [rsp + 0x246], r14w
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x1802143c0
lea rdx, [rsp + 0x40]
lea rcx, [0x1804cf810]
call fcn.180004ea0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1802143eb
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1802143f9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bpl
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180388400
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180214490
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ebp, r8d
mov r14, rdx
mov r15, rcx
xor r12d, r12d
mov ebx, r12d
mov qword [rsp + 0x20], rbx
lea r13, [r12 - 1]
cmp r8d, 0x3fe
jbe 0x18021455e
lea ecx, [rbp + 2]
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.180388958
mov r14, rax
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x18021452a
cmp eax, ebp
ja 0x18021452a
mov ecx, eax
mov word [rbx + rcx*2], r12w
lea ecx, [rax + 1]
mov word [rbx + rcx*2], r12w
mov ebp, eax
jmp 0x18021458d
test r14, r14
je 0x180214537
mov rcx, r14
call fcn.180388460
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180388400
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, rbp
add rax, rax
cmp rax, 0x800
jae 0x1802146c6
mov word [rax + rdx], r12w
lea ecx, [rbp + 1]
add rcx, rcx
cmp rcx, 0x800
jae 0x1802146c0
mov word [rcx + rdx], r12w
mov eax, r12d
mov edi, r12d
test ebp, ebp
je 0x1802146a5
mov rsi, r14
nop
cmp word [rsi], 0
jne 0x180214697
cmp eax, edi
je 0x180214697
lea rdx, [r14 + rax*2]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
mov r8, r13
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1802145e0
lea rcx, [rsp + 0x30]
call fcn.180004ea0
nop
mov rdx, qword [r15 + 8]
cmp qword [r15 + 0x10], rdx
je 0x180214634
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
add qword [r15 + 8], 0x20
jmp 0x180214642
lea r8, [rsp + 0x30]
mov rcx, r15
call fcn.18006c9b0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180214680
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18021467b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1802146b9
call fcn.180388460
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
lea eax, [rdi + 1]
inc edi
add rsi, 2
cmp edi, ebp
jb 0x1802145a0
test rbx, rbx
je 0x1802146b2
mov rcx, rbx
call fcn.180388460
mov al, 1
jmp 0x180214539
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388a88
int3
call fcn.180388a88
int3
Function at 0x1802175c0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180217631
mov eax, dword [rsp + 0x24]
cmp eax, 5
jae 0x180217617
cmp eax, 4
jne 0x180217631
cmp dword [rsp + 0x28], 0x5a
jb 0x180217631
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180388400
add rsp, 0x158
ret
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180388400
add rsp, 0x158
ret
Function at 0x18021abc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edx, dx
lea r8, [0x1803c4f28]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x18021ace9
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
je 0x18021ace9
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18021ace9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18021ace9
mov edx, esi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x18021ace9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x18021ace0
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor esi, esi
lea r8, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x40], rsi
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x18021ace0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18021ace0
call fcn.1801eddf0
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rbx, rbx
je 0x18021accd
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x10], esi
test ecx, ecx
je 0x18021accd
mov rax, qword [rbx]
lea edx, [rsi + 1]
mov rcx, rbx
call qword [rax]
mov ebx, esi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18021f3e0
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov r14, qword [rsp + 0xa8]
cmp dword [rsp + 0xb0], 0
jne 0x18021f5e6
cmp r8d, 0x102
jne 0x18021f49f
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
cmp r9w, 0x1b
je 0x18021f46e
cmp r9w, 0xd
je 0x18021f472
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x18021f485
mov rax, qword [rcx + 0x18]
mov qword [r11 - 0x58], rax
mov r9, qword [rcx + 0x10]
mov r8d, dword [rcx + 8]
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x18021f485
mov byte [rcx + 0x48], 1
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
xor edi, edi
mov qword [r14], rdi
mov rcx, qword [rbx + 0x30]
cmp dword [rcx + 0x34], edi
je 0x18021f5e6
lea eax, [rdi + 1]
jmp 0x18021f5e8
cmp r8d, 8
jne 0x18021f593
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x38]
call fcn.180208300
mov rsi, rax
lea rbp, [rbx + 0x60]
xor edi, edi
cmp rbp, rax
je 0x18021f4f6
mov rcx, rbp
call fcn.180004e20
movups xmm0, xmmword [rsi]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18021f53b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18021f536
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18021f536
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], di
xor edx, edx
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [rbx + 0x48], 0
jne 0x18021f57f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x660
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [r14], rdi
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x34], 0
je 0x18021f5e6
mov eax, 1
jmp 0x18021f5e8
cmp r8d, 0x20
jne 0x18021f5e6
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
mov eax, dword [0x1804dfb44]
test al, 1
jne 0x18021f5cd
or eax, 1
mov dword [0x1804dfb44], eax
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [0x1804dfb48], rax
jmp 0x18021f5d4
mov rax, qword [0x1804dfb48]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov qword [r14], 1
jmp 0x18021f582
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180388400
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180223e60
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov rsi, qword [rsp + 0x2b8]
cmp dword [rsp + 0x2c0], 0
jne 0x1802240a6
cmp r8d, 0x20
jne 0x180223f21
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
mov eax, dword [0x1804dfb78]
test al, 1
jne 0x180223ee1
or eax, 1
mov dword [0x1804dfb78], eax
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [0x1804dfb70], rax
jmp 0x180223ee8
mov rax, qword [0x1804dfb70]
test rax, rax
je 0x180223efd
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edi, 1
jmp 0x180223f06
mov rcx, qword [rbx + 0x30]
xor edi, edi
mov dword [rcx + 0x34], edi
mov qword [rsi], rdi
mov rcx, qword [rbx + 0x30]
cmp dword [rcx + 0x34], 0
je 0x1802240a6
mov eax, 1
jmp 0x1802240a8
cmp r8d, 7
jne 0x180223f96
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
lea rdx, [rcx + 0x48]
cmp qword [rdx + 0x18], 8
jb 0x180223f40
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
movsxd r8, dword [rbx + 0x58]
mov r9, r8
mov edx, 0xb1
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x30]
xor edi, edi
mov dword [rax + 0x34], edi
mov qword [rsi], rdi
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x34], edi
je 0x1802240a6
lea eax, [rdi + 1]
jmp 0x1802240a8
cmp r8d, 8
jne 0x180224042
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x105
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x180224000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180224180
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x34], edi
mov qword [rsi], rdi
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x34], 0
je 0x1802240a6
mov eax, 1
jmp 0x1802240a8
cmp r8d, 0x2133
jne 0x180224074
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov rdx, qword [rsp + 0x20]
call fcn.180224410
mov qword [rsi], rax
jmp 0x180224031
cmp r8d, 0x2138
jne 0x1802240a6
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov rdx, qword [rsp + 0x20]
call fcn.180224410
mov qword [rsi], rax
jmp 0x180224031
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180388400
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180227f10
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0xb0
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp qword [rcx + 0x10], 0
movzx edi, r8b
mov rbp, rdx
mov rbx, rcx
je 0x180228125
cmp qword [rcx + 0x18], 8
mov rax, rcx
jb 0x180227f4f
mov rax, qword [rcx]
mov r9d, 0x2c
mov qword [rsp + 0x20], rax
mov r8, rbp
lea rdx, str.WindowPlacement
lea rcx, str.Placement
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
je 0x180228125
test dil, dil
jne 0x180227f88
mov eax, 1
jmp 0x180228127
movss xmm0, dword [rbx + 0x24]
mulss xmm0, dword [0x1803e85f0]
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xa8], r14
addss xmm0, dword [0x1803e8330]
mov qword [rsp + 0xa0], r15
movaps xmmword [rsp + 0x90], xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si edx, xmm0
lea rcx, [rbp + 0x1c]
mov r8d, edx
call qword [sym.imp.USER32.dll_OffsetRect]
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [rsp + 0x38]
mov edx, 2
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x58], 0x28
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov rcx, rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x180228036
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_CopyRect]
jmp 0x180228049
xor edx, edx
lea r8, [rsp + 0x48]
xor r9d, r9d
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
movss xmm6, dword [rbx + 0x24]
mov r14d, dword [rsp + 0x40]
movaps xmm0, xmm6
mulss xmm0, dword [0x1803e8654]
mov r15d, dword [rsp + 0x44]
mov edi, dword [rsp + 0x38]
sub r14d, edi
mov esi, dword [rsp + 0x3c]
sub r15d, esi
addss xmm0, dword [0x1803e8330]
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
mov eax, dword [rsp + 0x50]
cvttss2si ecx, xmm0
sub eax, ecx
cmp edi, eax
jg 0x18022809e
mov eax, dword [rsp + 0x54]
sub eax, ecx
cmp esi, eax
jg 0x18022809e
test edi, edi
js 0x18022809e
test esi, esi
jns 0x1802280c4
mulss xmm6, dword [0x1803e85c8]
addss xmm6, dword [0x1803e8330]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si edi, xmm0
mov dword [rsp + 0x38], edi
mov esi, edi
mov dword [rsp + 0x3c], edi
lea eax, [r14 + rdi]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x38]
lea eax, [r15 + rsi]
lea rcx, [rbp + 0x1c]
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_CopyRect]
mov rdx, rbp
mov byte [rbx + 0x21], 1
mov rcx, rbx
call fcn.180227eb0
movaps xmm6, xmmword [rsp + 0x90]
mov eax, 1
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xe0]
mov byte [rbx + 0x21], 0
jmp 0x180228127
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180388400
add rsp, 0xb0
pop rdi
pop rbp
pop rbx
ret
Function at 0x180236520
Capabilities:
Enumerate gui resources

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rsp + 0x38], xmm1
xor eax, eax
mov word [rsp + 0x28], ax
movdqu xmmword [rsp + 0x48], xmm0
mov qword [r11 - 0x20], rax
lea rax, [r11 - 0x50]
cmp rax, rcx
je 0x180236592
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x180236584
mov rdx, qword [rcx]
mov r8, qword [rcx + 0x10]
lea rcx, [rsp + 0x28]
call fcn.180004ea0
lea rdx, [rsp + 0x28]
lea rcx, [0x180236460]
call qword [sym.imp.USER32.dll_EnumWindows]
mov r8, qword [rsp + 0x50]
mov rax, r8
mov rdx, qword [rsp + 0x48]
sub rax, rdx
sar rax, 3
test rax, rax
setne bl
lea rax, [rsp + 0x48]
cmp rdi, rax
je 0x1802365d1
mov rcx, rdi
call fcn.180067680
nop
lea rcx, [rsp + 0x48]
call fcn.180008690
nop
lea rcx, [rsp + 0x28]
call fcn.180004e20
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180388400
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret