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

Disassembly:
push 0x10
mov eax, 0x4da208
call fcn.004bee78
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.004247de
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.BaseDirName
call fcn.004247f3
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.0046aaf0
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.0047b0e0
push eax
mov byte [ebp - 4], 0
call fcn.0046b960
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.00424efd
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CarrierExeName
call fcn.004247f3
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.0046aaf0
add esp, 0xc
mov byte [ebp - 4], 6
call fcn.0047b0e0
push eax
mov byte [ebp - 4], 0
call fcn.0046b960
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.004247de
lea eax, [ebp - 0x14]
push eax
call fcn.0046af00
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.004bef50
ret

Function at 0x4372d9
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.004247f3
push 0
push edi
call fcn.0047b9e0
add esp, 0x18
call fcn.0046d1a0
pop ecx
test eax, eax
jne 0x437330
push ecx
mov eax, esp
mov dword [ebp - 4], esp
push str._Loader_Main:_EULA_refused
push eax
call fcn.0046aaf0
pop ecx
pop ecx
call fcn.00433da4
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
leave
ret

Function at 0x437333
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 0x43733b
pop esi
ret
Function at 0x43bc9a
Capabilities:
Delete directory
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x4da03b
call fcn.004bee78
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.004aa2e3
push eax
lea ecx, [ebp - 0x10]
call fcn.0042249b
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.004247f3
call fcn.00433da4
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0046aaf0
mov esi, str.IntegratedLnkNewDirs
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00424a42
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.0047b0e0
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 0x43bd52
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, ebx
call fcn.004bef50
ret
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
call fcn.004224cd
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.00424b01
cmp dword [ebp - 0x14], ebx
je 0x43bd90
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x20], 0x4f4b78
cmp eax, ebx
jne 0x43bdab
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.0046aaf0
add esp, 0x14
call fcn.00433da4
inc dword [ebp - 0x18]
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x43bd55
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.0046aaf0
push esi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00424a42
add esp, 0x18
mov byte [ebp - 4], 4
mov eax, dword [eax]
push ebx
push eax
call fcn.0047b0e0
push eax
call fcn.0046bc30
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 0x43bd3f
Function at 0x43be3d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x4db959
call fcn.004bee78
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.004aa2e3
push eax
lea ecx, [ebp - 0x10]
call fcn.0042249b
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.0046aaf0
mov esi, str.IntegratedLnk
push esi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00424a42
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.0047b0e0
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 0x43bfba
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], eax
call fcn.004224cd
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.00424b01
cmp dword [ebp - 0x14], ebx
jne 0x43bf5b
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00424efd
call fcn.0046dbf0
pop ecx
mov dword [ebp - 0x14], 0x4f4b78
cmp eax, ebx
jne 0x43bf2c
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.0046aaf0
add esp, 0x14
call fcn.00433da4
inc dword [ebp - 0x18]
pop ecx
jmp 0x43becd
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call fcn.0043bc9a
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0046aaf0
push esi
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00424a42
add esp, 0x1c
mov byte [ebp - 4], 4
mov eax, dword [eax]
push ebx
push eax
call fcn.0047b0e0
push eax
call fcn.0046bc30
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.004bef50
ret
Function at 0x43c17d
Capabilities:
Delete registry value

Disassembly:
push 0x1c
mov eax, 0x4dfc7b
call fcn.004bee78
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.0046aaf0
add esp, 0xc
call fcn.00433da4
pop ecx
push esi
call fcn.0043c152
pop ecx
mov edi, eax
call fcn.004aa2e3
push eax
lea ecx, [ebp - 0x10]
call fcn.0042249b
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.004247de
push ecx
mov byte [ebp - 4], 2
lea eax, [esi + 0x68]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004247de
push ecx
mov byte [ebp - 4], 3
lea eax, [esi + 0x64]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004247de
push ecx
mov byte [ebp - 4], 4
lea eax, [esi + 0x5c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004247de
push ecx
add esi, 0xc
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
mov byte [ebp - 4], 5
call fcn.004247de
mov byte [ebp - 4], bl
call fcn.004407bb
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.0046aaf0
add esp, 0x10
call fcn.00433da4
pop ecx
test edi, edi
je 0x43c2cd
test esi, esi
jne 0x43c2cd
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.0046aaf0
add esp, 0xc
call fcn.00433da4
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
pop ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
push 0x4f570c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00424a42
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.004bef50
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.0046aaf0
add esp, 0xc
call fcn.00433da4
pop ecx
xor ebx, ebx
jmp 0x43c2af
Function at 0x43d5e7
Capabilities:
Copy file

Disassembly:
push 0x10
mov eax, 0x4dfc30
call fcn.004bee78
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x4f19a0
call fcn.004247f3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0047bce0
pop ecx
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 8]
call fcn.0042aeed
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x43d65c
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.0046aaf0
add esp, 0xc
call fcn.00433da4
pop ecx
push 0xb
pop edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
mov eax, edi
call fcn.004bef50
ret
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00424efd
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.004247f3
push 1
push ebx
call fcn.0047b9e0
add esp, 0x18
mov byte [ebp - 4], 0
call fcn.00431d3c
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.004247f3
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.0047b9e0
add esp, 0x18
mov byte [ebp - 4], 2
push dword [eax]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4f19a0
call fcn.004247f3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0047bce0
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 0x43d649
push dword [ebp + 8]
push edi
push edi
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push esi
call fcn.004247f3
lea eax, [ebp + 8]
push 1
push eax
call fcn.0047b9e0
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.0046aaf0
add esp, 0xc
call fcn.00433da4
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
push 7
jmp 0x43d648

Function at 0x43d983
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x4d9ef5
call fcn.004bee78
and dword [ebp - 4], 0
push 0x4e94cc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00424a42
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 0x4f7050
call fcn.00468cd0
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004bef50
ret
Function at 0x43da5b
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 0x43dae5
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 0x43dad2
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push edi
push ebx
mov edi, 0x470200
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 0x43dad9
mov dword [ebp - 8], 0xa
jmp 0x43dad9
mov dword [ebp - 8], 8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
jmp 0x43daec
mov dword [ebp - 8], 0xe
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x440d0f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x24
mov eax, 0x4d9f7b
call fcn.004bee78
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0x50
jge 0x440ef6
call fcn.004aa2e3
push eax
lea ecx, [ebp - 0x24]
call fcn.0042249b
mov eax, 0x400
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.004b9282
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.0046aaf0
add esp, 8
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.General
call fcn.004247f3
push 1
mov byte [ebp - 4], 1
call fcn.0046f830
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 0x440ee2
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004247f3
push str.Microsoft_Visual_C
xor ecx, ecx
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00424906
cmp eax, 0xffffffff
je 0x440de7
push str.Redistributable
xor ecx, ecx
call fcn.00424906
cmp eax, 0xffffffff
jne 0x440ed7
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x440dfb
push 0x4f11ac
mov ecx, ebx
call fcn.0042bc86
mov esi, dword [ebp - 0x14]
push esi
mov ecx, ebx
call fcn.0042b495
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 0x440e28
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0042484c
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 0x440e4a
mov ecx, dword [ebp + 0x14]
push esi
call fcn.0042484c
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.0046aaf0
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.General
mov byte [ebp - 4], 4
call fcn.004247f3
push 1
mov byte [ebp - 4], 3
call fcn.0046f830
add esp, 0xc
push ebx
lea ecx, [ebp - 0x20]
call fcn.00424efd
push str._REMOVE_ONLY_
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0042b6d7
xor ecx, ecx
mov esi, eax
call fcn.00424906
mov esi, eax
cmp esi, 0xffffffff
je 0x440ecc
push str._REMOVE_ONLY_
call fcn.004b8a1a
pop ecx
push esi
push ebx
call fcn.0042488a
call fcn.00424e4c
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.004b9165
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.004bef50
ret
Function at 0x442d4c
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 0x442d8e
mov ecx, esi
call fcn.00443793
test eax, eax
je 0x442d93
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x4430b0
push edi
push edi
call fcn.004bc7e5
add esp, 0x18
mov dword [esi + 0xa8], eax
cmp eax, edi
je 0x442d8e
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 0x442d8e
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 0x442d8e
push edi
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
inc eax
jmp 0x442d90

