joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004500
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14003a200]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
lea rdx, [rcx + 0xb0]
cmp qword [rdx + 0x18], 8
jb 0x140004545
mov rdx, qword [rdx]
or rbp, 0xffffffffffffffff
xor ebx, ebx
cmp word [rdx], bx
jne 0x140004555
mov r8d, ebx
jmp 0x14000456a
mov r8, rbp
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], bx
jne 0x140004560
lea rsi, [rcx + 0x110]
mov rcx, rsi
call fcn.1400051d0
mov r8d, 0x12
lea rdx, str.PuddingDesktop.ini
mov rcx, rsi
call fcn.140004f20
lea r14, [0x140025a4c]
mov qword [rsp + 0x20], r14
lea r9, str.Spreader
lea r8, str.AppInfo
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140001e10
nop
add rdi, 0x130
lea rax, [rsp + 0x38]
cmp rdi, rax
je 0x1400045da
mov r9, rbp
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140005090
cmp qword [rdi + 0x18], 8
jb 0x1400045e6
mov rcx, qword [rdi]
jmp 0x1400045e9
mov rcx, rdi
mov r9, qword [rdi + 0x10]
mov r8d, 2
cmp r9, r8
cmovb r8, r9
test r8, r8
je 0x140004629
mov rdx, r14
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x14000461a
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x140004602
jmp 0x140004629
mov r8d, 1
cmp word [rcx], ax
cmovb r8d, ebp
jmp 0x14000462c
mov r8d, ebx
test r8d, r8d
jne 0x1400046ab
cmp r9, 2
jne 0x1400046ab
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140010590
cmp qword [rsi + 0x18], 8
jb 0x140004653
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
mov r8, r14
lea rdx, str.Spreader
lea rcx, str.AppInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rsp + 0x60], 0
je 0x14000469a
lea rax, [rsp + 0x60]
mov rbx, rbp
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140004690
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400051d0
nop
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x1400046c8
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140005320
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000d1c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140005550
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
or r8, 0xffffffffffffffff
mov rbx, rcx
mov rdi, r8
nop dword [rax]
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x140005570
lea eax, [rdi + 1]
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.14000d2b4
mov rsi, rax
sub rax, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
mov word [rax + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x1400055a0
xor r14d, r14d
movsxd rdi, edi
mov ebx, r14d
lea ebp, [r14 + 1]
test rdi, rdi
js 0x14000560f
mov qword [rsp + 0x40], r15
mov r15d, 0x5c
nop dword [rax]
cmp word [rsi + rbx*2], r15w
jne 0x1400055fd
mov rcx, rsi
mov word [rsi + rbx*2], r14w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400055f8
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140005607
mov word [rsi + rbx*2], r15w
inc rbx
cmp rbx, rdi
jle 0x1400055d0
jmp 0x14000560a
mov ebp, r14d
mov r15, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14000d2bc
mov rbx, qword [rsp + 0x48]
mov eax, ebp
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140005fa0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14003a200]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
test rcx, rcx
jne 0x140005fe3
xor eax, eax
jmp 0x140006172
mov qword [rsp + 0x60], 7
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
cmp word [rcx], bx
jne 0x140006002
mov r8d, ebx
jmp 0x140006010
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], bx
jne 0x140006006
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1400051d0
nop
lea rcx, [rsp + 0x48]
call fcn.140007060
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x70]
call fcn.140010590
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140006153
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140006149
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
cmp word [rbp - 0x64], 0
jne 0x14000608d
mov r8, rbx
jmp 0x1400060a0
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140006095
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.1400051d0
nop
lea rcx, [rsp + 0x28]
call fcn.140007060
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x28]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x40]
cmp rdi, 8
cmovae rcx, r14
mov r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
call fcn.140004ce0
test eax, eax
je 0x14000611d
cmp rdi, 8
jb 0x14000610b
lea r8, [rdi + 1]
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.140005320
lea rdx, [rsp + 0x70]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x140006066
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x78]
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140006153
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140005320
jmp 0x140006153
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140006170
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140005320
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14000d1c0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140006b10
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14003a200]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
nop dword [rax]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140010590
lea rcx, [rsp + 0x20]
mov r8, rdi
test ebx, ebx
jne 0x140006b6c
lea rdx, [0x140025c08]
call fcn.1400072e0
jmp 0x140006b7b
mov r9d, ebx
lea rdx, str._s.bak_d
call fcn.1400072e0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140006b95
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140013f68
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 5]
test eax, eax
jne 0x140006bdd
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp ebx, 0xa
jge 0x140006bf2
inc ebx
jmp 0x140006b40
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000d1c0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140006c20
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
xor ebp, ebp
lea rax, [r11 - 0x28]
mov rsi, r9
mov qword [r11 - 0x28], rbp
mov rdi, r8
mov qword [r11 - 0x20], rbp
mov rbx, rcx
mov qword [r11 - 0x18], rbp
mov r9d, 0xf013f
mov qword [r11 - 0x10], rbp
xor r8d, r8d
mov qword [r11 - 0x58], rax
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006d80
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov r9d, 0xf013f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftWare
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006d75
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rbp
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rdx, rbx
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140006d6a
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rbp
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rdx, rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140006d5f
mov rcx, qword [rsp + 0xa0]
or rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x140006d22
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140006da0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x70
xor r14d, r14d
lea rax, [r11 - 0x18]
mov rbx, r9
mov qword [r11 - 0x18], r14
mov rbp, r8
mov qword [r11 - 0x20], r14
mov rsi, rdx
mov qword [r11 - 0x28], r14
mov rdi, rcx
mov qword [r11 - 0x58], rax
mov r9d, 0xf013f
lea rdx, str.SoftWare
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006ee4
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140006ed9
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rsi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140006e89
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
jmp 0x140006ede
or rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x140006e90
lea ecx, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140006f00
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x70
xor r14d, r14d
lea rax, [r11 - 0x18]
mov rbx, r9
mov qword [r11 - 0x18], r14
mov rbp, r8
mov qword [r11 - 0x20], r14
mov rsi, rdx
mov qword [r11 - 0x28], r14
mov rdi, rcx
mov qword [r11 - 0x58], rax
mov r9d, 0xf013f
lea rdx, str.SoftWare
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007044
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140007039
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rsi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x140006fe9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
jmp 0x14000703e
or rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x140006ff0
lea ecx, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14000ad10
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
jne 0x14000ad36
xor eax, eax
add rsp, 0x20
pop rbx
ret
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.IsWow64Process
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.Wow64DisableWow64FsRedirection
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.Wow64RevertWow64FsRedirection
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.GetSystemWow64DirectoryW
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140025be8]
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
je 0x14000ad2e
lea rdx, str.Wow64RevertWow64FsRedirection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.Wow64RevertWow64FsRedirection
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14000adf0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r8, rdx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
mov rax, rbx
setne dl
mov dword [rbx + 8], edx
add rsp, 0x20
pop rbx
ret
Function at 0x14000ae70
Capabilities:
Check if file exists
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rsi
lea rbp, [rsp - 0xba8]
sub rsp, 0xca8
mov rax, qword [0x14003a200]
xor rax, rsp
mov qword [rbp + 0xb80], rax
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x208
call fcn.140010590
lea r8, [0x140026300]
mov edx, 0x104
lea rcx, [rbp + 0x370]
call fcn.1400149cc
xor edx, edx
lea rcx, [rbp + 0x790]
mov r8d, 0x3e8
call fcn.140010590
lea r8, [rbp + 0x370]
lea rdx, str._sgswb.log
lea rcx, [rbp + 0x160]
call fcn.1400054f0
xor edx, edx
lea rcx, [rbp + 0x580]
mov r8d, 0x208
call fcn.140010590
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140010590
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.14000fa68
xor esi, esi
lea rcx, [rbp + 0x160]
mov word [rax], si
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000b0fd
mov qword [rsp + 0xca0], rbx
lea rcx, [rsp + 0x50]
or rbx, 0xffffffffffffffff
mov qword [rsp + 0xc98], rdi
mov rax, rbx
mov qword [rsp + 0xc90], r14
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x14000af90
lea r8, [rsp + 0x52]
mov edx, 0x104
lea r8, [r8 + rax*2]
lea rcx, [rbp + 0x580]
call fcn.1400149cc
lea r9, [rbp + 0x580]
lea r8, [rbp + 0x370]
lea rdx, str._s_s.txt
lea rcx, [rbp + 0x160]
call fcn.1400054f0
lea rdi, [rbp + 0xbc8]
call fcn.140005480
mov rcx, qword [rbp + 0xbc0]
lea rdx, [rbp + 0x790]
mov r9d, 0x1f3
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
lea r8d, [r9 + 1]
call fcn.14001346c
lea rcx, [rbp + 0x160]
mov word [rbp + 0xb76], si
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r14d, 1
lea rdx, [0x140026340]
test eax, eax
lea rcx, [rbp + 0x160]
cmovne esi, r14d
call fcn.140014b18
mov rdi, rax
test rax, rax
je 0x14000b0e5
test esi, esi
jne 0x14000b072
mov eax, 0xfeff
lea r8d, [r14 + 1]
mov r9, rdi
mov word [rsp + 0x44], ax
mov edx, r14d
lea rcx, [rsp + 0x44]
call fcn.140014948
lea rax, [rbp + 0x790]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000b080
add ebx, ebx
lea rcx, [rbp + 0x790]
movsxd r8, ebx
mov r9, rdi
mov rdx, r14
call fcn.140014948
mov eax, 0xd
lea rcx, [rsp + 0x40]
mov r9, rdi
mov word [rsp + 0x40], ax
mov rdx, r14
lea r8d, [rax - 0xb]
call fcn.140014948
mov eax, 0xa
lea rcx, [rsp + 0x40]
mov r9, rdi
mov word [rsp + 0x40], ax
mov rdx, r14
lea r8d, [rax - 8]
call fcn.140014948
mov rcx, rdi
call fcn.14001469c
mov rdi, qword [rsp + 0xc98]
mov rbx, qword [rsp + 0xca0]
mov r14, qword [rsp + 0xc90]
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.14000d1c0
add rsp, 0xca8
pop rsi
pop rbp
ret
Function at 0x14000c000
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x490
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x14003a200]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.140010590
movups xmm0, xmmword [str.PuddingDesktop]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [0x1400256e0]
movsd qword [rsp + 0x70], xmm1
mov eax, dword [0x1400256e8]
mov dword [rsp + 0x78], eax
movzx eax, word [0x1400256ec]
mov word [rsp + 0x7c], ax
lea rcx, [rsp + 0x60]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14000c070
movups xmm0, xmmword [str.DeleteMoniter]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1400264a8]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1400264b0]
mov dword [rcx + 0x18], eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000adf0
nop
lea rcx, [rsp + 0x40]
call fcn.14000ae60
test eax, eax
je 0x14000c174
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c174
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140025c98]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c162
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x270]
call fcn.140010590
lea r8, [0x1400268ac]
lea rdx, str._sMoniter
lea rcx, [rsp + 0x270]
call fcn.140005490
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
jmp 0x14000c176
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.14000ae30
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000d1c0
add rsp, 0x490
pop rbx
ret
Function at 0x140017a54
Capabilities:
Parse pe header

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, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140017828
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017828
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140017828
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140017828
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140017828
cmp dword [rcx + 0x84], 0xe
jbe 0x140017828
cmp dword [rcx + 0xf8], esi
je 0x140017828
mov ecx, r14d
call fcn.140017970
mov ecx, 2
call fcn.140014b6c
nop
cmp byte [0x14003c688], 0
jne 0x1400178f2
mov r15d, 1
mov eax, r15d
xchg dword [0x14003c678], eax
test ebx, ebx
jne 0x14001789b
mov rdi, qword [0x14003a200]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14003c680]
cmp rcx, rax
je 0x140017892
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000e160]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14003c8c0]
jmp 0x1400178a7
cmp ebx, r15d
jne 0x1400178ad
lea rcx, [0x14003c8d8]
call fcn.1400183c0
nop
test ebx, ebx
jne 0x1400178c4
lea rdx, [0x140025490]
lea rcx, [0x140025470]
call fcn.1400186d8
lea rdx, [0x1400254a0]
lea rcx, [0x140025498]
call fcn.1400186d8
movzx eax, byte [0x14003c688]
test esi, esi
cmove eax, r15d
mov byte [0x14003c688], al
jmp 0x1400178f2
mov ecx, 2
call fcn.140014bc0
test esi, esi
jne 0x140017909
mov ecx, r14d
call fcn.140017924
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400177b8
Function at 0x1400723f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x140107080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x98]
mov ecx, eax
call fcn.1400b9354
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x1400724f0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x140072582
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0xa8]
lea rcx, [0x14010b3e8]
call fcn.14008cf50
lea rax, [0x14010b3e8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
movzx eax, byte [rsp + 0xb0]
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x1400724e6
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400b8fb0
cmp qword [rsp + 0x50], 0
jne 0x1400725a9
mov qword [rsp + 0x78], 0
jmp 0x1400725bc
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b8f90
add rsp, 0xd8
ret