joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800393b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x18004f028]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800394db
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800394d2
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800394b4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800394b4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800394b4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180039472
mov rcx, qword [0x18004fb00]
mov r8d, 0x200
mov dword [rbx + 8], pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1800394d2
jmp 0x1800394a7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800394a7
mov rcx, qword [0x18004fb00]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800394d2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180039420
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180039533
cmp dword [rbx + 0xc], esi
jbe 0x180039533
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18003952c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180039200
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800394f0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18003bfa0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180039560
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18004f028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180053570]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800395d3
mov eax, 0xa
jmp 0x180039666
test esi, esi
je 0x1800395f5
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180039618
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180039618
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180039611
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180039618
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18003bfa0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180039690
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18005357c]
mov ebx, edi
test ecx, ecx
je 0x1800397cb
mov rax, qword [0x180053570]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800396e8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800396c0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800397cb
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800393b0
mov r8d, dword [0x18005357c]
cmp ebx, r8d
jae 0x180039758
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180053570]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180039751
mov edx, esi
mov ecx, ebx
call fcn.180039560
mov edi, eax
test eax, eax
jne 0x180039758
mov r8d, dword [0x18005357c]
inc ebx
cmp ebx, r8d
jb 0x180039720
cmp qword [rsp + 0x20], 0
je 0x1800397cb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800397b7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800397a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180039780
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18004fb00]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180039b20
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18004faf8], ebp
je 0x180039b77
cmp rbx, 0x20
jae 0x180039b60
xor ecx, ecx
jmp 0x180039b62
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18004faf8], ebp
jne 0x180039b56
cmp qword [0x18004fb00], r15
je 0x180039c71
test rdi, rdi
jne 0x180039b97
mov ecx, esi
call fcn.180039690
mov ebp, eax
jmp 0x180039c76
mov ecx, dword [0x18005357c]
mov ebx, r15d
test ecx, ecx
je 0x180039bbf
mov r8, qword [0x180053570]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180039bc9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180039bb0
mov ebp, 4
jmp 0x180039c76
cmp ebx, 0xffffffff
je 0x180039bbf
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180039c68
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800393b0
mov edx, esi
mov ecx, ebx
call fcn.180039560
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180039c76
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180039c52
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180039c48
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180039c20
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18004fb00]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180039c76
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180039c76
mov ebp, 2
xchg dword [0x18004faf8], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x18003af10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
test ebx, ebx
je 0x18003af5a
cmp ebx, 1
jne 0x18003af84
xor eax, eax
lea r8, [0x18003ae30]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp dword [0x180053458], 0
je 0x18003af84
call fcn.180039ca0
mov rcx, qword [0x180053450]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x180053450], rax
mov dword [0x180053458], eax
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x18005f5a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x18005f5cd
xor al, al
jmp 0x18005f72f
mov rax, qword [0x18007f6b0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x18007f6b8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x18007f6c0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x18007f6c8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x18007f6d0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x18007f6d8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x18007f6e0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x18007f6e8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x18007f6f0]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x18005f721
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x18005f679
mov r11d, 2
jmp 0x18005f69d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x18005f693
mov r11d, 1
jmp 0x18005f69d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x18005f745
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x18005f6e2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x18005f6fa
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x18005f70a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x18005f718
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x18005f660
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x18005f72a
Function at 0x14002c810
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x190
mov r9d, dword [rcx]
mov rsi, rdx
movsxd rdi, r8d
mov r14, rcx
test r9d, r9d
je 0x14002ca2d
sub r9d, 2
je 0x14002ca24
sub r9d, 1
je 0x14002ca1b
sub r9d, 1
je 0x14002c870
cmp r9d, 1
je 0x14002c864
lea rax, [0x1400fbbd0]
jmp 0x14002ca34
lea rax, [0x1401023d8]
jmp 0x14002ca34
test rsi, rsi
je 0x14002ca12
movzx eax, word [rcx + 0x68]
mov qword [rsp + 0x1a8], rbp
test ax, ax
je 0x14002c8a7
xor ebp, ebp
mov word [rdx], ax
mov word [rdx + 2], bp
lea rax, str.EndKey
mov rbp, qword [rsp + 0x1a8]
jmp 0x14002ca34
cmp byte [rcx + 0x6b], 0
mov qword [rsp + 0x1a0], rbx
je 0x14002c977
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x100
call fcn.1400bc710
mov byte [rsp + 0xa0], 0x80
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebp, ebp
mov ebx, ebp
test rax, rax
je 0x14002c91f
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x48
mov ecx, eax
mov ebx, eax
call qword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x14002c91f
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002c91f
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, byte [r14 + 0x65]
mov ebx, ebp
cmp dword [0x140125adc], ebx
mov rdi, rax
setne bl
xor edx, edx
call fcn.140023ea0
movzx ecx, byte [r14 + 0x65]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x30], rdi
mov r9, rsi
movzx edx, ax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
movsxd rcx, eax
mov word [rsi + rcx*2], bp
jmp 0x14002ca02
xor ebp, ebp
mov word [rdx], bp
cmp byte [rcx + 0x6a], bpl
je 0x14002c9cf
movzx edx, word [rcx + 0x66]
lea rax, [0x14011f2d8]
mov ecx, ebp
lea r8, [0x14011f3a8]
cmp word [rax], dx
je 0x14002c9a8
inc ecx
add rax, 0x10
cmp rax, r8
jl 0x14002c996
jmp 0x14002c9cf
movsxd rdx, ecx
lea rax, str.NumpadEnter
add rdx, rdx
lea r8, [rdi - 1]
mov rcx, rsi
mov rdx, qword [rax + rdx*8]
call fcn.1400cee14
mov word [rsi + rdi*2 - 2], bp
cmp word [rsi], bp
jne 0x14002ca02
cmp byte [r14 + 0x6a], bpl
mov r8d, edi
movzx ecx, byte [r14 + 0x65]
mov rdx, rsi
sete r9b
call fcn.140022f60
cmp word [rsi], bp
jne 0x14002ca02
movzx r9d, word [r14 + 0x66]
lea r8, str.sc_03X
mov edx, edi
mov rcx, rsi
call fcn.14009c850
mov rbx, qword [rsp + 0x1a0]
mov rbp, qword [rsp + 0x1a8]
lea rax, str.EndKey
jmp 0x14002ca34
lea rax, str.Match
jmp 0x14002ca34
lea rax, str.Timeout
jmp 0x14002ca34
lea rax, str.Stopped
lea r11, [rsp + 0x190]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14002d570
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [rax + 1]
lea eax, [rbx + rbx]
movsxd rcx, eax
call fcn.1400c0464
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x14002d5b5
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x14002d5d1
mov rax, qword [rdi + 0x18]
xor ecx, ecx
mov word [rax], cx
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140031a74
Capabilities:
Get disk information
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x230
mov rbx, rdx
mov r8d, ecx
xor r12d, r12d
mov ecx, 0x1000
mov word [rdx], r12w
mov sil, r9b
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x140031bba
mov r8d, 0x104
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
mov edi, eax
test eax, eax
je 0x140031baf
test sil, sil
je 0x140031b0d
mov edx, 0x5c
mov rcx, rbx
call fcn.1400bb8ac
mov rsi, rax
test rax, rax
je 0x140031baf
mov rcx, rax
call fcn.1400c536c
lea rdx, [rsi + 2]
mov rcx, rbx
lea r8, [rax + rax]
call fcn.1400bba10
jmp 0x140031baf
mov eax, 0x41
mov dword [rsp + 0x26a], 0x3a
mov word [rsp + 0x268], ax
lea ebp, [rax + 0x1b]
mov r8d, 0x104
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x268]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
cmp eax, 2
jbe 0x140031b68
add esi, 0xfffffffe
lea rcx, [rsp + 0x20]
mov r8d, esi
mov rdx, rbx
call fcn.1400cc994
test eax, eax
jne 0x140031b68
lea rdx, [rbx + rsi*2]
cmp word [rdx], bp
je 0x140031b83
movzx eax, word [rsp + 0x268]
inc ax
mov word [rsp + 0x268], ax
cmp ax, 0x5a
ja 0x140031baf
jmp 0x140031b28
movzx eax, word [rsp + 0x268]
lea rcx, [rbx + 4]
mov word [rbx], ax
sub edi, esi
movzx eax, word [rsp + 0x26a]
mov word [rbx + 2], ax
lea r8d, [rdi + 1]
add r8, r8
call fcn.1400bba10
add edi, 2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14003ee6c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, qword [0x140127cd8]
mov rsi, r8
mov rbp, rdx
mov edi, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, rbp
mov ebx, eax
call rsi
test al, al
jne 0x14003ef46
lea r15, [0x140000000]
test edi, edi
js 0x14003eec7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rbx + rdi]
sub ecx, eax
cmp ecx, 5
jle 0x14003ef61
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400016f0
test al, al
je 0x14003ef39
mov rax, qword [0x14011f188]
cmp byte [rax + 0xc6], 0
je 0x14003ef39
movsxd rcx, dword [0x140127290]
mov eax, 0x190
test ecx, ecx
cmovne eax, ecx
movsxd rdx, eax
cmp qword [r15 + rdx*8 + 0x126608], r14
jne 0x14003ef12
cmp dword [r15 + rdx*4 + 0x125fcc], ebx
je 0x14003ef39
mov qword [r15 + rcx*8 + 0x126610], r14
mov dword [r15 + rcx*4 + 0x125fd0], ebx
inc ecx
mov dword [0x140127290], ecx
cmp ecx, 0x190
jl 0x14003ef39
and dword [0x140127290], 0
mov rcx, rbp
call rsi
test al, al
je 0x14003eeaf
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
xor al, al
jmp 0x14003ef48
Function at 0x140042ef0
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
xor ebp, ebp
lea r12, [0x1400fbbd0]
xor r15b, r15b
mov qword [rax + 8], rbp
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
test rcx, rcx
je 0x140042fe1
mov r8, rcx
mov dword [rax - 0x38], 1
lea rcx, [rax + 8]
lea rdx, [rax - 0x68]
call fcn.1400444f0
cmp eax, 1
sete r15b
test eax, eax
jne 0x140042f68
test dword [rsp + 0x60], 0xfffffff7
mov ecx, 0x20000000
mov eax, 0xa0000000
cmovne eax, ecx
jmp 0x140043110
mov ecx, dword [r14 + 0x10]
test ecx, ecx
je 0x140043090
sub ecx, 1
je 0x140042fd9
sub ecx, 1
je 0x140042fd9
cmp ecx, 2
jne 0x140042fd9
mov rbp, qword [r14]
cmp byte [rbp + 0x23], 0
jne 0x140042fa5
lea edx, [rcx - 1]
mov rcx, qword [rbp + 0x10]
call fcn.140007ae4
mov rbp, qword [rsp + 0xa0]
mov r8, rax
jmp 0x140042fe4
test byte [rbp + 0x21], 1
je 0x140042fb3
mov rcx, rbp
call fcn.140007950
cmp byte [rbp + 0x23], 3
jne 0x140042fcb
cmp byte [rbp + 0x21], 0
jl 0x140042fcb
mov rcx, rbp
call fcn.14009fdd0
and byte [rbp + 0x21], 0x7f
mov r8, qword [rbp + 8]
mov rbp, qword [rsp + 0xa0]
jmp 0x140042fe4
mov rbp, qword [rsp + 0xa0]
mov r8, r12
movzx eax, word [r8]
test rsi, rsi
mov ecx, 0xffdf
cmove rsi, r12
test rdi, rdi
cmove rdi, r12
test rbx, rbx
cmove rbx, r12
sub ax, 0x41
test cx, ax
jne 0x1400430a0
cmp word [r8 + 2], 0
jne 0x1400430a0
cmp word [rsi], 0
jne 0x1400430a0
cmp word [rdi], 0
jne 0x1400430a0
cmp word [rbx], 0
jne 0x1400430a0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbp, rax
test rax, rax
je 0x1400430a5
mov rax, qword [0x14011f188]
cmp byte [rax + 0xbf], 0
jne 0x1400430a5
mov rcx, rbp
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14004308c
mov r9d, 4
mov dword [rsp + 0xa0], 0
lea r8, [rsp + 0xa0]
mov rcx, rbp
lea edx, [r9 + 0xa]
call qword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
test eax, eax
js 0x1400430a5
cmp dword [rsp + 0xa0], 0
je 0x1400430a5
xor ebp, ebp
jmp 0x1400430a5
mov r8, qword [r14]
mov rbp, qword [rsp + 0xa0]
jmp 0x140042fe4
test r15b, r15b
je 0x1400430cb
test rbp, rbp
je 0x14004310b
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x1400430c6
mov rdx, rbp
call fcn.14003f800
inc dword [rbx + 0x7c]
jmp 0x14004310b
mov rbp, qword [rsp + 0xc0]
mov r9, rsi
mov rdx, qword [0x14011f188]
mov rcx, rbp
sub rdx, 0xffffffffffffff80
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov byte [rbp + 0x79], 1
call fcn.1400a3960
test eax, eax
je 0x14004310b
mov rdx, rbp
lea rcx, [0x1400a2bb0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140046920
Capabilities:
Find taskbar

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x2f0], 0
mov rbx, rcx
je 0x140046ac7
mov r8, qword [0x14011f188]
movzx ecx, byte [0x140125b5d]
test dl, dl
jne 0x14004696e
cmp byte [rbx + 0x820], dl
jne 0x140046ac7
movzx eax, byte [0x140128ec9]
cmp byte [r8 + 0x7c], al
jne 0x14004696e
cmp cl, byte [0x140128ec8]
je 0x140046ac7
movzx edx, byte [r8 + 0x7c]
mov qword [rsp + 0x48], rdi
test dl, dl
je 0x14004698d
xor edi, edi
test cl, cl
setne dil
add rdi, 0xcf
jmp 0x14004699c
test cl, cl
mov edi, 0x9f
mov eax, 0xce
cmovne edi, eax
mov rax, qword [rbx + 0x810]
test rax, rax
je 0x1400469c1
cmp byte [rbx + 0x820], 0
jne 0x140046a74
test dl, dl
jne 0x1400469c1
test cl, cl
je 0x140046a74
mov eax, dword [0x1401290c8]
mov qword [rsp + 0x40], rsi
mov qword [rbx + 0x308], 0
test al, 1
jne 0x140046a08
or eax, 1
lea rcx, str.user32.dll
mov dword [0x1401290c8], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetDpiForWindow
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401290d0], rax
mov ecx, gethostbyaddr
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp qword [0x1401290d0], 0
mov esi, eax
je 0x140046a4a
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
call qword [0x1401290d0]
mov r8d, dword [0x1401275fc]
mov ecx, esi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov rcx, qword [0x140125b48]
mov r9d, esi
mov dword [rsp + 0x28], 0x8000
mov r8d, 1
mov rdx, rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_LoadImageW]
mov rsi, qword [rsp + 0x40]
lea rdx, [rbx + 0x2e8]
mov qword [rbx + 0x308], rax
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov rdi, qword [rsp + 0x48]
test eax, eax
jne 0x140046aa9
lea rdx, [rbx + 0x2e8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x140046ac7
mov rax, qword [0x14011f188]
movzx ecx, byte [rax + 0x7c]
movzx eax, byte [0x140125b5d]
mov byte [0x140128ec8], al
mov byte [0x140128ec9], cl
add rsp, 0x30
pop rbx
ret
Function at 0x140053740
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10040
call fcn.1400d9a90
sub rsp, rax
mov qword [rsp + 0x20], r9
lea rcx, [rsp + 0x30]
mov r9, r8
mov rbx, rdx
lea r8, str._s_s
mov edx, 0x8001
call fcn.14009c850
lea rcx, [rsp + 0x30]
movsxd rdi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400537d4
test al, 0x10
je 0x1400537d4
lea ecx, [rdi + 0xfd]
movsxd rcx, ecx
lea rcx, [rcx*2 + 0xa]
call fcn.1400990a0
mov rcx, rax
test rax, rax
je 0x1400537ef
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
lea eax, [rdi + 1]
movsxd r8, eax
add r8, r8
call fcn.1400bba10
mov qword [rbx + 8], rdi
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
lea rax, [0x1400fbbd0]
mov qword [rbx], rax
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
call fcn.1400111a0
int3