joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4121ec
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x4c
mov eax, 0x461652
call fcn.00446a83
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x30]
push ecx
push 4
push eax
push 0x43b95b
xor esi, esi
push esi
push esi
call fcn.004459da
add esp, 0x18
cmp eax, esi
je 0x412240
mov ecx, dword [edi]
xor edx, edx
add ecx, 4
inc edx
lock xadd dword [ecx], edx
mov ecx, dword [edi]
push eax
lea esi, [ecx + 8]
call fcn.00411f45
mov edi, dword [edi]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.00446b5b
ret
lea eax, [ebp - 0x58]
call fcn.00401a74
push eax
mov dword [ebp - 4], esi
call fcn.0040af1e
int3

Function at 0x41302f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461575
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.00455b30
mov eax, dword [0x4861f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push ecx
push edi
push str.Bootstrapper::CreateProcess_module___S__args___S
lea esi, [eax + 0x188]
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 0x1018], edx
call fcn.00408d9c
add esp, 0xc
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x1080]
push ebx
push eax
call fcn.00446650
add esp, 0xc
xor eax, eax
push 0xffe
mov word [ebp - 0x1014], ax
lea eax, [ebp - 0x1012]
push ebx
push eax
mov dword [ebp - 0x1084], 0x44
call fcn.00446650
add esp, 0xc
cmp word [edi], 0x22
mov esi, 0x800
lea eax, [ebp - 0x1014]
je 0x413105
push 0x46c5f8
push esi
push eax
call fcn.00444e78
add esp, 0xc
push edi
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.00444ee7
add esp, 0xc
push 0x46c5f8
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.00444ee7
jmp 0x41310d
push edi
push esi
push eax
call fcn.00444e78
add esp, 0xc
push 0x46c5fc
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.00444ee7
add esp, 0xc
push dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.00444ee7
add esp, 0xc
push edi
push str.CreateProcess__S_failed
lea esi, [ebp - 0x1038]
call fcn.0042799c
pop ecx
pop ecx
mov esi, eax
push dword [ebp - 0x1018]
lea eax, [ebp - 0x1084]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1014]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x413180
mov eax, esi
call fcn.0042572c
push ebx
push 1
lea ecx, [ebp - 0x1038]
call fcn.00409216
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00442b5d
leave
ret 4
Function at 0x413626
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4861f4]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00446650
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x413679
cmp dword [ebp - 0x70], 2
jne 0x413679
cmp dword [ebp - 0x7c], 5
jne 0x413679
mov al, 1
jmp 0x41367b
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00442b5d
add ebp, 0x98
leave
ret

Function at 0x413690
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4861f4]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00446650
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4136e1
cmp dword [ebp - 0x7c], 6
jne 0x4136e1
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x4136e3
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00442b5d
add ebp, 0x98
leave
ret
Function at 0x4138e0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45edf6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4861f4]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4861f4]
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 eax, [esp + 0x34]
mov byte [esp + 0xa8], 1
call fcn.00413852
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
jne 0x41399c
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
je 0x4139af
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 2
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x4139d7
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x4139f6
cmp dword [esp + 0x10], ebx
setne bl
lea ecx, [esp + 0x34]
call fcn.004137db
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.004138a2
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.004138a2
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.00442b5d
mov esp, ebp
pop ebp
ret
Function at 0x4142b0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461542
mov eax, dword fs:[0]
push eax
mov eax, 0x28a4
call fcn.00455b30
mov eax, dword [0x4861f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28b0]
push eax
lea eax, [ebp - 0x28ac]
push eax
mov dword [ebp - 0x28b0], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
lea edi, [ebp - 0x28ac]
cmp dword [edi + 0x1a0], 6
jne 0x41439c
movzx eax, byte [edi + 0x19b]
push eax
movzx eax, byte [edi + 0x19a]
push eax
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x__02x__02x
lea esi, [ebp - 0x2c]
call fcn.0042799c
add esp, 0x24
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x414371
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x10c]
push ecx
push eax
push str.MAC:__s_Name:__s
lea esi, [ebx + 0x188]
call fcn.00408d9c
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409216
mov edi, dword [edi]
test edi, edi
jne 0x414304
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442b5d
leave
ret
Function at 0x416df4
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x25c
lea ebp, [esp - 4]
mov eax, dword [0x4861f4]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push 0x1c
mov eax, 0x46234e
call fcn.00446a83
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.00416d8c
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x416e34
lea eax, [ebp + 0x3c]
push eax
lea esi, [edi + 0x188]
push str.Bootstrapper::deploySelf___Final_file_path_S
call fcn.00408d9c
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
pop ecx
pop ecx
jae 0x416e53
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416f2c
push str._PathFileExists
call fcn.00408d9c
lea ecx, [ebp - 0x28]
mov dword [esp], str.Error_when_getting_bootstrapper_filename_for_selfDeploy
call fcn.00407ed3
push 0x104
lea eax, [ebp + 0x54]
push eax
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
jne 0x416e9b
lea eax, [ebp - 0x28]
call fcn.0042572c
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00409216
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x1c]
call fcn.00407f7d
mov byte [ebp - 4], 2
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x416ec5
lea eax, [ebp + 0x20]
push eax
push str.GetModuleFileName:__S
call fcn.00408d9c
cmp dword [ebp + 0x50], 8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
jae 0x416ede
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x416eea
lea eax, [ebp + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.00425ada
cmp dword [ebp + 0x50], 8
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
jae 0x416f01
lea ecx, [ebp + 0x3c]
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x416f0d
lea eax, [ebp + 0x20]
push ecx
push eax
push str.Copy:_from___S_to__S
call fcn.00408d9c
add esp, 0xc
push ebx
push 1
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], bl
call fcn.004094ae
jmp 0x416f37
push str.PathFileExists
call fcn.00408d9c
pop ecx
mov eax, dword [edi]
lea ecx, [ebp]
push ecx
mov ecx, edi
call dword [eax + 0x80]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
mov byte [ebp - 4], 4
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x416f67
lea ecx, [ebp + 4]
cmp dword [eax + 0x18], 8
jb 0x416f72
mov eax, dword [eax + 4]
jmp 0x416f75
add eax, 4
push ecx
push eax
mov ecx, edi
call fcn.00415f42
push ebx
push 1
lea esi, [ebp - 0x28]
call fcn.004094ae
push ebx
push 1
lea esi, [ebp]
call fcn.004094ae
push ebx
push 1
lea esi, [ebp + 0x38]
call fcn.004094ae
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x25c]
xor ecx, ebp
call fcn.00442b5d
add ebp, 0x260
leave
ret
Function at 0x416fc2
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x45ff75
call fcn.00446a83
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x417010
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x417010
push dword [ebp + 8]
lea esi, [ebp - 0x28]
push str.CreateDirectory__S_failed
call fcn.0042799c
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.0042572c
push 0
push 1
mov ecx, esi
call fcn.00409216
call fcn.00446b5b
ret
Function at 0x4192b2
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx]
sub esp, 0x2c
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x80]
cmp dword [eax + 0x18], 8
jb 0x4192d1
mov eax, dword [eax + 4]
jmp 0x4192d4
add eax, 4
push esi
push edi
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.004094ae
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
fild qword [ebp - 0x18]
mov dword [ebp - 8], edi
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x475960]
fnstsw ax
test ah, 5
jp 0x41934d
mov ecx, dword [ebx + 0x15c]
mov eax, dword [ecx]
push edi
push str.There_is_not_enough_room_on_your_disk_to_install_Roblox._Please_free_up_some_space_and_try_again.
call dword [eax + 0x18]
push 5
lea esi, [ebp - 0x20]
call fcn.00423735
push 0x47a708
mov eax, esi
push eax
call fcn.00446b8d
pop edi
pop esi
leave
ret
Function at 0x41c076
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x460e81
call fcn.00446a83
mov eax, dword [edi + 0x40]
push 0x800
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x41c0de
lea eax, [ebp - 0x10]
push eax
call fcn.0042575a
and dword [ebp - 4], 0
push dword [eax]
lea esi, [edi + 0x188]
push str.Could_not_map_view_of_file:__S
call fcn.00408d9c
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.0040e25e
mov eax, dword [edi + 0x40]
test eax, eax
je 0x41c0da
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x40], 0
mov al, 1
jmp 0x41c0f5
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 cl
mov al, cl
call fcn.00446b5b
ret
Function at 0x41c4e2
Capabilities:
Delete file

Disassembly:
push 0x7c
mov eax, 0x460e51
call fcn.00446aec
mov ebx, ecx
lea edi, [ebx + 0x188]
push str.Bootstrapper::forceMFCStudioCleanup___deleteCurVersionKeys
mov esi, edi
call fcn.00408d9c
pop ecx
lea eax, [ebp - 0x84]
push eax
call fcn.00426506
pop ecx
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x41c51f
mov eax, dword [eax + 4]
jmp 0x41c522
add eax, 4
mov cl, byte [ebx + 0x59]
mov byte [ebp - 0x68], cl
push eax
push dword [ebp - 0x68]
mov ecx, edi
call fcn.0042607b
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x84]
call fcn.004094ae
call fcn.0041c64b
mov al, byte [ebx + 0x59]
mov byte [ebp - 0x68], al
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
call fcn.0041751e
xor ebx, ebx
inc ebx
push str.RobloxStudioLauncher.exe
lea eax, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.00407f7d
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.0040b0f1
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41c59a
lea eax, [ebp - 0x28]
push eax
push str.Bootstrapper::forceMFCStudioCleanup___deleting_studio_stub:__S
mov esi, edi
call fcn.00408d9c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x41c5b5
lea eax, [ebp - 0x28]
push eax
call fcn.0042823a
pop ecx
test al, al
je 0x41c5d3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41c5cc
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
push edi
push ebx
lea esi, [ebp - 0x2c]
call fcn.004094ae
push edi
push ebx
lea esi, [ebp - 0x48]
call fcn.004094ae
push edi
push ebx
lea esi, [ebp - 0x64]
call fcn.004094ae
call fcn.00446b6f
ret

Function at 0x4234af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4234c6
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4234fb
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x4234f7
cmp edi, eax
jae 0x4234fb
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4234e9
cmp edi, eax
jb 0x4234ff
xor eax, eax
jmp 0x423508
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x4235fc
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x490734], 0
jne 0x42362c
push 0x46f9fc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423625
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x490738], eax
mov byte [0x490734], 1
mov eax, dword [0x490738]
test eax, eax
je 0x423644
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x423650
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x423653
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4861f4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
mov dword [ebp - 0x21c], ecx
xor esi, esi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.0040c789
mov ebx, eax
cmp ebx, esi
je 0x4236bc
lea esi, [ebp - 0x214]
call fcn.0040c7c7
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442b5d
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4236da
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00423653
cmp eax, esi
jne 0x423721
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x4236c4
lea esi, [ebp - 0x214]
call fcn.0040c7c7
push dword [ebp - 0x21c]
mov esi, edi
call fcn.004235fc
lea esi, [ebp - 0x214]
mov edi, eax
call fcn.0040c7c7
mov eax, edi
jmp 0x4236ab

Function at 0x423939
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
call fcn.00423894
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
cmp dword [edi + 0x18], 8
lea ebx, [edi + 4]
jb 0x423960
mov eax, dword [ebx]
jmp 0x423962
mov eax, ebx
lea ecx, [ebp - 8]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
test eax, eax
je 0x4239f7
push eax
call fcn.0044238f
mov dword [esi + 4], eax
cmp dword [edi + 0x18], 8
pop ecx
jb 0x423989
mov ebx, dword [ebx]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4239f7
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x10]
push eax
push 0x4685b8
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4239f7
lea eax, [ebp - 4]
push eax
lea edi, [esi + 8]
push edi
push str.VarFileInfoTranslation
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4239ee
mov eax, dword [ebp - 4]
cmp eax, 4
jb 0x4239ee
shr eax, 2
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov cx, word [eax]
mov word [esi], cx
mov ax, word [eax + 2]
mov word [esi + 2], ax
mov dword [ebp - 0xc], 1
jmp 0x423a09
mov eax, dword [esi + 4]
test eax, eax
je 0x423a09
push eax
call fcn.00442ef8
and dword [esi + 4], 0
pop ecx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42595b
Capabilities:
Delete registry key

Disassembly:
push 0x4c
mov eax, 0x460dcf
call fcn.00446a83
test edi, edi
jne 0x425996
push str.Attempt_to_delete_a_null_key
lea ecx, [ebp - 0x30]
call fcn.00407ed3
and dword [ebp - 4], edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401281
push 0x47a298
lea eax, [ebp - 0x58]
push eax
call fcn.00446b8d
push edi
lea eax, [ebp - 0x30]
call fcn.00407f7d
cmp dword [eax + 0x14], 0
push 0
push 1
lea esi, [ebp - 0x30]
sete byte [ebp - 0xd]
call fcn.004094ae
cmp byte [ebp - 0xd], 0
je 0x4259cf
push str.Attempt_to_delete_an_empty_key
lea ecx, [ebp - 0x30]
call fcn.00407ed3
mov dword [ebp - 4], 1
jmp 0x42597b
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jge 0x425a09
lea eax, [ebp - 0x14]
push eax
call fcn.0042575a
pop ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
push dword [eax]
push edi
push str.Failed_to_delete_key__S__S
call fcn.00408d9c
add esp, 0xc
lea eax, [ebp - 0x14]
call fcn.0040e25e
call fcn.00446b5b
ret

Function at 0x42607b
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x460d9c
call fcn.00446a83
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push str.deleteCurVersionKeys
mov dword [ebp - 4], ebx
call fcn.00408d9c
xor eax, eax
cmp byte [ebp + 8], bl
mov dword [esp], 0x470248
sete al
lea ecx, [ebp - 0x14]
add eax, 0x80000001
push eax
mov eax, 0x20006
call fcn.0040c789
test eax, eax
jl 0x42612f
push str.deleteCurVersionKeys___key_Opened
call fcn.00408d9c
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.00425f83
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x4260e8
mov eax, dword [eax + 4]
jmp 0x4260eb
add eax, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
push dword [ebp - 0x14]
call edi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.004094ae
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.00425fff
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x42611b
mov eax, dword [eax + 4]
jmp 0x42611e
add eax, 4
push eax
push dword [ebp - 0x14]
call edi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.004094ae
lea esi, [ebp - 0x14]
call fcn.0040c7c7
call fcn.00446b5b
ret
Function at 0x4271d2
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x460bc1
call fcn.00446aec
mov esi, ecx
push edi
mov ebx, str.deleteDesktopShortcut____S
push ebx
mov dword [ebp - 0x34], esi
call fcn.00408d9c
xor esi, esi
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push 6
push eax
call fcn.00427d6e
add esp, 0x1c
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
je 0x427295
mov eax, dword [0x48f768]
mov ecx, 0x48f768
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x427231
lea eax, [ebp - 0x28]
push edi
push eax
push str._s_s.lnk
lea eax, [ebp - 0x30]
call fcn.004204da
add esp, 0xc
push dword [ebp - 0x30]
call fcn.0042823a
pop ecx
test al, al
je 0x42728d
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
push ebx
call fcn.00408d9c
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
lea eax, [ebp - 0x30]
inc bl
call fcn.0040e25e
xor esi, esi
push esi
push 1
lea esi, [ebp - 0x2c]
call fcn.004094ae
mov al, bl
call fcn.00446b6f
ret
lea eax, [ebp - 0x30]
call fcn.0040e25e
xor bl, bl
jmp 0x42727a

Function at 0x427299
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x460bc1
call fcn.00446aec
mov eax, dword [ebp + 0xc]
push eax
mov edi, str.deleteProgramsShortcut____S
mov esi, ecx
push edi
mov dword [ebp - 0x34], eax
call fcn.00408d9c
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 8], bl
push 1
sete al
push ebx
push ebx
add eax, 3
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00427d6e
add esp, 0x1c
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x42733f
mov eax, dword [0x48f768]
mov ecx, 0x48f768
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x427302
lea eax, [ebp - 0x28]
push dword [ebp - 0x34]
push eax
push str._s_s.lnk
lea eax, [ebp - 0x30]
call fcn.004204da
add esp, 0xc
push dword [ebp - 0x30]
call fcn.0042823a
pop ecx
test al, al
je 0x427337
push dword [ebp - 0x30]
push edi
call fcn.00408d9c
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x30]
call fcn.0040e25e
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.004094ae
call fcn.00446b6f
ret
Function at 0x4285ce
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4861f4]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x490754
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x428610
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x490758
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00442b5d
mov esp, ebp
pop ebp
ret

Function at 0x4287b4
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x490740
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x4287fc
call dword [sym.imp.KERNEL32.dll_TerminateThread]
leave
ret
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
leave
ret