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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14009b663
mov rsi, rbx
cmp word [rax], bp
je 0x14009b622
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14009b60c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14009b608
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400909a0
mov rdi, rax
test rax, rax
je 0x14009b650
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400a0560
mov rbp, rdi
xor ecx, ecx
call fcn.140090964
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14009f820
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14009439c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14009439c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14009f970
cmp rax, 0xffffffffffffffff
je 0x14009f970
xor edi, edi
test rbp, rbp
jle 0x14009f91b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140092e50
mov rbx, rax
test rax, rax
jne 0x14009f8a8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14009f911
mov edx, 0x8000
mov ecx, r14d
call fcn.14008fcac
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140093dd4
cmp eax, 0xffffffff
je 0x14009f8f1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14009f8b8
mov edx, r15d
mov ecx, r14d
call fcn.14008fcac
jmp 0x14009f911
cmp byte [rsi + 0x38], dil
je 0x14009f908
cmp dword [rsi + 0x34], 5
jne 0x14009f908
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
cmp byte [rsi + 0x30], dil
je 0x14009f911
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140090964
jmp 0x14009f984
jns 0x14009f984
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14009439c
cmp rax, 0xffffffffffffffff
jne 0x14009f93c
cmp byte [rsi + 0x30], dil
je 0x14009f984
mov edi, dword [rsi + 0x2c]
jmp 0x14009f984
mov ecx, r14d
call fcn.14009bc28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14009f984
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayDestroy
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
jmp 0x14009f984
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14009f97d
mov eax, dword [rsi + 0x2c]
jmp 0x14009f982
mov eax, SafeArrayUnaccessData
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14009439c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400a0130
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a0158
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a0158
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x412f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4130eb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00572968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x412fc5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x412fd4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x412ff3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x413003
cmp rbx, 0x1000
jae 0x412fcb
jmp 0x41306d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x413015
xor edx, edx
jmp 0x413064
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x00572968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x412ff9
jmp 0x412fe8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00572968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x0047bd6d]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0047c043]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x0047d8a1]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x413120
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413346
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00572968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x413193
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4131a2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4131c5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4131d5
cmp rbx, 0x1000
jae 0x413199
nop
jmp 0x413258
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x4131ed
xor esi, esi
jmp 0x41324a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x00572968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x4131cb
jmp 0x4131b6
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x00572968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4132e0
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x0047c05c]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x0047c043]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x00479c32]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x413280
call sym.runtime.printlock
lea rax, [0x0047c05c]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0047c043]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x0047d2e7]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS
Function at 0x440600
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x440767
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x440612
cmp edx, ecx
jne 0x440755
nop word [rax + rax]
test rsi, rsi
jne 0x440755
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x440674
nop
call sym.runtime.nanotime1.abi0
xorps xmm15, xmm15
mov r14, qword [0x00572968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call sym.runtime.updateTimerPMask
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x440750
mov rdx, qword [0x004edca8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x440745
mov rcx, qword [0x004edca0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x004eed70]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x004eed70], rax
nop
mov edx, 1
lea rsi, [0x004eed78]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x440733
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x0047e67d]
mov ebx, 0x28
nop
call sym.runtime.throw
mov rax, rsi
mov rcx, rdx
call sym.runtime.panicIndex
call sym.runtime.panicshift
lea rax, [0x0047dd1b]
mov ebx, 0x23
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.pidleput
Function at 0x45e7c0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45e7f4
mov rcx, 0x28
jmp 0x45e7ff
shl rcx, 3
add rcx, 0x1480
mov qword [0x00572968], rcx
pop rbp
ret

Function at 0x465740
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46580a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x00572968]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4657ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0046c480]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x4657de
mov edi, 1
lea rsi, [0x0046c480]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00494ff8]
lea rsi, [0x00494df8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x507ed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov qword [rbp + 0x60], r8
mov rcx, rsi
mov rdx, qword [rbp + 0x60]
mov r8, r9
call sub.kernel32.dll_FindResourceW
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x507f07
mov rcx, rbp
call fcn.00507df0
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_LoadResource
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x507f26
mov rcx, rbp
call fcn.00507df0
mov rcx, qword [rbx + 0x28]
call sub.kernel32.dll_LockResource
mov rdi, rax
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_SizeofResource
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call fcn.00507650
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x51a200
Capabilities:
Resume thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov byte [rbp + 0x2f], dl
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
nop
mov rax, qword [rbp + 0x20]
movzx rax, byte [rax + 0x19]
movzx rcx, byte [rbp + 0x2f]
or al, cl
test al, al
je 0x51a292
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x1d], 0
jne 0x51a292
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x40], 0
jne 0x51a292
mov rax, qword [rbp + 0x20]
mov byte [rax + 0x1b], 0
mov byte [rax + 0x19], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x51a2bc
lea rcx, [rbp + 0x38]
mov rdx, qword [0x007282f8]
call fcn.004170a0
mov rcx, qword [0x004db2f0]
mov dl, 1
mov r8, qword [rbp + 0x38]
call fcn.0043bb60
mov rcx, rax
call fcn.0040e830
jmp 0x51a2bc
lea rcx, [rbp + 0x30]
mov rdx, qword [0x007282f8]
call fcn.004170a0
mov rcx, qword [0x004db2f0]
mov dl, 1
mov r8, qword [rbp + 0x30]
call fcn.0043bb60
mov rcx, rax
call fcn.0040e830
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040f660
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x51ae30
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.0051a040
jmp 0x51ae8b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x51aeb0
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.0051a040
cmp esi, 1
jne 0x51aeda
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x6cff2b
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
add rcx, 0x10
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x60]
test rax, rax
invalid
je 0x6cff47
mov r15, qword [rcx + 0x30]
mov r8d, dword [0x0070b6ec]
mov rdx, qword gs:[0x60]
mov r9, qword [rdx + 0x18]
add r9, 0x10
mov r9, qword [r9]
mov rbx, qword [r9 + 0x60]
test rbx, rbx
je 0x6cff6f
test r8d, r8d
je 0x6cffb5
movzx edi, word [rbx]
test di, di
je 0x6cffae
add rbx, 2
xor esi, esi
lea ecx, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp cx, 0x1a
cmovae edx, edi
movzx ecx, dx
add esi, ecx
movzx edi, word [rbx]
add rbx, 2
test di, di
jne 0x6cff8e
jmp 0x6cffb0
xor esi, esi
cmp esi, r8d
jne 0x6cff6f
mov r14, qword [r9 + 0x30]
mov rcx, qword [0x0070b6bc]
mov edx, dword [rcx]
test edx, edx
je 0x6d0019
mov ebx, edx
shr ebx, 8
xor edi, edi
mov esi, edi
inc edi
cmp word [rax + rsi*2], 0
jne 0x6cffcd
inc dl
cmp dl, dil
je 0x6cffea
inc bl
cmp bl, dil
jne 0x6d0171
movzx ebx, word [rax]
xor edx, edx
test bx, bx
je 0x6d000b
add rax, 2
xor edx, edx
movzx ebx, bx
add edx, ebx
movzx ebx, word [rax]
add rax, 2
test bx, bx
jne 0x6cfffa
cmp edx, dword [rcx + 4]
je 0x6d0019
cmp edx, dword [rcx + 8]
jne 0x6d0171
mov dword [rsp + 0x2c], 0
mov edx, dword [0x0070b69c]
xor esi, esi
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.kernel32.dll_VirtualAlloc]
cmp dword [0x006d1f8b], 0
je 0x6d0064
mov rcx, qword [0x0070b6cc]
movsxd rsi, esi
mov ecx, dword [rcx + rsi]
mov dword [rax + rsi], ecx
add esi, dword [0x0070b6d4]
cmp esi, dword [0x0070b6f8]
jb 0x6d0046
test r14, r14
je 0x6d0171
movsxd rcx, dword [r14 + 0x3c]
mov r8d, dword [r14 + rcx + 0x88]
mov r9d, dword [r14 + r8 + 0x18]
test r9, r9
je 0x6d0171
mov r10d, dword [r14 + r8 + 0x20]
add r10, r14
mov r11b, byte [rax]
xor ecx, ecx
mov edi, dword [r10 + rcx*4]
cmp byte [r14 + rdi], r11b
jne 0x6d00b9
add rdi, r14
mov esi, 1
mov edx, r11d
test dl, dl
je 0x6d00c6
mov ebx, esi
mov dl, byte [rdi + rbx]
inc esi
cmp dl, byte [rax + rbx]
je 0x6d00a9
inc rcx
cmp rcx, r9
jne 0x6d0094
jmp 0x6d0171
mov eax, ecx
mov ecx, dword [r14 + r8 + 0x1c]
mov edx, dword [r14 + r8 + 0x24]
add rcx, r14
add rdx, r14
movzx eax, word [rdx + rax*2]
mov ebx, dword [rcx + rax*4]
add rbx, r14
mov rsi, qword [0x0070b6f0]
mov r8d, dword [0x0070b6f8]
Function at 0x6cff50
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
add rcx, 0x10
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x60]
test rax, rax
invalid
je 0x6cff47
mov r15, qword [rcx + 0x30]
mov r8d, dword [0x0070b6ec]
mov rdx, qword gs:[0x60]
mov r9, qword [rdx + 0x18]
add r9, 0x10
mov r9, qword [r9]
mov rbx, qword [r9 + 0x60]
test rbx, rbx
je 0x6cff6f
test r8d, r8d
je 0x6cffb5
movzx edi, word [rbx]
test di, di
je 0x6cffae
add rbx, 2
xor esi, esi
lea ecx, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp cx, 0x1a
cmovae edx, edi
movzx ecx, dx
add esi, ecx
movzx edi, word [rbx]
add rbx, 2
test di, di
jne 0x6cff8e
jmp 0x6cffb0
xor esi, esi
cmp esi, r8d
jne 0x6cff6f
mov r14, qword [r9 + 0x30]
mov rcx, qword [0x0070b6bc]
mov edx, dword [rcx]
test edx, edx
je 0x6d0019
mov ebx, edx
shr ebx, 8
xor edi, edi
mov esi, edi
inc edi
cmp word [rax + rsi*2], 0
jne 0x6cffcd
inc dl
cmp dl, dil
je 0x6cffea
inc bl
cmp bl, dil
jne 0x6d0171
movzx ebx, word [rax]
xor edx, edx
test bx, bx
je 0x6d000b
add rax, 2
xor edx, edx
movzx ebx, bx
add edx, ebx
movzx ebx, word [rax]
add rax, 2
test bx, bx
jne 0x6cfffa
cmp edx, dword [rcx + 4]
je 0x6d0019
cmp edx, dword [rcx + 8]
jne 0x6d0171
mov dword [rsp + 0x2c], 0
mov edx, dword [0x0070b69c]
xor esi, esi
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.kernel32.dll_VirtualAlloc]
cmp dword [0x006d1f8b], 0
je 0x6d0064
mov rcx, qword [0x0070b6cc]
movsxd rsi, esi
mov ecx, dword [rcx + rsi]
mov dword [rax + rsi], ecx
add esi, dword [0x0070b6d4]
cmp esi, dword [0x0070b6f8]
jb 0x6d0046
test r14, r14
je 0x6d0171
movsxd rcx, dword [r14 + 0x3c]
mov r8d, dword [r14 + rcx + 0x88]
mov r9d, dword [r14 + r8 + 0x18]
test r9, r9
je 0x6d0171
mov r10d, dword [r14 + r8 + 0x20]
add r10, r14
mov r11b, byte [rax]
xor ecx, ecx
mov edi, dword [r10 + rcx*4]
cmp byte [r14 + rdi], r11b
jne 0x6d00b9
add rdi, r14
mov esi, 1
mov edx, r11d
test dl, dl
je 0x6d00c6
mov ebx, esi
mov dl, byte [rdi + rbx]
inc esi
cmp dl, byte [rax + rbx]
je 0x6d00a9
inc rcx
cmp rcx, r9
jne 0x6d0094
jmp 0x6d0171
mov eax, ecx
mov ecx, dword [r14 + r8 + 0x1c]
mov edx, dword [r14 + r8 + 0x24]
add rcx, r14
add rdx, r14
movzx eax, word [rdx + rax*2]
mov ebx, dword [rcx + rax*4]
add rbx, r14
mov rsi, qword [0x0070b6f0]
mov r8d, dword [0x0070b6f8]
Function at 0x6d00a0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
add rcx, 0x10
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x60]
test rax, rax
invalid
je 0x6cff47
mov r15, qword [rcx + 0x30]
mov r8d, dword [0x0070b6ec]
mov rdx, qword gs:[0x60]
mov r9, qword [rdx + 0x18]
add r9, 0x10
mov r9, qword [r9]
mov rbx, qword [r9 + 0x60]
test rbx, rbx
je 0x6cff6f
test r8d, r8d
je 0x6cffb5
movzx edi, word [rbx]
test di, di
je 0x6cffae
add rbx, 2
xor esi, esi
lea ecx, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp cx, 0x1a
cmovae edx, edi
movzx ecx, dx
add esi, ecx
movzx edi, word [rbx]
add rbx, 2
test di, di
jne 0x6cff8e
jmp 0x6cffb0
xor esi, esi
cmp esi, r8d
jne 0x6cff6f
mov r14, qword [r9 + 0x30]
mov rcx, qword [0x0070b6bc]
mov edx, dword [rcx]
test edx, edx
je 0x6d0019
mov ebx, edx
shr ebx, 8
xor edi, edi
mov esi, edi
inc edi
cmp word [rax + rsi*2], 0
jne 0x6cffcd
inc dl
cmp dl, dil
je 0x6cffea
inc bl
cmp bl, dil
jne 0x6d0171
movzx ebx, word [rax]
xor edx, edx
test bx, bx
je 0x6d000b
add rax, 2
xor edx, edx
movzx ebx, bx
add edx, ebx
movzx ebx, word [rax]
add rax, 2
test bx, bx
jne 0x6cfffa
cmp edx, dword [rcx + 4]
je 0x6d0019
cmp edx, dword [rcx + 8]
jne 0x6d0171
mov dword [rsp + 0x2c], 0
mov edx, dword [0x0070b69c]
xor esi, esi
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.kernel32.dll_VirtualAlloc]
cmp dword [0x006d1f8b], 0
je 0x6d0064
mov rcx, qword [0x0070b6cc]
movsxd rsi, esi
mov ecx, dword [rcx + rsi]
mov dword [rax + rsi], ecx
add esi, dword [0x0070b6d4]
cmp esi, dword [0x0070b6f8]
jb 0x6d0046
test r14, r14
je 0x6d0171
movsxd rcx, dword [r14 + 0x3c]
mov r8d, dword [r14 + rcx + 0x88]
mov r9d, dword [r14 + r8 + 0x18]
test r9, r9
je 0x6d0171
mov r10d, dword [r14 + r8 + 0x20]
add r10, r14
mov r11b, byte [rax]
xor ecx, ecx
mov edi, dword [r10 + rcx*4]
cmp byte [r14 + rdi], r11b
jne 0x6d00b9
add rdi, r14
mov esi, 1
mov edx, r11d
test dl, dl
je 0x6d00c6
mov ebx, esi
mov dl, byte [rdi + rbx]
inc esi
cmp dl, byte [rax + rbx]
je 0x6d00a9
inc rcx
cmp rcx, r9
jne 0x6d0094
jmp 0x6d0171
mov eax, ecx
mov ecx, dword [r14 + r8 + 0x1c]
mov edx, dword [r14 + r8 + 0x24]
add rcx, r14
add rdx, r14
movzx eax, word [rdx + rax*2]
mov ebx, dword [rcx + rax*4]
add rbx, r14
mov rsi, qword [0x0070b6f0]
mov r8d, dword [0x0070b6f8]

Function at 0x6d00f0
Capabilities:
Terminate process

Disassembly:
mov edx, dword [0x0070b6b8]
lea r9, [rsp + 0x2c]
mov rcx, rsi
call rbx
mov rax, qword [0x0070b6dc]
mov ecx, eax
mov eax, dword [r15 + rcx + 4]
mov edx, dword [0x0070b6b8]
cmp edx, 9
jb 0x6d013b
add r15, rcx
mov ecx, 8
movsxd rcx, ecx
mov edx, dword [r15 + rcx]
add edx, eax
mov dword [rsi + rcx], edx
add ecx, dword [0x0070b6d4]
cmp ecx, dword [0x0070b6b8]
jb 0x6d0121
mov eax, dword [0x0070b6a0]
mov dword [rsi + 8], eax
lea r9, [rsp + 0x2c]
mov r8d, dword [r9]
mov edx, dword [0x0070b6b8]
mov rcx, rsi
call rbx
mov eax, dword [0x0070b6b4]
add rax, rsi
mov edx, dword [rsi + 0xc]
add rdx, rax
mov ecx, dword [0x0070b6b4]
add rcx, rsi
call rdx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_ExitProcess]