joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800cc430
Capabilities:
Enumerate files on windows

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0x3c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1801dc960]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov rbp, rcx
mov byte [rsp + 0x2a0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [r11 - 0x137]
call fcn.1800f4fb0
mov byte [rsp + 0x190], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x191]
call fcn.1800f4fb0
xor r12d, r12d
mov rcx, r12
lea rdx, [0x180266400]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
mov byte [rsp + rcx + 0x190], al
inc rcx
test al, al
jne 0x1800cc4b0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
cmp byte [rcx + rdx - 2], 0x5c
je 0x1800cc4f0
lea rdi, [rsp + 0x190]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x180151570]
mov word [rdi - 1], ax
mov rcx, r12
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x190]
mov byte [rsp + rcx + 0x2a0], al
inc rcx
test al, al
jne 0x1800cc500
lea rdi, [rsp + 0x2a0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [0x18015d30c]
mov dword [rdi - 1], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800cc553
lea eax, [rbx + 2]
jmp 0x1800cc656
lea rsi, [rsp + 0x7c]
lea rdi, [0x180151958]
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
je 0x1800cc632
lea rsi, [rsp + 0x7c]
lea rdi, [0x18015d308]
mov ecx, 3
repe cmpsb byte [rsi], byte [rdi]
je 0x1800cc632
mov byte [rsp + 0x190], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x191]
call fcn.1800f4fb0
mov rdx, r12
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x7c]
mov byte [rsp + rdx + 0x190], al
inc rdx
test al, al
jne 0x1800cc5b0
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], al
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x190]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.180003700
nop
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.180023e40
nop
cmp qword [rsp + 0x40], 0x10
jb 0x1800cc61f
mov rcx, qword [rsp + 0x28]
call fcn.1800f4b9c
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], 0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1800cc553
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.1800f4f80
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1800d3ce0
Capabilities:
Hash data with crc32

Disassembly:
xor r8d, r8d
mov eax, r8d
mov edx, 8
nop dword [rax + rax]
test al, 1
je 0x1800d3cfd
shr eax, 1
xor eax, 0xedb88320
jmp 0x1800d3cff
shr eax, 1
sub rdx, 1
jne 0x1800d3cf0
inc r8d
mov dword [rcx], eax
add rcx, 4
cmp r8d, 0x100
jl 0x1800d3ce3
repz ret

Function at 0x1800deb40
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
cmp qword [rcx + 0x50], rsi
je 0x1800de822
mov rcx, qword [rcx + 0x40]
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, 5
nop word [rax + rax]
mov rcx, qword [rbx + 0x50]
mov edx, 0xc8
dec edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1800de7de
test edi, edi
jne 0x1800de7c0
jmp 0x1800de7ef
test edi, edi
jne 0x1800de7ef
mov rcx, qword [rbx + 0x50]
lea edx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x40]
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x38], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x48]
mov qword [rbx + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x30]
mov qword [rbx + 0x48], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1800de835
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x20], rsi
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800de848
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], rsi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800de869
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 8], rsi
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
lea rax, vtable.CMapMem.0
mov qword [rcx], rax
jmp 0x1800de780