Function at 0x442df3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call fcn.004ac645
mov eax, dword [eax + 0xc]
push 0x4ef108
push 0x3ed
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x442ea0
call fcn.004ac645
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 0x442ea0
call fcn.004ac645
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 0x442ea0
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 0x442e99
test ebx, ebx
je 0x442e99
push edi
push eax
push ebx
call fcn.004b8ca0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push edi
push esi
call fcn.0044289a
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x442ea2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x443da9
Capabilities:
Print debug messages

Disassembly:
push 8
mov eax, 0x4d88e3
call fcn.004bee78
and dword [ebp - 4], 0
push dword [ebp + 8]
push 0x4f93e8
call fcn.00468cd0
pop ecx
pop ecx
push 0x4e94cc
lea ecx, [ebp + 8]
call fcn.0042bc86
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004261ef
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push str.Loader:
push eax
mov byte [ebp - 4], 1
call fcn.00424a97
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00424f1e
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.004bef50
ret

Function at 0x4445c0
Capabilities:
Terminate process

Disassembly:
push 4
mov eax, 0x4d9ef5
call fcn.004bee78
and dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
push ecx
push 0x4f9488
push eax
call fcn.00424a97
add esp, 0xc
call fcn.00443d79
cmp dword [ebp + 0xc], 1
pop ecx
jl 0x444606
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]
Function at 0x44e0da
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x522f10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x3b8
xor ebx, ebx
lea eax, [esi + 0x54]
push ebx
push eax
call fcn.004b9350
push 0x110
xor edi, edi
inc edi
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [esi + 0x40c], ebx
mov dword [esi + 0x410], edi
mov dword [esi + 0x414], edi
mov dword [esi + 0x454], ebx
mov dword [esi + 0x458], edi
mov dword [esi + 0x418], ebx
mov dword [esi + 0x438], ebx
mov dword [esi + 0x450], ebx
mov dword [esi + 0x420], ebx
mov dword [esi + 0x45c], ebx
mov dword [ebp - 0x118], 0x114
call fcn.004b9350
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x44e17d
cmp dword [ebp - 0x114], 5
jae 0x44e17f
xor edi, edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x41c], edi
pop edi
xor ecx, ebp
pop ebx
call fcn.004b80af
leave
ret
Function at 0x456200
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc2c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x522f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x528be0], 2
jne 0x45623b
push str.C:FilesPreScan.db
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x528be0], 0
mov esi, 0x4eaa5c
je 0x45624e
mov esi, str.C:FilesPreScan.db
mov edi, 0x528e60
call fcn.0048af50
push 0x528e84
mov dword [0x528e80], 0
mov dword [0x528e7c], 0
call fcn.0042ca30
push 0x4eaa5c
call fcn.004b8a1a
add esp, 4
push eax
push 0x4eaa5c
mov ecx, 0x528e9c
call fcn.00425413
mov edi, 0x528cb8
mov dword [0x528ea0], 1
call fcn.0042c64e
mov eax, dword [eax]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
call fcn.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4562cd
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.Adding_dir_to_avoid:__s
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x456309
mov edx, ecx
movzx edi, dx
push edi
call fcn.004b2260
test eax, eax
je 0x456323
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x456323
push str.Adding_dir_to_avoid:__s
call fcn.004b8a1a
add esp, 4
push eax
push str.Adding_dir_to_avoid:__s
mov ecx, esi
call fcn.00425413
push ecx
mov dword [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x14], esi
call fcn.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45634d
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.General
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x456386
mov edx, ecx
movzx edi, dx
push edi
call fcn.004b2260
test eax, eax
je 0x4563a0
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x4563a0
push str.General
call fcn.004b8a1a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00425413
mov byte [ebp - 4], 1
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.0046f830
add esp, 0x10
mov edi, 0x528cb8
call fcn.0042c64e
push eax
mov eax, 0x528d14
call fcn.00424b8d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret