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

Disassembly:
jmp 0x1400d76d0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x60], 0
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.140003d2d
mov rcx, qword [rsp + 0xa0]
add rcx, 0x60
lea r8, [0x1402314e4]
mov rdx, rax
call qword [sym.imp.MSVCR120D.dll__wfopen_s]
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x60], 0
jne 0x1400d776d
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0xc0]
call fcn.1400053e9
mov eax, dword [rsp + 0x38]
jmp 0x1400d7932
mov r8d, recv
xor edx, edx
lea rcx, [rsp + 0x48]
call sub.MSVCR120D.dll_memset
mov r8d, 0x28
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.MSVCR120D.dll_memset
mov eax, 0x4d42
mov word [rsp + 0x48], ax
xor eax, eax
mov word [rsp + 0x4e], ax
xor eax, eax
mov word [rsp + 0x50], ax
cmp dword [rsp + 0xb8], 0
je 0x1400d77bd
mov dword [rsp + 0x24], 1
jmp 0x1400d77c5
mov dword [rsp + 0x24], 3
mov eax, dword [rsp + 0xa8]
imul eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
imul eax, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
add rax, 0x36
mov dword [rsp + 0x4a], eax
mov dword [rsp + 0x52], getservbyport
mov dword [rsp + 0x58], 0x28
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x60], eax
mov eax, 1
mov word [rsp + 0x64], ax
cmp dword [rsp + 0xb8], 0
je 0x1400d7851
mov dword [rsp + 0x28], 8
jmp 0x1400d7859
mov dword [rsp + 0x28], 0x18
movzx eax, word [rsp + 0x28]
mov word [rsp + 0x66], ax
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x70], 0xec4
mov dword [rsp + 0x74], 0xec4
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x60]
mov r8d, 1
mov edx, recv
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCR120D.dll_fwrite]
cmp rax, 1
je 0x1400d78d6
mov dword [rsp + 0x2c], 0
mov rcx, qword [rsp + 0xc0]
call fcn.1400053e9
mov eax, dword [rsp + 0x2c]
jmp 0x1400d7932
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x60]
mov r8d, 1
mov edx, 0x28
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCR120D.dll_fwrite]
cmp rax, 1
je 0x1400d7919
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0xc0]
call fcn.1400053e9
mov eax, dword [rsp + 0x34]
jmp 0x1400d7932
mov dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0xc0]
call fcn.1400053e9
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x98
ret
Function at 0x140005be1
Capabilities:
Send data

Disassembly:
jmp 0x1400bb960
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call fcn.140002d51
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.140001ba4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400bb9c5
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x28]
call fcn.1400053e9
mov eax, dword [rsp + 0x4c]
jmp 0x1400bbaa7
lea rcx, [rsp + 0x50]
call fcn.1400037e7
nop
lea rcx, [rsp + 0x28]
call fcn.140002b08
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400023ce
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400bba1a
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x50]
call fcn.140004179
nop
lea rcx, [rsp + 0x28]
call fcn.1400053e9
mov eax, dword [rsp + 0x38]
jmp 0x1400bbaa7
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x40]
call sub.MSVCR120D.dll_strlen
lea r9, [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400bba75
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x50]
call fcn.140004179
nop
lea rcx, [rsp + 0x28]
call fcn.1400053e9
mov eax, dword [rsp + 0x34]
jmp 0x1400bbaa7
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
call fcn.140002658
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x50]
call fcn.140004179
nop
lea rcx, [rsp + 0x28]
call fcn.1400053e9
mov eax, dword [rsp + 0x48]
add rsp, 0x88
ret
Function at 0x140005d1c
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14005f2d0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
and rax, 0xffff
cwde
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x78]
shr rax, 0x10
and rax, 0xffff
cwde
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
add rax, 8
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140005425
cmp eax, 0xffffffff
je 0x14005f388
cmp dword [rsp + 0x38], 8
jne 0x14005f388
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x14005f388
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x28]
call fcn.1400020d1
mov rax, qword [rsp + 0x80]
mov dword [rax], 0
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x50
pop rdi
ret
Function at 0x1400060f0
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x140064230
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400059f2
mov rax, qword [rsp + 0x2b0]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rsp + 0x2b8]
mov rax, qword [rsp + 0x2b0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call fcn.14000385a
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140064317
cmp dword [rsp + 0x40], 2
je 0x1400642fc
cmp dword [rsp + 0x40], 3
je 0x1400642fc
lea rcx, [0x140291b70]
call fcn.140003972
mov dword [rsp + 0x4c], eax
mov r8d, 0x18d1
lea rdx, [0x14021cad0]
lea rcx, [rsp + 0x78]
call fcn.1400057f9
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x2b8]
mov qword [rsp + 0x20], rcx
lea r9, str.CRegKey::RecurseDeleteKey_:_Failed_to_Open_Key__s_Error___d__n
xor r8d, r8d
mov ecx, dword [rsp + 0x4c]
mov edx, ecx
mov rcx, rax
call fcn.140002392
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x58]
call fcn.140004d22
mov eax, dword [rsp + 0x54]
jmp 0x1400643d5
mov dword [rsp + 0x44], 0x100
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400643a4
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.1400060f0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140064397
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x58]
call fcn.140004d22
mov eax, dword [rsp + 0x48]
jmp 0x1400643d5
mov dword [rsp + 0x44], 0x100
jmp 0x14006431f
lea rcx, [rsp + 0x58]
call fcn.140003a4e
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2b0]
call fcn.1400034ef
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140004d22
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x2a8
ret

Function at 0x14000c630
Capabilities:
Get system information on windows

Disassembly:
jmp 0x14000c630
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [rsp + 0x70]
mov rcx, rax
call fcn.140002d51
nop
mov rax, qword [rsp + 0x70]
add rax, 0x20
mov rcx, rax
call fcn.140004a2a
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x14000ca00
Capabilities:
Read file via mapping

Disassembly:
jmp 0x14000ca00
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor edx, edx
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
div dword [rcx + 0x10]
mov eax, edx
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
mov edx, 6
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 0x20
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14000342c
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
add rsp, 0x58
ret

Function at 0x140016560
Capabilities:
Read .ini file

Disassembly:
jmp 0x140016560
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x860
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov dword [rsp + 0x30], 0
movzx eax, word [0x1402155f8]
mov word [rsp + 0x50], ax
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x878]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x50]
lea r8, [0x1402155fc]
mov rdx, qword [rsp + 0x888]
mov rcx, qword [rsp + 0x880]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140002b67
nop
lea r8, [0x140215600]
lea rdx, [0x140215604]
lea rcx, [rsp + 0x38]
call fcn.1400042dc
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call fcn.140001a7d
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.1400053e9
mov rax, qword [rsp + 0x870]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x860
pop rdi
ret
Function at 0x140016eb0
Capabilities:
Create directory
Get file attributes

Disassembly:
jmp 0x140016eb0
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
lea rcx, [rsp + 0x28]
call fcn.140002d51
nop
xor r8d, r8d
mov dx, 0x3a
mov rcx, qword [rsp + 0x80]
call fcn.140005420
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x140016ef7
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
mov dx, VarDateFromDisp
mov rcx, qword [rsp + 0x80]
call fcn.140005420
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140016f34
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x28]
call fcn.140001451
jmp 0x140016f74
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
call fcn.140001edd
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.140001451
nop
lea rcx, [rsp + 0x50]
call fcn.1400053e9
lea rcx, [rsp + 0x28]
call fcn.140002b08
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x140016fca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140016fca
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x28]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x80]
call fcn.1400053e9
mov eax, dword [rsp + 0x34]
jmp 0x14001704e
lea rcx, [rsp + 0x28]
call fcn.140002b08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
and eax, 0x10
test eax, eax
jne 0x140017012
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x80]
call fcn.1400053e9
mov eax, dword [rsp + 0x30]
jmp 0x14001704e
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14001701b
jmp 0x14001702a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140016eff
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x28]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x80]
call fcn.1400053e9
mov eax, dword [rsp + 0x38]
add rsp, 0x78
ret
Function at 0x140022f60
Capabilities:
Get file size
Get file system object information

Disassembly:
jmp 0x140022f60
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x338
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x348]
mov qword [rax], 0
lea rdx, str.Unknown
mov rcx, qword [rsp + 0x350]
call fcn.140004624
mov rax, qword [rsp + 0x358]
mov qword [rax], 0
mov qword [rsp + 0x40], 0xffffffffffffffff
mov rax, qword [rsp + 0x340]
add rax, 8
mov rcx, rax
call fcn.140002b08
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x140023020
xor eax, eax
jmp 0x1400230b2
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14002304b
mov rax, qword [rsp + 0x358]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x340]
add rax, 8
mov rcx, rax
call fcn.140002b08
mov dword [rsp + 0x20], 0x701
mov r9d, 0x2b8
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
lea rdx, [rsp + 0x278]
mov rcx, qword [rsp + 0x350]
call fcn.140004624
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x338
ret
Function at 0x140024090
Capabilities:
Get file size

Disassembly:
jmp 0x140024090
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rcx, [rsp + 0x68]
call fcn.140002d51
nop
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0
jmp 0x1400240e1
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xa0]
call fcn.140003f35
cmp dword [rsp + 0x40], eax
jge 0x1400241f9
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call fcn.140004ea8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 8
xor edx, edx
mov rcx, rax
call fcn.140003d2d
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002b67
nop
lea rcx, [rsp + 0x58]
call fcn.140002b08
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140024185
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x1400240d7
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400241be
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x1400240d7
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x1400240d7
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x68]
call fcn.1400053e9
mov rax, qword [rsp + 0x78]
add rsp, 0x98
ret
Function at 0x140028fe0
Capabilities:
Get file size

Disassembly:
jmp 0x140028fe0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x88]
call fcn.140002e55
nop
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rcx, [rsp + 0x80]
call fcn.140002d51
nop
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x128]
add rax, 0xf8
lea rdx, [rsp + 0xd8]
mov rcx, rax
call fcn.1400011f9
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x88]
call fcn.1400047cd
nop
lea rcx, [rsp + 0xd8]
call fcn.14000614a
jmp 0x1400290ad
xor r8d, r8d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x88]
call fcn.1400047eb
lea rcx, [rsp + 0xc0]
call fcn.14000614a
mov rax, qword [rsp + 0x128]
add rax, 0xf8
lea rdx, [rsp + 0xf0]
mov rcx, rax
call fcn.1400022f7
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.1400017d0
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0xf0]
call fcn.14000614a
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140029203
lea rcx, [rsp + 0x88]
call fcn.1400040de
add rax, 0x10
xor edx, edx
mov rcx, rax
call fcn.140003d2d
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002b67
nop
lea rcx, [rsp + 0x58]
call fcn.140002b08
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14002918f
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x140029088
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400291c8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x140029088
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.1400053e9
jmp 0x140029088
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x80]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x88]
call fcn.14000614a
mov rax, qword [rsp + 0x70]
add rsp, 0x118
ret
Function at 0x140054530
Capabilities:
Delete registry key

Disassembly:
jmp 0x140054530
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x140054584
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x140214388]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1682
lea rdx, [0x140215fa0]
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x140054584
int3
xor eax, eax
test eax, eax
jne 0x14005453e
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x1400545b6
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.140003198
jmp 0x140054639
movzx eax, byte [0x140291c41]
test eax, eax
jne 0x1400545fb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400545f4
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140291c38], rax
mov byte [0x140291c41], 1
cmp qword [0x140291c38], 0
je 0x140054626
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [0x140291c38]
jmp 0x140054639
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x48
ret

Function at 0x140054690
Capabilities:
Delete registry value

Disassembly:
jmp 0x140054690
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x1400546e4
lea rax, str.m_hKey___0
mov qword [rsp + 0x28], rax
lea rax, [0x140214388]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x16ab
lea rdx, [0x140215fa0]
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x1400546e4
int3
xor eax, eax
test eax, eax
jne 0x14005469e
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x38
ret
Function at 0x14005b830
Capabilities:
Get graphical window text

Disassembly:
jmp 0x14005b830
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14005b890
lea rax, str.::IsWindow_m_hWnd_
mov qword [rsp + 0x28], rax
lea rax, [0x140214388]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3bc
lea rdx, [0x14021e6b0]
mov ecx, 2
call qword [sym.imp.MSVCR120D.dll__CrtDbgReportW]
cmp eax, 1
jne 0x14005b890
int3
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_GetWindowTextW]
add rsp, 0x38
ret