joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e71a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x23], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1400e71ba
mov rbx, qword [rcx + 0x10]
cmp byte [rbx + 0x23], 1
je 0x1400e71ed
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WSOCK32.dll_recv]
lea r8, str.An_object.
lea rdx, str.Invalid_value.
lea rcx, [0x140143150]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005f7b0
movzx eax, byte [rbx + 0x21]
mov qword [rsp + 0x30], rsi
test al, 2
je 0x1400e7208
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
movzx ecx, byte [rbx + 0x20]
and byte [rbx + 0x21], 0x82
xor esi, esi
dec ecx
mov qword [rbx + 0x10], rsi
je 0x1400e7243
dec ecx
jne 0x1400e724a
cmp qword [rbx + 0x18], rsi
je 0x1400e724a
mov rcx, qword [rbx + 8]
call qword [sym.imp.MSVCR100.dll_free]
and byte [rbx + 0x21], 0x7f
lea rax, [0x140141fa8]
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rsi
jmp 0x1400e724a
mov rax, qword [rbx + 8]
mov word [rax], si
or byte [rbx + 0x21], 0xc2
mov rsi, qword [rsp + 0x30]
mov qword [rbx], rdi
mov rbx, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400e7270
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
movzx ecx, byte [rcx + 0x23]
mov rbx, rdx
test ecx, ecx
je 0x1400e74b1
dec ecx
mov qword [rsp + 0x50], rsi
je 0x1400e7306
dec ecx
je 0x1400e72d3
dec ecx
je 0x1400e72b7
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 rdx, rdx
je 0x1400e72c1
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
mov rcx, rdx
call fcn.140006960
xor esi, esi
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, rsi
test rbx, rbx
je 0x1400e7457
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.140001130
cmp dword [0x14013b0c4], 0
jne 0x1400e740e
cmp qword [rdi + 0x10], 0
jne 0x1400e740e
cmp qword [0x1401440e0], rdi
jne 0x1400e7334
test rbx, rbx
jne 0x1400e73b3
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400e73ae
xor esi, esi
mov qword [0x1401440e0], rsi
test rbx, rbx
je 0x1400e739c
mov edx, dword [0x14013f868]
test edx, edx
je 0x1400e737e
mov r9, qword [rdi + 0x28]
lea r8, str.An_environment_variable_is_being_accessed__see_NoEnv.
lea rcx, [0x140143150]
mov qword [rsp + 0x20], rsi
call fcn.1400600d0
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call fcn.1400e1df0
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 0x1400e73f5
cmp byte [rdi + 0x23], 0
jne 0x1400e73bf
mov rax, qword [rdi + 0x10]
jmp 0x1400e73c2
mov rax, rdi
test byte [rax + 0x21], 4
je 0x1400e73d7
lea rcx, [0x140143150]
mov rdx, rdi
call fcn.140060290
xor esi, esi
xor eax, eax
mov word [rbx], si
mov qword [0x1401440e0], rsi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x50]
mov qword [0x1401440e0], rdi
xor eax, eax
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 0x1400e74ac
test r8, r8
jne 0x1400e7467
xor esi, esi
mov rax, rdi
cmp byte [rdi + 0x23], sil
cmove rax, rsi
test byte [rax + 0x21], 4
je 0x1400e744d
lea rcx, [0x140143150]
mov rdx, rdi
call fcn.140060290
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 0x1400e74ac
cmp r8, 0x186a0
jae 0x1400e749e
movzx eax, word [rdx]
test ax, ax
je 0x1400e7494
add rdx, 2
mov word [rbx], ax
add rbx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x1400e7481
xor esi, esi
mov rax, rbp
mov word [rbx], si
jmp 0x1400e7452
mov rcx, rbx
call sub.MSVCR100.dll_memcpy
xor esi, esi
mov word [rbx + rbp*2], si
mov rax, rbp
jmp 0x1400e7452
mov rcx, qword [rdi + 0x10]
call fcn.1400e7270
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400e8010
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x1400e8026
xor eax, eax
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x40], r13
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401430c0]
mov r13d, eax
je 0x1400e8057
mov rcx, rbx
call fcn.1400e9c60
test al, al
je 0x1400e8057
xor eax, eax
mov r13, qword [rsp + 0x40]
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 0x1400e807c
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400e8097
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp rbx, rsi
jne 0x1400e80af
mov rsi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x50
pop rbx
ret
cmp byte [0x14013f73a], 0
jne 0x1400e80cc
mov rdx, rsi
mov rcx, rbx
call fcn.1400e7f50
test rax, rax
jne 0x1400e821b
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
xor r15b, r15b
xor r14b, r14b
test rsi, rsi
je 0x1400e8155
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r12d, eax
test eax, eax
je 0x1400e815a
cmp dword [0x1401430c0], eax
je 0x1400e8131
mov rcx, rsi
call fcn.1400e9c60
test al, al
jne 0x1400e8131
mov ecx, dword [0x1401430c0]
mov r8d, 1
mov edx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r14b
test r13d, r13d
je 0x1400e815a
cmp r12d, r13d
je 0x1400e815a
mov r8d, 1
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r15b
jmp 0x1400e815a
mov r12d, dword [rsp + 0x60]
xor edi, edi
nop dword [rax]
mov rdx, rsi
mov rcx, rbx
call fcn.1400e7f50
mov rbp, rax
test rax, rax
jne 0x1400e81c2
inc edi
cmp edi, 5
jl 0x1400e8160
xor r8d, r8d
lea ecx, [rax + 2]
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140020440
xor r8d, r8d
lea ecx, [rbp + 2]
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140020440
mov rdx, rsi
mov rcx, rbx
call fcn.1400e7f50
mov rbp, rax
mov rdi, qword [rsp + 0x78]
test r14b, r14b
mov r14, qword [rsp + 0x38]
je 0x1400e81e3
mov ecx, dword [0x1401430c0]
xor r8d, r8d
mov edx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r15b, r15b
mov r15, qword [rsp + 0x30]
je 0x1400e81fc
xor r8d, r8d
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r12, qword [rsp + 0x48]
test rbp, rbp
je 0x1400e8214
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rax, rbp
jmp 0x1400e8216
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
Function at 0x1400e8370
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test r8b, r8b
je 0x1400e838b
call fcn.1400a7bd0
jmp 0x1400e839b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
test edi, edi
js 0x1400e841a
je 0x1400e841a
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword gs:[0x48]
mov ebp, eax
nop dword [rax + rax]
cmp dword [0x1401430c0], esi
jne 0x1400e83d9
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b80
jmp 0x1400e83e4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400e8402
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rbp + rdi]
sub ecx, eax
cmp ecx, 5
jg 0x1400e83c0
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e8600
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x11bf0]
mov eax, 0x11cf0
call fcn.140100df0
sub rsp, rax
movzx eax, word [rdx]
mov r10, qword [rbp + 0x11c20]
mov rdi, rcx
cmp ax, 0x41
je 0x1400e8634
cmp ax, 0x61
jne 0x1400e86b1
cmp word [rdx + 2], 0
jne 0x1400e86b1
cmp word [r8], 0
jne 0x1400e86b1
cmp word [r9], 0
jne 0x1400e86b1
cmp word [r10], 0
jne 0x1400e86b1
mov qword [rsp + 0x11d00], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x1400e8680
cmp byte [rdi + 0x12a], 0
jne 0x1400e8680
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor ecx, ecx
test eax, eax
cmove rbx, rcx
cmp byte [rbp + 0x11c30], 0
je 0x1400e8695
test rbx, rbx
je 0x1400e8695
mov qword [rdi + 0xf8], rbx
mov rax, rbx
mov rbx, qword [rsp + 0x11d00]
mov rdi, qword [rsp + 0x11d08]
add rsp, 0x11cf0
pop rbp
ret
test ax, ax
jne 0x1400e86de
cmp word [r8], ax
jne 0x1400e86de
cmp word [r9], ax
jne 0x1400e86de
cmp word [r10], ax
jne 0x1400e86de
call fcn.1400e8860
mov rdi, qword [rsp + 0x11d08]
add rsp, 0x11cf0
pop rbp
ret
xor ecx, ecx
mov qword [rsp + 0x28], r10
lea rax, [0x1401035ac]
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x30], ecx
mov byte [rbp + 0x1789], cl
mov dword [rbp + 0x178c], ecx
mov qword [rbp + 0x1790], rcx
mov qword [rbp + 0x1798], rcx
mov qword [rbp + 0x17a0], rcx
mov dword [rbp + 0x17a8], ecx
mov qword [rbp + 0x17b0], rcx
mov qword [rbp + 0x17c0], rcx
mov qword [rbp + 0x17c8], rcx
mov r9, r8
mov r8, rdx
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov qword [rbp + 0xf48], rax
call fcn.1400e9e60
test eax, eax
je 0x1400e8803
test byte [rsp + 0x30], 2
movzx eax, byte [rbp + 0x11c28]
mov byte [rbp + 0x1789], al
mov rax, qword [rbp + 0x11c38]
mov qword [rbp + 0x17a0], rax
mov eax, dword [rbp + 0x11c40]
mov dword [rbp + 0x17a8], eax
je 0x1400e8816
mov rax, qword [rbp + 0xf68]
cmp rax, 0xffff
je 0x1400e87d8
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400e8803
cmp byte [rdi + 0x12a], 0
jne 0x1400e87d1
mov rcx, qword [rbp + 0xf68]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1400e87d1
mov rcx, qword [rbp + 0xf68]
lea edx, [rax - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400e8803
mov rax, qword [rbp + 0xf68]
cmp qword [rbp + 0x17c8], rax
je 0x1400e87f2
lea rcx, [rsp + 0x30]
mov qword [rbp + 0x17c8], rax
call fcn.1400ea3c0
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.1400ea4c0
test rax, rax
jne 0x1400e8828
xor eax, eax
mov rdi, qword [rsp + 0x11d08]
add rsp, 0x11cf0
pop rbp
ret
lea rdx, [rsp + 0x30]
lea rcx, [0x1400e88f0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rbp + 0x11c30], 0
mov rax, qword [rbp + 0x1790]
je 0x1400e8844
test rax, rax
je 0x1400e8844
mov qword [rdi + 0xf8], rax
mov rdi, qword [rsp + 0x11d08]
add rsp, 0x11cf0
pop rbp
ret
Function at 0x1400ea3c0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1898]
test rcx, rcx
je 0x1400ea4b9
mov eax, dword [rbx]
test eax, eax
je 0x1400ea4b9
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400ea3ff
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400ea41d
lea rdx, [rbx + 0x18ac]
mov r8d, 0x7fff
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400ea41d
mov word [rbx + 0x18ac], si
test byte [rbx], 4
je 0x1400ea436
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x18a8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x1400ea474
mov rcx, qword [rbx + 0x1898]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400ea474
movzx r8d, byte [rbx + 0x1858]
mov ecx, dword [rsp + 0x30]
lea rdx, [rbx + 0x11aac]
call fcn.14009f700
test eax, eax
jne 0x1400ea474
mov word [rbx + 0x11aac], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x1400ea49d
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x118aa]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
test dword [rbx], 0x100
je 0x1400ea4b9
mov rcx, qword [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rbx + 0x18a0], rax
add rsp, 0x20
pop rbx
ret

Function at 0x1400ead70
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11ce8
call fcn.140100df0
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400eae57
xor r9d, r9d
lea rcx, [0x1401035ac]
mov byte [rsp + 0x18a8], dl
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400eb6e0]
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x1879], r9b
mov dword [rsp + 0x187c], r9d
mov qword [rsp + 0x1880], r9
mov qword [rsp + 0x1888], r9
mov qword [rsp + 0x1890], r9
mov dword [rsp + 0x1898], r9d
mov qword [rsp + 0x18b0], r9
mov qword [rsp + 0x18b8], r9
mov qword [rsp + 0x18a0], rax
mov dword [rsp + 0x18ac], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1880], 0
je 0x1400eae57
mov rax, qword [0x14013b0f8]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400eae57
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1401430c0], eax
mov rax, qword [0x14013b0f8]
mov ecx, dword [rax + 0x74]
jne 0x1400eae51
mov edx, 1
call fcn.140001b80
mov eax, 1
add rsp, 0x11ce8
ret
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add rsp, 0x11ce8
ret
Function at 0x1400eae70
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push rbx
push r12
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
movzx r12d, dl
mov rbx, rcx
jne 0x1400eae93
mov eax, 1
add rsp, 0x28
pop r12
pop rbx
ret
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x14013b0f8]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.1400eb480
cmp byte [rbx], 0
mov rsi, rax
je 0x1400eaeca
test rax, rax
jne 0x1400eaed3
jmp 0x1400eaf9d
test rax, rax
jne 0x1400eaf98
test rdi, rdi
je 0x1400eaf98
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x10]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x20], r13
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword gs:[0x48]
mov r13d, eax
nop word [rax + rax]
cmp dword [0x1401430c0], ebp
jne 0x1400eaf29
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b80
jmp 0x1400eaf34
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400eaf57
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, r13d
sub ecx, eax
add ecx, 0x1f4
cmp ecx, 5
jg 0x1400eaf10
mov rax, qword [0x14013b0f8]
mov r13, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x40]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400eaf98
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1401430c0], eax
mov rax, qword [0x14013b0f8]
mov ecx, dword [rax + 0x74]
jne 0x1400eaf92
mov edx, 1
call fcn.140001b80
jmp 0x1400eaf98
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbx], 0
je 0x1400eafc0
xor r9d, r9d
mov r8, rsi
movzx edx, r12b
mov rcx, rbx
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
add rsp, 0x28
pop r12
pop rbx
jmp fcn.1400eafe0
movzx edx, r12b
mov rcx, rbx
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
add rsp, 0x28
pop r12
pop rbx
jmp fcn.1400eb1d0
Function at 0x1400eb1d0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x11cf0
call fcn.140100df0
sub rsp, rax
cmp qword [rcx + 0x10], 0
movzx edi, dl
mov rbx, rcx
je 0x1400eb3b7
xor edx, edx
call fcn.1400eb3d0
test eax, eax
jne 0x1400eb210
mov rbx, qword [rsp + 0x11d10]
add rsp, 0x11cf0
pop rdi
ret
mov qword [rsp + 0x11d00], rbp
mov qword [rsp + 0x11d08], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x14013b0f8]
mov rcx, rbx
mov rdx, rax
mov rsi, rax
call fcn.1400eb480
mov ecx, dword [0x140141fac]
xor ebp, ebp
test rax, rax
lea rax, [0x1401035ac]
cmovne ecx, ebp
mov qword [rsp + 0x1048], rax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x188c], ebp
mov qword [rsp + 0x1890], rbp
mov qword [rsp + 0x1898], rbp
mov dword [0x140141fac], ecx
mov qword [rsp + 0x18c0], rbp
mov qword [rsp + 0x18c8], rbp
test dil, dil
je 0x1400eb29a
mov byte [rsp + 0x1889], bpl
test ecx, ecx
je 0x1400eb2a2
mov byte [rsp + 0x1889], 1
mov rax, qword [0x140141fb8]
mov dword [rsp + 0x18a8], ecx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x18a0], rax
mov rax, qword [rbx + 0x10]
lea rcx, [0x1400eb5a0]
mov qword [rsp + 0x18b0], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x1890]
test rax, rax
je 0x1400eb37b
lea rdx, [rsp + 0x20]
lea rcx, [0x1400e9ba0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400eb324
mov rcx, qword [rsp + 0x1890]
call fcn.1400eaa80
mov qword [rsp + 0x1890], rbx
jmp 0x1400eb32c
mov rbx, qword [rsp + 0x1890]
mov rcx, rbx
call fcn.1400e8010
mov rcx, qword [rsp + 0x1890]
call fcn.1400eaa80
mov r11, qword [0x14013b0f8]
cmp dword [r11 + 0x74], 0xffffffff
jle 0x1400eb3a7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1401430c0], eax
mov rax, qword [0x14013b0f8]
mov ecx, dword [rax + 0x74]
jne 0x1400eb373
mov edx, 1
call fcn.140001b80
jmp 0x1400eb3a7
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400eb3a7
mov eax, dword [0x140141fac]
test eax, eax
je 0x1400eb3a7
cmp eax, 1
mov dword [0x140141fac], ebp
setg al
test al, al
je 0x1400eb3a7
mov rcx, rsi
call fcn.1400eaa80
xor edx, edx
mov rcx, rbx
call fcn.1400eb1d0
mov rsi, qword [rsp + 0x11d08]
mov rbp, qword [rsp + 0x11d00]
mov eax, 1
mov rbx, qword [rsp + 0x11d10]
add rsp, 0x11cf0
pop rdi
ret
Function at 0x1400046a0
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 rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400046ce
xor eax, eax
jmp 0x1400047b4
cmp qword [rcx + 0x68], 0
je 0x1400046df
call fcn.1400047d0
jmp 0x1400047b4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400046f6
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400046f8
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000472a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140020060
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400047ae
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140004761
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000478a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14000d424
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400047ae
cmp rsi, rbx
ja 0x140004768
test rsi, rsi
je 0x1400047ae
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000d424
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140006564
Capabilities:
Parse pe header

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

Function at 0x1400100ac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000fea8
Function at 0x140015340
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.140005e50
sub rsp, rax
mov rax, qword [0x140031040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140013f20
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001538f
mov rax, rbp
jmp 0x140015497
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 + 0x33580]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140016460
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x33580]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140015493
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 0x140015493
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140016460
test rax, rax
js 0x140015493
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140015493
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140015485
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140015485
cmp byte [rcx], 0xd
jne 0x14001546b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001547a
cmp byte [rcx + 1], 0xa
jne 0x14001547a
inc rcx
jmp 0x14001547a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x31470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001544d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140015497
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400057f0
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 0x1400156b8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400156ce
mov al, 1
jmp 0x14001572e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400156df
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001572c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001a720
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001572c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001572c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001572c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001572e
xor al, al
add rsp, 0x20
pop rbx
ret