Function at 0x1800def20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1800def43
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp qword [rcx + 0x50], 0
jne 0x1800def35
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r8, [0x1800deb30]
mov r9, rbx
mov qword [rbx + 0x48], rax
lea rax, [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rbx + 0x38], rdi
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x50], rax
mov rbx, qword [rsp + 0x40]
neg rax
sbb eax, eax
neg eax
dec eax
add rsp, 0x30
pop rdi
ret
Function at 0x1800f2e60
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
lea rbx, [rcx + rdx]
mov eax, 0x80000000
xor edi, edi
cmp rbx, rax
jae 0x1800f2e87
lea ebx, [rdi + 1]
jmp 0x1800f2e8e
sub rbx, 0x7fff0000
lea rsi, [rcx + r8]
cmp rsi, 0xffffffff80000000
jae 0x1800f2ea4
add rsi, 0x7ff80000
jmp 0x1800f2eab
mov rsi, 0xfffffffffff80000
xor edx, edx
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], edi
lea r8d, [rdx + 0x2c]
call fcn.1800f4fb0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rbx, rsi
jae 0x1800f2fb1
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800f2f5d
cmp dword [rsp + 0x40], 0x10000
jne 0x1800f2f4b
mov rax, qword [rsp + 0x38]
cmp rax, 0x80
jb 0x1800f2f50
mov edx, dword [rsp + 0x78]
mov rcx, rdx
cmp rax, rdx
jb 0x1800f2f50
lea eax, [rdx - 1]
xor edx, edx
mov r8d, 0x3000
add rax, rbx
div rcx
mov edx, 0x80
lea r9d, [rdx - 0x60]
imul rax, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x1800f2f62
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
add rbx, rax
cmp rbx, rsi
jb 0x1800f2ee0
test rdi, rdi
je 0x1800f2fb1
mov edx, 0x80
lea r9, [rsp + 0x90]
mov rcx, rdi
lea r8d, [rdx - 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r11, qword [0x180327a60]
mov r8d, dword [rsp + 0x90]
inc dword [0x180327a5c]
lea r9, [rsp + 0x90]
mov edx, 0x80
mov rcx, rdi
mov qword [rdi], r11
mov qword [0x180327a60], rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1800f3000
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x180327a60]
xor edi, edi
mov ebp, edx
mov rsi, rcx
test rbx, rbx
je 0x1800f309a
cmp rbx, rcx
je 0x1800f3039
mov rdi, rbx
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800f3027
jmp 0x1800f309a
test rdi, rdi
jne 0x1800f304a
mov rax, qword [rbx]
mov qword [0x180327a60], rax
jmp 0x1800f307f
mov edx, 0x80
lea r9, [rsp + 0x40]
mov rcx, rdi
lea r8d, [rdx - 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r11, qword [rbx]
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov edx, 0x80
mov rcx, rdi
mov qword [rdi], r11
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test ebp, ebp
je 0x1800f3094
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
dec dword [0x180327a5c]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800f30b0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x4f0
mov ebp, r8d
mov rdi, rdx
mov r8d, ecx
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800f3180
test rax, rax
je 0x1800f3180
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
test rdi, rdi
je 0x1800f3170
cmp eax, 0xffffffff
je 0x1800f3175
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x50], 0x100001
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1800f3180
mov rcx, qword [rsp + 0x118]
cmp rcx, rdi
jb 0x1800f3180
lea rax, [rdi + rbp]
cmp rcx, rax
jae 0x1800f3180
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, 3
jge 0x1800f3175
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [rsp + 0x20]
mov rcx, rbx
inc esi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1800f3122
jmp 0x1800f3180
cmp eax, 0xffffffff
jne 0x1800f3180
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
lea r11, [rsp + 0x4f0]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1800f31a0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor edi, edi
cmp dword [0x180327a70], edi
jbe 0x1800f3215
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov rcx, qword [0x180327a68]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [0x180327a68]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rbx, 8
cmp edi, dword [0x180327a70]
jb case.default.0x1800f324b
mov rbx, qword [rsp + 0x30]
mov rcx, qword [0x180327a68]
call fcn.1800f93a8
mov qword [0x180327a68], 0
mov dword [0x180327a70], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, esi
mov rcx, rax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetThreadPriority]
Function at 0x1800f3690
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0xa8
mov rbx, qword [rcx]
xor r12d, r12d
mov rdi, rdx
mov rsi, r12
call fcn.1800f2d80
mov rcx, rbx
call fcn.1800f2dd0
mov rcx, rdi
mov rbp, rax
call fcn.1800f2dd0
lea r8d, [r12 + 0x50]
lea rcx, [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0x40], r12
mov r14, rax
call fcn.1800f4fb0
lea r8, [rsp + 0x40]
lea edx, [r12 + 5]
mov rcx, rbp
call fcn.1800f3460
mov ebx, eax
cmp eax, 5
jb 0x1800f38ed
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, rbp
call fcn.1800f2e60
mov rsi, rax
test rax, rax
je 0x1800f38ed
mov qword [rsp + 0xa0], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9d, [r12 + 0x40]
mov r15, rax
lea rax, [rsp + 0xf8]
mov r8, rbx
mov rdx, rbp
mov rcx, r15
mov dword [rsp + 0xf8], r12d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xf0], r12d
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1800f38cf
lea r9d, [r12 + 0x40]
lea rax, [rsp + 0xf0]
mov rdx, rsi
lea r8d, [r9 + 0x40]
mov rcx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1800f389c
mov qword [rsp + 0xe8], r13
lea r13, [rsi + 0x40]
test ebx, ebx
je 0x1800f37d7
mov r9, rbp
lea rdx, [rsi + 0x60]
mov rcx, r13
sub r9, r13
mov r8, rbx
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
inc rdx
inc rcx
sub r8, 1
mov byte [rcx - 1], al
mov byte [rdx - 1], al
jne 0x1800f37c0
lea rdx, [rbx + rbp]
lea rcx, [rbx + r13]
call fcn.1800f2e10
lea r8, [rsp + 0x40]
mov rdx, rbp
mov rcx, r13
call fcn.1800f3430
cmp r14, rbp
jae 0x1800f3801
mov rax, rbp
sub rax, r14
jmp 0x1800f3807
mov rax, r14
sub rax, rbp
cmp rax, 0x7fff0000
jbe 0x1800f383d
lea rcx, [rsi + 0x20]
mov rdx, r14
call fcn.1800f2e10
lea rdx, [rsi + 0x20]
mov rcx, r15
sub rax, rsi
lea r8, [rax - 0x20]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea rdx, [rsi + 0x20]
mov rcx, rbp
call fcn.1800f2e10
jmp 0x1800f3848
mov rdx, r14
mov rcx, rbp
call fcn.1800f2e10
mov rax, qword [rsp + 0xe0]
mov dword [rsi + 0x10], ebx
mov qword [rsi + 8], rbp
mov qword [rsi + 0x18], r14
mov r8, rdi
mov rdx, r13
mov rcx, r15
mov qword [rax], r13
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r9d, dword [rsp + 0xf0]
lea r11, [rsp + 0xf0]
mov r8d, 0x80
mov rdx, rsi
mov rcx, r15
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r13, qword [rsp + 0xe8]
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r9d, dword [rsp + 0xf8]
lea r11, [rsp + 0xf8]
mov r8, rdi
mov rdx, rbp
mov rcx, r15
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r15, qword [rsp + 0xa0]
cmp qword [rsi + 8], r12
jne 0x1800f38ed
mov edx, 1
mov rcx, rsi
call fcn.1800f3000
mov rsi, r12
call fcn.1800f2dc0
test rsi, rsi
setne r12b
mov eax, r12d
add rsp, 0xa8
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800f3910
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor ebx, ebx
call fcn.1800f2d80
mov rcx, qword [rsi]
call fcn.1800f2fd0
mov rdi, rax
test rax, rax
je 0x1800f39df
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rbp, rax
lea rax, [rsp + 0x48]
lea r9d, [rbx + 0x40]
mov rcx, rbp
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1800f39da
mov rdx, qword [rdi + 8]
cmp dword [rdi + 0x10], ebx
jbe 0x1800f3993
lea rcx, [rdi + 0x60]
nop
movzx eax, byte [rcx]
inc ebx
inc rdx
mov byte [rdx - 1], al
inc rcx
cmp ebx, dword [rdi + 0x10]
jb 0x1800f3980
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r8d, dword [rdi + 0x10]
mov r9d, dword [rsp + 0x48]
mov rdx, qword [rdi + 8]
lea rax, [rsp + 0x48]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r11, qword [rdi + 8]
xor edx, edx
mov rcx, rdi
mov qword [rsi], r11
mov ebx, 1
call fcn.1800f3000
mov rbp, qword [rsp + 0x40]
call fcn.1800f2dc0
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800f6d54
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x1800f6d8e
call fcn.180100f20
and dword [rax], 0
call fcn.180100f00
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.1800f8bb0
mov eax, ebx
jmp 0x1800f6dde
test edx, 0xfffffff9
jne 0x1800f6d61
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800f6db7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180100f40
call fcn.180100f00
mov eax, dword [rax]
jmp 0x1800f6dde
test al, 0x10
jne 0x1800f6ddc
test al, 1
je 0x1800f6ddc
test bl, 2
je 0x1800f6ddc
call fcn.180100f20
mov dword [rax], 5
call fcn.180100f00
mov dword [rax], 0xd
jmp 0x1800f6dae
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1800fe1c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x1800fe1fe
call fcn.180100f20
and dword [rax], 0
call fcn.180100f00
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.1800f8bb0
mov eax, ebx
jmp 0x1800fe24e
test edx, 0xfffffff9
jne 0x1800fe1d1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800fe227
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180100f40
call fcn.180100f00
mov eax, dword [rax]
jmp 0x1800fe24e
test al, 0x10
jne 0x1800fe24c
test al, 1
je 0x1800fe24c
test bl, 2
je 0x1800fe24c
call fcn.180100f20
mov dword [rax], 5
call fcn.180100f00
mov dword [rax], 0xd
jmp 0x1800fe21e
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x18010005b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1801dc960]
jne 0x1800f4f9a
rol rcx, 0x10
test cx, 0xffff
jne 0x1800f4f96
repz ret
ror rcx, 0x10
jmp 0x1800fffb4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180327fb0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1803280a8]
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 0x180100039
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, [0x180327fb0]
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 0x18010005b
mov rax, qword [rsp + 0x88]
mov qword [0x1803280a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180328048], rax
mov rax, qword [0x1803280a8]
mov qword [0x180327f20], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180328030], rax
mov dword [0x180327f10], 0xc0000409
mov dword [0x180327f14], 1
mov rax, qword [0x1801dc960]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1801dc968]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180327fa8], eax
mov ecx, 1
call fcn.180108d84
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18016e300]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180327fa8], 0
jne 0x1801000e2
mov ecx, 1
call fcn.180108d84
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 0x180109434
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.180110c5c
nop
cmp dword [0x180328530], 1
je 0x1801093d4
mov dword [0x18032852c], 1
mov byte [0x180328528], r12b
test ebx, ebx
jne 0x1801093c0
mov rcx, qword [0x180328cd0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1801093ad
mov rcx, qword [0x180328cc8]
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 0x18010934c
call fcn.1800ffa20
cmp qword [rdi], rax
jne 0x18010934c
jmp 0x180109332
cmp rdi, rsi
jb 0x1801093ad
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1800ffa20
mov qword [rdi], rax
call rbx
mov rcx, qword [0x180328cd0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x180328cc8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x18010938b
cmp r13, rax
je 0x1801093ab
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 0x180109332
lea rdx, [0x18014fcd8]
lea rcx, [0x18014fcc0]
call fcn.1801090ec
lea rdx, [0x18014fce8]
lea rcx, [0x18014fce0]
call fcn.1801090ec
nop
test r12d, r12d
je 0x1801093e3
mov ecx, 8
call fcn.180110b3c
test r12d, r12d
jne 0x18010940e
mov dword [0x180328530], 1
lea ecx, [r12 + 8]
call fcn.180110b3c
mov ecx, r15d
call fcn.180109080
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 0x18010929c
Function at 0x180110234
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.1800ffa20
xor ebx, ebx
mov rdi, rax
cmp qword [0x180328648], rbx
jne 0x18011033a
lea rcx, [0x18016e6a8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18011040f
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18011040f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18016e688]
mov rcx, rsi
mov qword [0x180328648], 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 [0x180328650], 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 [0x180328658], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x180328668], rax
test rax, rax
je 0x180110331
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x180328660], rax
jmp 0x180110341
mov rax, qword [0x180328660]
jmp 0x180110348
mov rax, qword [0x180328660]
mov r11, qword [0x180328668]
cmp rax, rdi
je 0x1801103b0
cmp r11, rdi
je 0x1801103b0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x180328668]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1801103b0
test rax, rax
je 0x1801103b0
call rsi
test rax, rax
je 0x1801103aa
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 0x1801103aa
test byte [rsp + 0x38], 1
jne 0x1801103b0
bts ebp, 0x15
jmp 0x1801103ee
mov rcx, qword [0x180328650]
cmp rcx, rdi
je 0x1801103ee
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1801103ee
call rax
mov rbx, rax
test rax, rax
je 0x1801103ee
mov rcx, qword [0x180328658]
cmp rcx, rdi
je 0x1801103ee
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1801103ee
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180328648]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18011040f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180110411
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