joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008c060
Capabilities:
Write clipboard data

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
lea rcx, [0x140107068]
call fcn.1400052f0
test eax, eax
jne 0x14008c09d
lea r8, [0x1400ccf5c]
lea rdx, str.Cant_open_clipboard_for_writing.
lea rcx, [0x140106420]
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.140036b20
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea r14, [rsi + rbx]
xor r12d, r12d
lea rbx, [rsi + 4]
cmp rbx, r14
ja 0x14008c162
mov r15d, dword [rsi]
test r15d, r15d
je 0x14008c162
mov rax, rbx
add rbx, 8
cmp rbx, r14
ja 0x14008c162
mov edi, dword [rax]
mov rsi, rbx
add rbx, rdi
cmp rbx, r14
ja 0x14008c162
mov rdx, r12
test rdi, rdi
mov ecx, 0x42
sete dl
add rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x14008c220
test rdi, rdi
je 0x14008c149
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14008c1c1
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call fcn.1400a6d40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rsi, rbx
mov rdx, rbp
mov ecx, r15d
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rbx, [rsi + 4]
cmp rbx, r14
jbe 0x14008c0d0
cmp dword [0x140107094], r12d
je 0x14008c19c
cmp qword [0x140107078], r12
je 0x14008c188
mov rcx, qword [0x140107068]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140107078], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140107094], r12d
mov qword [0x140107068], r12
mov eax, 1
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x140107094], r12d
je 0x14008c204
cmp qword [0x140107078], r12
je 0x14008c1f0
mov rcx, qword [0x140107068]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140107078], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140107094], r12d
mov qword [0x140107068], r12
lea r8, [0x1400ccf5c]
lea rdx, [0x1400cd298]
lea rcx, [0x140106420]
call fcn.140036b20
jmp 0x14008c1a1
cmp dword [0x140107094], r12d
je 0x14008c25a
cmp qword [0x140107078], r12
je 0x14008c246
mov rcx, qword [0x140107068]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140107078], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140107094], r12d
mov qword [0x140107068], r12
lea r8, [0x1400ccf5c]
lea rdx, str.Out_of_memory.
lea rcx, [0x140106420]
call fcn.140036b20
jmp 0x14008c1a1
Function at 0x14008c6d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, rdx
movzx ecx, byte [rcx + 0x23]
test ecx, ecx
je 0x14008c910
mov qword [rsp + 0x50], rsi
sub ecx, 1
je 0x14008c76d
sub ecx, 1
je 0x14008c736
cmp ecx, 1
je 0x14008c71a
mov rdx, qword [rdi + 0x28]
mov rcx, rbx
call qword [rdi + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x14008c724
xor esi, esi
mov word [rdx], si
xor eax, eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x140107068]
call fcn.140004bb0
xor esi, esi
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, rsi
test rbx, rbx
je 0x14008c8b0
mov word [rbx + rax*2], si
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140001340
cmp dword [0x140102d04], 0
jne 0x14008c86e
cmp qword [rdi + 0x10], 0
jne 0x14008c86e
cmp qword [0x140108a10], rdi
jne 0x14008c79b
test rbx, rbx
jne 0x14008c81a
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14008c815
xor esi, esi
mov qword [0x140108a10], rsi
test rbx, rbx
je 0x14008c803
mov edx, dword [0x140102d14]
test edx, edx
je 0x14008c7e5
mov r9, qword [rdi + 0x28]
lea r8, str.An_environment_variable_is_being_accessed__see_NoEnv.
lea rcx, [0x140106420]
mov qword [rsp + 0x20], rsi
call fcn.140037540
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call fcn.14008a4f0
mov rsi, qword [rsp + 0x50]
mov eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
dec eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x14008c855
cmp byte [rdi + 0x23], 0
jne 0x14008c826
mov rax, qword [rdi + 0x10]
jmp 0x14008c829
mov rax, rdi
test byte [rax + 0x21], 4
je 0x14008c837
mov rdx, rdi
call fcn.140037690
xor esi, esi
mov word [rbx], si
xor eax, eax
mov qword [0x140108a10], rsi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [0x140108a10], rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rdi + 0x10]
mov qword [rsp + 0x48], rbp
mov rbp, r8
shr rbp, 1
test rbx, rbx
je 0x14008c90b
test r8, r8
jne 0x14008c8c0
xor esi, esi
mov rax, rdi
cmp byte [rdi + 0x23], sil
cmove rax, rsi
test byte [rax + 0x21], 4
je 0x14008c8a6
mov rdx, rdi
call fcn.140037690
mov word [rbx], si
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdi + 8]
cmp rbx, rdx
je 0x14008c90b
cmp r8, 0x186a0
jae 0x14008c8fd
movzx eax, word [rdx]
test ax, ax
je 0x14008c8f3
nop word [rax + rax]
mov word [rbx], ax
lea rdx, [rdx + 2]
movzx eax, word [rdx]
add rbx, 2
test ax, ax
jne 0x14008c8e0
xor esi, esi
mov rax, rbp
mov word [rbx], si
jmp 0x14008c8ab
mov rcx, rbx
call fcn.1400a6d40
xor esi, esi
mov word [rbx + rbp*2], si
mov rax, rbp
jmp 0x14008c8ab
mov rcx, qword [rdi + 0x10]
call fcn.14008c6d0
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14008d410
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x14008d426
xor eax, eax
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x30], r15
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140106398]
mov r15d, eax
je 0x14008d457
mov rcx, rbx
call fcn.14008e7f0
test al, al
je 0x14008d457
xor eax, eax
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x70], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
test rax, rax
jne 0x14008d47c
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14008d497
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp rbx, rsi
jne 0x14008d4af
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
cmp byte [0x140102d0b], 0
jne 0x14008d4cc
mov rdx, rsi
mov rcx, rbx
call fcn.14008d370
test rax, rax
jne 0x14008d61b
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], r12
xor r12b, r12b
mov qword [rsp + 0x40], r13
xor r13b, r13b
mov qword [rsp + 0x38], r14
test rsi, rsi
je 0x14008d555
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r14d, eax
test eax, eax
je 0x14008d55a
cmp dword [0x140106398], eax
je 0x14008d531
mov rcx, rsi
call fcn.14008e7f0
test al, al
jne 0x14008d531
mov ecx, dword [0x140106398]
mov r8d, 1
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r12b
test r15d, r15d
je 0x14008d55a
cmp r14d, r15d
je 0x14008d55a
mov r8d, 1
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r13b
jmp 0x14008d55a
mov r14d, dword [rsp + 0x60]
xor edi, edi
nop dword [rax]
mov rdx, rsi
mov rcx, rbx
call fcn.14008d370
mov rbp, rax
test rax, rax
jne 0x14008d5c2
inc edi
cmp edi, 5
jl 0x14008d560
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [rax + 2]
call fcn.140011960
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [rbp + 2]
call fcn.140011960
mov rdx, rsi
mov rcx, rbx
call fcn.14008d370
mov rbp, rax
mov rdi, qword [rsp + 0x78]
test r12b, r12b
mov r12, qword [rsp + 0x48]
je 0x14008d5e3
mov ecx, dword [0x140106398]
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r13b, r13b
mov r13, qword [rsp + 0x40]
je 0x14008d5fc
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14, qword [rsp + 0x38]
test rbp, rbp
je 0x14008d614
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rax, rbp
jmp 0x14008d616
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
Function at 0x14008d770
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
test r8b, r8b
je 0x14008d790
call fcn.140062670
jmp 0x14008d7a0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test esi, esi
cmovns edi, esi
test edi, edi
je 0x14008d7fc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001710
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008d7fc
add edi, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x14008d7fc
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001710
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14008d7d1
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14008d9e0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11be0]
mov eax, 0x11ce0
call fcn.1400bde80
sub rsp, rax
mov r10, qword [rbp + 0x11c10]
mov rdi, rcx
movzx ecx, word [rdx]
mov r11d, 0xffdf
lea eax, [rcx - 0x41]
test r11w, ax
jne 0x14008da94
cmp word [rdx + 2], 0
jne 0x14008da94
cmp word [r8], 0
jne 0x14008da94
cmp word [r9], 0
jne 0x14008da94
cmp word [r10], 0
jne 0x14008da94
mov qword [rsp + 0x11cf0], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x14008da63
cmp byte [rdi + 0x12a], 0
jne 0x14008da63
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor ecx, ecx
test eax, eax
cmove rbx, rcx
cmp byte [rbp + 0x11c20], 0
je 0x14008da78
test rbx, rbx
je 0x14008da78
mov qword [rdi + 0xf8], rbx
mov rax, rbx
mov rbx, qword [rsp + 0x11cf0]
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
test cx, cx
jne 0x14008dac4
cmp word [r8], cx
jne 0x14008dac4
cmp word [r9], cx
jne 0x14008dac4
cmp word [r10], cx
jne 0x14008dac4
mov rcx, rdi
call fcn.14008dc40
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
xor ecx, ecx
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r9
lea rax, [0x1400ccf5c]
mov r9, r8
mov dword [rsp + 0x30], ecx
mov r8, rdx
mov byte [rbp + 0x1781], cl
mov dword [rbp + 0x1784], ecx
xorps xmm0, xmm0
mov qword [rbp + 0x1788], rcx
mov rdx, rdi
mov dword [rbp + 0x17a0], ecx
mov qword [rbp + 0x17a8], rcx
mov qword [rbp + 0x17b8], rcx
mov qword [rbp + 0x17c0], rcx
lea rcx, [rsp + 0x30]
mov qword [rbp + 0xf48], rax
movdqa xmmword [rbp + 0x1790], xmm0
call fcn.14008ea10
test eax, eax
je 0x14008dbe6
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c18]
mov byte [rbp + 0x1781], al
mov rax, qword [rbp + 0x11c28]
mov qword [rbp + 0x1798], rax
mov eax, dword [rbp + 0x11c30]
mov dword [rbp + 0x17a0], eax
je 0x14008dbf9
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x14008dbbb
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008dbe6
cmp byte [rdi + 0x12a], 0
jne 0x14008dbb4
mov rcx, qword [rbp + 0xf68]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x14008dbb4
mov rcx, qword [rbp + 0xf68]
lea edx, [rax - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x14008dbe6
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c0], rax
je 0x14008dbd5
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c0], rax
call fcn.14008eeb0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14008efa0
test rax, rax
jne 0x14008dc0b
xor eax, eax
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
lea rdx, [rsp + 0x30]
lea rcx, [0x14008dcd0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rbp + 0x11c20], 0
mov rax, qword [rbp + 0x1788]
je 0x14008dc27
test rax, rax
je 0x14008dc27
mov qword [rdi + 0xf8], rax
mov rdi, qword [rsp + 0x11cf8]
add rsp, 0x11ce0
pop rbp
ret
Function at 0x14008eeb0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x14008ef93
mov eax, dword [rbx]
test eax, eax
je 0x14008ef93
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x14008eeef
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x14008ef0d
mov r8d, 0x7fff
lea rdx, [rbx + 0x189c]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x14008ef0d
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x14008ef26
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x14008ef64
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x14008ef64
movzx r9d, byte [rbx + 0x1850]
lea rdx, [rbx + 0x11a9c]
mov ecx, dword [rsp + 0x30]
call fcn.14005d2a0
test eax, eax
jne 0x14008ef64
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x14008ef93
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_GetClassNameW]
add rsp, 0x20
pop rbx
ret

Function at 0x14008f800
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11cd8
call fcn.1400bde80
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14008f8ba
xor r9d, r9d
mov byte [rsp + 0x18a0], dl
lea rcx, [0x1400ccf5c]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov byte [rsp + 0x1871], r9b
lea rcx, [0x140090100]
mov dword [rsp + 0x1874], r9d
mov qword [rsp + 0x1878], r9
movdqa xmmword [rsp + 0x1880], xmm0
mov dword [rsp + 0x1890], r9d
mov qword [rsp + 0x18a8], r9
mov qword [rsp + 0x18b0], r9
mov qword [rsp + 0x1898], rax
mov dword [rsp + 0x18a4], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1878], 0
je 0x14008f8ba
mov rax, qword [0x1400fda58]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x14008f8ba
mov edx, 1
call fcn.140001710
mov eax, 1
add rsp, 0x11cd8
ret
Function at 0x14008f8d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
movzx r14d, dl
mov rbx, rcx
jne 0x14008f8fa
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x1400fda58]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.14008fea0
cmp byte [rbx], 0
mov rbp, rax
je 0x14008f931
test rax, rax
jne 0x14008f93a
jmp 0x14008f9d2
test rbp, rbp
jne 0x14008f9cd
test rdi, rdi
je 0x14008f9cd
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 1
mov ecx, 0x8000012f
mov esi, eax
call fcn.140001710
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14008f9af
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rsi + 0x1f4]
sub ecx, eax
cmp ecx, 5
jle 0x14008f9af
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001710
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14008f980
mov rax, qword [0x1400fda58]
mov rsi, qword [rsp + 0x38]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x14008f9cd
mov edx, 1
call fcn.140001710
cmp byte [rbx], 0
je 0x14008f9e6
xor r9d, r9d
mov r8, rbp
movzx edx, r14b
mov rcx, rbx
call fcn.14008fa10
jmp 0x14008f9f2
movzx edx, r14b
mov rcx, rbx
call fcn.14008fc00
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14008fc00
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11ce0
call fcn.1400bde80
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x14008fdc4
xor edx, edx
call fcn.14008fde0
test eax, eax
jne 0x14008fc40
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
mov qword [rsp + 0x11cf0], rbp
mov qword [rsp + 0x11cf8], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x1400fda58]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.14008fea0
mov ecx, dword [0x140106388]
xor ebp, ebp
test rax, rax
mov dword [rsp + 0x30], ebp
lea rax, [0x1400ccf5c]
mov dword [rsp + 0x1884], ebp
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [0x140106388], ecx
mov qword [rsp + 0x1888], rbp
mov qword [rsp + 0x1890], rbp
mov qword [rsp + 0x18b8], rbp
mov qword [rsp + 0x18c0], rbp
test dil, dil
je 0x14008fcca
mov byte [rsp + 0x1881], bpl
test ecx, ecx
je 0x14008fcd2
mov byte [rsp + 0x1881], 1
mov rax, qword [0x140106380]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x1898], rax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x18a0], ecx
lea rcx, [0x14008ffc0]
mov qword [rsp + 0x18a8], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1888]
test rax, rax
je 0x14008fd88
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [0x14008e730]
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x14008fd50
mov rcx, qword [rsp + 0x1888]
call fcn.14008f510
mov qword [rsp + 0x1888], r10
jmp 0x14008fd58
mov r10, qword [rsp + 0x1888]
mov rcx, r10
call fcn.14008d410
mov rcx, qword [rsp + 0x1888]
call fcn.14008f510
mov rcx, qword [0x1400fda58]
mov ecx, dword [rcx + 0x74]
cmp ecx, 0xffffffff
jle 0x14008fdb4
mov edx, 1
call fcn.140001710
jmp 0x14008fdb4
mov eax, dword [0x140106388]
test eax, eax
je 0x14008fdb4
cmp eax, 1
mov dword [0x140106388], ebp
setg al
test al, al
je 0x14008fdb4
mov rcx, rsi
call fcn.14008f510
xor edx, edx
mov rcx, rbx
call fcn.14008fc00
mov rsi, qword [rsp + 0x11cf8]
mov rbp, qword [rsp + 0x11cf0]
mov eax, 1
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11ce0
pop rdi
ret
Function at 0x1400acae4
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400ac8b8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ac8b8
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ac8b8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ac8b8
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ac8b8
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ac8b8
cmp dword [rcx + 0xf8], esi
je 0x1400ac8b8
mov ecx, r14d
call fcn.1400aca00
mov ecx, 2
call fcn.1400b5c74
nop
cmp byte [0x140100b00], 0
jne 0x1400ac982
mov r15d, 1
mov eax, r15d
xchg dword [0x140100af4], eax
test ebx, ebx
jne 0x1400ac92b
mov rdi, qword [0x1400fd018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140100af8]
cmp rcx, rax
je 0x1400ac922
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140016b50]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140100d40]
jmp 0x1400ac937
cmp ebx, r15d
jne 0x1400ac93d
lea rcx, [0x140100d58]
call fcn.1400b2890
nop
test ebx, ebx
jne 0x1400ac954
lea rdx, [0x1400c4f68]
lea rcx, [0x1400c4f48]
call fcn.1400b2c28
lea rdx, [0x1400c4f78]
lea rcx, [0x1400c4f70]
call fcn.1400b2c28
movzx eax, byte [0x140100b00]
test esi, esi
cmove eax, r15d
mov byte [0x140100b00], al
jmp 0x1400ac982
mov ecx, 2
call fcn.1400b5cc8
test esi, esi
jne 0x1400ac999
mov ecx, r14d
call fcn.1400ac9b4
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400ac848
Function at 0x1400026f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1401488a4], 0
lea rdi, [0x1401488a0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x1400027c8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002720
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400027fe
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x1400027e0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000283f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002823
cmp byte [r8], r9b
jne 0x140002823
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140002810
not eax
pop rdi
ret
Function at 0x140011f60
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x20
mov rbx, qword [0x140148590]
xor esi, esi
mov r15, rcx
mov dword [rbx + 0x2d9c], esi
test rcx, rcx
je 0x14001208a
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
lea rdi, [rbx + 0x2da0]
mov dword [rbx + 0x2d9c], esi
mov r8d, dword [rdi + 4]
test r8d, r8d
jns 0x140011fc2
mov eax, r8d
mov rcx, rdi
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.140012ef0
mov r8d, dword [rdi + 4]
mov dword [rdi], esi
mov eax, esi
test r8d, r8d
jne 0x140011fd9
lea edx, [r8 + 8]
mov rcx, rdi
call fcn.140012ef0
mov eax, dword [rdi]
movsxd rcx, eax
mov ebp, esi
mov rax, qword [rdi + 8]
mov byte [rcx + rax], sil
inc dword [rdi]
cmp dword [rbx + 0x2db0], esi
jle 0x14001202a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax + rax]
mov r9, qword [rbx + 0x2db8]
mov r8, rdi
add r9, r14
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rbx + 0x2db0]
jl 0x140012000
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
cmp qword [rdi + 8], rsi
je 0x140012039
mov esi, dword [rdi]
dec esi
mov rax, qword [rbx + 0x2da8]
lea rdi, [0x140148588]
test rax, rax
movsxd rsi, esi
lea rdx, [0x140049c74]
mov rcx, r15
cmovne rdi, rax
call fcn.140002850
mov rbx, rax
test rax, rax
je 0x140012085
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbx
ret