joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058ca0
Capabilities:
Delete file
Get file size

Disassembly:
jmp 0x140058ca0
push rbx
sub rsp, 0x20
lea rax, [0x14025c310]
mov rbx, rcx
mov qword [rcx], rax
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140058d89
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x140058cf9
mov ecx, dword [rsp + 0x30]
mov eax, eax
movzx edi, dil
shl rcx, 0x20
add rcx, rax
mov eax, 1
cmove edi, eax
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140058d36
cmp dword [0x1402cc924], 7
mov dword [0x1402cc918], 7
jl 0x140058d36
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.FileWriter::FileWriter:_Cannot_close_handle___errno___d
lea rcx, [0x1402cc910]
mov r8d, eax
call fcn.140002036
test dil, dil
mov rdi, qword [rsp + 0x38]
mov qword [rbx + 8], 0xffffffffffffffff
je 0x140058d89
lea rcx, [rbx + 0x12]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140058d89
cmp dword [0x1402cc924], 7
mov dword [0x1402cc918], 7
jl 0x140058d89
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rbx + 0x12]
lea rdx, str.FileWriter::FileWriter:_could_not_delete_empty_file__s__errno___d
lea rcx, [0x1402cc910]
mov r9d, eax
call fcn.140002036
add rsp, 0x20
pop rbx
ret
Function at 0x140062860
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
mov rsi, rcx
mov rbp, rbx
je 0x14006293c
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or rcx, 0xffffffffffffffff
mov rdi, rsi
mov r12d, eax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rdx, [rcx - 1]
lea ecx, [r12 + 1]
add rdx, rcx
lea ecx, [rbx + 0x40]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbp, rax
je 0x14006293f
mov edx, r12d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
cmp word [rbp + rcx*2], 0x5c
je 0x1400628e7
mov word [rbp + rcx*2], 0x5c
add eax, 1
or rcx, 0xffffffffffffffff
movsxd r8, eax
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x14006293c
mov rdx, rsi
lea r8, [rbp + r8*2]
nop
nop
nop
movzx eax, word [rdx]
or rcx, 0xffffffffffffffff
add ebx, 1
mov word [r8], ax
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov eax, ebx
add rdx, 2
not rcx
add r8, 2
sub rcx, 1
cmp rax, rcx
jb 0x140062910
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 r12
ret

Function at 0x1400629a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1402cf318]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebx, ebx
test rcx, rcx
mov rsi, rcx
je 0x140062aa1
lea rax, [rsp + 0x30]
lea edx, [rbx + 0x26]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400629f8
xor eax, eax
jmp 0x140062aa4
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x30]
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
add rdx, rcx
lea ecx, [rax + 0x40]
lea rdx, [rdx + rdx + 4]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
mov rbx, rax
je 0x1400629f1
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x30]
not rcx
lea r8, [rcx + rcx - 2]
mov rcx, rbx
call fcn.1401a60a0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
mov rdx, rsi
repne scasw ax, word [rdi]
mov rdi, rsi
not rcx
mov word [rbx + rcx*2 - 2], 0x5c
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x30]
not rcx
lea r8, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
add r8, r8
not rcx
lea rcx, [rbx + rcx*2]
call fcn.1401a60a0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401a5800
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400643f0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
jmp 0x1400643f0
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor ecx, ecx
mov edi, edx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x14006451c
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x14006444e
cmp ax, 0x2f
je 0x14006444e
movzx ecx, ax
call fcn.1401a9dac
test eax, eax
je 0x14006451c
cmp word [rbx + 2], 0x3a
jne 0x14006451c
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x14006444e
cmp ax, 0x2f
jne 0x14006451c
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rsi
lea rdx, str.SOFTWARENVIDIA_CorporationGlobal
xor esi, esi
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x30], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400644d1
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea rdx, str.SkipFileSignatureVerification
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x50]
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x50], ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str._n_This_is_being_ignore_per
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.define_NV_SKIP_FILE_SIGNATURE_VERIFICATION._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._Please_make_sure_to_revert_this_define_before_submitting_any_changes__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
and edi, 0xffffe0f7
xor edx, edx
mov r8d, edi
mov rcx, rbx
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x14006cf00
Capabilities:
Check os version

Disassembly:
jmp 0x14006cf00
push rbx
sub rsp, 0xd0
mov rax, qword [0x1402cf318]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x94
xor ebx, ebx
call fcn.1401a5ec0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 6
jb 0x14006cf56
cmp dword [rsp + 0x28], 2
mov eax, 1
cmovae ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401a5800
add rsp, 0xd0
pop rbx
ret

Function at 0x1400ba120
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 0x811c9dc5
mov qword [rsp], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
je 0x1400ba171
mov rdx, qword [rsp]
imul rdx, rdx, 0x1000193
mov rax, qword [rsp + 0x20]
movsx rcx, byte [rax]
mov rax, rdx
xor rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
jmp 0x1400ba137
mov rax, qword [rsp]
add rsp, 0x18
ret
Function at 0x1400e2540
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0xd]
test eax, eax
jne 0x1400e257a
jmp 0x1400e25e3
lea rdi, [rsp + 0x24]
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9d, 0x1de
lea r8, [0x1402726d8]
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.1400d2180
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x68]
or eax, 1
mov dword [rsp + 0x68], eax
lea rdx, [0x140272710]
mov rcx, qword [rsp + 0x80]
call fcn.1400d1f30
mov rdx, rax
lea rcx, [rsp + 0x24]
call fcn.1400d22c0
nop
mov eax, dword [rsp + 0x68]
and eax, 1
test eax, eax
je 0x1400e25fd
and dword [rsp + 0x68], 0xfffffffe
lea rcx, [rsp + 0x28]
call fcn.1400d21e0
mov r8d, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 8]
call fcn.1401d4f18
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400e2632
call fcn.1401ac358
cmp dword [rax], 4
je 0x1400e25fd
cmp dword [rsp + 0x20], 0
jge 0x1400e264b
call fcn.1401ac358
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rax]
mov dword [rcx + 0x10], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x90
pop rdi
ret

Function at 0x1401195f8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402cf318]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1401a5ec0
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.1401a5ec0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x14011968b
cmp dword [rsp + 0x24], 5
jb 0x1401196a5
jmp 0x1401196a1
cmp dword [rsp + 0x30], esi
jne 0x1401196a5
cmp dword [rsp + 0x24], 4
ja 0x1401196a1
jne 0x1401196a5
cmp dword [rsp + 0x28], 0
jbe 0x1401196a5
mov byte [rbx + 0x18], sil
lea rax, [0x140280918]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.140002112
movzx ecx, byte [0x1402d1f71]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x1402d1f71], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401a5800
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14019ef00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1401b20f0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401b1f64

Function at 0x1401b20fc
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.1401bc75c
nop
cmp dword [0x1402e05a8], 1
je 0x1401b209c
mov dword [0x1402e05a4], 1
mov byte [0x1402e05a0], r12b
test ebx, ebx
jne 0x1401b2088
mov rcx, qword [0x1402e13a0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1401b2075
mov rcx, qword [0x1402e1398]
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 0x1401b2014
call fcn.1401b14a4
cmp qword [rdi], rax
jne 0x1401b2014
jmp 0x1401b1ffa
cmp rdi, rsi
jb 0x1401b2075
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1401b14a4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1402e13a0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1402e1398]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1401b2053
cmp r13, rax
je 0x1401b2073
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 0x1401b1ffa
lea rdx, [0x14024ee30]
lea rcx, [0x14024eb00]
call fcn.1401b1db4
lea rdx, [0x14024f050]
lea rcx, [0x14024ef40]
call fcn.1401b1db4
nop
test r12d, r12d
je 0x1401b20ab
mov ecx, 8
call fcn.1401bc63c
test r12d, r12d
jne 0x1401b20d6
mov dword [0x1402e05a8], 1
lea ecx, [r12 + 8]
call fcn.1401bc63c
mov ecx, r15d
call fcn.1401b1d48
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 0x1401b1f64
Function at 0x1401b27fb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1402cf318]
jne 0x1401a581a
rol rcx, 0x10
test cx, 0xffff
jne 0x1401a5816
repz ret
ror rcx, 0x10
jmp 0x1401b2754
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1402e0670]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1402e0768]
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 0x1401b27d9
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, [0x1402e0670]
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 0x1401b27fb
mov rax, qword [rsp + 0x88]
mov qword [0x1402e0768], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1402e0708], rax
mov rax, qword [0x1402e0768]
mov qword [0x1402e05e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1402e06f0], rax
mov dword [0x1402e05d0], 0xc0000409
mov dword [0x1402e05d4], 1
mov rax, qword [0x1402cf318]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402cf320]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1402e0668], eax
mov ecx, 1
call fcn.1401c1ad0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140285cf8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1402e0668], 0
jne 0x1401b2882
mov ecx, 1
call fcn.1401c1ad0
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 0x1401b50a8
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.1401b14a4
xor ebx, ebx
mov rdi, rax
cmp qword [0x1402e0b68], rbx
jne 0x1401b51ae
lea rcx, [0x140285d88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1401b5283
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401b5283
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1402e0b68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1402e0b70], 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 [0x1402e0b78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1402e0b88], rax
test rax, rax
je 0x1401b51a5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1402e0b80], rax
jmp 0x1401b51b5
mov rax, qword [0x1402e0b80]
jmp 0x1401b51bc
mov rax, qword [0x1402e0b80]
mov r11, qword [0x1402e0b88]
cmp rax, rdi
je 0x1401b5224
cmp r11, rdi
je 0x1401b5224
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1402e0b88]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1401b5224
test rax, rax
je 0x1401b5224
call rsi
test rax, rax
je 0x1401b521e
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1401b521e
test byte [rsp + 0x38], 1
jne 0x1401b5224
bts ebp, 0x15
jmp 0x1401b5262
mov rcx, qword [0x1402e0b70]
cmp rcx, rdi
je 0x1401b5262
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401b5262
call rax
mov rbx, rax
test rax, rax
je 0x1401b5262
mov rcx, qword [0x1402e0b78]
cmp rcx, rdi
je 0x1401b5262
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401b5262
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1402e0b68]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401b5283
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1401b5285
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 0x1401c5714
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.1401b14a4
xor ebx, ebx
mov rdi, rax
cmp qword [0x1402e0fe8], rbx
jne 0x1401c581a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1401c58ef
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401c58ef
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1402e0fe8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1402e0ff0], 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 [0x1402e0ff8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1402e1008], rax
test rax, rax
je 0x1401c5811
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1402e1000], rax
jmp 0x1401c5821
mov rax, qword [0x1402e1000]
jmp 0x1401c5828
mov rax, qword [0x1402e1000]
mov r11, qword [0x1402e1008]
cmp rax, rdi
je 0x1401c5890
cmp r11, rdi
je 0x1401c5890
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1402e1008]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1401c5890
test rax, rax
je 0x1401c5890
call rsi
test rax, rax
je 0x1401c588a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1401c588a
test byte [rsp + 0x38], 1
jne 0x1401c5890
bts ebp, 0x15
jmp 0x1401c58ce
mov rcx, qword [0x1402e0ff0]
cmp rcx, rdi
je 0x1401c58ce
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401c58ce
call rax
mov rbx, rax
test rax, rax
je 0x1401c58ce
mov rcx, qword [0x1402e0ff8]
cmp rcx, rdi
je 0x1401c58ce
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401c58ce
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1402e0fe8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401c58ef
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1401c58f1
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 0x1400011a0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x100
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001640
mov rcx, rax
lea rdx, [0x1400017f0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
lea rcx, [rsp + 0x70]
mov rbx, rax
mov qword [rsp + 0x70], rdi
lea rax, [0x140001350]
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
lea rax, str.autostrafe
movdqa xmmword [rsp + 0x90], xmm0
xorps xmm1, xmm1
mov qword [rsp + 0xb0], rax
movdqa xmmword [rsp + 0xa0], xmm1
mov qword [rsp + 0x88], rbx
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140001323
mov rdx, qword [rsp + 0xb0]
xor r9d, r9d
mov qword [rsp + 0x58], rdi
xor r8d, r8d
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], 0xfffffffffffffffd
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
je 0x140001323
lea edx, [rdi + 1]
mov dword [rsp + 0x60], 0x20001
lea r8d, [rdi + 0x10]
mov dword [rsp + 0x64], pe_nt_image_headers64
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
je 0x140001323
xor r9d, r9d
lea rcx, [rsp + 0xc0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140001316
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0xc0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400012e0
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
jmp 0x140001328
mov eax, 0xffffffff
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400018b0
mov rbx, qword [rsp + 0x110]
add rsp, 0x100
pop rdi
ret

Function at 0x140002244
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400b4f40]
mov dword [rax], 1
mov rax, qword [0x1400b4f50]
mov dword [rax], 1
mov rax, qword [0x1400b4f60]
mov dword [rax], 1
mov rax, qword [0x1400b4ef0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret