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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4947b8]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0044da10
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 0x414889
cmp dword [ebp - 0x108], 2
jne 0x414889
cmp dword [ebp - 0x114], 5
jne 0x414889
mov al, 1
jmp 0x41488b
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004492e4
leave
ret

Function at 0x414aaa
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467b63
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4947b8]
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.00414a12
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 0x414b64
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x414b7f
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 0x414b4f
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 0x414ba6
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
jmp 0x414baa
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 0x414bc7
cmp dword [esp + 0x10], 0
setne bl
lea ecx, [esp + 0x34]
call fcn.00414993
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.00414a69
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00414a69
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.004492e4
mov esp, ebp
pop ebp
ret
Function at 0x414fed
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467e82
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push esi
push edi
mov eax, dword [0x4947b8]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov edi, ecx
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
xor ebx, ebx
mov ecx, 0x100
cmp esi, 0xffffffff
je 0x41505d
push ebx
push ecx
lea eax, [esp + 0x194]
push eax
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov ecx, 0x100
push ecx
lea eax, [esp + 0x190]
push eax
push ecx
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0044bcf0
add esp, 0x14
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 0x4e40000
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3a0], ebx
push dword [0x49ddc4]
lea ecx, [esp + 0x18]
call fcn.0042566b
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
call fcn.0042588f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a0], 1
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x50]
push eax
mov ecx, 0x495ec4
call fcn.00407ded
lea ecx, [esp + 0x2c]
call fcn.00407e25
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x94]
mov byte [0x49efdf], al
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x98]
mov byte [0x49efde], al
mov ecx, 0x475594
lea eax, [esp + 0x8c]
cmp esi, 0xffffffff
cmove eax, ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00407d9b
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x44]
mov byte [esp + 0x3a0], 2
call fcn.0043f987
push eax
mov ecx, 0x495f24
call fcn.00407ded
lea ecx, [esp + 0x44]
call fcn.00407e25
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a0], 1
call fcn.00407e25
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x44]
call fcn.0043f987
push eax
mov ecx, 0x495f0c
call fcn.00407ded
lea ecx, [esp + 0x44]
call fcn.00407e25
mov eax, dword [edi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call dword [eax + 0xe0]
mov byte [esp + 0x3a0], 3
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.0042974d
mov edx, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3a0], 4
call fcn.0043f987
push eax
mov ecx, 0x495ef4
call fcn.00407ded
lea ecx, [esp + 0x44]
call fcn.00407e25
lea ecx, [esp + 0x2c]
call fcn.00407e25
push ebx
push 1
lea ecx, [esp + 0x7c]
call fcn.004095c3
call fcn.00449bb3
cdq
mov ecx, 0x2710
idiv ecx
lea ecx, [esp + 0x5c]
mov dword [0x495e20], edx
call fcn.00407e25
lea ecx, [esp + 0x14]
call fcn.00425642
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.004492e4
mov esp, ebp
pop ebp
ret
Function at 0x415ca0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467b9c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x28a8
call fcn.0045b5d0
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0x28a4], eax
push esi
push edi
mov eax, dword [0x4947b8]
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 0x415da1
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.004299b0
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 + 0x160]
push str.MAC:__s_Name:__s
push eax
call fcn.00408e53
or dword [esp + 0x28f8], 0xffffffff
add esp, 0x38
lea ecx, [esp + 0x14]
call fcn.00407e25
mov esi, dword [esi]
test esi, esi
jne 0x415d02
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.004492e4
mov esp, ebp
pop ebp
ret
Function at 0x418f2a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46827b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4947b8]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x160]
push str.deploySelf
push edi
call fcn.00408e53
cmp byte [ebp + 8], 0
pop ecx
pop ecx
je 0x419140
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00418ec2
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.00408e53
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 0x4190c2
push str._PathFileExists
push edi
call fcn.00408e53
pop ecx
pop ecx
push str.Error_when_getting_bootstrapper_filename_for_selfDeploy
lea ecx, [esp + 0x60]
call fcn.00407d9b
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 0x419019
lea ecx, [esp + 0x5c]
call fcn.00426e74
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], bl
call fcn.00407e25
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
call fcn.004082fa
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.00408e53
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.00427212
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.00408e53
add esp, 0x10
lea ecx, [esp + 0x2c]
push ebx
push 1
mov byte [esp + 0x298], bl
call fcn.004095c3
jmp 0x4190cf
push str.PathFileExists
push edi
call fcn.00408e53
pop ecx
pop ecx
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0xa4]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xe0]
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 0x419113
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00417a22
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.004095c3
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.004095c3
push ebx
push 1
lea ecx, [esp + 0x1c]
call fcn.004095c3
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.004492e4
mov esp, ebp
pop ebp
ret 4
Function at 0x419166
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x46814e
call fcn.0044e593
mov esi, ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4191b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4191b3
push esi
lea eax, [ebp - 0x28]
push str.CreateDirectory__S_failed
push eax
call fcn.004299b0
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
call fcn.00426e74
lea ecx, [ebp - 0x28]
call fcn.00407e25
call fcn.0044e542
ret
Function at 0x41b6e1
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4947b8]
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 + 0xa4]
cmp dword [eax + 0x14], 8
jb 0x41b70b
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.004095c3
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
movsd xmm0, qword [0x483aa0]
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 0x41b774
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004492e4
leave
ret
mov ecx, dword [esi + 0x134]
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.0044932a
push 0x488ce4
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], vtable.installer_error_exception.0
mov dword [ebp - 0x3c], 5
call fcn.0044e4d3
int3
Function at 0x41e1ef
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4682d1
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4947b8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x4947b8]
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.004271f3
and dword [esp + 0x88], 0
cmp dword [eax + 0x14], 0x10
jb 0x41e24d
mov eax, dword [eax]
push eax
lea eax, [esi + 0x160]
push str.ERROR:__s
push eax
call fcn.00408e53
or dword [esp + 0x94], 0xffffffff
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00407e25
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 0x41e334
cmp byte [esi + 0x4b], al
je 0x41e334
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xcc]
push eax
lea ecx, [esp + 0x34]
call fcn.004082fa
xor edi, edi
inc edi
lea edx, [esp + 0x30]
lea ecx, [esp + 0x48]
mov dword [esp + 0x88], edi
call fcn.0042974d
push eax
mov edx, str.An_error_occurred_while_starting
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 2
call fcn.0040aabb
pop ecx
lea ecx, [esp + 0x48]
call fcn.00407e25
push 0
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 5
call fcn.004095c3
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 0x134]
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.00407e25
mov ebx, dword [esp + 0x14]
push 0x18
pop edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x60]
call fcn.004271f3
mov esi, eax
mov dword [esp + 0x88], 6
mov ecx, dword [ebx + 4]
cmp esi, ecx
jae 0x41e37d
cmp dword [ebx], esi
ja 0x41e37d
sub esi, dword [ebx]
mov eax, esi
cdq
idiv edi
mov esi, eax
cmp ecx, dword [ebx + 8]
jne 0x41e36f
push ecx
mov ecx, ebx
call fcn.0041fc3b
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41e397
imul esi, esi, 0x18
add esi, dword [ebx]
jmp 0x41e391
cmp ecx, dword [ebx + 8]
jne 0x41e38a
push ecx
mov ecx, ebx
call fcn.0041fc3b
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x41e397
push esi
call fcn.00407dca
add dword [ebx + 4], edi
lea ecx, [esp + 0x60]
call fcn.00407e25
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.004492e4
mov esp, ebp
pop ebp
ret 4
Function at 0x41e544
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x468768
call fcn.0044e560
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 0x41e5ab
lea ecx, [ebp - 0x10]
call fcn.00426e9b
mov dword [ebp - 4], edi
push dword [eax]
lea eax, [esi + 0x160]
push str.Could_not_map_view_of_file:__S
push eax
call fcn.00408e53
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0040e9e9
cmp dword [esi + 0x34], edi
je 0x41e5a7
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x34], edi
mov al, 1
jmp 0x41e5c0
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.0044e52e
ret
Function at 0x41e963
Capabilities:
Delete file

Disassembly:
push 0x6c
mov eax, 0x468417
call fcn.0044e593
mov esi, ecx
lea edi, [esi + 0x160]
push str.Bootstrapper::forceMFCStudioCleanup___deleteCurVersionKeys
push edi
call fcn.00408e53
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00427a84
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
jb 0x41e999
mov eax, dword [eax]
mov dl, byte [esi + 0x4d]
push eax
mov ecx, edi
call fcn.0042764f
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.004095c3
mov ecx, esi
call fcn.0041eab6
mov al, byte [esi + 0x4d]
mov byte [ebp - 0x78], al
push dword [ebp - 0x78]
lea eax, [ebp - 0x5c]
push eax
call fcn.004198a0
xor esi, esi
inc esi
push str.RobloxStudioLauncher.exe
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], esi
call fcn.004082fa
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004212af
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.00408e53
add esp, 0xc
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
call fcn.0042a39e
test al, al
je 0x41ea38
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.004095c3
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.004095c3
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.004095c3
call fcn.0044e542
ret

Function at 0x425181
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 0x4251da
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4251cb
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4251c7
cmp esi, ecx
jae 0x4251cb
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x4251b7
cmp esi, ecx
jb 0x4251cf
xor eax, eax
jmp 0x4251d9
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4256e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.00425642
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x425704
mov eax, dword [edi]
jmp 0x425706
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 0x425796
push eax
call fcn.00445c1c
mov dword [esi + 4], eax
cmp dword [edi + 0x14], 8
pop ecx
jb 0x42572a
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 0x425796
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x10]
push eax
push 0x477c80
push dword [esi + 4]
mov dword [ebp + 8], ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x425796
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 0x425791
mov eax, dword [ebp + 8]
cmp eax, 4
jb 0x425791
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 0x4257a7
cmp dword [esi + 4], ebx
je 0x4257a7
push dword [esi + 4]
call fcn.00449cb8
pop ecx
mov dword [esi + 4], ebx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x4270a2
Capabilities:
Delete registry key

Disassembly:
push 0x28
mov eax, 0x46975b
call fcn.0044e593
mov edi, edx
mov dword [ebp - 0x30], ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4270e2
mov dword [ebp - 0x30], str.Attempt_to_delete_a_null_key
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.0044932a
push 0x488818
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::runtime_error.0
call fcn.0044e4d3
push esi
lea ecx, [ebp - 0x2c]
call fcn.004082fa
cmp dword [eax + 0x10], 0
push 0
push 1
lea ecx, [ebp - 0x2c]
sete bl
call fcn.004095c3
test bl, bl
je 0x42710b
mov dword [ebp - 0x30], str.Attempt_to_delete_an_empty_key
jmp 0x4270c1
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jns 0x42713e
lea ecx, [ebp - 0x34]
call fcn.00426e9b
and dword [ebp - 4], 0
push dword [eax]
push esi
push str.Failed_to_delete_key__S__S
push dword [ebp - 0x30]
call fcn.00408e53
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.0040e9e9
call fcn.0044e542
ret
Function at 0x42764f
Capabilities:
Delete registry value

Disassembly:
push 0x30
mov eax, 0x46999f
call fcn.0044e593
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.00408e53
xor eax, eax
pop ecx
test bl, bl
sete al
pop ecx
push 0x20006
push 0x475a68
lea ecx, [ebp - 0x3c]
add eax, 0x80000001
push eax
call fcn.0040c7f9
mov esi, dword [ebp - 0x3c]
test eax, eax
js 0x427700
push str.deleteCurVersionKeys___key_Opened
push edi
call fcn.00408e53
mov ebx, dword [ebp - 0x30]
pop ecx
pop ecx
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.00427553
cmp dword [eax + 0x14], 8
jb 0x4276c8
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.004095c3
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.004275d1
cmp dword [eax + 0x14], 8
jb 0x4276f0
mov eax, dword [eax]
push eax
push esi
call edi
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004095c3
test esi, esi
je 0x42770b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0044e542
ret
Function at 0x4286c6
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x4699d4
call fcn.0044e593
mov edi, edx
mov esi, ecx
push edi
push str.deleteDesktopShortcut____S
push esi
call fcn.00408e53
xor ebx, ebx
push ebx
push ebx
push ebx
push 6
pop edx
lea ecx, [ebp - 0x2c]
call fcn.00429eb6
add esp, 0x18
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
je 0x428763
push section..data
lea ecx, [ebp - 0x30]
call fcn.0040e9c0
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.00420ba0
mov ecx, dword [ebp - 0x30]
add esp, 0x10
call fcn.0042a39e
test al, al
je 0x42875b
push dword [ebp - 0x30]
push str.deleteDesktopShortcut____S
push esi
call fcn.00408e53
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.0040e9e9
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004095c3
mov al, bl
call fcn.0044e542
ret

Function at 0x428777
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x469a09
call fcn.0044e593
mov bl, dl
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
push str.deleteProgramsShortcut____S
push esi
call fcn.00408e53
xor edx, edx
test bl, bl
sete dl
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
add edx, 3
call fcn.00429eb6
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x428818
push section..data
lea ecx, [ebp - 0x2c]
call fcn.0040e9c0
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.00420ba0
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
call fcn.0042a39e
test al, al
je 0x428810
push dword [ebp - 0x2c]
push str.deleteProgramsShortcut____S
push esi
call fcn.00408e53
add esp, 0xc
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call fcn.0040e9e9
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004095c3
call fcn.0044e542
ret