joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005aa90
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14005ab70
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rbx, rbx
je 0x14005ab30
movzx edx, byte [rbx + 0xc]
and dl, 6
cmp dl, 2
je 0x14005ab30
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14005ab0b
mov qword [rsp + 0x30], rdi
xor edi, edi
cmp dword [rbx + 0x28], edi
jbe 0x14005ab01
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x20]
mov rdx, qword [rcx + rdi*8]
test rdx, rdx
je 0x14005aafa
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx + 0x20]
inc edi
cmp edi, dword [rbx + 0x28]
jb 0x14005aae0
call fcn.14013466c
mov rdi, qword [rsp + 0x30]
cmp qword [rbx + 0x10], 0
je 0x14005ab23
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rbx, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rsi
ret

Function at 0x14005b9a0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x50
mov rsi, r9
mov r14, r8
mov r15, rdx
movups xmm0, xmmword [rcx]
movups xmmword [rax - 0x38], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax - 0x28], xmm1
movsd xmm0, qword [rcx + 0x20]
movsd qword [rax - 0x18], xmm0
xor ecx, ecx
movq rax, xmm1
mov dword [rax], ecx
mov dword [r8], ecx
mov qword [r9], rcx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov edx, 8
lea r8d, [rdx + 0x38]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
jne 0x14005ba1c
mov eax, 0xc0000017
jmp 0x14005bac7
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [0x14070a0c0]
call qword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14005ba5a
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, 0xc000009a
jmp 0x14005bac7
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x20], xmm1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x30], xmm0
mov qword [rbx + 0x38], r15
mov rax, qword [rbx + 0x20]
mov dword [rax], edi
mov dword [rbx + 0x34], edi
lea rcx, [0x14070a0d0]
call qword [sym.imp.ntdll.dll_RtlAcquireSRWLockExclusive]
mov rax, qword [0x14070a0b8]
lea rdx, [0x14070a0b0]
mov qword [rbx], rdx
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [0x14070a0b8], rbx
lea rcx, [0x14070a0d0]
call qword [sym.imp.ntdll.dll_RtlReleaseSRWLockExclusive]
mov qword [rsi], rbx
mov dword [r14], edi
xor eax, eax
jmp 0x14005bac7
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop r15
ret
Function at 0x14005c7e0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
mov edx, 8
lea r8d, [rdx + 0x5e]
call fcn.14005bf00
nop
xor r15d, r15d
mov r12d, r15d
mov rcx, rsi
call fcn.14005ab70
mov rdi, rax
test rax, rax
je 0x14005c9d5
movzx eax, byte [rax + 0xc]
test al, 2
je 0x14005c9d5
test byte [rdi + 0xe], 1
jne 0x14005c85e
or al, 4
mov byte [rdi + 0xc], al
mov rcx, rsi
call fcn.14005aa90
mov ecx, 0xc0000001
test al, al
cmovne ecx, r15d
mov eax, ecx
jmp 0x14005c9dc
test rbx, rbx
je 0x14005c868
mov rbx, qword [rbx]
jmp 0x14005c873
mov rcx, rsi
call fcn.14005e480
mov rbx, rax
test rbx, rbx
je 0x14005c9d5
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r13, rax
mov ecx, dword [rbx + 0x40]
cmp dword [rax + 0x50], ecx
jne 0x14005c9d5
test byte [rdi + 0xe], 8
je 0x14005c8e4
call fcn.14005eca0
dec eax
cmp eax, 7
ja case.default.0x14005c8ba
cdqe
lea r14, [0x140000000]
mov eax, dword [r14 + rax*4 + 0x5c9fc]
add rax, r14
jmp rax
movzx r12d, word [rbx + 0x6c]
jmp 0x14005c8eb
movzx r12d, word [rbx + 0x6c]
mov rax, qword [rbx + 0x98]
cmp dword [rax + 0x18], r12d
cmovne r12d, dword [rax + 0x18]
jmp 0x14005c8eb
mov eax, 0xc0000001
jmp 0x14005c9dc
lea r14, [0x140000000]
test r12d, 0xfffffffe
jne 0x14005c972
or byte [rdi + 0xc], 4
test byte [rdi + 0xc], 1
je 0x14005c910
mov rcx, qword [rdi + 0x10]
mov eax, dword [r13 + 0x28]
add rax, rcx
xor r8d, r8d
xor edx, edx
call rax
movzx eax, word [rdi + 0xe]
test al, 1
je 0x14005c95b
test al, 2
je 0x14005c92f
mov rcx, rsi
call fcn.14005dca0
test eax, eax
jns 0x14005c92f
mov ecx, 3
int 0x29
test byte [rdi + 0xe], 4
je 0x14005c948
mov rcx, rbx
call fcn.14005eb50
test eax, eax
jns 0x14005c948
mov ecx, 7
int 0x29
mov rcx, rbx
call fcn.14005d170
test al, al
jne 0x14005c95b
mov ecx, 7
int 0x29
mov rcx, rsi
call fcn.14005aa90
test al, al
jne 0x14005c96e
mov ecx, 7
int 0x29
xor eax, eax
jmp 0x14005c9dc
call fcn.14005eca0
dec eax
cmp eax, 7
ja case.default.0x14005c98b
cdqe
mov ecx, dword [r14 + rax*4 + 0x5ca1c]
add rcx, r14
jmp rcx
movzx eax, word [rbx + 0x6c]
test ax, ax
je 0x14005c9d0
dec ax
mov word [rbx + 0x6c], ax
mov eax, r15d
jmp 0x14005c9dc
movzx eax, word [rbx + 0x6c]
test ax, ax
je 0x14005c9b2
dec ax
mov word [rbx + 0x6c], ax
mov rcx, qword [rbx + 0x98]
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x14005c9d0
dec eax
mov dword [rcx + 0x18], eax
mov eax, r15d
jmp 0x14005c9dc
mov r15d, 0xc0000001
mov eax, r15d
jmp 0x14005c9dc
mov eax, 0xc0000008
jmp 0x14005c9dc
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
Function at 0x14005ca50
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r12, rdx
mov rsi, rcx
mov byte [rsp + 0x20], 0
xor edi, edi
test rdx, rdx
je 0x14005ca76
mov qword [rdx], rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rbx, rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
test rax, rax
je 0x14005cc96
movzx eax, word [rax + 0x18]
mov ecx, 0x10b
cmp ax, cx
je 0x14005cb1b
mov ecx, 0x20b
cmp ax, cx
je 0x14005cab1
xor al, al
jmp 0x14005cc96
movzx r14d, word [rbx + 0x14]
add r14, 0x18
add r14, rbx
mov qword [rsp + 0x40], r14
mov r15d, dword [rbx + 0x54]
mov qword [rsp + 0x38], r15
movzx eax, word [rbx + 6]
lea rdx, [rax + rax*4]
shl rdx, 3
mov r8d, 0x66
mov rcx, r14
call fcn.14005bf00
movzx ecx, di
mov eax, r15d
mov word [rsp + 0x24], cx
cmp cx, word [rbx + 6]
jae 0x14005cb13
mov eax, dword [r14 + 0x10]
add r15, rax
mov rax, r15
mov qword [rsp + 0x38], r15
inc cx
add r14, 0x28
mov qword [rsp + 0x40], r14
jmp 0x14005caeb
mov ebx, dword [rbx + 0xac]
jmp 0x14005cb83
movzx r14d, word [rbx + 0x14]
add r14, 0x18
add r14, rbx
mov qword [rsp + 0x40], r14
mov r15d, dword [rbx + 0x54]
mov qword [rsp + 0x38], r15
movzx eax, word [rbx + 6]
lea rdx, [rax + rax*4]
shl rdx, 3
mov r8d, 0x66
mov rcx, r14
call fcn.14005bf00
movzx ecx, di
mov eax, r15d
mov word [rsp + 0x28], cx
cmp cx, word [rbx + 6]
jae 0x14005cb7d
mov eax, dword [r14 + 0x10]
add r15, rax
mov rax, r15
mov qword [rsp + 0x38], r15
inc cx
add r14, 0x28
mov qword [rsp + 0x40], r14
jmp 0x14005cb55
mov ebx, dword [rbx + 0x9c]
add rbx, rax
mov qword [rsp + 0x38], rbx
mov r8d, 0x66
mov rdx, rbx
mov rcx, rsi
call fcn.14005bf00
test r12, r12
je 0x14005cba5
mov qword [r12], rbx
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r9, rax
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x98], edi
mov r8d, edi
mov dword [rsp + 0x2c], edi
mov edx, edi
lea ecx, [rbx + 1]
shr ecx, 1
cmp r8d, ecx
jae 0x14005cc09
movzx edx, word [rsi]
add edx, edi
mov edi, edx
mov dword [rsp + 0x98], edx
mov eax, edx
shr eax, 0x10
test ax, ax
je 0x14005cbf6
movzx edx, dx
add edx, eax
mov edi, edx
mov dword [rsp + 0x98], edx
add rsi, 2
mov qword [rsp + 0x48], rsi
inc r8d
mov dword [rsp + 0x2c], r8d
jmp 0x14005cbc6
mov eax, edx
shr eax, 0x10
add eax, edx
movzx ecx, ax
mov dword [rsp + 0x90], ecx
movzx eax, cx
mov edx, dword [r9 + 0x58]
mov dword [rsp + 0x30], edx
test edx, edx
jne 0x14005cc2d
mov al, 1
jmp 0x14005cc7b
movzx r8d, dx
cmp ax, dx
jb 0x14005cc3b
sub ecx, r8d
jmp 0x14005cc43
sub eax, r8d
movzx ecx, ax
dec ecx
mov dword [rsp + 0x90], ecx
movzx r8d, cx
mov eax, edx
shr eax, 0x10
cmp cx, ax
jb 0x14005cc5c
sub ecx, eax
jmp 0x14005cc65
sub r8d, eax
movzx ecx, r8w
dec ecx
mov dword [rsp + 0x90], ecx
lea eax, [rcx + rbx]
mov dword [rsp + 0x90], eax
cmp edx, eax
sete al
mov byte [rsp + 0x20], al
jmp 0x14005cc96
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14005ccc0
Capabilities:
Access pe header

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, qword [rcx + 0x10]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ecx, dword [rax + 0xd0]
test ecx, ecx
je 0x14005cd1d
mov qword [rsp + 0x30], rbx
mov rbx, qword [rcx + rdi + 0x18]
test rbx, rbx
je 0x14005cd0d
mov rax, qword [rbx]
test rax, rax
je 0x14005cd0d
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 1]
call rax
mov rax, qword [rbx + 8]
lea rbx, [rbx + 8]
test rax, rax
jne 0x14005ccf4
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x14005cd30
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r8d, dword [rax + 0x28]
test r8d, r8d
je 0x14005cd9b
mov rcx, qword [rbx + 0x10]
lea rax, [rcx + r8]
xor r8d, r8d
mov edx, edi
call rax
test eax, eax
je 0x14005cd70
or byte [rbx + 0xc], 1
mov eax, 1
jmp 0x14005cda0
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005cd8e
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14005e1b0
Capabilities:
Access pe header
Access peb ldr_data

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x60
xor r12d, r12d
lea rcx, [0x1404162c8]
mov ebx, r12d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
xorps xmm0, xmm0
mov dword [rsp + 0x40], Ordinal_30
mov r13, rax
lea r15, str..data
xor eax, eax
mov r9b, 1
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x54], eax
movups xmmword [rsp + 0x44], xmm0
lea edx, [rax + 2]
lea ecx, [rax + 6]
call fcn.14005eb60
test al, al
je 0x14005e232
mov rbx, rbp
mov rax, r13
jmp 0x14005e2e0
xor r8d, r8d
lea edx, [r8 + 3]
lea ecx, [rdx + 3]
call fcn.14005ebe0
test al, al
je 0x14005e257
mov rbx, rbp
lea r15, str..mrdata
mov rax, r13
jmp 0x14005e2e0
mov rax, qword gs:[0x30]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], r14
mov rcx, qword [rax + 0x60]
mov r14, qword [rcx + 0x18]
add r14, 0x10
mov rdi, qword [r14]
cmp rdi, r14
je 0x14005e2c7
mov qword [rsp + 0x90], rsi
nop dword [rax]
mov rcx, qword [rdi + 0x30]
lea rsi, [rdi]
mov rdi, qword [rdi]
call fcn.14005ab50
test al, al
jne 0x14005e2ba
test rbx, rbx
je 0x14005e2b6
mov rax, qword [rsi + 0x30]
cmp rbx, rax
jb 0x14005e2ba
mov rbx, rax
jmp 0x14005e2ba
mov rbx, qword [rsi + 0x30]
cmp rdi, r14
jne 0x14005e290
mov rsi, qword [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x98]
test rbx, rbx
je 0x14005e38b
test rax, rax
je 0x14005e38b
test rbp, rbp
je 0x14005e38b
test r13, r13
je 0x14005e38b
mov ecx, dword [rax + 0xa4]
test ecx, ecx
je 0x14005e318
mov r12d, dword [rax + 0xa0]
add r12, rbx
mov eax, dword [rax + 0x50]
lea r8, [rsp + 0x38]
mov dword [rsp + 0x34], ecx
mov rdx, r15
mov rcx, rbp
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], eax
call fcn.14005e970
test eax, eax
js 0x14005e38b
mov rbx, qword [rsp + 0x48]
xor r8d, r8d
lea edx, [r8 + 2]
lea ecx, [rdx + 4]
call fcn.14005ebe0
test al, al
je 0x14005e368
cmp dword [rbx - 0xc], 0x200
jne 0x14005e377
cmp dword [rbx - 4], 0
je 0x14005e39a
cmp dword [rbx - 0xc], 0x200
jne 0x14005e377
cmp dword [rbx - 8], 0
je 0x14005e39a
lea r8, [rsp + 0x38]
mov rdx, r15
mov rcx, rbp
call fcn.14005e970
test eax, eax
jns 0x14005e341
xor eax, eax
add rsp, 0x60
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
lea rax, [rbx - 0x10]
add rsp, 0x60
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret

Function at 0x14005e480
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov r8, qword [rdx + 0x18]
add r8, 0x10
mov rax, qword [r8]
cmp rax, r8
je 0x14005e4b1
nop dword [rax]
mov rdx, rax
mov rax, qword [rax]
cmp qword [rdx + 0x30], rcx
je 0x14005e4b4
cmp rax, r8
jne 0x14005e4a0
xor eax, eax
ret
mov rax, rdx
ret
Function at 0x14005e6e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14070a1d8]
test rax, rax
jne 0x14005e76b
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r9, qword [rcx + 0x18]
add r9, 0x30
mov rax, qword [r9]
cmp r9, rax
je 0x14005e819
mov r8, qword [0x14070a1d8]
mov qword [rsp + 0x38], rbx
xor ebx, ebx
mov qword [rsp + 0x20], rdi
nop dword [rax]
nop dword [rax + rax]
lea rdi, [rax]
mov rax, qword [rax]
mov rdx, qword [rdi + 0x50]
lea rcx, [rdi + 0x50]
cmp rdx, rcx
je 0x14005e759
mov qword [0x14070a1d8], rdx
cmp qword [rdx], rcx
je 0x14005e770
mov r8, rbx
mov qword [0x14070a1d8], rbx
cmp r9, rax
jne 0x14005e730
mov rbx, qword [rsp + 0x38]
mov rax, r8
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x30], ebx
lea edx, [r8 + 2]
lea ecx, [rdx + 4]
call fcn.14005ebe0
test al, al
je 0x14005e7a2
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dl, 1
lea rcx, [rdi + 0x38]
call qword [sym.imp.ntdll.dll_RtlHashUnicodeString]
jmp 0x14005e7ec
movzx eax, word [rdi + 0x38]
mov ecx, 0xfffe
and ax, cx
cmp bx, ax
jae 0x14005e7ec
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x40]
movzx ecx, bx
movzx ecx, word [rax + rcx*2]
call fcn.14005bdd0
movzx eax, ax
inc bx
imul ecx, eax, 0x1003f
movzx eax, word [rdi + 0x38]
shr ax, 1
add dword [rsp + 0x30], ecx
cmp bx, ax
jb 0x14005e7c0
mov ecx, dword [rsp + 0x30]
mov rax, qword [rdi + 0x50]
and ecx, 0x1f
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
shl rcx, 4
sub rax, rcx
mov qword [0x14070a1d8], rax
add rsp, 0x28
ret
mov rax, qword [0x14070a1d8]
add rsp, 0x28
ret
Function at 0x14005e970
Capabilities:
Access pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rdi, r8
mov rax, rcx
mov rsi, qword [r8 + 0x10]
mov qword [r11 - 0x58], rsi
mov r14d, dword [r8 + 0x18]
mov dword [r11 - 0x64], r14d
mov rdx, qword [r8]
mov qword [r11 - 0x48], rdx
mov ecx, dword [r8 + 8]
mov dword [r11 + 0x20], ecx
test rdx, rdx
je 0x14005eafe
test ecx, ecx
je 0x14005eafe
test rsi, rsi
jne 0x14005ea90
mov rcx, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r13, rax
xor r12d, r12d
mov qword [rsp + 0x38], r12
test rax, rax
jne 0x14005e9f0
mov eax, 0xc00000ef
jmp 0x14005eb2d
movzx eax, word [rax + 0x14]
lea rbx, [r13 + 0x18]
add rbx, rax
mov qword [rsp + 0x38], rbx
movzx r15d, r12w
mov word [rsp + 0x20], r12w
nop word [rax + rax]
cmp r15w, word [r13 + 6]
jae 0x14005ea4c
mov rdx, rbx
mov rcx, qword [rsp + 0x98]
call fcn.14017e11c
test eax, eax
jne 0x14005ea69
mov esi, dword [rbx + 0xc]
add rsi, qword [rsp + 0x90]
mov qword [rdi + 0x10], rsi
mov qword [rsp + 0x30], rsi
mov r14d, dword [rbx + 8]
mov dword [rdi + 0x18], r14d
mov dword [rsp + 0x24], r14d
test rsi, rsi
je 0x14005ea7e
test r14d, r14d
je 0x14005ea7e
mov ecx, dword [rsp + 0xa8]
cmp r14d, ecx
jb 0x14005ea7e
mov rdx, qword [rsp + 0x40]
jmp 0x14005eaa3
add rbx, 0x28
mov qword [rsp + 0x38], rbx
inc r15w
mov word [rsp + 0x20], r15w
jmp 0x14005ea10
mov qword [rdi + 0x10], r12
mov dword [rdi + 0x18], r12d
mov eax, 0xc0000225
jmp 0x14005eb2d
inc rsi
mov qword [rsp + 0x30], rsi
dec r14d
mov dword [rsp + 0x24], r14d
xor r12d, r12d
mov r13d, 0xc0000225
mov dword [rsp + 0x2c], r13d
mov r15d, r12d
mov dword [rsp + 0x28], r12d
mov eax, r14d
sub eax, ecx
cmp r15d, eax
jae 0x14005eafc
mov ebx, ecx
mov r8d, ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, rbx
jne 0x14005eade
mov qword [rdi + 0x10], rsi
dec dword [rdi + 0x18]
xor eax, eax
jmp 0x14005eb2d
inc rsi
mov qword [rsp + 0x30], rsi
inc r15d
mov dword [rsp + 0x28], r15d
mov ecx, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0x40]
jmp 0x14005eab6
jmp 0x14005eb22
xor r12d, r12d
mov qword [r8 + 0x10], r12
mov dword [r8 + 0x18], r12d
mov eax, 0xc000000d
jmp 0x14005eb2d
mov qword [rdi + 0x10], r12
mov dword [rdi + 0x18], r12d
mov eax, r13d
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005eb40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push r12
push r14
sub rsp, 0x48
mov r12, rcx
lea r9, [rsp + 0x60]
mov rcx, qword [rcx + 0x30]
mov r8d, 9
mov dl, 1
call qword [sym.imp.ntdll.dll_RtlImageDirectoryEntryToData]
mov r14, rax
test rax, rax
je 0x14005bd95
cmp dword [rsp + 0x60], 0
je 0x14005bd95
lea r9, [rsp + 0x70]
mov rdx, r12
lea r8, [rsp + 0x68]
mov rcx, rax
call fcn.14005b9a0
test eax, eax
jns 0x14005bbf0
mov eax, 0xc000009a
add rsp, 0x48
pop r14
pop r12
ret
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r13
mov r13d, dword [0x14070a110]
mov qword [rsp + 0x20], r15
lea eax, [r13 - 1]
lea rax, [rax + rax*2]
lea rdx, [rax*8 + 0x28]
mov rax, qword gs:[0x30]
mov qword [rsp + 0x70], rdx
mov r8, rdx
mov edx, 8
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x14005bd86
mov ecx, dword [rsp + 0x68]
xor ebx, ebx
mov qword [rax], rbx
mov ebp, ebx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], r13d
test r13d, r13d
je 0x14005bcc9
lea rsi, [rax + 0x18]
mov r15, rsi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword gs:[0x30]
xor edx, edx
mov r8, qword [r14 + 8]
sub r8, qword [r14]
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [r15], rax
test rax, rax
je 0x14005bd57
mov rdx, qword [r14]
mov rcx, rax
mov r8, qword [r14 + 8]
sub r8, rdx
call fcn.1401378a0
inc ebp
add r15, 0x18
cmp ebp, r13d
jb 0x14005bc80
mov r9d, dword [rsp + 0x70]
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_35
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtSetInformationProcess]
mov esi, eax
cmp dword [rdi + 8], ebx
jbe 0x14005bd12
mov ecx, ebx
xor edx, edx
inc rcx
lea r8, [rcx + rcx*2]
mov rcx, qword gs:[0x30]
mov r8, qword [rdi + r8*8]
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
inc ebx
cmp ebx, dword [rdi + 8]
jb 0x14005bce5
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, esi
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x20]
add rsp, 0x48
pop r14
pop r12
ret
test ebp, ebp
je 0x14005bd86
mov ebx, ebp
nop dword [rax]
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rsi]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rsi, [rsi + 0x18]
sub rbx, 1
jne 0x14005bd60
mov rcx, r12
call fcn.14005baf0
mov eax, 0xc0000017
jmp 0x14005bd30
xor eax, eax
add rsp, 0x48
pop r14
pop r12
ret
jmp 0x14005bb90
Function at 0x1400611a0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x90
mov ebp, edx
mov rsi, rcx
mov qword [rax + 8], 0
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetPhysicallyInstalledSystemMemory]
mov eax, dword [rsp + 0xa0]
cdq
and edx, 0x3ff
lea edi, [rdx + rax]
sar edi, 0xa
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [rsp + 0x80]
mov edx, VarCyInt
lea rcx, [rsp + 0x40]
call fcn.1400175a0
nop
lea rcx, [rsi + 0x100]
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebp
mov r9d, edi
mov r8d, ebx
mov rdx, rax
call fcn.140064720
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14006126c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061267
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061285
call fcn.140133e68
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1401462a8
int3
Function at 0x140066000
Capabilities:
Get session information

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x40
inc dword [0x14070a1f8]
mov rbx, rcx
add rcx, 0x18
call fcn.140067c30
xorps xmm3, xmm3
xorps xmm1, xmm1
movd xmm2, eax
mov eax, dword [0x14070a1f8]
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [0x14070a200]
test eax, eax
jle 0x14006604b
movd xmm0, eax
movaps xmm1, xmm2
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si eax, xmm1
lea rdx, [rbx + 0x50]
mov dword [0x14070a1f8], 0
movsd qword [0x14070a200], xmm3
mov dword [rbx], eax
cmp qword [rbx + 0x68], 0x10
jb 0x140066072
mov rdx, qword [rbx + 0x50]
cmp qword [rbx + 0x88], 0x10
lea rcx, [rbx + 0x70]
jb 0x140066084
mov rcx, qword [rbx + 0x70]
mov r8, qword [rbx + 0x80]
cmp r8, qword [rbx + 0x60]
jne 0x14006609a
call fcn.1401383d0
test eax, eax
je 0x14006609c
mov al, 1
mov edx, dword [rbx + 0x44]
cmp edx, 0xffffffff
mov byte [rbx + 8], al
setne al
mov qword [rsp + 0x60], rsi
cmp byte [rbx + 0x99], 0
mov byte [rbx + 9], al
je 0x140066132
movzx esi, byte [rbx + 0x98]
cmp edx, 0xffffffff
je 0x140066132
xor ecx, ecx
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 0
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor dil, dil
lea r8d, [rcx + 0x19]
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x140066132
cmp dword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x58]
jbe 0x140066117
cmp dword [rcx], 1
jne 0x140066117
mov eax, dword [rcx + 0x10]
test sil, sil
je 0x140066125
cmp eax, 1
sete dil
call sub.WTSAPI32.dll_WTSFreeMemory
test dil, dil
je 0x140066132
mov al, 1
jmp 0x140066134
test eax, eax
jne 0x140066117
call sub.WTSAPI32.dll_WTSFreeMemory
mov al, 1
jmp 0x140066134
xor al, al
mov ecx, dword [rbx + 0x44]
mov byte [rbx + 0xa], al
call fcn.140066320
lea rcx, [rsp + 0x30]
mov byte [rbx + 0xb], al
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
mov rsi, qword [rsp + 0x60]
test eax, eax
je 0x140066162
cmp byte [rsp + 0x30], dil
sete dil
inc dword [rbx + 0x10]
mov byte [rbx + 0xc], dil
mov byte [rbx + 0xd], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140066f90
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x38], 0
mov rbx, rcx
jne 0x140066fca
xor ecx, ecx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r8, [0x140067020]
mov r9, rbx
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rsp + 0x40], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x38], rax
add rsp, 0x30
pop rbx
ret