joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016c6c
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, str._JAVA_OPTIONS
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, str.JDK_JAVA_OPTIONS
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, str.JAVA_TOOL_OPTIONS
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdi, [0x14003baaf]
lea rcx, str._JAVA_OPTIONS
mov rdx, rdi
call fcn.14001e750
lea rcx, str.JDK_JAVA_OPTIONS
mov rdx, rdi
call fcn.14001e750
lea rcx, str.JAVA_TOOL_OPTIONS
mov rdx, rdi
call fcn.14001e750
lea rcx, str.ucrtbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140016d3b
lea rdx, str._putenv_s
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140016d3b
lea r8, [fcn.14001e750]
lea rcx, str.using__putenv_s_in_ucrtbase.dll__p__p
mov rdx, rax
call fcn.140013de8
lea rcx, str._JAVA_OPTIONS
mov rdx, rdi
call rbx
lea rcx, str.JDK_JAVA_OPTIONS
mov rdx, rdi
call rbx
lea rcx, str.JAVA_TOOL_OPTIONS
mov rdx, rdi
call rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140017708
Capabilities:
Get common file path
Query environment variable
Set environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x140049e00]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ecx, 0x271a
call fcn.14000469c
xor ebp, ebp
cmp eax, ebp
je 0x1400178fd
xor r8d, r8d
xor edx, edx
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movsxd rbx, eax
cmp ebx, ebp
jle 0x1400178fd
lea eax, [rbp + 2]
mul rbx
lea rcx, [rbp - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.140019b3c
mov rdi, rax
mov r8d, ebx
mov rdx, rax
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, ebp
jbe 0x1400178f5
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, ebp
jbe 0x1400178f5
lea rcx, [rsp + 0x50]
call fcn.14001b1d8
cmp rax, rbp
jbe 0x1400178f5
lea rcx, [rsp + 0x50]
call fcn.14001b1d8
mov rsi, rax
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbp
mov word [rsp + 0x30], bp
mov r9, rdi
mov r8d, ebx
mov edx, eax
lea rcx, str.reducing_PATH__d__d__s
call fcn.140013de8
lea rdx, [0x14003abb8]
mov rcx, rdi
call fcn.14001cd10
mov rbx, rax
cmp rax, rbp
je 0x14001788b
mov rcx, rbx
call fcn.14001b1d8
cmp rax, rbp
je 0x14001788b
movsxd r8, esi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14001f2a4
cmp eax, ebp
jne 0x140017875
cmp qword [rsp + 0x40], rbp
jbe 0x14001785d
lea rcx, [0x14003abb8]
call fcn.14001b1d8
mov r8, rax
lea rdx, [0x14003abb8]
lea rcx, [rsp + 0x28]
call fcn.140017238
mov rcx, rbx
call fcn.14001b1d8
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140017238
lea rdx, [0x14003abb8]
xor ecx, ecx
call fcn.14001cd10
mov rbx, rax
cmp rax, rbp
jne 0x140017815
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
lea rcx, str.reduced_PATH__d_to__s
call fcn.140013de8
cmp qword [rsp + 0x40], rbp
jbe 0x1400178e3
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp eax, ebp
jne 0x1400178e3
lea rcx, str.ERROR_setting_path
call fcn.140013de8
nop
cmp qword [rsp + 0x48], 8
jb 0x1400178f5
mov rcx, qword [rsp + 0x30]
call fcn.14001aaec
mov rcx, rdi
call fcn.14001aaec
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001ae80
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001843c
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x4740
call fcn.140037150
sub rsp, rax
mov rax, qword [0x140049e00]
xor rax, rsp
mov qword [rsp + 0x4730], rax
mov rsi, rcx
lea rcx, [rsp + 0xe0]
mov rdi, rdx
call fcn.14001ad30
lea rcx, str..pack
call fcn.14001a6c0
lea rbx, [rsp + 0xe0]
lea rcx, [rsp + 0xe0]
sub rbx, rax
call fcn.14001a6c0
xor ebp, ebp
mov rcx, rdi
mov byte [rax + rbx], bpl
call fcn.140005bc0
cmp al, bpl
jne 0x1400184be
lea rcx, str.pack_path_doesnt_exists
call fcn.140013de8
jmp 0x14001860a
lea rdx, str._s_binunpack200.exe
lea rcx, [rsp + 0x2fc0]
mov r8, rsi
call fcn.14001bb88
lea r9, [rsp + 0xe0]
lea rdx, str._r___s____s_
lea rcx, [rsp + 0x1850]
mov r8, rdi
call fcn.14001bb88
lea rdx, [rsp + 0x2fc0]
lea rcx, [0x14003a168]
call fcn.140013de8
lea rdx, [rsp + 0x1850]
lea rcx, [0x14003a168]
call fcn.140013de8
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.14001cb10
mov ebx, 0x68
lea rcx, [rsp + 0x70]
mov r8, rbx
xor edx, edx
call fcn.14001cb10
lea ecx, [rbx - 0x67]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0xac], ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0x1850]
lea rcx, [rsp + 0x2fc0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x70], ebx
mov word [rsp + 0xb0], bp
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebp
jne 0x1400185b8
lea rcx, str.could_not_create_unpack_process
call fcn.140013de8
xor edx, edx
mov ecx, 0x3fd
call fcn.140004f98
lea rcx, str.waiting_for_unpack200_to_finish
call fcn.140013de8
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.unpack_done
call fcn.140013de8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, ebp
jne 0x14001860a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14001860a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.could_not_delete_packed_file__error__d_
mov edx, eax
call fcn.140013de8
mov rcx, qword [rsp + 0x4730]
xor rcx, rsp
call fcn.14001ae80
mov rbx, qword [rsp + 0x4770]
add rsp, 0x4740
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018630
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x3060
call fcn.140037150
sub rsp, rax
mov rax, qword [0x140049e00]
xor rax, rsp
mov qword [rsp + 0x3050], rax
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov r8, rcx
mov r9, rdx
lea rcx, [rsp + 0x170]
lea rdx, str._s_s.jar.pack
call fcn.14001bb88
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140018792
lea rcx, [rsp + 0x5c]
call fcn.14001a6c0
lea rcx, [rsp + 0x5c]
lea rdx, str._s_s_.s
mov qword [rsp + 0x28], rcx
sub rax, 5
lea rcx, [rsp + 0x170]
mov r9, rbp
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.14001bb88
lea rdx, [rsp + 0x170]
lea rcx, str.checking__S
call fcn.140013de8
lea rcx, [rsp + 0x170]
call fcn.140005bc0
test al, al
jne 0x140018773
cmp byte [rdi], al
jne 0x140018715
lea rcx, str.Unpacking_JRE
call fcn.140013de8
lea rcx, str.Preparing_JRE_..._n
call fcn.140016704
mov byte [rdi], 1
lea rcx, [rsp + 0x5c]
call fcn.14001a6c0
lea rcx, [rsp + 0x5c]
lea rdx, str._s_.s
mov qword [rsp + 0x20], rcx
lea r9, [rax - 5]
lea rcx, [rsp + 0x170]
mov r8, rbp
call fcn.14001bb88
lea r9, [rsp + 0x170]
lea rdx, str._s_s.pack
lea rcx, [rsp + 0x18e0]
mov r8, rsi
call fcn.14001bb88
lea rdx, [rsp + 0x18e0]
mov rcx, rsi
call fcn.14001843c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14001869a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x3050]
xor rcx, rsp
call fcn.14001ae80
mov rbx, qword [rsp + 0x3098]
add rsp, 0x3060
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400189a4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140058c40], 0
mov rsi, rdx
mov rdi, rcx
jne 0x140018b59
or dword [0x140058c40], 0xffffffff
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140018a10
lea rdx, str.GetDpiForWindow
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetSystemMetricsForDpi
mov rcx, rbx
mov qword [0x140058c18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058c20], rax
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140018a39
lea rdx, str.SHAppBarMessage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058c28], rax
lea rcx, str.gdi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140018a7c
lea rdx, str.DeleteObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CreateSolidBrush
mov rcx, rbx
mov qword [0x140058c30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140058c38], rax
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0xf8]
mov r10, qword [rdi]
lea r9, str._IIZ_I
lea r8, str.onNcHitTest
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [r10 + 0x108]
lea r9, [0x14003f4a0]
mov qword [0x140058c00], rax
mov r10, qword [rdi]
lea r8, str.isFullscreen
mov rdx, rbx
mov rcx, rdi
call qword [r10 + 0x108]
lea r9, [0x14003afcc]
lea r8, str.fireStateChangedLaterOnce
mov qword [0x140058c10], rax
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x108]
cmp qword [0x140058c00], 0
mov qword [0x140058c08], rax
je 0x140018b59
cmp qword [0x140058c10], 0
je 0x140018b59
test rax, rax
je 0x140018b59
cmp qword [0x140058c18], 0
je 0x140018b59
cmp qword [0x140058c20], 0
je 0x140018b59
cmp qword [0x140058c28], 0
je 0x140018b59
cmp qword [0x140058c30], 0
je 0x140018b59
mov eax, dword [0x140058c40]
cmp qword [0x140058c38], 0
mov ecx, 1
cmovne eax, ecx
mov dword [0x140058c40], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140019a60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rax, qword [rcx]
mov rbp, r8
xor r8d, r8d
mov rdx, rbp
mov r13, r9
mov r12, rcx
call qword [rax + 0x548]
mov r10, qword [r12]
xor r8d, r8d
mov rdx, r13
mov rcx, r12
mov rsi, rax
call qword [r10 + 0x548]
and dword [rsp + 0x70], 0
mov r9d, 0x18
mov rdi, rax
lea rax, [rsp + 0x40]
mov rdx, rsi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r8, rdi
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov r9, qword [r12]
mov r8, rsi
mov rdx, rbp
mov rcx, r12
mov ebx, eax
call qword [r9 + 0x550]
mov r11, qword [r12]
mov r8, rdi
mov rdx, r13
mov rcx, r12
call qword [r11 + 0x550]
mov eax, dword [rsp + 0x90]
lea r11, [rsp + 0x50]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
test ebx, ebx
cmove eax, dword [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x14001cbfc
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14001cc14
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001cc16
xor eax, eax
test eax, eax
je 0x14001cc26
mov ecx, eax
call fcn.14001eed0
or eax, 0xffffffff
jmp 0x14001cc28
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001cc30
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x14001cc46
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001cc48
xor eax, eax
test eax, eax
je 0x14001cc58
mov ecx, eax
call fcn.14001eed0
or eax, 0xffffffff
jmp 0x14001cc5a
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001cca4
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001ccbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001ccbe
xor eax, eax
test eax, eax
je 0x14001ccce
mov ecx, eax
call fcn.14001eed0
or eax, 0xffffffff
jmp 0x14001ccd0
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001ccd8
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001ccee
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001ccf0
xor eax, eax
test eax, eax
je 0x14001cd00
mov ecx, eax
call fcn.14001eed0
or eax, 0xffffffff
jmp 0x14001cd02
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400215ff
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140049e00]
jne 0x14001ae9a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001ae96
repz ret
ror rcx, 0x10
jmp 0x140021558
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140058f60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140059058]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400215dd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140058f60]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400215ff
mov rax, qword [rsp + 0x88]
mov qword [0x140059058], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140058ff8], rax
mov rax, qword [0x140059058]
mov qword [0x140058ed0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140058fe0], rax
mov dword [0x140058ec0], 0xc0000409
mov dword [0x140058ec4], 1
mov rax, qword [0x140049e00]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140049e08]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140058f58], eax
mov ecx, 1
call fcn.1400216a4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140040830]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140058f58], 0
jne 0x140021686
mov ecx, 1
call fcn.1400216a4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14002529c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140025110
Function at 0x1400252a8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140025f2c
nop
cmp dword [0x140059490], 1
je 0x140025248
mov dword [0x14005948c], 1
mov byte [0x140059488], r12b
test ebx, ebx
jne 0x140025234
mov rcx, qword [0x140059f90]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140025221
mov rcx, qword [0x140059f88]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400251c0
call fcn.1400216b4
cmp qword [rdi], rax
jne 0x1400251c0
jmp 0x1400251a6
cmp rdi, rsi
jb 0x140025221
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400216b4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140059f90]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140059f88]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400251ff
cmp r13, rax
je 0x14002521f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400251a6
lea rdx, [0x140039658]
lea rcx, [0x140039640]
call fcn.140024ff0
lea rdx, [0x140039668]
lea rcx, [0x140039660]
call fcn.140024ff0
nop
test r12d, r12d
je 0x140025257
mov ecx, 8
call fcn.140025e2c
test r12d, r12d
jne 0x140025282
mov dword [0x140059490], 1
lea ecx, [r12 + 8]
call fcn.140025e2c
mov ecx, r15d
call fcn.140024f84
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140025110
Function at 0x140029028
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400216b4
xor ebx, ebx
mov rdi, rax
cmp qword [0x140059a70], rbx
jne 0x14002912e
lea rcx, [0x140040fb0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140029203
lea rdx, [0x140040fa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029203
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140059a70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140040f78]
mov rcx, rsi
mov qword [0x140059a78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140059a80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140059a90], rax
test rax, rax
je 0x140029125
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140059a88], rax
jmp 0x140029135
mov rax, qword [0x140059a88]
jmp 0x14002913c
mov rax, qword [0x140059a88]
mov r11, qword [0x140059a90]
cmp rax, rdi
je 0x1400291a4
cmp r11, rdi
je 0x1400291a4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140059a90]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400291a4
test rax, rax
je 0x1400291a4
call rsi
test rax, rax
je 0x14002919e
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002919e
test byte [rsp + 0x38], 1
jne 0x1400291a4
bts ebp, 0x15
jmp 0x1400291e2
mov rcx, qword [0x140059a78]
cmp rcx, rdi
je 0x1400291e2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400291e2
call rax
mov rbx, rax
test rax, rax
je 0x1400291e2
mov rcx, qword [0x140059a80]
cmp rcx, rdi
je 0x1400291e2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400291e2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140059a70]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140029203
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140029205
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140031334
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400216b4
xor ebx, ebx
mov rdi, rax
cmp qword [0x140059d28], rbx
jne 0x14003143a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14003150f
lea rdx, [0x140042720]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003150f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140059d28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140040f78]
mov rcx, rsi
mov qword [0x140059d30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140059d38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140059d48], rax
test rax, rax
je 0x140031431
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140059d40], rax
jmp 0x140031441
mov rax, qword [0x140059d40]
jmp 0x140031448
mov rax, qword [0x140059d40]
mov r11, qword [0x140059d48]
cmp rax, rdi
je 0x1400314b0
cmp r11, rdi
je 0x1400314b0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140059d48]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400314b0
test rax, rax
je 0x1400314b0
call rsi
test rax, rax
je 0x1400314aa
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400314aa
test byte [rsp + 0x38], 1
jne 0x1400314b0
bts ebp, 0x15
jmp 0x1400314ee
mov rcx, qword [0x140059d30]
cmp rcx, rdi
je 0x1400314ee
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400314ee
call rax
mov rbx, rax
test rax, rax
je 0x1400314ee
mov rcx, qword [0x140059d38]
cmp rcx, rdi
je 0x1400314ee
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400314ee
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140059d28]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003150f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140031511
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret