joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455265
Capabilities:
Delete file
Get file size
Move file
Set file attributes

Disassembly:
mov eax, 0x4e0841
call fcn.004daf98
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocString
push dword [0x51ffd4]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x455307
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4552a9
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp edi, 0x80000
jb 0x455306
mov eax, dword [0x51ffd4]
add eax, 0xfffffff0
call fcn.00407666
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.0045537f
mov edi, dword [ebp - 0x10]
mov ebx, dword [0x51ffd4]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push ebx
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
lea eax, [edi - 0x10]
call fcn.0040763c
pop edi
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x455682
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4e0a2a
call fcn.004daf98
sub esp, 0x2f4
push ebx
push esi
push edi
xor esi, esi
push 0xd2
lea eax, [ebp - 0xee]
push esi
push eax
mov word [ebp - 0xf0], si
call fcn.00497210
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x69
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
cmp eax, esi
jne 0x4556cd
xor eax, eax
jmp 0x455791
cdq
and edx, 3
add eax, edx
mov edi, eax
push 0x208
lea eax, [ebp - 0x2fe]
push esi
push eax
sar edi, 2
mov word [ebp - 0x300], si
call fcn.00497210
mov word [ebp - 0xf8], si
mov esi, dword [ebp + 8]
add esp, 0xc
add esi, 4
lea ebx, [ebp - 0xf0]
call fcn.00455e0a
test edi, edi
jle 0x45578e
mov dword [ebp - 0x10], edi
and word [ebx + 4], 0
push 0x104
lea eax, [ebp - 0x300]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
je 0x455786
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00407fa9
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov edi, esi
call fcn.00451383
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040763c
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00407fa9
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.00451383
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040763c
add ebx, 8
dec dword [ebp - 0x10]
jne 0x455713
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4557c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x455849
push 0x4f951c
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x455849
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.EnumProcessModules
push eax
call edi
push str.EnumProcesses
push dword [esi + 0x18]
mov dword [esi + 8], eax
call edi
push str.GetModuleBaseNameW
push dword [esi + 0x18]
mov dword [esi], eax
call edi
push 0x4f9568
push dword [esi + 0x18]
mov dword [esi + 4], eax
call edi
push 0x4f9580
push dword [esi + 0x18]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x10], eax
pop edi
je 0x455844
cmp dword [esi + 4], ebx
je 0x455844
cmp dword [esi + 8], ebx
je 0x455844
cmp dword [esi + 0xc], ebx
je 0x455844
cmp eax, ebx
je 0x455844
xor eax, eax
inc eax
jmp 0x455846
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
pop ebx
ret
Function at 0x455a1e
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4dfb9c
call fcn.004daf98
sub esp, 0x224
push ebx
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x22e]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x18], esi
mov word [ebp - 0x230], si
call fcn.00497210
xor ecx, ecx
add esp, 0xc
inc ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00408ffe
push 0x4f4a38
push eax
mov dword [ebp - 4], esi
call fcn.00407898
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
inc bl
call fcn.0040763c
test bl, bl
je 0x455bf4
mov ebx, 0x4f959c
push ebx
call fcn.0049795c
mov esi, str.SystemRoot_
push esi
mov dword [ebp - 0x1c], eax
call fcn.0049795c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.00408ffe
push ebx
push eax
mov dword [ebp - 4], 1
call fcn.00407898
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
inc bl
call fcn.0040763c
test bl, bl
je 0x455b0d
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
sub ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov eax, edi
call fcn.00408f63
mov dword [ebp - 4], 2
call fcn.00407a9f
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
jmp 0x455bc3
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.00408ffe
push esi
push eax
mov dword [ebp - 4], 3
call fcn.00407898
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
inc bl
call fcn.0040763c
test bl, bl
je 0x455bcb
push 0x104
lea eax, [ebp - 0x230]
push eax
push str._SystemRoot_
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
inc ecx
mov eax, edi
call fcn.00408f63
mov esi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 4
call fcn.00407fa9
lea ecx, [ebp - 0x20]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00408d0a
pop ecx
pop ecx
mov byte [ebp - 4], 6
call fcn.00407a9f
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.0040763c
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
cmp ecx, 3
jg 0x455bde
mov esi, edi
call fcn.00407a5f
jmp 0x455bfb
cmp ecx, 1
jge 0x455bed
push 0x80070057
call fcn.00407a47
cmp word [eax + 2], 0x3a
jne 0x455bd5
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x455c0d
Capabilities:
Terminate process

Disassembly:
push esi
push dword [esp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x455c37
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x456154
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4dfc47
call fcn.004daf98
push ecx
push ecx
push esi
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x10]
call fcn.00408800
pop ecx
mov dword [ebp - 4], edi
call fcn.0045d654
cmp eax, 2
lea eax, [ebp - 0x10]
jne 0x456185
push str.explugin64.dll
jmp 0x45618a
push str.explugin.dll
push eax
call fcn.00408f40
mov eax, dword [0x51e6c8]
mov ecx, 0x51e6c8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s___s_
call fcn.00408fb3
mov esi, dword [ebp - 0x14]
pop ecx
pop ecx
push edi
push edi
push esi
push str.regsvr32
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
call fcn.0040763c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4561f1
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x456277
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x45623c
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call fcn.004561f1
cmp eax, esi
pop ecx
pop ecx
mov dword [esp + 0x14], eax
jne 0x45627d
lea eax, [esp + 0x18]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
mov dword [esp + 0x30], 0x200
call edi
test eax, eax
je 0x456224
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
jmp 0x456277
Function at 0x45778d
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x4577a5
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x457795
ret 8

Function at 0x457892
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4e0841
call fcn.004daf98
sub esp, 0x10
mov eax, dword [0x51e6c8]
or dword [ebp - 0x18], 0xffffffff
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x51e6c8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
push eax
push ecx
push edi
call fcn.00454b14
push edi
mov ebx, eax
call fcn.0049c188
add esp, 0x10
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
movzx eax, word [esi + 0x34]
push edx
push dword [ebp - 0x14]
push ebx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s_d__x__x__x.ich
call fcn.00408fb3
mov ebx, dword [esi + 0x1c]
mov esi, dword [esi + 0x14]
add esp, 0x18
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x457960
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push esi
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x45794f
cmp dword [ebp + 8], ebx
jne 0x45794f
mov dword [ebp - 0x14], 1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x457960
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x457eb0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4e093a
call fcn.004daf98
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x206
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x21e]
push ebx
mov dword [ebp - 0x18], ebx
push eax
mov word [ebp - 0x220], bx
call fcn.00497210
add esp, 0xc
mov ecx, 0x51e6c8
call fcn.00407fec
xor edi, edi
inc edi
push edi
push 0x23
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x18], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
lea eax, [ebp - 0x220]
jne 0x457f7c
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
cmp eax, ebx
je 0x457fd6
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.004080b5
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov eax, esi
call fcn.00408f63
mov dword [ebp - 4], edi
mov edi, 0x4f4a38
push edi
push eax
call fcn.00407898
test eax, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.0040763c
cmp byte [ebp - 0xd], bl
je 0x457f75
push edi
push esi
call fcn.00408f40
push str.All_UsersApplication_Data_
jmp 0x457fbd
push eax
push esi
call fcn.004080b5
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov eax, esi
call fcn.00408f63
mov edi, 0x4f4a38
push edi
push eax
mov dword [ebp - 4], 2
call fcn.00407898
test eax, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.0040763c
cmp byte [ebp - 0xd], bl
je 0x457fc3
push edi
push esi
call fcn.00408f40
push str.keniucleaner_askich_
push esi
call fcn.00408f40
push dword [esi]
call fcn.0040892c
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4581f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x45828e
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
mov ebx, str.svrid
push ebx
push eax
call edi
cmp dword [ebp - 8], 1
je 0x458235
cmp dword [ebp - 8], 2
jne 0x45828c
push esi
mov esi, dword [ebp + 0xc]
call fcn.00407a5f
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004078e4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push ebx
push dword [eax]
call edi
test eax, eax
jne 0x45828b
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x45827d
push eax
call fcn.0049795c
pop ecx
mov edx, esi
call fcn.004078c3
mov dword [ebp - 0xc], 1
pop esi
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x458295
Capabilities:
Set registry value

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x4582c4
push dword [esp + 8]
call fcn.0049795c
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
push 1
push edi
push str.svrid
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4582c4
inc edi
mov eax, edi
pop edi
ret 4
Function at 0x458a12
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4e0907
call fcn.004daf98
sub esp, 0xe0
mov eax, dword [0x51e6c8]
push ebx
push esi
push edi
mov edi, 0x51e6c8
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x24], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x51e6c8]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0xc6
lea eax, [ebp - 0xea]
push ebx
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0xec], bx
call fcn.00497210
mov eax, dword [0x51e6c8]
add esp, 0xc
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x51e6c8]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 3
call fcn.004089cc
pop ecx
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00407a9f
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, edi
call fcn.00407613
mov eax, edi
lea edi, [ebp - 0x20]
call fcn.00407a9f
push str.ressrcchsuplive.svr
lea eax, [ebp - 0x18]
push eax
call fcn.00408f40
push str.ressrcchs_asmain.ini
mov eax, edi
push eax
call fcn.00408f40
push dword [ebp - 0x18]
lea eax, [ebp - 0xec]
push 0x64
push eax
mov esi, 0x4f4a74
push esi
push str.Version
push str.Common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
cmp eax, ebx
je 0x458bfd
lea eax, [ebp - 0xec]
push eax
call fcn.0049795c
pop ecx
lea ecx, [ebp - 0xec]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00407ae0
lea eax, [ebp - 0x10]
call fcn.00407613
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x1c]
push eax
push 2
pop edx
lea eax, [ebp - 0x10]
call fcn.00408e0b
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00407a9f
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040763c
push esi
push 0x4f4a60
mov eax, edi
push eax
call fcn.00455c3b
push esi
push 0x4f9d2c
mov eax, edi
push eax
call fcn.00455c3b
push dword [ebp - 0x20]
lea eax, [ebp - 0xec]
push 0x64
push eax
push esi
push 0x4f99a0
push str.infos
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
test eax, eax
je 0x458bfd
lea eax, [ebp - 0xec]
push eax
call fcn.0049795c
pop ecx
lea ecx, [ebp - 0xec]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00407ae0
lea eax, [ebp - 0x1c]
push eax
push 6
pop ecx
lea eax, [ebp - 0x10]
call fcn.00408f63
mov byte [ebp - 4], 6
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00408dba
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040763c
push dword [ebp - 0x14]
call fcn.00498372
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040763c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4590aa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push 0x2021f
push str.CLSID558C959A_AB09_4EF0_844C_E10ED84FE622Implemented_CategoriesEE0A176B_5824_4D75_8141_1360410920F9
xor edi, edi
push SysReAllocString
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
call fcn.0045937a
test eax, eax
je 0x4590e2
cmp dword [ebp - 4], edi
je 0x4590de
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x459152
push dword [esi + 0xc]
lea eax, [ebp - 4]
push 0x4f9acc
push eax
call fcn.00459340
test eax, eax
jne 0x4590d0
push dword [esi + 0x10]
lea eax, [ebp - 4]
push 0x4f9dcc
push eax
call fcn.00459340
mov eax, dword [esi]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4f96e4
push dword [ebp - 4]
call edi
mov eax, dword [esi + 8]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.user_type
push dword [ebp - 4]
call edi
cmp dword [ebp - 4], 0
je 0x45914f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
leave
ret

Function at 0x459322
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x45a616
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x10
mov esi, eax
mov eax, dword [ebp + 0x14]
pop edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], eax
jb 0x45a6da
mov eax, dword [ebp + 0xc]
shr eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, esi
sub ecx, eax
sub edx, eax
mov dword [ebp - 4], 4
mov ebx, dword [ecx + eax]
xor ebx, dword [eax]
mov dword [edx + eax], ebx
add eax, 4
dec dword [ebp - 4]
jne 0x45a64e
push dword [ebp + 0x10]
push esi
push esi
call fcn.00459b2d
sub dword [ebp + 0xc], edi
add dword [ebp + 8], edi
mov dword [ebp - 4], esi
add esp, 0xc
add esi, edi
dec dword [ebp - 8]
jne 0x45a63b
jmp 0x45a6da
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 8], edx
mov edx, esi
xor ecx, ecx
sub edx, eax
cmp ecx, dword [ebp + 0xc]
jae 0x45a6a4
mov ebx, dword [ebp - 8]
mov bl, byte [eax + ebx]
xor bl, byte [eax]
inc ecx
mov byte [eax + edx], bl
inc eax
cmp ecx, edi
jb 0x45a68e
cmp ecx, edi
jae 0x45a6bd
mov ebx, dword [ebp - 4]
mov eax, edi
sub ebx, esi
lea edx, [ecx + esi]
sub eax, ecx
mov cl, byte [ebx + edx]
mov byte [edx], cl
inc edx
dec eax
jne 0x45a6b4
push dword [ebp + 0x10]
push esi
push esi
call fcn.00459b2d
add esp, 0xc
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], esi
jbe 0x45a6e0
sub dword [ebp + 0xc], edi
add dword [ebp + 8], edi
add esi, edi
cmp dword [ebp + 0xc], 0
jne 0x45a67d
push edi
push dword [ebp - 4]
push dword [ebp + 0x14]
call fcn.00498c30
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45a6f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
cmp esi, ebx
push edi
je 0x45a763
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
push 0x10
pop edi
cmp eax, edi
jb 0x45a751
shr eax, 4
mov dword [esp + 0xc], eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.0045a0a8
add esp, 0xc
mov ecx, esi
push 4
mov eax, ebx
sub ecx, ebx
pop edx
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
dec edx
jne 0x45a735
mov esi, dword [ebp + 8]
sub dword [ebp + 0xc], edi
add dword [ebp + 8], edi
add ebx, edi
dec dword [esp + 0xc]
jne 0x45a71d
push edi
push esi
push dword [ebp + 0x14]
call fcn.00498c30
add esp, 0xc
jmp 0x45a7e4
cmp dword [ebp + 0xc], 0x10
jb 0x45a7e1
lea eax, [esp + 0x18]
mov edi, ebx
sub edi, eax
sub esi, eax
mov eax, dword [ebp + 0xc]
shr eax, 4
mov dword [esp + 0x10], eax
shl eax, 4
add ebx, eax
push dword [ebp + 0x10]
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
call fcn.0045a0a8
add esp, 0xc
and dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
shl eax, 2
mov edx, dword [esp + eax + 0x18]
lea ecx, [esi + eax]
mov ecx, dword [esp + ecx + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x14]
add ecx, eax
xor edx, dword [ecx]
add eax, edi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
mov dword [esp + eax + 0x18], edx
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
jb 0x45a79a
push 0x10
pop eax
sub dword [ebp + 0xc], eax
add dword [ebp + 8], eax
add esi, eax
add edi, eax
dec dword [esp + 0x10]
jne 0x45a782
push 0x10
pop edi
cmp dword [ebp + 0xc], 0
je 0x45a882
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, ecx
sub ebx, eax
mov dword [esp + 0xc], ebx
sub esi, eax
push dword [ebp + 0x10]
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
call fcn.0045a0a8
add esp, 0xc
xor eax, eax
cmp eax, dword [ebp + 0xc]
jae 0x45a84d
mov bl, byte [esp + eax + 0x18]
mov edi, dword [esp + 0xc]
lea ecx, [esi + eax]
mov dl, byte [esp + ecx + 0x18]
mov ecx, dword [esp + 0x14]
add ecx, eax
lea ecx, [esp + ecx + 0x18]
xor bl, byte [ecx]
add edi, eax
mov byte [esp + edi + 0x18], bl
push 0x10
inc eax
pop edi
cmp eax, edi
mov byte [ecx], dl
jb 0x45a81d
cmp dword [ebp + 0xc], edi
jbe 0x45a866
sub dword [ebp + 0xc], edi
add dword [ebp + 8], edi
add dword [esp + 0xc], edi
add esi, edi
cmp dword [ebp + 0xc], 0
jne 0x45a808
jmp 0x45a882
cmp eax, edi
jae 0x45a882
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
lea edx, [eax + ecx]
sub esi, ecx
mov ecx, edi
sub ecx, eax
mov al, byte [esi + edx]
mov byte [edx], al
inc edx
dec ecx
jne 0x45a879
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret