joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e752
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0x1c
mov eax, 0x4ee42a
call fcn.004d2924
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.00478610
add esp, 0xc
call fcn.0043b75e
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.004247e9
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00424ecd
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], bl
call fcn.0047c800
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.00478610
add esp, 0xc
call fcn.0043b75e
pop ecx
push ebx
push 0x3d
lea ecx, [ebp - 0x10]
call fcn.00426fbe
mov esi, eax
cmp esi, 0xffffffff
jne 0x43e808
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push str.Loader_SetVirtEnvVariables:__error:_Env_variable_doesnt_contain_
push eax
call fcn.00478610
pop ecx
pop ecx
call fcn.0043b75e
pop ecx
jmp 0x43e8f5
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.004249d8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00424ecd
push ebx
lea ecx, [ebp - 0x14]
lea eax, [esi + 1]
push ecx
mov byte [ebp - 4], 4
call fcn.00424880
push str._ExistingValue_
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.004248fc
mov esi, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43e8da
call fcn.004bcd4c
push eax
lea ecx, [ebp - 0x18]
call fcn.0042636d
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 0x43e8a2
push eax
lea ecx, [ebp - 0x18]
call fcn.004224a8
push dword [ebp - 0x24]
push eax
push esi
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00424af7
cmp edi, ebx
jne 0x43e8a2
push 0x50107c
lea ecx, [ebp - 0x18]
call fcn.00425392
mov edi, dword [ebp - 0x18]
push edi
push str._ExistingValue_
lea eax, [ebp - 0x14]
push eax
call fcn.0042b689
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.00424a8d
add esp, 0xc
call fcn.0043b75e
pop ecx
lea ecx, [edi - 0x10]
call fcn.0042201a
mov edi, dword [ebp - 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea ecx, [edi - 0x10]
call fcn.0042201a
lea ecx, [esi - 0x10]
call fcn.0042201a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x43e783
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d29fc
ret
Function at 0x43ec32
Capabilities:
Set environment variable

Disassembly:
push 0x10
mov eax, 0x4ee3df
call fcn.004d2924
mov edi, ecx
and dword [ebp - 4], 0
push 0
push ecx
lea ebx, [edi + 0x5c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.004247d4
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.BaseDirName
call fcn.004247e9
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x18], esp
push dword [edi + 0xc]
mov esi, str.SoftwareVOS_s
push esi
push eax
call fcn.00478610
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00489500
push eax
mov byte [ebp - 4], 0
call fcn.00479480
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.00424ecd
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CarrierExeName
call fcn.004247e9
push ecx
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x1c], esp
push dword [edi + 0xc]
push esi
push eax
call fcn.00478610
add esp, 0xc
mov byte [ebp - 4], 6
call fcn.00489500
push eax
mov byte [ebp - 4], 0
call fcn.00479480
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
and dword [ebp - 0x10], eax
add esp, 0x14
push dword [edi + 0xc]
push str.CAMEYO_RO_APPID
call esi
add edi, 0x68
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.004247d4
lea eax, [ebp - 0x14]
push eax
call fcn.00478a20
add esp, 0xc
push dword [eax]
push str.CAMEYO_RO_CARRIERDIR
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
push dword [ebx]
push str.CAMEYO_RO_BASEDIRNAME
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
xor eax, eax
cmp dword [ebp - 0x10], eax
sete al
call fcn.004d29fc
ret

Function at 0x43ed62
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push ecx
mov dword [ebp - 4], esp
mov edi, esp
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push str.License.accepted
call fcn.004247e9
push 0
push edi
call fcn.00489ea0
add esp, 0x18
call fcn.0047b160
pop ecx
test eax, eax
jne 0x43edb9
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push str._Loader_Main:_EULA_refused
push eax
call fcn.00478610
pop ecx
pop ecx
call fcn.0043b75e
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
leave
ret

Function at 0x43edbc
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
mov eax, ecx
mov dword [ecx + 0x28], edx
push esi
mov esi, dword [eax]
xor dword [ecx + 0x28], esi
lea esi, [edx + 0x21]
xor dword [eax], esi
add eax, 4
inc edx
cmp edx, 0xa
jb 0x43edc4
pop esi
ret
Function at 0x4437fe
Capabilities:
Delete directory
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x4ee212
call fcn.004d2924
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.004bcd4c
push eax
lea ecx, [ebp - 0x10]
call fcn.0042636d
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.004247e9
call fcn.0043b75e
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00478610
mov esi, str.IntegratedLnkNewDirs
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00424a38
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.00489500
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.0042201a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
cmp dword [ebp - 0x14], ebx
je 0x4438b6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, ebx
call fcn.004d29fc
ret
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
call fcn.004224a8
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.00424af7
cmp dword [ebp - 0x14], ebx
je 0x4438f4
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x20], 0x506a08
cmp eax, ebx
jne 0x44390f
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.00478610
add esp, 0x14
call fcn.0043b75e
inc dword [ebp - 0x18]
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x4438b9
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00478610
push esi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00424a38
add esp, 0x18
mov byte [ebp - 4], 4
mov eax, dword [eax]
push ebx
push eax
call fcn.00489500
push eax
call fcn.00479750
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0042201a
mov ebx, dword [ebp - 0x24]
jmp 0x4438a3
Function at 0x4439a1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x4efe94
call fcn.004d2924
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.004bcd4c
push eax
lea ecx, [ebp - 0x10]
call fcn.0042636d
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00478610
mov esi, str.IntegratedLnk
push esi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00424a38
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.00489500
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.0042201a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042201a
cmp dword [ebp - 0x14], ebx
jne 0x443b1e
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], eax
call fcn.004224a8
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.00424af7
cmp dword [ebp - 0x14], ebx
jne 0x443abf
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00424ecd
call fcn.0047bbb0
pop ecx
mov dword [ebp - 0x14], 0x506a08
cmp eax, ebx
jne 0x443a90
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.00478610
add esp, 0x14
call fcn.0043b75e
inc dword [ebp - 0x18]
pop ecx
jmp 0x443a31
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call fcn.004437fe
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00478610
push esi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00424a38
add esp, 0x1c
mov byte [ebp - 4], 4
mov eax, dword [eax]
push ebx
push eax
call fcn.00489500
push eax
call fcn.00479750
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
xor eax, eax
inc eax
call fcn.004d29fc
ret
Function at 0x443ce1
Capabilities:
Delete registry value

Disassembly:
push 0x1c
mov eax, 0x4f38ca
call fcn.004d2924
mov esi, ecx
and dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 0xc]
push str.Loader_RepoSync:_Unprovisioning:__s
push eax
call fcn.00478610
add esp, 0xc
call fcn.0043b75e
pop ecx
push esi
call fcn.00443cb6
pop ecx
mov edi, eax
call fcn.004bcd4c
push eax
lea ecx, [ebp - 0x10]
call fcn.0042636d
xor ebx, ebx
inc ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
push ecx
mov byte [ebp - 4], bl
lea eax, [esi + 0x58]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004247d4
push ecx
mov byte [ebp - 4], 2
lea eax, [esi + 0x68]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004247d4
push ecx
mov byte [ebp - 4], 3
lea eax, [esi + 0x64]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004247d4
push ecx
mov byte [ebp - 4], 4
lea eax, [esi + 0x5c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004247d4
push ecx
add esi, 0xc
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
mov byte [ebp - 4], 5
call fcn.004247d4
mov byte [ebp - 4], bl
call fcn.004485d9
add esp, 0x24
mov esi, eax
mov eax, esp
mov dword [ebp - 0x24], esp
push edi
push esi
push str.Loader_RepoSync:_Loader_UnregisterApp_d__PackUtils_RemoveApp_d
push eax
call fcn.00478610
add esp, 0x10
call fcn.0043b75e
pop ecx
test edi, edi
je 0x443e31
test esi, esi
jne 0x443e31
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push dword [ebp + 0xc]
push str.Loader_RepoSync:_removing_from_cache:__s
push eax
call fcn.00478610
add esp, 0xc
call fcn.0043b75e
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
pop ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
push 0x50d6dc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00424a38
add esp, 0xc
push dword [eax]
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, ebx
call fcn.004d29fc
ret
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push edi
push str._Loader_RepoSync:_removal_didnt_go_through
push eax
call fcn.00478610
add esp, 0xc
call fcn.0043b75e
pop ecx
xor ebx, ebx
jmp 0x443e13
Function at 0x44514e
Capabilities:
Copy file

Disassembly:
push 0x10
mov eax, 0x4f430b
call fcn.004d2924
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x509888
call fcn.004247e9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0048a1c0
pop ecx
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 8]
call fcn.0042b0e1
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x4451c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
push str._Loader_MergeRegistry:_cannot_mount_existing_CHANGES_key._Rolling_back_and_failing._LE_d
push ecx
call fcn.00478610
add esp, 0xc
call fcn.0043b75e
pop ecx
push 0xb
pop edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, edi
call fcn.004d29fc
ret
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00424ecd
push ecx
mov dword [ebp - 0x1c], esp
mov ebx, esp
push edi
push edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov esi, str.VirtReg.Base.dat
push esi
mov byte [ebp - 4], 1
call fcn.004247e9
push 1
push ebx
call fcn.00489ea0
add esp, 0x18
mov byte [ebp - 4], 0
call fcn.00439695
add esp, 0xc
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push dword [ebp + 8]
push edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
call fcn.004247e9
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.00489ea0
add esp, 0x18
mov byte [ebp - 4], 2
push dword [eax]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x509888
call fcn.004247e9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0048a1c0
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0042201a
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
test bl, bl
je 0x4451b0
push dword [ebp + 8]
push edi
push edi
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push esi
call fcn.004247e9
lea eax, [ebp + 8]
push 1
push eax
call fcn.00489ea0
add esp, 0x14
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov byte [ebp - 4], 3
push dword [eax]
push str.Loader_MergeRegistry:_Init_Update:_cannot_copy_VirtReg.Prog.dat_into_Data_repository:__s
push ecx
call fcn.00478610
add esp, 0xc
call fcn.0043b75e
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
push 7
jmp 0x4451af

Function at 0x44542e
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x4ec516
call fcn.004d2924
and dword [ebp - 4], 0
push 0x4ffaac
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00424a38
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
push dword [ebp + 8]
push 0x50f024
call fcn.004766c0
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d29fc
ret
Function at 0x445506
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 3
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x445590
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov ebx, eax
cmp ebx, esi
je 0x44557d
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push edi
push ebx
mov edi, 0x47e1c0
push edi
push 3
push dword [ebp - 4]
call esi
push ebx
push edi
push 0xe
push dword [ebp - 4]
call esi
push ebx
push edi
push 0x10
push dword [ebp - 4]
call esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
pop edi
test eax, eax
jne 0x445584
mov dword [ebp - 8], 0xa
jmp 0x445584
mov dword [ebp - 8], 8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
jmp 0x445597
mov dword [ebp - 8], 0xe
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x44910c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x24
mov eax, 0x4ee11f
call fcn.004d2924
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0x50
jge 0x4492f3
call fcn.004bcd4c
push eax
lea ecx, [ebp - 0x24]
call fcn.0042636d
mov eax, 0x400
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.004cc1d4
mov dword [ebp - 0x14], eax
mov eax, esp
mov dword [ebp - 0x20], esp
push dword [ebp + 0xc]
push str.AppNameGuess:_OnUninstallerKey:__s
push eax
call fcn.00478610
add esp, 8
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.General
call fcn.004247e9
push 1
mov byte [ebp - 4], 1
call fcn.0047d7f0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push esi
push str.DisplayName
push dword [ebp + 8]
call edi
test eax, eax
jne 0x4492df
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004247e9
push str.Microsoft_Visual_C
xor ecx, ecx
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004248fc
cmp eax, 0xffffffff
je 0x4491e4
push str.Redistributable
xor ecx, ecx
call fcn.004248fc
cmp eax, 0xffffffff
jne 0x4492d4
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x4491f8
push 0x508f74
mov ecx, ebx
call fcn.0042620e
mov esi, dword [ebp - 0x14]
push esi
mov ecx, ebx
call fcn.004261e4
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.Publisher
push dword [ebp + 8]
call edi
test eax, eax
jne 0x449225
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00424842
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.DisplayVersion
push dword [ebp + 8]
call edi
test eax, eax
jne 0x449247
mov ecx, dword [ebp + 0x14]
push esi
call fcn.00424842
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [ebp - 0x28], esp
push dword [ecx]
mov ecx, dword [ebp + 0x10]
push dword [ecx]
push dword [ebx]
push str.AppNameGuess:_RegAppName_s__RegPublisher_s__RegVersion_s
push eax
call fcn.00478610
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.General
mov byte [ebp - 4], 4
call fcn.004247e9
push 1
mov byte [ebp - 4], 3
call fcn.0047d7f0
add esp, 0xc
push ebx
lea ecx, [ebp - 0x20]
call fcn.00424ecd
push str._REMOVE_ONLY_
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0042b8b6
xor ecx, ecx
mov esi, eax
call fcn.004248fc
mov esi, eax
cmp esi, 0xffffffff
je 0x4492c9
push str._REMOVE_ONLY_
call fcn.004cbe7a
pop ecx
push esi
push ebx
call fcn.00424880
call fcn.00424e1c
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
push dword [ebp - 0x14]
call fcn.004cc0f7
pop ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d29fc
ret
Function at 0x44b781
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [esi + 0x8c], edi
je 0x44b7c3
mov ecx, esi
call fcn.0044c1c8
test eax, eax
je 0x44b7c8
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x44bae5
push edi
push edi
call fcn.004cc39f
add esp, 0x18
mov dword [esi + 0xa8], eax
cmp eax, edi
je 0x44b7c3
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
leave
ret
mov eax, dword [esi + 0xb0]
cmp eax, edi
je 0x44b7c3
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb0]
push edi
mov ecx, dword [eax]
neg edx
push edx
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [esi + 0x68]
push dword [esi + 0x64]
push edi
push edi
push dword [esi + 0x90]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x44b7c3
push edi
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
inc eax
jmp 0x44b7c5

Function at 0x44b828
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call fcn.004bf27b
mov eax, dword [eax + 0xc]
push 0x505df8
push 0x3ed
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44b8d5
call fcn.004bf27b
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x44b8d5
call fcn.004bf27b
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x44b8d5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x44b8ce
test ebx, ebx
je 0x44b8ce
push edi
push eax
push ebx
call fcn.004cc5b0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push edi
push esi
call fcn.0044b2cf
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x44b8d7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44c81f
Capabilities:
Print debug messages

Disassembly:
push 8
mov eax, 0x4ec4b5
call fcn.004d2924
and dword [ebp - 4], 0
push dword [ebp + 8]
push 0x511638
call fcn.004766c0
pop ecx
pop ecx
push 0x4ffaac
lea ecx, [ebp + 8]
call fcn.0042620e
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004262b8
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push str.Loader:
push eax
mov byte [ebp - 4], 1
call fcn.00424a8d
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00424eee
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004d29fc
ret

Function at 0x44d036
Capabilities:
Terminate process

Disassembly:
push 4
mov eax, 0x4ec516
call fcn.004d2924
and dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
push ecx
push 0x5116d8
push eax
call fcn.00424a8d
add esp, 0xc
call fcn.0044c7ef
cmp dword [ebp + 0xc], 1
pop ecx
jl 0x44d07c
push 0
push str.Fatal
push dword [ebp + 8]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]