joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42722e
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x14
mov eax, 0x4c1845
call fcn.004a99cc
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], bl
call fcn.00423456
push str.VirtApp.ini
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004279fa
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4272ce
push ebx
push edi
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push 1
push eax
call fcn.004a5193
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
shr esi, 1
push esi
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.0042631f
add esp, 0xc
test al, al
je 0x4272c5
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call fcn.004a5105
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov al, byte [ebp - 0xd]
call fcn.004a9aa4
ret

Function at 0x4275a5
Capabilities:
Enumerate files on windows

Disassembly:
push 0x264
mov eax, 0x4bdb22
call fcn.004a9a35
push 0x24c
lea eax, [ebp - 0x25c]
push 0
mov dword [ebp - 4], 1
and dword [ebp - 0x260], 0
push eax
call fcn.004a52f0
push dword [ebp + 8]
lea eax, [ebp - 0x26c]
push str._s..stamp
push eax
call fcn.00462190
mov eax, dword [eax]
add esp, 0x18
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
cmp esi, 0xffffffff
je 0x4276a3
push ecx
mov dword [ebp - 0x268], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0x4ca098
call fcn.00423456
push ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
mov ecx, esp
mov dword [ebp - 0x270], esp
push eax
call fcn.00423456
push ecx
mov dword [ebp - 0x264], esp
mov ebx, esp
push 0x5c
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x264], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.00423af1
push ebx
call fcn.004627d0
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.00461ce0
add esp, 0xc
call fcn.00465810
pop ecx
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x427615
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4cc12c
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x264], esp
mov ecx, esp
push eax
xor edi, edi
call fcn.00423af1
call fcn.00462ee0
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.004a9ab8
ret
Function at 0x428756
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x10
mov eax, 0x4c0e9b
call fcn.004a99cc
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, 0x4f3aac
mov dword [ebp - 4], ebx
call fcn.00423b12
lea eax, [ebp + 8]
mov esi, 0x4f38b8
push eax
mov ecx, esi
call fcn.00423b12
push 1
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.00423af1
lea edi, [ebp - 0x14]
call fcn.004620a0
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00423b12
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004235fe
mov edi, 0x4ca098
push edi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00423a1c
test eax, eax
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.0042101a
cmp byte [ebp - 0xd], bl
je 0x4287f6
push edi
mov ecx, esi
call fcn.004279fa
mov esi, dword [0x4f38b8]
call fcn.00464c50
push dword [0x4f38b8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x428843
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Diff_Init:_Cannot_create_TempDir
call fcn.00423456
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.General
mov byte [ebp - 4], 3
call fcn.00423456
push 3
mov byte [ebp - 4], bl
call fcn.00466fb0
add esp, 0xc
push 0x4f38e0
call fcn.0042889c
mov esi, 0x4cc12c
push esi
mov ecx, 0x4f38bc
call fcn.00423f1b
push esi
mov ecx, 0x4f38c4
call fcn.00423f1b
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.00423456
push 0x4f38f8
call fcn.0042893c
call fcn.0044a4d0
call fcn.0043f4c0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
inc eax
call fcn.004a9aa4
ret
Function at 0x429b19
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x14], ecx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], ecx
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x24]
push ecx
push eax
call ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call ebx
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
sub esi, dword [ebp - 0xc]
sub edi, dword [ebp - 8]
sub esi, dword [ebp - 0x24]
sub edi, dword [ebp - 0x20]
add esi, dword [ebp - 0x14]
add edi, dword [ebp - 0x18]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x429baf
lea ecx, [ebp - 0x34]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
test eax, eax
jg 0x429ba1
test ecx, ecx
jle 0x429baf
jmp 0x429ba6
sub eax, dword [ebp - 0x28]
add edi, eax
test ecx, ecx
jle 0x429baf
sub ecx, dword [ebp - 0x2c]
add esi, ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x429d0c
Capabilities:
Create directory
Create thread

Disassembly:
push 0x30
mov eax, 0x4c009f
call fcn.004a99cc
xor esi, esi
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov ebx, 0x4ca5c0
push ebx
mov dword [ebp - 0x18], esi
call fcn.00423456
lea eax, [ebp - 0x10]
push eax
call fcn.00461890
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
push 0x10
call fcn.00495dbe
mov edi, eax
pop ecx
cmp edi, esi
je 0x429d73
lea ecx, [edi + 8]
call fcn.0042148a
lea ecx, [edi + 0xc]
call fcn.0042148a
mov dword [0x4f3848], edi
jmp 0x429d79
mov dword [0x4f3848], esi
push ecx
mov edi, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4ca098
call fcn.00423456
push ecx
mov dword [ebp - 4], esi
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Troubleshoot.log
call fcn.00423456
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
call fcn.00423456
mov eax, dword [ebp - 0x14]
push eax
call fcn.00461890
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
call fcn.00461ce0
add esp, 0xc
call fcn.00429730
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp + 8]
push 0x429a39
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x429e08
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x3c]
push eax
call edi
test eax, eax
jg 0x429df4
mov eax, dword [ebp - 0x34]
call fcn.004a9aa4
ret 4
Function at 0x42a58f
Capabilities:
Move file

Disassembly:
push 0x18
mov eax, 0x4bf0ef
call fcn.004a99cc
mov esi, ecx
and dword [ebp - 4], 0
push 0
call fcn.004a5aac
push eax
call fcn.004a5a78
pop ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4ca098
call fcn.00423456
mov byte [ebp - 4], 1
call fcn.004a5a8a
push ecx
mov edi, esp
mov dword [ebp - 0x20], esp
push eax
push 0x5c
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00423af1
lea eax, [ebp - 0x18]
push eax
call fcn.004626a0
add esp, 0xc
mov byte [ebp - 4], 2
push dword [eax]
push str._s._d.ToDelete
push edi
call fcn.00462190
add esp, 0xc
lea eax, [esi + 0x44]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 3
call fcn.00423441
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00461ce0
add esp, 0xc
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp + 8]
push ecx
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00423af1
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0047c340
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042101a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, esi
call fcn.004a9aa4
ret
Function at 0x42a680
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x274
mov eax, 0x4bf09f
call fcn.004a9a35
xor edi, edi
push 0x24c
lea eax, [ebp - 0x260]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x264], edi
call fcn.004a52f0
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
mov esi, 0x4ca098
push esi
call fcn.00423456
push ecx
mov dword [ebp - 4], edi
mov ecx, esp
mov dword [ebp - 0x280], esp
push str..ToDelete
call fcn.00423456
push ecx
mov byte [ebp - 4], 1
add ebx, 0x44
mov ecx, esp
mov dword [ebp - 0x27c], esp
push ebx
call fcn.00423441
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x274]
call fcn.00461ce0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x274]
cmp eax, 0xffffffff
setne byte [ebp - 0x265]
add ecx, 0xfffffff0
mov dword [ebp - 0x270], eax
call fcn.0042101a
cmp byte [ebp - 0x265], 0
je 0x42a7f8
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push esi
call fcn.00423456
push ecx
mov dword [ebp - 4], 2
lea eax, [ebp - 0x238]
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call fcn.00423456
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push ebx
mov byte [ebp - 4], 3
call fcn.00423441
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x26c]
call fcn.00461ce0
add esp, 8
mov eax, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 4], 4
push dword [ebp - 0x26c]
push str.DeleteSharingViolationRemains:_deleting__s
push eax
call fcn.00462190
add esp, 0xc
call fcn.0042a126
pop ecx
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.0042101a
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42a73a
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004a9ab8
ret
Function at 0x42bc85
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0x1c
mov eax, 0x4bf04d
call fcn.004a99cc
push ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, esp
mov dword [ebp - 0x24], esp
push dword [ebp + 8]
push str.Loader_SetVirtEnvVariables:_in___s_
push eax
call fcn.00462190
add esp, 0xc
call fcn.0042a126
pop ecx
mov dword [ebp - 0x1c], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.::
lea edi, [ebp - 0x1c]
call fcn.00423456
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00423af1
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], bl
call fcn.00466090
add esp, 8
mov eax, esp
mov dword [ebp - 0x28], esp
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push str.Loader_SetVirtEnvVariables:_setting_Env_variable:__s
push eax
call fcn.00462190
add esp, 0xc
call fcn.0042a126
pop ecx
push ebx
push 0x3d
lea ecx, [ebp - 0x10]
call fcn.004255fd
mov esi, eax
cmp esi, 0xffffffff
jne 0x42bd3b
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push str.Loader_SetVirtEnvVariables:__error:_Env_variable_doesnt_contain_
push eax
call fcn.00462190
pop ecx
pop ecx
call fcn.0042a126
pop ecx
jmp 0x42be28
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00423645
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00423af1
push ebx
lea ecx, [ebp - 0x14]
lea eax, [esi + 1]
push ecx
mov byte [ebp - 4], 4
call fcn.004234ed
push str._ExistingValue_
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.00423569
mov esi, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42be0d
call fcn.004964ca
push eax
lea ecx, [ebp - 0x18]
call fcn.004214a8
push ebx
push ebx
mov byte [ebp - 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
call edi
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x42bdd5
push eax
lea ecx, [ebp - 0x18]
call fcn.004214d0
push dword [ebp - 0x24]
push eax
push esi
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00423764
cmp edi, ebx
jne 0x42bdd5
push 0x4cc12c
lea ecx, [ebp - 0x18]
call fcn.00423f1b
mov edi, dword [ebp - 0x18]
push edi
push str._ExistingValue_
lea eax, [ebp - 0x14]
push eax
call fcn.00430481
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
lea ecx, [ebp - 0x14]
push ecx
push str.Loader_SetVirtEnvVariables:_replacing__ExistingValue__with_existing_value:
push eax
call fcn.004236fa
add esp, 0xc
call fcn.0042a126
pop ecx
lea ecx, [edi - 0x10]
call fcn.0042101a
mov edi, dword [ebp - 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea ecx, [edi - 0x10]
call fcn.0042101a
lea ecx, [esi - 0x10]
call fcn.0042101a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x42bcb6
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.004a9aa4
ret
Function at 0x42bf37
Capabilities:
Set environment variable

Disassembly:
push 0x10
mov eax, 0x4bf002
call fcn.004a99cc
mov edi, ecx
and dword [ebp - 4], 0
push 0
push ecx
lea ebx, [edi + 0x44]
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.00423441
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.BaseDirName
call fcn.00423456
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x18], esp
push dword [edi + 8]
mov esi, str.SoftwareVOS_s
push esi
push eax
call fcn.00462190
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00472310
push eax
mov byte [ebp - 4], 0
call fcn.004633e0
add esp, 0x14
and eax, 1
push 0
push ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00423af1
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CarrierExeName
call fcn.00423456
push ecx
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x1c], esp
push dword [edi + 8]
push esi
push eax
call fcn.00462190
add esp, 0xc
mov byte [ebp - 4], 6
call fcn.00472310
push eax
mov byte [ebp - 4], 0
call fcn.004633e0
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
and dword [ebp - 0x10], eax
add esp, 0x14
push dword [edi + 8]
push str.CAMEYO_RO_APPID
call esi
add edi, 0x48
push dword [edi]
push str.CAMEYO_RO_CARRIEREXE
call esi
push 0x5c
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edi
call fcn.00423441
lea eax, [ebp - 0x14]
push eax
call fcn.004627d0
add esp, 0xc
push dword [eax]
push str.CAMEYO_RO_CARRIERDIR
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
push dword [ebx]
push str.CAMEYO_RO_BASEDIRNAME
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
xor eax, eax
cmp dword [ebp - 0x10], eax
sete al
call fcn.004a9aa4
ret
Function at 0x42f9ab
Capabilities:
Delete directory
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x4beced
call fcn.004a99cc
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.004964ca
push eax
lea ecx, [ebp - 0x10]
call fcn.004214a8
push ecx
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Loader_UnregisterApp_Shortcuts_NewDirs
mov dword [ebp - 0x24], 1
call fcn.00423456
call fcn.0042a126
push dword [0x4f3ad0]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00462190
mov esi, str.IntegratedLnkNewDirs
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.004236a5
add esp, 0x1c
lea ecx, [ebp - 0x1c]
push ecx
push 9
mov byte [ebp - 4], 2
mov eax, dword [eax]
push ebx
push eax
call fcn.00472310
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.0042101a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
cmp dword [ebp - 0x14], ebx
je 0x42fa63
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, ebx
call fcn.004a9aa4
ret
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
call fcn.004214d0
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x28]
push ecx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00423764
cmp dword [ebp - 0x14], ebx
je 0x42faa1
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x20], 0x4cf498
cmp eax, ebx
jne 0x42fabc
mov dword [ebp - 0x20], str.ERROR
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push str.Loader_UnregisterApp_Shortcuts_NewDirs:_dir_to_remove:__s____s__LE_d_
push ecx
call fcn.00462190
add esp, 0x14
call fcn.0042a126
inc dword [ebp - 0x18]
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x42fa66
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x4f3ad0]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00462190
push esi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.004236a5
add esp, 0x18
mov byte [ebp - 4], 4
push dword [eax]
call fcn.00472310
push eax
call fcn.00463670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042101a
mov ebx, dword [ebp - 0x24]
jmp 0x42fa50
Function at 0x42fb4b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x4c0031
call fcn.004a99cc
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.004964ca
push eax
lea ecx, [ebp - 0x10]
call fcn.004214a8
mov dword [ebp - 4], ebx
push dword [0x4f3ad0]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00462190
mov esi, str.IntegratedLnk
push esi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004236a5
add esp, 0x18
lea ecx, [ebp - 0x1c]
push ecx
push 9
mov byte [ebp - 4], 2
mov eax, dword [eax]
push ebx
push eax
call fcn.00472310
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.0042101a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042101a
cmp dword [ebp - 0x14], ebx
je 0x42fbe7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, ebx
call fcn.004a9aa4
ret
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], eax
call fcn.004214d0
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00423764
cmp dword [ebp - 0x14], ebx
jne 0x42fc78
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423af1
call fcn.00465810
pop ecx
mov dword [ebp - 0x14], 0x4cf498
cmp eax, ebx
jne 0x42fc49
mov dword [ebp - 0x14], str.ERROR
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push str.Loader_UnregisterApp_Shortcuts:_Lnk_to_remove:__s____s__LE_d_
push ecx
call fcn.00462190
add esp, 0x14
call fcn.0042a126
inc dword [ebp - 0x18]
pop ecx
jmp 0x42fbea
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0042f9ab
push dword [0x4f3ad0]
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00462190
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.004236a5
add esp, 0x18
mov byte [ebp - 4], 4
push dword [eax]
call fcn.00472310
push eax
call fcn.00463670
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042101a
xor ebx, ebx
inc ebx
jmp 0x42fbd4
Function at 0x4307da
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x4bd8ca
call fcn.004a99cc
and dword [ebp - 4], 0
push 0x4ca5bc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004236a5
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
push dword [ebp + 8]
push 0x4d0090
call fcn.0045fbe0
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.004a9aa4
ret

Function at 0x4308b2
Capabilities:
Set file attributes

Disassembly:
push 8
mov eax, 0x4bd8a7
call fcn.004a99cc
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
push 0x4cc12c
call fcn.00423456
push 3
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x43095d
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov ebx, eax
cmp ebx, esi
je 0x430945
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push ebx
mov edi, 0x467c80
push edi
push 3
push dword [ebp - 0x10]
call esi
push ebx
push edi
push 0xe
push dword [ebp - 0x10]
call esi
push ebx
push edi
push 0x10
push dword [ebp - 0x10]
call esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
jne 0x430952
push str.Cannot_commit_to_target_file__write_permission_required_
jmp 0x43094a
push str.Cannot_begin_to_update_target_file
mov ecx, dword [ebp + 8]
call fcn.00423f1b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x43096a
mov ecx, dword [ebp + 8]
push str.Cannot_open_source_file
call fcn.00423f1b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, dword [ebp + 8]
call fcn.004a9aa4
ret