joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005860
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x470
mov rax, qword [0x180030010]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor esi, esi
mov rbx, rcx
mov ebp, 0x103
test rcx, rcx
jne 0x180005898
mov r8d, esi
jmp 0x1800058a3
mov rdx, rbp
call fcn.180010c28
mov r8, rax
inc r8w
cmp r8w, bp
jae 0x18000598f
cmp si, r8w
jae 0x180005913
mov rcx, rbx
movzx r9d, r8w
lea rdx, [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rcx]
lea rcx, [rcx + 1]
mov word [rdx], ax
lea rdx, [rdx + 2]
sub r9, 1
jne 0x1800058d0
cmp r8w, 5
jbe 0x180005913
movzx eax, r8w
cmp word [rsp + rax*2 + 0x36], 0x2e
je 0x180005913
mov r9d, 5
lea r8, str..dll
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.180011280
lea rax, [rsp + 0x40]
mov r10, 0xffffffffffffffff
nop
inc r10
cmp word [rax + r10*2], si
jne 0x180005920
dec r10
cmp r10, 0xffffffffffffffff
jne 0x18000593a
mov eax, 0xffffffff
jmp 0x18000597d
lea rcx, [r10 - 1]
lea rdx, [rsp + 0x40]
call fcn.180004600
movzx edx, word [rsp + r10*2 + 0x40]
mov r9d, 0x20
mov r8, rsi
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea rcx, [0x18002b810]
cmovbe r8, r9
or r8, rdx
movzx edx, al
movzx r9d, r8b
xor r9, rdx
shr eax, 8
xor eax, dword [rcx + r9*4]
not eax
mov ecx, eax
call fcn.180005ab0
test rax, rax
jne 0x180005a7f
mov qword [rsp + 0x488], rdi
test rbx, rbx
jne 0x1800059a1
mov rdi, rsi
jmp 0x1800059af
mov rdx, rbp
mov rcx, rbx
call fcn.180010c28
mov rdi, rax
inc di
cmp di, bp
jae 0x180005a74
cmp si, di
jae 0x180005a15
lea rcx, [rsp + 0x250]
movzx r10d, di
nop dword [rax]
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub r10, 1
jne 0x1800059d0
cmp di, 5
jbe 0x180005a15
movzx eax, di
cmp word [rsp + rax*2 + 0x246], 0x2e
je 0x180005a15
lea r9d, [r10 + 5]
mov edx, 0x104
lea r8, str..dll
lea rcx, [rsp + 0x250]
call fcn.180011280
add di, di
lea rax, [rsp + 0x250]
mov word [rsp + 0x2a], di
sub di, 2
mov qword [rsp + 0x30], rax
mov rax, qword [0x1800db460]
mov word [rsp + 0x28], di
test rax, rax
jne 0x180005a5a
mov edx, 0xa09b055e
mov ecx, 0x84c05e40
call fcn.180006050
mov qword [0x1800db460], rax
test rax, rax
je 0x180005a74
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x28]
xor edx, edx
xor ecx, ecx
call rax
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x488]
mov rax, rsi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180006f50
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x180006050
Capabilities:
Hash data with crc32
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.180005ab0
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.180005c90
Function at 0x1800064d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x180030010]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor r15d, r15d
mov ebp, edx
mov r14, r8
mov dword [r8], r15d
mov rsi, rcx
mov qword [rsp + 0x78], r15
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xeb1f2295
lea r9d, [r15 + 0x15]
mov dword [rsp + 0x44], 0x41964e97
lea r8d, [r15 + 0x49]
mov dword [rsp + 0x48], 0x6f50e3bf
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x4c], 0xfadd6cbc
mov dword [rsp + 0x50], 0xd52f2dc
mov dword [rsp + 0x54], 0xa38fca6c
mov word [rsp + 0x20], 0x2d
call fcn.1800018a0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x58]
nop dword [rax]
inc r8
cmp word [rbx + r8*2], r15w
jne 0x180006570
dec r8
cmp r8, 0xffffffffffffffff
jne 0x18000658a
mov eax, 0xffffffff
jmp 0x1800065b0
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.180004530
movzx edx, word [rbx + r8*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
lea rdx, [0x18002b810]
xor eax, dword [rdx + rcx*4]
not eax
mov ecx, eax
call fcn.180005ab0
test rax, rax
jne 0x1800065c6
mov rcx, rbx
call fcn.1800057a0
mov edx, 0xc651d8aa
mov rcx, rax
call fcn.180005c90
mov rdi, rax
test rax, rax
je 0x18000667d
test rsi, rsi
jne 0x1800065e9
mov ebx, r15d
jmp 0x1800065f7
mov rdx, rbp
mov rcx, rsi
call fcn.180010c28
mov rbx, rax
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea r8d, [r9 + 6]
call rdi
test eax, eax
je 0x18000667d
mov eax, dword [r14]
lea r9, [rsp + 0x80]
xor r8d, r8d
mov dword [rsp + 0x28], 4
inc rax
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x80], rax
lea rcx, [r8 - 1]
call fcn.180006be3
test eax, eax
jne 0x18000667d
mov r9, qword [rsp + 0x78]
lea r8d, [rax + 6]
mov qword [rsp + 0x30], r15
mov edx, ebx
mov qword [rsp + 0x28], r15
mov rcx, rsi
mov qword [rsp + 0x20], r14
call rdi
test eax, eax
je 0x18000667d
mov rax, qword [rsp + 0x78]
jmp 0x18000667f
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180006f50
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180006b10
Capabilities:
Check os version
Execute syscall

Disassembly:
xor al, 0x5a
mov r10, qword gs:[0x60]
cmp word [r10 + 0x118], 0xa
je 0x180006b60
cmp word [r10 + 0x118], 6
jne 0x180006b87
cmp word [r10 + 0x11c], 3
je 0x180006b62
cmp word [r10 + 0x11c], 2
je 0x180006b64
cmp word [r10 + 0x11c], 1
jne 0x180006b87
cmp word [r10 + 0x120], 0x1db1
je 0x180006b66
jmp 0x180006b87
inc eax
inc eax
inc eax
cmp qword [0x1800db320], 0
jne 0x180006b7c
cmp eax, 0xc390050f
pop r10
mov r10, rcx
jne 0x180006b71
syscall
nop
ret
pop r10
mov r10, rcx
jmp qword [0x1800db320]
ret
Function at 0x180016f5c
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 0x180016f8c
xor eax, eax
jmp 0x18001704f
mov rbp, rbx
cmp word [rax], si
je 0x180016fb1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180016f98
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180016f94
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.180016eac
movsxd r14, eax
test eax, eax
jne 0x180016fef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180016f85
mov rcx, r14
call fcn.180014cd8
mov rdi, rax
test rax, rax
jne 0x180017008
xor ecx, ecx
call fcn.180014c9c
jmp 0x180016fe4
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.180016eac
test eax, eax
jne 0x180017039
mov rcx, rdi
call fcn.180014c9c
jmp 0x180017043
xor ecx, ecx
call fcn.180014c9c
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 0x18001b6c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18001b6e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18001b6e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140097410
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x1400f4028]
xor rax, rsp
mov qword [rsp + 0x40], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 - 8], r12
lea r13, [rsp + 0x30]
lea r15, [rsp + 0x38]
mov ebp, 0xffffffff
mov qword [rsp + 0x30], r12
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
mov r8, r15
mov r9, r14
call qword [rax + 0x20]
mov edi, eax
mov rbx, qword [rsp + 0x30]
sub rbx, r15
mov r9, qword [rsi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.14007f968
cmp rax, rbx
jne 0x1400974ac
cmp edi, 1
je 0x140097454
cmp edi, 2
je 0x1400974ac
mov rcx, qword [rsi + 0x40]
call fcn.14007ec58
neg eax
sbb ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140069700
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400974d0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x140097505
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14007f968
xor ebx, ebx
test rsi, rsi
jle 0x14009752a
movzx edx, byte [r14 + rbx]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 0xffffffff
je 0x14009752a
inc rbx
cmp rsi, rbx
jne 0x14009750c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140097540
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x1400f4028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp edx, 0xffffffff
je 0x1400975aa
mov r15d, edx
mov rdi, rcx
mov byte [rsp + 0x57], r15b
cmp byte [rcx + 0x58], 0
je 0x1400975d0
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x57]
mov edx, 1
mov r8d, 1
call fcn.14007f968
mov esi, 0xffffffff
cmp rax, 1
je 0x1400975ad
jmp 0x1400975b0
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140069700
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x57]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x140097680
mov ebp, eax
cmp eax, 3
je 0x14009765f
cmp ebp, 1
ja 0x140097680
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.14007f968
cmp rax, rsi
jne 0x140097680
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x1400975e8
jmp 0x1400975ad
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.14007f968
cmp rax, 1
je 0x1400975ad
mov esi, 0xffffffff
jmp 0x1400975b0

Function at 0x1400976d0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x140097705
mov r9, qword [rdi + 0x40]
mov edx, 2
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14007f968
xor ebx, ebx
test rsi, rsi
jle 0x14009772b
movzx edx, word [r14 + rbx*2]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp ax, 0xffff
je 0x14009772b
inc rbx
cmp rsi, rbx
jne 0x14009770c
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x11750
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 0xb8]
mov rdi, rdx
mov rsi, r8
movzx edx, byte [rbx]
test edx, edx
je 0x11973
sub edx, 0xe
je 0x117d8
sub edx, 1
je 0x11821
cmp edx, 3
jne 0x118b6
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x20]
sub rcx, 1
je 0x117c8
cmp rcx, 1
je 0x117b8
inc byte [rdi + 0x43]
lea rax, [rbx + 0x48]
mov rcx, r8
mov qword [rdi + 0xb8], rax
jmp 0x11944
mov rdx, rbx
mov rcx, rdi
call fcn.00012c88
jmp 0x1197e
mov rdx, rbx
mov rcx, rdi
call fcn.000121e0
jmp 0x1197e
mov r8, rbx
mov rdx, rdi
call sub.TDI.SYS_TdiMapUserRequest
test eax, eax
jns 0x11821
cmp dword [rbx + 0x18], 0x210203
jne 0x118b6
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x118b6
lea rcx, [0x00011590]
xor edx, edx
mov qword [rax], rcx
and dword [rdi + 0x30], 0
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x1197e
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x20]
cmp rcx, 2
jne 0x1194f
movzx ecx, byte [rbx + 1]
sub ecx, 1
je 0x118f6
sub ecx, 1
je 0x118ce
sub ecx, 1
je 0x118bb
sub ecx, 1
je 0x118b6
sub ecx, 2
je 0x118a3
sub ecx, 1
je 0x11890
sub ecx, 1
je 0x1187d
cmp ecx, 0x127ffc
jne 0x118b6
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.000115e8
jmp 0x1197e
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.00014ad8
jmp 0x1197e
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.000159f4
jmp 0x1197e
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.00013af8
jmp 0x1197e
inc byte [rdi + 0x43]
jmp 0x11900
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.00012ff8
jmp 0x1197e
cmp byte [rdi + 0x43], 1
je 0x118fc
mov rdx, qword [rdi + 0xb8]
mov r8d, 0x38
lea rbx, [rdx - 0x48]
mov rcx, rbx
call fcn.0001bb70
lea rcx, [0x00013540]
jmp 0x1192a
cmp byte [rdi + 0x43], 1
jne 0x1190a
mov byte [rdi + 0x43], 2
add qword [rdi + 0xb8], 0x48
jmp 0x11941
mov rdx, qword [rdi + 0xb8]
mov r8d, 0x38
lea rbx, [rdx - 0x48]
mov rcx, rbx
call fcn.0001bb70
lea rcx, [0x000133ec]
mov byte [rbx + 3], 0
mov rax, qword [rdi + 0xb8]
mov qword [rax - 0x10], rcx
mov qword [rax - 8], rdi
mov byte [rax - 0x45], 0xe0
mov rcx, rsi
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x1197e
cmp rcx, 1
jne 0x118b6
cmp byte [rbx + 1], 0xb
jne 0x118b6
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.00012360
jmp 0x1197e
mov rdx, rbx
mov rcx, rdi
call fcn.000114a0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x162c4
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x80
mov rax, qword [0x0001e100]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ebx, ebx
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp byte [0x0001f8e0], bl
jne 0x1630f
inc byte [rcx + 0x43]
add qword [rcx + 0xb8], 0x48
mov rdx, rcx
mov rcx, r8
jmp 0x1646a
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x4b]
call fcn.0001ba60
mov r11d, 0xe
lea rcx, [0x0001f7c0]
lea r15d, [r11 - 0xc]
mov word [rsp + 0x20], r11w
mov word [rsp + 0x22], r15w
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov r8, qword [0x0001f808]
mov ecx, dword [r8]
mov r9, qword [rsi + 0x30]
mov r12b, al
xor edx, edx
mov rax, r9
div rcx
mov rcx, qword [r8 + rdx*8 + 8]
jmp 0x1636b
cmp qword [rcx], r9
je 0x16373
mov rcx, qword [rcx + 8]
cmp rcx, rbx
jne 0x16362
mov rcx, rbx
cmp rcx, rbx
je 0x1643d
lea rsi, [rcx - 0x10]
lea r8, [rsp + 0x22]
mov edx, 1
mov rcx, rsi
call fcn.0001aff4
test al, 1
je 0x163c4
lea rcx, [0x0001f7c0]
mov dl, r12b
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov esi, 0xc0000141
xor edx, edx
mov rcx, rdi
mov qword [rdi + 0x38], rbx
mov dword [rdi + 0x30], esi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
jmp 0x16470
test r15b, al
je 0x1643d
cmp byte [rsi + 0x1ad], bl
jne 0x1643d
lea rcx, [rsi + 0x228]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
lea r9, [rdi + 0xa8]
lea r8, [rsi + 0x1d0]
mov rdx, qword [r8 + 8]
mov qword [r9], r8
lea rcx, [rsi + 0x228]
mov qword [r9 + 8], rdx
mov qword [rdx], r9
mov dl, al
mov qword [r8 + 8], r9
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov r11, qword [rdi + 0xb8]
or byte [r11 + 3], 1
lea rdx, [0x00016fec]
mov rcx, rsi
xchg qword [rdi + 0x68], rdx
mov edx, 3
mov dword [rdi + 0x30], 0x103
call fcn.00012654
mov ebx, 0x103
lea rcx, [0x0001f7c0]
mov dl, r12b
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
cmp ebx, 0x103
jne 0x16459
mov eax, ebx
jmp 0x16470
inc byte [rdi + 0x43]
add qword [rdi + 0xb8], 0x48
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.0001b9e0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x21064
Capabilities:
Create device object

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.00021008
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp fcn.0001b460
Function at 0x14000406c
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000409a
xor eax, eax
jmp 0x140004180
cmp qword [rcx + 0x68], 0
je 0x1400040ab
call fcn.14000419c
jmp 0x140004180
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400040c2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400040c4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400040f6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14001fb70
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000417a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000412d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140004156
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14000ce34
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000417a
cmp rsi, rbx
ja 0x140004134
test rsi, rsi
je 0x14000417a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000ce34
sub rsi, rax
sub rbp, rsi
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 r14
ret

Function at 0x140006074
Capabilities:
Parse pe header

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

Function at 0x14000fbbc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f9b8
Function at 0x140014df0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140005960
sub rsp, rax
mov rax, qword [0x140031040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400139d0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140014e3f
mov rax, rbp
jmp 0x140014f47
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x33410]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140015f10
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x33410]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140014f43
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014f43
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140015f10
test rax, rax
js 0x140014f43
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140014f43
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140014f35
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140014f35
cmp byte [rcx], 0xd
jne 0x140014f1b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140014f2a
cmp byte [rcx + 1], 0xa
jne 0x140014f2a
inc rcx
jmp 0x140014f2a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x31470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140014efd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140014f47
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140005300
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140015168
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001517e
mov al, 1
jmp 0x1400151de
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001518f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400151dc
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001a230
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400151dc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400151dc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400151dc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400151de
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140020dd0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10090
call fcn.140024d20
sub rsp, rax
mov rax, qword [0x140061bf8]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx edx, byte [rcx]
lea rbx, [rsp + 0x30]
xor eax, eax
mov rsi, rcx
mov word [rsp + 0x80], ax
mov word [rsp + 0x30], ax
lea edi, [rax + 0x28]
test dl, dl
je 0x140020e92
nop dword [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x140020e3d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x140020e30
cmp rcx, 1
jb 0x140020eea
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140020e60
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140033e3c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x140020e20
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x140020ec3
lea rcx, [rsp + 0x80]
call fcn.140036c74
jmp 0x140020ec5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.140024a50
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140033be8
int3