joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x180001053
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180001096
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x180001091
cmp rbx, r11
jae 0x180001096
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x180001080
cmp rbx, r11
jb 0x18000109a
xor eax, eax
jmp 0x1800010a6
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180002960
Capabilities:
Get disk information

Disassembly:
push rbx
mov eax, 0x1be0
call fcn.180018a50
sub rsp, rax
mov rax, qword [0x1800396f0]
xor rax, rsp
mov qword [rsp + 0x1bd0], rax
xor eax, eax
mov rbx, rcx
lea r9, [rsp + 0x40]
mov dword [rsp + 0x38], eax
mov qword [rcx + 8], rax
mov qword [rsp + 0x30], rax
mov qword [rcx + 0x10], rax
mov qword [rsp + 0x28], rax
lea rcx, [0x180029930]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov r11d, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x1b80
mov dword [rbx + 8], r11d
mov dword [rsp + 0x44], 0x1b80
call fcn.180018ab0
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x50]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x180002a10
movsxd r8, dword [rsp + 0x1e4]
test r8, r8
jle 0x180002a10
lea rcx, [rbx + 0x12]
lea rdx, [rsp + 0x1e8]
call fcn.180018bb0
mov rcx, qword [rsp + 0x1bd0]
xor rcx, rsp
call fcn.180018a20
add rsp, 0x1be0
pop rbx
ret
Function at 0x180002de0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180002e54
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180002e76
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180002e76
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180002e76
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x180002ebe
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180002de0
cmp byte [0x18003adc0], 0
jne 0x180002f09
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180002ef9
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x18003adc0], 1
mov qword [0x18003adb8], rax
jmp 0x180002f10
mov rax, qword [0x18003adb8]
mov byte [0x18003adc0], 1
jmp 0x180002f10
mov rax, qword [0x18003adb8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x180002f2f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x180002e90
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180002e54
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180002e76
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180002e76
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180002e76
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x180002ebe
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180002de0
cmp byte [0x18003adc0], 0
jne 0x180002f09
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180002ef9
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x18003adc0], 1
mov qword [0x18003adb8], rax
jmp 0x180002f10
mov rax, qword [0x18003adb8]
mov byte [0x18003adc0], 1
jmp 0x180002f10
mov rax, qword [0x18003adb8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x180002f2f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]

Function at 0x180003040
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x180003080
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x1800030b3
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x1800030c2
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x1800038d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1800396f0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x48]
or r9d, 0x2001f
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call fcn.180002f40
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x1800039ec
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1800039c1
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1800038d0
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x1800039ec
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180003970
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800039d6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x50], ebp
call fcn.180002e90
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x1800039f7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180018a20
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x180005f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x1800396f0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, r9
mov rbx, r8
mov rax, rdx
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x70], r12
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180005f78
call fcn.180002da0
mov ebx, eax
jmp 0x18000609d
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180005f99
call fcn.180002da0
jmp 0x180006091
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180005fbc
call fcn.180002da0
jmp 0x180006091
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180005fde
mov ebx, 0x8007000e
jmp 0x180006093
mov ecx, eax
test eax, eax
je 0x18000601b
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x180006011
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18000601b
lea rcx, [rsp + 0x70]
call fcn.1800037e0
mov rax, qword [rsp + 0x70]
jmp 0x180006025
mov ecx, 0x80070216
call fcn.180001000
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x18000603d
test rax, rax
jne 0x180006049
mov ebx, 0x8007000e
jmp 0x180006093
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x18000606e
call fcn.180002da0
jmp 0x180006091
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r12w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180005d00
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1800060b4
lea rcx, [rsp + 0x70]
call fcn.1800037d0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180018a20
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x180006770
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1800396f0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, rdx
mov rsi, rcx
xor r12d, r12d
mov word [rsp + 0x70], r12w
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x72]
call fcn.180018ab0
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, qword [0x18003ad60]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1800068c8
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
je 0x1800068c8
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.180006430
nop
mov rbx, qword [rsp + 0x40]
mov r9, rbx
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x180006837
jmp 0x1800068bb
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x24], r12d
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, str.StringFileInfo040904B0ProductName
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1800068bb
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo040904B0ProductVersion
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1800068bb
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.180001820
mov r8d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov rcx, rbp
call fcn.180001820
nop
test rbx, rbx
je 0x1800068b7
mov rcx, rbx
call fcn.180017cf0
mov al, 1
jmp 0x1800068ca
test rbx, rbx
je 0x1800068c8
mov rcx, rbx
call fcn.180017cf0
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180018a20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x180017834
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x18003aef8]
test rcx, rcx
jne 0x18001778b
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x180017784
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1800177b6
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x180017780
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x18003aef8], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x180017829
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800177d9
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x18003aef8]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x180017806
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x180017829
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x18003aef8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x18001780d
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x180017710
Function at 0x18001cbc3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800396f0]
jne 0x180018a3a
rol rcx, 0x10
test cx, 0xffff
jne 0x180018a36
repz ret
ror rcx, 0x10
jmp 0x18001cb1c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18003b250]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18003b348]
mov qword [rsp + 0x58], rax
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 0x18001cba1
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, [0x18003b250]
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 0x18001cbc3
mov rax, qword [rsp + 0x88]
mov qword [0x18003b348], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18003b2e8], rax
mov rax, qword [0x18003b348]
mov qword [0x18003b1c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18003b2d0], rax
mov dword [0x18003b1b0], 0xc0000409
mov dword [0x18003b1b4], 1
mov rax, qword [0x1800396f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800396f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18003b248], eax
mov ecx, 1
call fcn.180021c7c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18002d570]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18003b248], 0
jne 0x18001cc4a
mov ecx, 1
call fcn.180021c7c
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 0x180022f20
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800396f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18001add4
xor ebx, ebx
cmp qword [0x18003c170], rbx
mov rdi, rax
jne 0x180023033
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18002310a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002310a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18003c170], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18003c178], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x18003c180], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18003c190], rax
test rax, rax
je 0x18002302a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18003c188], rax
jmp 0x18002303a
mov rax, qword [0x18003c188]
jmp 0x180023041
mov rax, qword [0x18003c188]
mov r11, qword [0x18003c190]
cmp rax, rdi
je 0x1800230a8
cmp r11, rdi
je 0x1800230a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18003c190]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1800230a8
test rax, rax
je 0x1800230a8
call rsi
test rax, rax
je 0x1800230a2
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1800230a2
test byte [rsp + 0x40], 1
jne 0x1800230a8
bts ebp, 0x15
jmp 0x1800230e8
mov rcx, qword [0x18003c178]
cmp rcx, rdi
je 0x1800230e8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800230e8
call rax
mov rbx, rax
test rax, rax
je 0x1800230e8
mov rcx, qword [0x18003c180]
cmp rcx, rdi
je 0x1800230e8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800230e8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18003c170]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18002310a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18002310c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180018a20
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800012d0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
cmp rcx, 0x7ff80000
jbe 0x180001304
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0xffffffff80000000
jb 0x180001309
mov rsi, 0xfffffffffff80000
jmp 0x180001310
mov edi, 0x10000
lea rsi, [rcx + 0x7ff80000]
mov rdx, qword [0x1800573d8]
mov rax, qword [0x1800573c8]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x180001337
test rax, rax
je 0x18000134e
mov rdx, rax
mov qword [0x1800573d8], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x18000134e
cmp rcx, rdi
jb 0x18000134e
cmp rcx, rsi
jbe 0x180001488
mov qword [0x1800573d8], rax
mov rdx, rax
test rax, rax
je 0x180001392
mov rcx, rax
test rax, rax
je 0x18000137c
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x18000137c
cmp rax, rdi
jb 0x18000137c
cmp rax, rsi
jbe 0x180001488
mov rdx, qword [rdx + 8]
mov qword [0x1800573d8], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x180001360
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x1800013cf
mov rdx, rbx
lea rcx, [rbx - 0x40000000]
call fcn.1800010e0
mov rdx, rax
test rax, rax
jne 0x180001436
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.1800011e0
mov rdx, rax
test rax, rax
jne 0x180001436
movabs rax, 0xffffffff40000000
cmp rbx, rax
jae 0x18000140c
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.1800011e0
mov rdx, rax
test rax, rax
jne 0x180001436
mov rdx, rsi
lea rcx, [rbx + 0x40000000]
call fcn.1800010e0
mov rdx, rax
test rax, rax
jne 0x180001436
mov rdx, rbx
mov rcx, rdi
call fcn.1800011e0
mov rdx, rax
test rax, rax
jne 0x180001436
mov rdx, rsi
mov rcx, rbx
call fcn.1800010e0
mov rdx, rax
test rax, rax
je 0x1800014bf
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x1800573d8], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x1800573c8]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x1800573c8], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x180001470
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x1800014bf
cmp rax, rsi
ja 0x1800014bf
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x180051d00]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x1800014c1
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180001ba0
Capabilities:
Suspend thread

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x1800573c0]
mov rbx, rcx
test eax, eax
jne 0x180001c30
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rbx, rax
jne 0x180001bc6
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rdi
call fcn.1800032b0
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180001c14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.180003290
mov rdi, qword [rsp + 0x30]
mov eax, ebx
mov dword [0x1800573c0], ebx
mov qword [0x1800573e8], 0
add rsp, 0x20
pop rbx
ret
mov rax, qword [0x1800573e0]
mov qword [rdi], rax
xor eax, eax
mov qword [rdi + 8], rbx
mov qword [0x1800573e0], rdi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret