joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012a0c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140012a3c
xor eax, eax
jmp 0x140012aff
mov rbp, rbx
cmp word [rax], si
je 0x140012a61
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140012a48
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140012a44
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001292c
movsxd r14, eax
test eax, eax
jne 0x140012a9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140012a35
mov rcx, r14
call fcn.14000f140
mov rdi, rax
test rax, rax
jne 0x140012ab8
xor ecx, ecx
call fcn.14000e5b4
jmp 0x140012a94
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001292c
test eax, eax
jne 0x140012ae9
mov rcx, rdi
call fcn.14000e5b4
jmp 0x140012af3
xor ecx, ecx
call fcn.14000e5b4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001683c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140016852
mov al, 1
jmp 0x1400168b2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140016863
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400168b0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140013278
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400168b0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400168b0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400168b0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400168b2
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400198d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400198f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400198f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002170
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000226b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002273
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400022aa
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002280
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400022d5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400022fb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400022e0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a450
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
lea edi, [r14 + 0x28]
test al, al
je 0x14000a501
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.14000dcec
cmp rax, 1
jne 0x14000a537
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14000a4dd
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000a4d0
cmp rcx, 1
jb 0x14000a537
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14000a4a0
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000b980
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14000d9f0
int3
Function at 0x14000a5c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a605
xor al, al
jmp 0x14000a652
cmp word [rbx], 0
je 0x14000a61d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a610
cmp word [rsp + 0x30], 0
je 0x14000a64b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a673
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a630
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b980
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000d9f0
int3
Function at 0x14000ae00
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001c230
sub rsp, rax
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002dd30]
lea rsi, [0x14002fd70]
mov rdi, rcx
test r11d, r11d
jne 0x14000ae79
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a680
test al, al
je 0x14000af5f
lea rcx, [rsp + 0x20]
call fcn.14001131c
movsxd r11, dword [0x14002dd30]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002dd30], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000aeb4
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000aea4
add rax, 2
test ecx, ecx
jne 0x14000ae90
test edx, edx
je 0x14000aed7
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ae84
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000aec0
cmp rax, 2
jne 0x14000aedb
cmp word [rdi + 2], 0x3a
jne 0x14000aedb
mov al, 1
jmp 0x14000af3e
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000af08
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000af08
mov bl, 1
jmp 0x14000af0c
test bl, bl
je 0x14000af33
cmp dword [0x14002dd30], 0x400
jge 0x14000af33
mov rcx, rdi
call fcn.14001131c
movsxd rdx, dword [0x14002dd30]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002dd30], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b980
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000aca0
int3
Function at 0x14000b080
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002dd38]
test rcx, rcx
je 0x14000b0bb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b0ae
mov rcx, qword [0x14002dd38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002dd38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140031d88], 0
je 0x14000b1ae
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140025918]
mov qword [rsp + 0x80], rsi
lea rsi, [0x14002dd70]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b18f
test al, 0x10
je 0x14000b18f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b135
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000d9e4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000d877
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d877
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d877
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d877
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d877
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d877
cmp dword [rcx + 0xf8], 0
je 0x14000d877
mov ecx, ebx
call fcn.14000d918
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000d708
cmp dword [rbp + 0x20], 0
je 0x14000d8c4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000d8cc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000d810
Function at 0x1800018d0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x18000e080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x180001972
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, esi
mov rdx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180004be0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret

Function at 0x180001990
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x18000e080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180001a24
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180001a47
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x180001a24
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180001a47
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180001a00
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180004be0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
mov eax, dword [rsp + 0x28]
jmp 0x180001a26
Function at 0x180005bb0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword gs:[0x30]
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov r10, qword [rax + 0x60]
mov eax, dword [r10 + 0x118]
shl eax, 0x10
or eax, dword [r10 + 0x11c]
cmp eax, 0x60000
jb 0x180005c08
call fcn.1800069a0
add rax, 0x138
jmp 0x180005c11
call fcn.180006280
add rax, 0x28
mov qword [rax], rbx
mov rax, qword gs:[0x30]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rax + 0x60]
mov rdi, qword [rbx + 8]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x180005c4d
call fcn.1800069a0
add rax, 0x128
jmp 0x180005c56
call fcn.180006280
add rax, 0x18
mov qword [rax], rdi
mov rax, qword [rsi]
mov rdi, qword [rax + 0x38]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x180005c90
call fcn.1800069a0
add rax, 0x130
jmp 0x180005c99
call fcn.180006280
add rax, 0x20
mov qword [rax], rdi
call fcn.180006280
mov ecx, dword [rsp + 0x80]
xor edi, edi
mov byte [rsp + 0x38], 1
mov r9, rbx
mov qword [rsp + 0x30], rdi
mov r8, rbp
mov dword [rax + 0x30], ecx
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.180007ff0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x180005d06
call fcn.1800069a0
add rax, 0x138
jmp 0x180005d0f
call fcn.180006280
add rax, 0x28
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov qword [rax], rdi
mov eax, 1
mov rdi, qword [rsp + 0x68]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret

Function at 0x180005d40
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
sub rsp, 0x60
mov rbx, rcx
mov dword [rax - 0x28], 0
mov qword [rax - 0x20], rcx
mov qword [rax - 0x18], r8
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov eax, dword [rdx + 0x118]
shl eax, 0x10
or eax, dword [rdx + 0x11c]
cmp eax, 0x60000
jb 0x180005d9b
call fcn.1800069a0
mov r8, qword [rax + 0xe0]
jmp 0x180005da7
call fcn.1800069a0
mov r8, qword [rax + 0xd8]
lea rdx, [rsp + 0x48]
mov ecx, dword [rbx]
call r8
mov dword [rsp + 0x40], 0
jmp 0x180005dbb
mov eax, dword [rsp + 0x40]
add rsp, 0x60
pop rbx
ret
Function at 0x180006840
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, qword [r9 + 8]
xor r14d, r14d
mov qword [rax - 0x34], r14
mov rdi, r9
mov qword [rax - 0x2c], r14
mov rbp, r8
mov dword [rax - 0x24], r14d
mov rsi, rcx
mov byte [rax - 0x38], 0
mov qword [rax + 8], rdx
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov eax, dword [rdx + 0x118]
shl eax, 0x10
or eax, dword [rdx + 0x11c]
cmp eax, 0x60000
jb 0x1800068a7
call fcn.1800069a0
add rax, 0x128
jmp 0x1800068b0
call fcn.180006280
add rax, 0x18
mov qword [rax], rbx
mov rax, qword gs:[0x30]
mov rbx, qword [rsi + 0x38]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x1800068e7
call fcn.1800069a0
add rax, 0x130
jmp 0x1800068f0
call fcn.180006280
add rax, 0x20
mov qword [rax], rbx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov eax, dword [rcx + 0x118]
shl eax, 0x10
or eax, dword [rcx + 0x11c]
cmp eax, 0x60000
jb 0x180006924
call fcn.1800069a0
mov rdx, qword [rax + 0x128]
jmp 0x18000692d
call fcn.180006280
mov rdx, qword [rax + 0x18]
mov rax, qword [rdi + 0x38]
mov r9, qword [rdi + 0x10]
mov r8, qword [rdi + 8]
mov byte [rsp + 0x20], r14b
mov ecx, dword [rax]
mov r9d, dword [r9]
add rcx, rdx
lea rdx, [rsp + 0x40]
call fcn.180005dd0
mov byte [rsp + 0x38], r14b
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x28], r14d
mov r9, rdi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.180007ff0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180007da0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword gs:[0x30]
mov rsi, r9
mov r14, r8
mov rbp, rdx
mov rbx, rcx
mov r10, qword [rax + 0x60]
mov eax, dword [r10 + 0x118]
shl eax, 0x10
or eax, dword [r10 + 0x11c]
cmp eax, 0x60000
jb 0x180007df8
call fcn.1800069a0
mov ecx, dword [rax + 0x2c0]
jmp 0x180007e00
call fcn.180006280
mov ecx, dword [rax + 0x10]
mov rdi, qword [rsp + 0xa0]
test ecx, ecx
jne 0x180007e3c
mov eax, dword [rbx]
cmp eax, 0xe06d7363
je 0x180007e3c
cmp eax, 0x80000029
jne 0x180007e2c
cmp dword [rbx + 0x18], 0xf
jne 0x180007e33
cmp qword [rbx + 0x60], 0x19930520
je 0x180007e3c
cmp eax, 0x80000026
je 0x180007e3c
test byte [rdi], 0x20
jne 0x180007fc7
mov r8d, dword [rbx + 4]
test r8b, 0x66
je 0x180007f00
movsxd rax, dword [rdi + 8]
test eax, eax
je 0x180007fc7
mov rdx, rax
lea r9, [0x180000000]
add rdx, qword [rsi + 8]
movzx ecx, byte [rdx]
and ecx, 0xf
movsx rax, byte [rcx + r9 + 0xb510]
movzx ecx, byte [rcx + r9 + 0xb520]
sub rdx, rax
mov eax, dword [rdx - 4]
shr eax, cl
test eax, eax
je 0x180007fc7
cmp dword [rsp + 0xa8], 0
jne 0x180007fc7
test r8b, 0x20
je 0x180007eed
mov eax, dword [rbx]
cmp eax, 0x80000026
jne 0x180007ece
mov r8, qword [rsi + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.180008f90
mov r9d, eax
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.180008700
jmp 0x180007fc7
cmp eax, 0x80000029
jne 0x180007eed
mov r9d, dword [rbx + 0x38]
mov r8, rdi
mov rcx, qword [rbx + 0x28]
mov rdx, rsi
call fcn.180008700
jmp 0x180007fc7
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.180005f20
jmp 0x180007fc7
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.180008060
cmp dword [rsp + 0x40], 0
jne 0x180007f21
test byte [rdi], 0x40
je 0x180007fc7
cmp dword [rbx], 0xe06d7363
jne 0x180007f8d
cmp dword [rbx + 0x18], 3
jb 0x180007f8d
cmp dword [rbx + 0x20], 0x19930522
jbe 0x180007f8d
mov rax, qword [rbx + 0x30]
cmp dword [rax + 8], 0
je 0x180007f8d
call fcn.180006750
mov rcx, qword [rbx + 0x30]
movsxd rdx, dword [rcx + 8]
add rax, rdx
je 0x180007f8d
movzx ecx, byte [rsp + 0xb8]
mov r9, rsi
mov dword [rsp + 0x38], ecx
mov r8, r14
mov rcx, qword [rsp + 0xb0]
mov rdx, rbp
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0xa8]
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call rax
jmp 0x180007fcc
mov rax, qword [rsp + 0xb0]
mov r9, rsi
mov qword [rsp + 0x38], rax
mov r8, r14
mov eax, dword [rsp + 0xa8]
mov rdx, rbp
mov dword [rsp + 0x30], eax
mov rcx, rbx
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
call fcn.180007000
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1800092a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x18000e080]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1800092dc
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.1800057e4
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x180009398
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1800093fe
test ebx, ebx
jne 0x1800093fe
lea ecx, [rax + 2]
call fcn.1800057e4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.180004be0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret