joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400599c9
Capabilities:
Write file on windows

Disassembly:
jmp 0x14007e920
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140159080]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1401b1131]
call fcn.14005c363
cmp qword [rbp + 0x150], 0
jne 0x14007e984
mov al, 1
jmp 0x14007ea72
mov rax, qword [rbp + 0x140]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14007e9b8
mov eax, dword [str.JagG]
add eax, 5
mov r8d, eax
lea rdx, str.C:Users_flappydubDesktopIonDiscord_RPCSourceFilesconnection_win.cpp
lea rcx, str.self
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
cmp qword [rbp + 8], 0
jne 0x14007e9c6
xor al, al
jmp 0x14007ea72
mov rax, qword [rbp + 8]
cmp qword [rax + 8], 0xffffffffffffffff
jne 0x14007e9d8
xor al, al
jmp 0x14007ea72
cmp qword [rbp + 0x148], 0
jne 0x14007ea04
mov eax, dword [str.JagG]
add eax, 0xc
mov r8d, eax
lea rdx, str.C:Users_flappydubDesktopIonDiscord_RPCSourceFilesconnection_win.cpp
lea rcx, str.data
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
cmp qword [rbp + 0x148], 0
jne 0x14007ea12
xor al, al
jmp 0x14007ea72
mov eax, dword [rbp + 0x150]
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x14007ea61
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x44], eax
jne 0x14007ea61
mov dword [rbp + 0x114], 1
jmp 0x14007ea6b
mov dword [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14011a3a0]
call fcn.14005b9c7
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14005a892
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140059aeb
Capabilities:
Create thread

Disassembly:
jmp 0x1400c29b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140159080]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1401b1641]
call fcn.14005c363
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140059fb9
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14005a92d
nop
lea rax, [0x14005b13e]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14005b25b
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1400c2a8a
lea rcx, [rbp + 8]
call fcn.14005a617
jmp 0x1400c2aa3
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140059c17
nop
lea rcx, [rbp + 8]
call fcn.14005a52c
lea rcx, [rbp - 0x30]
lea rdx, [0x140131870]
call fcn.14005b9c7
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.14005a892
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

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

Disassembly:
jmp 0x140088770
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401b1243]
call fcn.14005c363
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x138
jne 0x1400887ac
mov rcx, qword [rbp + 0x100]
call fcn.140059983
jmp 0x1400887c7
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jb 0x1400887c7
mov rcx, qword [rbp + 0x100]
call fcn.14005a982
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov rax, qword [rcx + rax*8 + 8]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shr rax, 0x1d
mov rcx, qword [rbp + 0x100]
and rax, qword [rcx + 0x1388]
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rax, rcx
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shl rax, 0x25
movabs rcx, 0xfff7eee000000000
and rax, rcx
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
shr rax, 0x2b
mov rcx, qword [rbp + 8]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140059e79
Capabilities:
Get common file path

Disassembly:
jmp 0x140104e40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x438
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x458]
mov rax, qword [0x140159080]
xor rax, rbp
mov qword [rbp + 0x408], rax
mov dword [rbp + 0x3f4], 0
lea rcx, [0x1401b1da3]
call fcn.14005c363
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
je 0x140104ecd
cmp dword [rbp + 0x234], 0x105
jbe 0x140104ef8
lea rdx, [0x14011c0c0]
mov rcx, qword [rbp + 0x430]
call fcn.14005a13a
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x430]
jmp 0x140104f6a
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
movzx eax, word [rbp + rax*2 + 0xe]
cmp eax, 0x5c
jne 0x140104f44
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0x20a
jae 0x140104f31
jmp 0x140104f36
call fcn.14005b495
xor eax, eax
mov rcx, qword [rbp + 0x3d8]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x430]
call fcn.14005a13a
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x430]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1401412f0]
call fcn.14005b9c7
mov rax, rdi
mov rcx, qword [rbp + 0x408]
xor rcx, rbp
call fcn.14005a892
lea rsp, [rbp + 0x418]
pop rdi
pop rbp
ret

Function at 0x14005a5ea
Capabilities:
Check for debugger via api

Disassembly:
jmp 0x1400b2690
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140159080]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1401b1503]
call fcn.14005c363
mov qword [rbp + 8], 0xffffffffffffffff
mov dword [rbp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp + 0x24], 0
je 0x1400b2717
mov dword [rbp + 0x124], 0
lea rdx, [rbp + 0x124]
lea rcx, [rbp + 0x104]
call fcn.1400597bc
lea rcx, [rbp - 0x20]
lea rdx, [0x140122700]
call fcn.14005b9c7
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.14005a892
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14005a982
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14008b280
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401b1243]
call fcn.14005c363
mov qword [rbp + 8], 0x137
mov qword [rbp + 0x28], 0x9c
mov qword [rbp + 0x48], 0
jmp 0x14008b2c4
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0x9c
jae 0x14008b36d
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
and rax, 1
test rax, rax
je 0x14008b32c
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x14008b337
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0x68]
shr rax, 1
xor rax, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor rax, qword [rcx + rdx*8 + 0xea8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14008b2b9
mov qword [rbp + 0x88], 0x9c
jmp 0x14008b38b
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x137
jae 0x14008b44c
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
and rax, 1
test rax, rax
je 0x14008b402
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x14008b40d
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0xa8]
shr rax, 1
xor rax, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14008b37a
mov qword [rbp + 0xc8], 0x137
mov eax, 8
imul rax, rax, 0x26f
mov rcx, qword [rbp + 0x1e0]
mov rax, qword [rcx + rax + 8]
and rax, 0xffffffff80000000
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov rcx, qword [rdx + rcx + 8]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
and rax, 1
test rax, rax
je 0x14008b4be
movabs rax, 0xb5026f5aa96619e9
mov qword [rbp + 0x1b8], rax
jmp 0x14008b4c9
mov qword [rbp + 0x1b8], 0
mov rax, qword [rbp + 0xe8]
shr rax, 1
xor rax, qword [rbp + 0x1b8]
mov ecx, 8
imul rcx, rcx, 0x9b
mov rdx, qword [rbp + 0x1e0]
xor rax, qword [rdx + rcx + 8]
mov ecx, 8
imul rcx, rcx, 0x137
mov rdx, qword [rbp + 0x1e0]
mov qword [rdx + rcx + 8], rax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14005a9b4
Capabilities:
Read file on windows
Read pipe

Disassembly:
jmp 0x14007e6c0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140159080]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1401b1131]
call fcn.14005c363
cmp qword [rbp + 0x168], 0
jne 0x14007e73e
mov eax, dword [0x140159004]
inc eax
mov r8d, eax
lea rdx, str.C:Users_flappydubDesktopIonDiscord_RPCSourceFilesconnection_win.cpp
lea rcx, str.data
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
cmp qword [rbp + 0x168], 0
jne 0x14007e74f
xor al, al
jmp 0x14007e86d
mov rax, qword [rbp + 0x160]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14007e783
mov eax, dword [0x140159004]
add eax, 6
mov r8d, eax
lea rdx, str.C:Users_flappydubDesktopIonDiscord_RPCSourceFilesconnection_win.cpp
lea rcx, str.self
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
cmp qword [rbp + 8], 0
jne 0x14007e791
xor al, al
jmp 0x14007e86d
mov rax, qword [rbp + 8]
cmp qword [rax + 8], 0xffffffffffffffff
jne 0x14007e7a3
xor al, al
jmp 0x14007e86d
mov dword [rbp + 0x24], 0
mov qword [rsp + 0x28], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14007e85f
mov eax, dword [rbp + 0x24]
cmp rax, qword [rbp + 0x170]
jb 0x14007e85d
mov eax, dword [rbp + 0x170]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x64], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x168]
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x14007e851
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0x44], eax
je 0x14007e84b
mov eax, dword [0x140159004]
add eax, 0x13
mov r8d, eax
lea rdx, str.C:Users_flappydubDesktopIonDiscord_RPCSourceFilesconnection_win.cpp
lea rcx, str.bytesToRead__bytesRead
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
mov al, 1
jmp 0x14007e86d
mov rcx, qword [rbp + 0x160]
call fcn.14005ac43
jmp 0x14007e86b
mov rcx, qword [rbp + 0x160]
call fcn.14005ac43
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14011a470]
call fcn.14005b9c7
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.14005a892
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x14005ac70
Capabilities:
Terminate process

Disassembly:
jmp 0x140107320
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14005acc0
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140104cc0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1401b1da3]
call fcn.14005c363
mov rcx, qword [rbp + 0x180]
call fcn.14005a6fd
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x140104d3b
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x140104de3
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.14005a33d
test eax, eax
jne 0x140104dde
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.14005a6fd
cmp qword [rbp + 8], rax
jne 0x140104dde
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x140104da8
xor eax, eax
jmp 0x140104de5
cmp qword [rbp + 0x190], 0
je 0x140104dc5
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x140104de5
jmp 0x140104d33
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14005af4f
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1400af1f0
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140159080]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1401b1503]
call fcn.14005c363
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400af247
jmp 0x1400af2a2
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x124]
call fcn.1400ac4f0
mov rcx, rax
call fcn.14005b148
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400af27c
jmp 0x1400af2a2
lea r9, [rbp + 0x44]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400af29b
jmp 0x1400af2a2
mov rax, qword [rbp + 0x28]
mov byte [rax], 0xc3
lea rcx, [rbp - 0x20]
lea rdx, [0x140122c60]
call fcn.14005b9c7
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14005a892
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14005af6d
Capabilities:
Delete registry key

Disassembly:
jmp 0x140101d30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x308]
mov rax, qword [0x140159080]
xor rax, rbp
mov qword [rbp + 0x2b0], rax
lea rcx, [0x1401b1aca]
call fcn.14005c363
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140101d98
xor al, al
jmp 0x140101f76
mov r8, qword [rbp + 0x2e0]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x28]
call fcn.14005c7dc
nop
lea rcx, [rbp + 0x28]
call fcn.14005a185
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.14005c11f
mov r8, qword [rbp + 0x2e0]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0xb8]
call fcn.14005c7dc
nop
lea rcx, [rbp + 0xb8]
call fcn.14005a185
lea r8, [rbp + 0x98]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x140101e6d
cmp dword [rbp + 0xf4], 2
jne 0x140101e44
mov byte [rbp + 0x214], 1
lea rcx, [rbp + 0xb8]
call fcn.14005bb25
nop
lea rcx, [rbp + 0x28]
call fcn.14005bb25
movzx eax, byte [rbp + 0x214]
jmp 0x140101f76
mov byte [rbp + 0x234], 0
lea rcx, [rbp + 0xb8]
call fcn.14005bb25
nop
lea rcx, [rbp + 0x28]
call fcn.14005bb25
movzx eax, byte [rbp + 0x234]
jmp 0x140101f76
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
mov qword [rbp + 0x2a8], rax
lea rcx, [rbp + 0x68]
call qword [rbp + 0x2a8]
mov dword [rbp + 0x134], eax
cmp dword [rbp + 0x134], 0
je 0x140101f01
lea rcx, [rbp + 0xb8]
call fcn.14005a185
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0xf4], eax
mov byte [rbp + 0x254], 0
lea rcx, [rbp + 0xb8]
call fcn.14005bb25
nop
lea rcx, [rbp + 0x28]
call fcn.14005bb25
movzx eax, byte [rbp + 0x254]
jmp 0x140101f76
lea rcx, [rbp + 0xb8]
call fcn.14005a185
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x140101f52
mov byte [rbp + 0x274], 0
lea rcx, [rbp + 0xb8]
call fcn.14005bb25
nop
lea rcx, [rbp + 0x28]
call fcn.14005bb25
movzx eax, byte [rbp + 0x274]
jmp 0x140101f76
mov byte [rbp + 0x294], 1
lea rcx, [rbp + 0xb8]
call fcn.14005bb25
nop
lea rcx, [rbp + 0x28]
call fcn.14005bb25
movzx eax, byte [rbp + 0x294]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140140de0]
call fcn.14005b9c7
mov rax, rdi
mov rcx, qword [rbp + 0x2b0]
xor rcx, rbp
call fcn.14005a892
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret
Function at 0x14005b0b2
Capabilities:
Get geographical location

Disassembly:
jmp 0x14010aa40
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14010aa7d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14005c336
add rsp, 0x58
ret
Function at 0x14005b34b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140108f50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140108f70
xor al, al
jmp 0x140108ff1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140108f83
xor al, al
jmp 0x140108ff1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140108fad
xor al, al
jmp 0x140108ff1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140108fc1
xor al, al
jmp 0x140108ff1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140108fd3
xor al, al
jmp 0x140108ff1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140108fef
xor al, al
jmp 0x140108ff1
mov al, 1
add rsp, 0x38
ret
Function at 0x14005b3b9
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400b0230
push rbp
push rdi
sub rsp, 0x5a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xfe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140159080]
xor rax, rbp
mov qword [rbp + 0x568], rax
mov qword [rbp + 0x558], rsp
lea rcx, [0x1401b1503]
call fcn.14005c363
lea rcx, [0x140124f80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x4e8]
lea rcx, [rbp + 0x4c4]
call fcn.1400ac720
mov rcx, rax
call fcn.140059631
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
xor edx, edx
mov ecx, 2
call fcn.14005a824
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x70], 0x238
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
call fcn.14005aee6
mov byte [rbp + 0x2c4], 0
mov qword [rbp + 0x2e8], 0
mov dword [rbp + 0x304], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x324], eax
mov eax, dword [rbp + 0x78]
cmp dword [rbp + 0x324], eax
jne 0x1400b031b
lea rdx, [0x1400b03eb]
mov rcx, qword [rbp + 0x558]
call fcn.140059b4a
mov r8d, dword [rbp + 0x78]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x2e8], rax
cmp qword [rbp + 0x2e8], 0
jne 0x1400b0350
lea rdx, [0x1400b03eb]
mov rcx, qword [rbp + 0x558]
call fcn.140059b4a
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rbp + 0x304]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x1400b038e
lea rdx, [0x1400b03eb]
mov rcx, qword [rbp + 0x558]
call fcn.140059b4a
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
cmp dword [rbp + 0x304], eax
je 0x1400b03d4
mov byte [rbp + 0x2c4], 1
mov dword [rbp + 0x534], 0
lea rdx, [rbp + 0x534]
lea rcx, [rbp + 0x514]
call fcn.14005b9ea
lea rdx, [0x1400b0400]
mov rcx, qword [rbp + 0x558]
call fcn.140059b4a
nop
cmp qword [rbp + 0x2e8], 0
je 0x1400b03eb
mov rcx, qword [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
call fcn.14005bb57
test eax, eax
jne 0x1400b02fd
cmp qword [rbp + 0x48], 0
je 0x1400b0411
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x30]
lea rdx, [0x140122ac0]
call fcn.14005b9c7
mov rcx, qword [rbp + 0x568]
xor rcx, rbp
call fcn.14005a892
lea rsp, [rbp + 0x578]
pop rdi
pop rbp
ret