joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4146dd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4977b8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044f0d0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x414737
cmp dword [ebp - 0x108], 2
jne 0x414737
cmp dword [ebp - 0x114], 5
jne 0x414737
mov al, 1
jmp 0x414739
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a9a4
leave
ret

Function at 0x414958
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469297
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4977b8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, vtable.ATL::CAccessToken.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0xa8], 1
call fcn.004148c0
mov byte [esp + 0xa8], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [esp + 0x10]
push ecx
push 1
mov edi, 0x2000a
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x414a12
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x414a2d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x10]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4149fd
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x414a54
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
jmp 0x414a58
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x414a75
cmp dword [esp + 0x10], 0
setne bl
lea ecx, [esp + 0x34]
call fcn.00414841
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.00414917
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00414917
mov al, bl
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0044a9a4
mov esp, ebp
pop ebp
ret
Function at 0x41630a
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4692d0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x28a8
call fcn.0045cd80
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x28a4], eax
push esi
push edi
mov eax, dword [0x4977b8]
xor eax, esp
push eax
lea eax, [esp + 0x28b8]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x18], 0x2880
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea esi, [esp + 0x2c]
cmp dword [esi + 0x1a0], 6
jne 0x41640b
movzx eax, byte [esi + 0x19b]
push eax
movzx eax, byte [esi + 0x19a]
push eax
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [esp + 0x34]
push str._02x__02x__02x__02x__02x__02x__02x__02x
push eax
call fcn.0042a994
and dword [esp + 0x28e8], 0
cmp dword [esp + 0x50], 0x10
lea eax, [esi + 0x10c]
push eax
lea ecx, [esp + 0x40]
cmovae ecx, dword [esp + 0x40]
push ecx
lea eax, [edi + 0x150]
push str.MAC:__s_Name:__s
push eax
call fcn.00408d80
or dword [esp + 0x28f8], 0xffffffff
add esp, 0x38
lea ecx, [esp + 0x14]
call fcn.00407d52
mov esi, dword [esi]
test esi, esi
jne 0x41636c
mov ecx, dword [esp + 0x28b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28a4]
xor ecx, esp
call fcn.0044a9a4
mov esp, ebp
pop ebp
ret
Function at 0x419815
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469b40
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4977b8]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x150]
push str.deploySelf
push edi
call fcn.00408d80
cmp byte [ebp + 8], 0
pop ecx
pop ecx
je 0x419a2b
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004197ad
xor ebx, ebx
mov dword [esp + 0x290], ebx
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
push str.Bootstrapper::deploySelf___Final_file_path_S
push edi
call fcn.00408d80
add esp, 0xc
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4199ad
push str._PathFileExists
push edi
call fcn.00408d80
pop ecx
pop ecx
push str.Error_when_getting_bootstrapper_filename_for_selfDeploy
lea ecx, [esp + 0x60]
call fcn.00407cc8
push 0x104
lea eax, [esp + 0x78]
push eax
push ebx
mov byte [esp + 0x29c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x419904
lea ecx, [esp + 0x5c]
call fcn.00427e7f
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], bl
call fcn.00407d52
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
call fcn.00408227
mov byte [esp + 0x290], 2
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
push str.GetModuleFileName:__S
push edi
call fcn.00408d80
add esp, 0xc
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
cmp dword [esp + 0x40], 8
lea edx, [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
push eax
mov ecx, edi
call fcn.0042821d
cmp dword [esp + 0x2c], 8
pop ecx
lea ecx, [esp + 0x14]
cmovae ecx, dword [esp + 0x14]
cmp dword [esp + 0x40], 8
push ecx
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
push str.Copy:_from___S_to__S
push edi
call fcn.00408d80
add esp, 0x10
lea ecx, [esp + 0x2c]
push ebx
push 1
mov byte [esp + 0x298], bl
call fcn.00409522
jmp 0x4199ba
push str.PathFileExists
push edi
call fcn.00408d80
pop ecx
pop ecx
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0xa8]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xe4]
mov byte [esp + 0x290], 4
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
cmp dword [eax + 0x14], 8
jb 0x4199fe
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.004182fa
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00409522
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.00409522
push ebx
push 1
lea ecx, [esp + 0x1c]
call fcn.00409522
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0044a9a4
mov esp, ebp
pop ebp
ret 4
Function at 0x419a51
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x469a13
call fcn.0044fc53
mov esi, ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x419a9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x419a9e
push esi
lea eax, [ebp - 0x28]
push str.CreateDirectory__S_failed
push eax
call fcn.0042a994
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
call fcn.00427e7f
lea ecx, [ebp - 0x28]
call fcn.00407d52
call fcn.0044fc02
ret
Function at 0x41c228
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4977b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0xa8]
cmp dword [eax + 0x14], 8
jb 0x41c252
mov eax, dword [eax]
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push edi
push 1
lea ecx, [ebp - 0x1c]
call fcn.00409522
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
movsd xmm0, qword [0x485b30]
mov dword [ebp - 0x28], eax
mov eax, ecx
and ecx, 0x7fffffff
mov dword [ebp - 0x24], ecx
fild qword [ebp - 0x28]
and eax, 0x80000000
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
fild qword [ebp - 0x28]
fchs
faddp st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fstp qword [ebp - 0x30]
comisd xmm0, xmmword [ebp - 0x30]
ja 0x41c2bb
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044a9a4
leave
ret
mov ecx, dword [esi + 0x11c]
push edi
mov eax, dword [ecx]
push str.There_is_not_enough_room_on_your_disk_to_install_Roblox._Please_free_up_some_space_and_try_again.
call dword [eax + 0x1c]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x24], str.InstallerError
call fcn.0044a9ea
push 0x48ad8c
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], vtable.installer_error_exception.0
mov dword [ebp - 0x3c], 5
call fcn.0044fb93
int3
Function at 0x41ede3
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469b96
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x4977b8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edx, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.004281fe
and dword [esp + 0x88], 0
cmp dword [eax + 0x14], 0x10
jb 0x41ee41
mov eax, dword [eax]
push eax
lea eax, [esi + 0x150]
push str.ERROR:__s
push eax
call fcn.00408d80
or dword [esp + 0x94], 0xffffffff
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00407d52
lea ebx, [esi + 0x70]
push 0x18
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
pop edi
cdq
idiv edi
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x41ef28
cmp byte [esi + 0x4b], al
je 0x41ef28
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
push eax
lea ecx, [esp + 0x34]
call fcn.00408227
xor edi, edi
inc edi
lea edx, [esp + 0x30]
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], edi
call fcn.0042a731
push eax
mov edx, str.An_error_occurred_while_starting
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 2
call fcn.0040aa1a
pop ecx
lea ecx, [esp + 0x48]
call fcn.00407d52
push 0
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 5
call fcn.00409522
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 0x11c]
cmp dword [esp + 0x2c], 0x10
mov eax, dword [ecx]
mov esi, dword [ebx]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
call dword [eax + 4]
push eax
push edi
mov ecx, ebx
call dword [esi + 0x1c]
or dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00407d52
mov ebx, dword [esp + 0x14]
push 0x18
pop edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x60]
call fcn.004281fe
mov esi, eax
mov dword [esp + 0x88], 6
mov ecx, dword [ebx + 4]
cmp esi, ecx
jae 0x41ef71
cmp dword [ebx], esi
ja 0x41ef71
sub esi, dword [ebx]
mov eax, esi
cdq
idiv edi
mov esi, eax
cmp ecx, dword [ebx + 8]
jne 0x41ef63
push ecx
mov ecx, ebx
call fcn.0042082f
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41ef8b
imul esi, esi, 0x18
add esi, dword [ebx]
jmp 0x41ef85
cmp ecx, dword [ebx + 8]
jne 0x41ef7e
push ecx
mov ecx, ebx
call fcn.0042082f
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41ef8b
push esi
call fcn.00407cf7
add dword [ebx + 4], edi
lea ecx, [esp + 0x60]
call fcn.00407d52
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0044a9a4
mov esp, ebp
pop ebp
ret 4
Function at 0x41f138
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x46a02d
call fcn.0044fc20
mov esi, ecx
push 0x800
xor edi, edi
push edi
push edi
push 0xf001f
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x41f19f
lea ecx, [ebp - 0x10]
call fcn.00427ea6
mov dword [ebp - 4], edi
push dword [eax]
lea eax, [esi + 0x150]
push str.Could_not_map_view_of_file:__S
push eax
call fcn.00408d80
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0040e8ff
cmp dword [esi + 0x34], edi
je 0x41f19b
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x34], edi
mov al, 1
jmp 0x41f1b4
mov esi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call sub.KERNEL32.dll_GetCurrentProcessId
xor ecx, ecx
cmp esi, eax
sete al
call fcn.0044fbee
ret
Function at 0x41f557
Capabilities:
Delete file

Disassembly:
push 0x6c
mov eax, 0x469cdc
call fcn.0044fc53
mov esi, ecx
lea edi, [esi + 0x150]
push str.Bootstrapper::forceMFCStudioCleanup___deleteCurVersionKeys
push edi
call fcn.00408d80
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00428a65
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
jb 0x41f58d
mov eax, dword [eax]
mov dl, byte [esi + 0x4d]
push eax
mov ecx, edi
call fcn.00428630
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.00409522
mov ecx, esi
call fcn.0041f6aa
mov al, byte [esi + 0x4d]
mov byte [ebp - 0x78], al
push dword [ebp - 0x78]
lea eax, [ebp - 0x5c]
push eax
call fcn.0041a3e7
xor esi, esi
inc esi
push str.RobloxStudioLauncher.exe
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], esi
call fcn.00408227
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0042219b
pop ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.Bootstrapper::forceMFCStudioCleanup___deleting_studio_stub:__S
push edi
call fcn.00408d80
add esp, 0xc
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
call fcn.0042b382
test al, al
je 0x41f62c
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00409522
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00409522
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00409522
call fcn.0044fc02
ret

Function at 0x42618c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4261e5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4261d6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4261d2
cmp esi, ecx
jae 0x4261d6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x4261c2
cmp esi, ecx
jb 0x4261da
xor eax, eax
jmp 0x4261e4
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4266ef
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042664d
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x42670f
mov eax, dword [edi]
jmp 0x426711
mov eax, edi
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp + 8], eax
test eax, eax
je 0x4267a1
push eax
call fcn.004472df
mov dword [esi + 4], eax
cmp dword [edi + 0x14], 8
pop ecx
jb 0x426735
mov edi, dword [edi]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4267a1
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x10]
push eax
push 0x479c28
push dword [esi + 4]
mov dword [ebp + 8], ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4267a1
lea eax, [ebp + 8]
push eax
lea edi, [esi + 8]
push edi
push str.VarFileInfoTranslation
push dword [esi + 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42679c
mov eax, dword [ebp + 8]
cmp eax, 4
jb 0x42679c
mov ecx, dword [edi]
shr eax, 2
mov dword [esi + 0xc], eax
mov ax, word [ecx]
mov word [esi], ax
mov ax, word [ecx + 2]
mov word [esi + 2], ax
xor ebx, ebx
inc ebx
jmp 0x4267b2
cmp dword [esi + 4], ebx
je 0x4267b2
push dword [esi + 4]
call fcn.0044b378
pop ecx
mov dword [esi + 4], ebx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x4280ad
Capabilities:
Delete registry key

Disassembly:
push 0x28
mov eax, 0x46b0b4
call fcn.0044fc53
mov edi, edx
mov dword [ebp - 0x30], ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4280ed
mov dword [ebp - 0x30], str.Attempt_to_delete_a_null_key
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.0044a9ea
push 0x48a8c0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::runtime_error.0
call fcn.0044fb93
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408227
cmp dword [eax + 0x10], 0
push 0
push 1
lea ecx, [ebp - 0x2c]
sete bl
call fcn.00409522
test bl, bl
je 0x428116
mov dword [ebp - 0x30], str.Attempt_to_delete_an_empty_key
jmp 0x4280cc
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jns 0x428149
lea ecx, [ebp - 0x34]
call fcn.00427ea6
and dword [ebp - 4], 0
push dword [eax]
push esi
push str.Failed_to_delete_key__S__S
push dword [ebp - 0x30]
call fcn.00408d80
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.0040e8ff
call fcn.0044fc02
ret
Function at 0x428630
Capabilities:
Delete registry value

Disassembly:
push 0x30
mov eax, 0x46b2f8
call fcn.0044fc53
mov bl, dl
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push str.deleteCurVersionKeys
push edi
mov dword [ebp - 4], eax
call fcn.00408d80
xor eax, eax
pop ecx
test bl, bl
sete al
pop ecx
push 0x20006
push 0x477a98
lea ecx, [ebp - 0x3c]
add eax, 0x80000001
push eax
call fcn.0040c70f
mov esi, dword [ebp - 0x3c]
test eax, eax
js 0x4286e1
push str.deleteCurVersionKeys___key_Opened
push edi
call fcn.00408d80
mov ebx, dword [ebp - 0x30]
pop ecx
pop ecx
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.00428534
cmp dword [eax + 0x14], 8
jb 0x4286a9
mov eax, dword [eax]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
push esi
call edi
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409522
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.004285b2
cmp dword [eax + 0x14], 8
jb 0x4286d1
mov eax, dword [eax]
push eax
push esi
call edi
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409522
test esi, esi
je 0x4286ec
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0044fc02
ret
Function at 0x4296a7
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x46b32d
call fcn.0044fc53
mov edi, edx
mov esi, ecx
push edi
push str.deleteDesktopShortcut____S
push esi
call fcn.00408d80
xor ebx, ebx
push ebx
push ebx
push ebx
push 6
pop edx
lea ecx, [ebp - 0x2c]
call fcn.0042ae9a
add esp, 0x18
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
je 0x429744
push section..data
lea ecx, [ebp - 0x30]
call fcn.0040e8d6
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push edi
push eax
lea eax, [ebp - 0x30]
push str._s_s.lnk
push eax
call fcn.00421a47
mov ecx, dword [ebp - 0x30]
add esp, 0x10
call fcn.0042b382
test al, al
je 0x42973c
push dword [ebp - 0x30]
push str.deleteDesktopShortcut____S
push esi
call fcn.00408d80
add esp, 0xc
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
lea ecx, [ebp - 0x30]
call fcn.0040e8ff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409522
mov al, bl
call fcn.0044fc02
ret

Function at 0x429758
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x46b362
call fcn.0044fc53
mov bl, dl
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
push str.deleteProgramsShortcut____S
push esi
call fcn.00408d80
xor edx, edx
test bl, bl
sete dl
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
add edx, 3
call fcn.0042ae9a
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x4297f9
push section..data
lea ecx, [ebp - 0x2c]
call fcn.0040e8d6
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push edi
push eax
lea eax, [ebp - 0x2c]
push str._s_s.lnk
push eax
call fcn.00421a47
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
call fcn.0042b382
test al, al
je 0x4297f1
push dword [ebp - 0x2c]
push str.deleteProgramsShortcut____S
push esi
call fcn.00408d80
add esp, 0xc
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call fcn.0040e8ff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409522
call fcn.0044fc02
ret
Function at 0x429a6e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b4d5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4977b8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
mov ecx, dword [eax + 4]
add ecx, esi
push edi
mov edx, dword [ecx + 0xc]
and edx, 0xfffffffe
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], edi
cmove edx, eax
push edx
call fcn.004017ca
push 1
push esi
lea ecx, [esp + 0x14]
call fcn.004260de
mov dword [esp + 0x38], edi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 0xc], 6
jne 0x429b2c
mov ecx, dword [ecx + esi + 0x38]
push 1
push dword [ebp + 0x10]
mov eax, dword [ecx]
push edi
push edi
lea edx, [esp + 0x24]
push edx
call dword [eax + 0x28]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
adc ecx, dword [esp + 0x20]
cmp eax, dword [0x4717f0]
jne 0x429b2c
cmp ecx, dword [0x4717f4]
jne 0x429b2c
mov eax, dword [esi]
push edi
mov ecx, dword [eax + 4]
add ecx, esi
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], edi
cmove edx, eax
push edx
call fcn.004017ca
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx + 0x38]
test ecx, ecx
je 0x429b47
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a220
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28a0
call fcn.0045cd80
mov eax, dword [0x4977b8]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x28a0], 0
push esi
push edi
lea eax, [ebp - 0x289c]
push eax
lea eax, [ebp - 0x2888]
push eax
mov esi, ecx
mov dword [ebp - 0x289c], 0x2880
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x2888]
mov eax, dword [ecx + 0x1a0]
cmp eax, 6
je 0x42a2b0
cmp eax, 0x47
je 0x42a2b0
mov ecx, dword [ecx]
test ecx, ecx
jne 0x42a266
and dword [ebp - 0x2898], ecx
xor eax, eax
lea edi, [ebp - 0x2894]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2898]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push dword [ebp - 0x2898]
push str._08X
push esi
call fcn.0042a994
add esp, 0xc
jmp 0x42a2fe
movzx eax, byte [ecx + 0x19b]
push eax
movzx eax, byte [ecx + 0x19a]
push eax
movzx eax, byte [ecx + 0x199]
push eax
movzx eax, byte [ecx + 0x198]
push eax
movzx eax, byte [ecx + 0x197]
push eax
movzx eax, byte [ecx + 0x196]
push eax
movzx eax, byte [ecx + 0x195]
push eax
movzx eax, byte [ecx + 0x194]
push eax
push str._02x_02x_02x_02x_02x_02x_02x_02x
push esi
call fcn.0042a994
add esp, 0x28
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044a9a4
leave
ret