joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437f80
Capabilities:
Read file on windows

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x58
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r8d
mov qword [rsp + 0x38], r9
call sub.msvcrt.dll__get_osfhandle
mov r13, rax
mov rbx, qword [0x00448390]
mov rcx, r13
xor rdx, rdx
xor r8, r8
mov r9d, 1
call sub.kernel32.dll_SetFilePointer_1
mov edi, eax
mov rcx, r13
mov rdx, qword [0x00448390]
mov r8d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x38]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x437fec
xor rax, rax
jmp 0x4380a1
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0
jne 0x437ffe
xor rax, rax
jmp 0x4380a1
mov rax, qword [rsp + 0x38]
mov esi, dword [rax]
mov eax, esi
test eax, eax
jbe 0x438054
cmp eax, 3
jb 0x438049
cmp byte [rbx], 0xa
jne 0x43801b
cmp byte [rbx + 1], 0xd
je 0x438026
cmp byte [rbx], 0xd
jne 0x438049
cmp byte [rbx + 1], 0xa
jne 0x438049
mov byte [rbx + 2], 0
mov esi, ebx
sub esi, dword [0x00448390]
add esi, 2
mov rcx, r13
mov edx, edi
add edx, esi
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointer_1
jmp 0x438054
sub eax, 1
add rbx, 1
test eax, eax
ja 0x43800b
nop
mov rax, qword [0x00448770]
mov ecx, dword [rax]
call fcn.004334e0
mov rcx, qword [0x00448770]
mov ecx, dword [rcx]
test eax, eax
setne dl
movzx rdx, dl
mov r8, qword [0x00448390]
mov r9d, esi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
call sub.kernel32.dll_MultiByteToWideChar_1
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x438790
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov qword [rsp + 0x40], 0xffffffff80000002
mov qword [rsp + 0x48], 0xffffffff80000001
cmp byte [0x00447bd6], 0
je 0x4387bb
mov byte [0x00447bd4], 1
xor rsi, rsi
movsxd rax, esi
mov rcx, qword [rsp + rax*8 + 0x40]
lea rdx, [0x004389fc]
lea r8, [rsp + 0x98]
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x4389e3
mov dword [rsp + 0x50], 0
lea rbx, [rsp + 0x58]
mov dword [rsp + 0x54], 0x40
mov rcx, qword [rsp + 0x98]
lea rdx, [0x00438a46]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x438856
cmp dword [rsp + 0x50], 4
jne 0x43883b
cmp dword [rbx], 0
setne al
mov byte [0x00447bbe], al
jmp 0x438856
cmp dword [rsp + 0x50], 1
jne 0x438856
mov rcx, rbx
call sub.msvcrt.dll__wtol
cmp eax, 1
sete al
mov byte [0x00447bbe], al
mov rcx, qword [rsp + 0x98]
lea rdx, [0x00438a66]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4388b5
cmp dword [rsp + 0x50], 4
jne 0x43889a
cmp dword [rbx], 0
setne al
mov byte [0x00447bd4], al
jmp 0x4388b5
cmp dword [rsp + 0x50], 1
jne 0x4388b5
mov rcx, rbx
call sub.msvcrt.dll__wtol
cmp eax, 1
sete al
mov byte [0x00447bd4], al
mov rcx, qword [rsp + 0x98]
lea rdx, [0x00438a88]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x438914
cmp dword [rsp + 0x50], 4
jne 0x4388f9
cmp dword [rbx], 0
setne al
mov byte [0x00447bd5], al
jmp 0x438914
cmp dword [rsp + 0x50], 1
jne 0x438914
mov rcx, rbx
call sub.msvcrt.dll__wtol
cmp eax, 1
sete al
mov byte [0x00447bd5], al
mov rcx, qword [rsp + 0x98]
lea rdx, [0x00438aaa]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x438975
cmp dword [rsp + 0x50], 4
jne 0x438957
movzx rax, word [rbx]
mov word [0x00447bdc], ax
jmp 0x438975
cmp dword [rsp + 0x50], 1
jne 0x438975
mov rcx, rbx
lea rdx, [rsp + 0x38]
xor r8, r8
call sub.msvcrt.dll_wcstol
mov word [0x00447bdc], ax
mov rcx, qword [rsp + 0x98]
lea rdx, [0x00438ac4]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4389d6
cmp dword [rsp + 0x50], 4
jne 0x4389b8
movzx rax, word [rbx]
mov word [0x00447bde], ax
jmp 0x4389d6
cmp dword [rsp + 0x50], 1
jne 0x4389d6
mov rcx, rbx
lea rdx, [rsp + 0x38]
xor r8, r8
call sub.msvcrt.dll_wcstol
mov word [0x00447bde], ax
mov rcx, qword [rsp + 0x98]
call sub.advapi32.dll_RegCloseKey_1
add esi, 1
cmp esi, 2
jne 0x4387be
nop
mov al, 1
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x43ab90
Capabilities:
Set current directory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x258
mov rbp, rsp
mov dword [rbp + 0x24], ecx
mov qword [rbp + 0x28], 0
nop
xor rdi, rdi
mov word [rbp + 0x248], 0x3d
mov eax, dword [rbp + 0x24]
add ax, 0x40
mov word [rbp + 0x24a], ax
mov word [rbp + 0x24c], 0x3a
mov word [rbp + 0x24e], 0
xor rsi, rsi
lea rcx, [rbp + 0x248]
call fcn.00425460
mov rbx, rax
test rbx, rbx
je 0x43abfb
mov rcx, rbx
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
setne sil
test sil, sil
jne 0x43ac87
test rbx, rbx
je 0x43ac16
mov ecx, 1
call sub.kernel32.dll_SetErrorMode
mov edi, eax
movzx rax, word [rbp + 0x24a]
mov word [rbp + 0x3e], ax
movzx rax, word [rbp + 0x24c]
mov word [rbp + 0x40], ax
mov word [rbp + 0x42], 0x5c
mov word [rbp + 0x44], 0
lea rcx, [rbp + 0x248]
lea rdx, [rbp + 0x3e]
call fcn.004257d0
lea rcx, [rbp + 0x3e]
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
jne 0x43ac7b
lea rcx, [rbp + 0x28]
mov rdx, qword [0x00448370]
call fcn.0040d960
mov rcx, qword [rbp + 0x28]
xor rdx, rdx
lea r8, [rbp + 0x28]
or r9d, 0xffffffff
call fcn.0043ada0
test rbx, rbx
je 0x43ac87
mov ecx, edi
call sub.kernel32.dll_SetErrorMode
mov rcx, qword [0x00448a40]
xor rdx, rdx
call fcn.00427b90
nop
lea rcx, [rbp + 0x28]
call fcn.004098a0
lea rsp, [rbp + 0x258]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x43b5b0
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
xor rdi, rdi
mov rcx, rbx
mov edx, 1
call sub.kernel32.dll_TerminateProcess
test eax, eax
jne 0x43b5dc
call sub.kernel32.dll_GetLastError_2
mov dword [0x00447e74], eax
test esi, esi
je 0x43b5ea
mov rcx, rbx
call fcn.0043b600
mov edi, eax
mov eax, edi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x43b810
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov word [rbp + 0x28], cx
mov word [rbp + 0x2a], 0x3a
mov word [rbp + 0x2c], 0x5c
mov word [rbp + 0x2e], 0
lea rcx, [rbp + 0x28]
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x43b841
xor rax, rax
jmp 0x43b843
mov al, 1
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x43b850
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x260
mov rbp, rsp
mov word [rbp + 0x44], cx
mov word [rbp + 0x46], 0x3a
mov word [rbp + 0x48], 0x5c
mov word [rbp + 0x4a], 0
lea rcx, [rbp + 0x44]
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x43b883
mov al, 1
jmp 0x43b8e0
cmp eax, 2
je 0x43b8dd
cmp eax, 5
je 0x43b8dd
lea rcx, [rbp + 0x44]
lea rdx, [rbp + 0x4e]
mov r8d, 0x104
lea r9, [rbp + 0x258]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
jne 0x43b8dd
call sub.kernel32.dll_GetLastError_2
cmp eax, 5
jne 0x43b8dd
mov al, 1
jmp 0x43b8e0
xor rax, rax
lea rsp, [rbp + 0x260]
pop rbp
ret

Function at 0x43bed0
Capabilities:
Set console window title

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
mov rbx, rcx
test rbx, rbx
je 0x43bfce
mov rax, qword [0x00448480]
cmp qword [rax], 0
jne 0x43bfce
mov rax, qword [0x00448278]
cmp byte [rax], 0
jne 0x43bfce
mov ecx, 0x20c
call fcn.00404ae0
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x43bfce
mov rcx, qword [rbp + 0x28]
mov edx, 0x104
call sub.kernel32.dll_GetConsoleTitleW
mov esi, eax
test esi, esi
je 0x43bfce
mov rcx, rbx
call fcn.00422b70
lea rcx, [rbp + 0x28]
mov edx, esi
add edx, eax
add edx, dword [0x004660b4]
add edx, 0xa
add edx, edx
mov edx, edx
call fcn.00404b40
cmp qword [rbp + 0x28], 0
je 0x43bfce
mov rax, qword [0x004485d8]
cmp byte [rax], 0
je 0x43bf87
mov rax, qword [rbp + 0x28]
mov ecx, dword [0x004660b4]
lea rcx, [rax + rcx*2]
mov rdx, rbx
call fcn.00422b90
jmp 0x43bfbc
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0043bfd8]
call fcn.00422bb0
mov rcx, qword [rbp + 0x28]
call fcn.00422b70
mov dword [0x004660b4], eax
mov rcx, qword [rbp + 0x28]
mov rdx, rbx
call fcn.00422bb0
mov rax, qword [0x004485d8]
mov byte [rax], 1
mov rcx, qword [rbp + 0x28]
call sub.kernel32.dll_SetConsoleTitleW
mov rcx, qword [rbp + 0x28]
call fcn.00404b10
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret
Function at 0x43bfe0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x43c01b
mov rax, qword [0x00448480]
cmp qword [rax], 0
jne 0x43c01b
mov rax, qword [0x004485d8]
cmp byte [rax], 0
je 0x43c01b
call sub.kernel32.dll_SetConsoleTitleW
mov dword [0x004660b4], 0
mov rax, qword [0x004485d8]
mov byte [rax], 0
add rsp, 0x28
ret

Function at 0x43c310
Capabilities:
Encrypt data using rc6

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rcx, qword [0x00466178]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
call fcn.00404eb0
mov dword [0x004660bc], 0xb7e15163
mov ebx, 1
lea rax, [0x004660bc]
movsxd rcx, ebx
lea rdx, [0x004660b8]
movsxd r8, ebx
mov edx, dword [rdx + r8*4]
add edx, 0x9e3779b9
mov dword [rax + rcx*4], edx
add ebx, 1
cmp ebx, 0x2c
jne 0x43c343
nop
xor rbx, rbx
xor rsi, rsi
xor r13, r13
xor r14, r14
mov edi, 1
lea rax, [0x004660bc]
movsxd rcx, ebx
mov ecx, dword [rax + rcx*4]
add ecx, r13d
add ecx, r14d
mov edx, 3
call fcn.0043c160
mov r13d, eax
lea rax, [0x004660bc]
movsxd rcx, ebx
mov dword [rax + rcx*4], r13d
movsxd rax, esi
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, r13d
add ecx, r14d
mov edx, r13d
add edx, r14d
call fcn.0043c160
mov r14d, eax
movsxd rax, esi
mov dword [rsp + rax*4 + 0x20], r14d
mov eax, ebx
add eax, 1
mov ecx, 0x2c
cdq
idiv ecx
mov rbx, rdx
mov eax, esi
add eax, 1
mov ecx, 0x10
cdq
idiv ecx
mov rsi, rdx
add edi, 1
cmp edi, 0x85
jne 0x43c37f
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x14084c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14084c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14084c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084c06f
add dl, dl
jne 0x14084c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084c0f6
xor eax, eax
add dl, dl
jne 0x14084c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084c1ad
add dl, dl
jne 0x14084c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14084c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14084c07e
mov eax, 1
add dl, dl
jne 0x14084c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14084c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084c0fb
sub eax, ebx
mov ebx, 1
jne 0x14084c14c
mov ecx, 1
add dl, dl
jne 0x14084c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14084c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084c15d
cmp eax, 0x7d00
jae 0x14084c19b
cmp eax, 0x500
jb 0x14084c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084c07e
cmp eax, 0x7f
ja 0x14084c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14084c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14084c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001370
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov ecx, 0x1014
call fcn.140026458
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400013a7
xor eax, eax
jmp 0x14000146a
mov dword [rsp + 0x24], 0
jmp 0x1400013bb
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x100e
jge 0x140001424
mov byte [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov edx, 1
mov rcx, rax
call fcn.140001340
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
cmp eax, 0xc3
je 0x140001403
movzx eax, byte [rsp + 0x20]
cmp eax, 0xcc
jne 0x140001405
jmp 0x140001424
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov byte [rcx + rax + 4], dl
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x1400013b1
mov dword [rsp + 0x24], 0
jmp 0x140001438
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 7
jge 0x14000145a
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax + 4], 0xcc
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x14000142e
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x140003940
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400038f0
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x1400073c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
lea rdx, str.Waiting_for_Proc._n
lea rcx, [0x14008a830]
call fcn.1400016e0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
xor eax, eax
cmp eax, 1
je 0x140007458
mov rcx, qword [rsp + 0x80]
call fcn.140009720
mov dword [0x140069078], eax
cmp dword [0x140069078], 0
je 0x140007432
jmp 0x140007458
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x30]
cmp eax, 0x3c
jbe 0x140007456
mov dword [rsp + 0x34], 1
jmp 0x140007458
jmp 0x14000740d
cmp dword [rsp + 0x34], 0
je 0x14000747d
mov dword [rsp + 0x3c], 2
mov rcx, qword [rsp + 0x88]
call fcn.140004620
mov eax, dword [rsp + 0x3c]
jmp 0x140007523
mov edx, 0x258
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
lea rdx, str.Injecting.._n
lea rcx, [0x14008a830]
call fcn.1400016e0
mov rcx, qword [rsp + 0x88]
call fcn.140007e70
mov rdx, rax
lea rcx, str.module_____d_n
call fcn.140008360
mov rcx, qword [rsp + 0x88]
call fcn.140007e70
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x88]
call fcn.140006e20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.1400065b0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x88]
call fcn.140004620
mov eax, dword [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x140008140
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xe8
mov edx, 0xc
lea rcx, [rsp + 0xa0]
call fcn.1400097b0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140006b50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0xa0]
call fcn.1400044f0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x48], rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x12c
mov r9d, 0x258
mov r8d, dword [rsp + 0x74]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_MoveWindow]
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x98], rax
lea rcx, [0x14004871c]
call fcn.140026c50
lea rdx, str.___Loading_Driver
lea rcx, [0x14008a830]
call fcn.1400016e0
mov qword [rsp + 0x50], rax
lea rdx, [0x140003180]
mov rcx, qword [rsp + 0x50]
call fcn.1400049a0
call fcn.140009b20
test eax, eax
je 0x14000833a
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140048734]
call fcn.140026c50
lea rdx, str.ModernWarfare.exe
lea rcx, [0x140069110]
call fcn.140004970
lea rcx, [0x140069110]
call fcn.140006b50
mov qword [0x140069088], rax
lea rdx, str.___Injecting_DLL
lea rcx, [0x14008a830]
call fcn.1400016e0
mov qword [rsp + 0x58], rax
lea rdx, [0x140003180]
mov rcx, qword [rsp + 0x58]
call fcn.1400049a0
lea rcx, [rsp + 0x80]
call fcn.140003a30
nop
mov qword [rsp + 0x30], 0
jmp 0x1400082d2
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [section..data]
cmp qword [rsp + 0x30], rax
jae 0x1400082fe
lea rax, [0x14006906c]
add rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140007b60
jmp 0x1400082c5
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call fcn.140003980
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140007590
nop
lea rcx, [rsp + 0x80]
call fcn.140004620
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.140026c00
nop
add rsp, 0xe8
ret
Function at 0x140008920
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp], 0
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
mov dword [rsp], 0
jmp 0x14000896c
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jge 0x1400089d1
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
jne 0x1400089a5
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x30], rax
jb 0x1400089cf
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0x10]
cmp qword [rsp + 0x30], rax
jae 0x1400089cf
mov rax, qword [rsp + 8]
jmp 0x1400089d3
jmp 0x140008956
xor eax, eax
add rsp, 0x28
ret
Function at 0x140009720
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], 0x130
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x14000978f
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x5c]
call fcn.140029ed8
test eax, eax
jne 0x14000978d
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
jmp 0x14000975c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
add rsp, 0x168
ret
Function at 0x14001b810
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001b834
xor eax, eax
jmp 0x14001b862
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x14001b85d
xor eax, eax
jmp 0x14001b862
mov rax, qword [rsp + 8]
add rsp, 0x18
ret
Function at 0x14001c890
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
lea rcx, [0x1400539a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14001c8bd
xor al, al
jmp 0x14001cab9
mov r8, qword [rsp + 0xd0]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x90]
call fcn.14001c2c0
nop
lea rcx, [rsp + 0x90]
call fcn.140006b70
mov rdx, rax
lea rcx, [rsp + 0xb0]
call sub.ntdll.dll_RtlInitUnicodeString
mov r8, qword [rsp + 0xd0]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x70]
call fcn.14001c2c0
nop
lea rcx, [rsp + 0x70]
call fcn.140006b70
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14001c990
cmp dword [rsp + 0x24], 2
jne 0x14001c969
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x70]
call fcn.140004520
nop
lea rcx, [rsp + 0x90]
call fcn.140004520
movzx eax, byte [rsp + 0x20]
jmp 0x14001cab9
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x70]
call fcn.140004520
nop
lea rcx, [rsp + 0x90]
call fcn.140004520
movzx eax, byte [rsp + 0x21]
jmp 0x14001cab9
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xb0]
call qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
lea rdx, str.___NtUnloadDriver_Status_0x
lea rcx, [0x14008a9c0]
call fcn.140009d80
mov qword [rsp + 0x50], rax
lea rdx, [0x140016250]
mov rcx, qword [rsp + 0x50]
call fcn.14000e2c0
mov qword [rsp + 0x58], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
call fcn.140018b90
mov qword [rsp + 0x60], rax
lea rdx, [0x14000c9d0]
mov rcx, qword [rsp + 0x60]
call fcn.1400049a0
cmp dword [rsp + 0x28], 0
je 0x14001ca4e
lea rdx, str.____Driver_Unload_Failed__
lea rcx, [0x14008a9c0]
call fcn.140009d80
mov qword [rsp + 0x68], rax
lea rdx, [0x14000c9d0]
mov rcx, qword [rsp + 0x68]
call fcn.1400049a0
lea rcx, [rsp + 0x70]
call fcn.140006b70
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14001ca97
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x70]
call fcn.140004520
nop
lea rcx, [rsp + 0x90]
call fcn.140004520
movzx eax, byte [rsp + 0x22]
jmp 0x14001cab9
mov byte [rsp + 0x23], 1
lea rcx, [rsp + 0x70]
call fcn.140004520
nop
lea rcx, [rsp + 0x90]
call fcn.140004520
movzx eax, byte [rsp + 0x23]
add rsp, 0xc8
ret