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

Disassembly:
push 0x1c
mov eax, 0x4bf2dd
call fcn.004a9c3b
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.00462050
add esp, 0xc
call fcn.0042a10d
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.00423416
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00423a92
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], bl
call fcn.00465fe0
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.00462050
add esp, 0xc
call fcn.0042a10d
pop ecx
push ebx
push 0x3d
lea ecx, [ebp - 0x10]
call fcn.00425613
mov esi, eax
cmp esi, 0xffffffff
jne 0x42bd22
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push str.Loader_SetVirtEnvVariables:__error:_Env_variable_doesnt_contain_
push eax
call fcn.00462050
pop ecx
pop ecx
call fcn.0042a10d
pop ecx
jmp 0x42be0f
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00423605
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00423a92
push ebx
lea ecx, [ebp - 0x14]
lea eax, [esi + 1]
push ecx
mov byte [ebp - 4], 4
call fcn.004234ad
push str._ExistingValue_
xor ecx, ecx
lea esi, [ebp - 0x14]
call fcn.00423529
mov esi, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42bdf4
call fcn.0049673f
push eax
lea ecx, [ebp - 0x18]
call fcn.004249c2
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 0x42bdbc
push eax
lea ecx, [ebp - 0x18]
call fcn.0042149b
push dword [ebp - 0x24]
push eax
push esi
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00423724
cmp edi, ebx
jne 0x42bdbc
push 0x4cd12c
lea ecx, [ebp - 0x18]
call fcn.00423ebc
mov edi, dword [ebp - 0x18]
push edi
push str._ExistingValue_
lea eax, [ebp - 0x14]
push eax
call fcn.00430464
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.004236ba
add esp, 0xc
call fcn.0042a10d
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 0x42bc9d
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.004a9d13
ret
Function at 0x42bf1e
Capabilities:
Set environment variable

Disassembly:
push 0x10
mov eax, 0x4bf292
call fcn.004a9c3b
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.00423401
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.BaseDirName
call fcn.00423416
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.00462050
add esp, 0xc
mov byte [ebp - 4], 3
call fcn.00472430
push eax
mov byte [ebp - 4], 0
call fcn.00463330
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.00423a92
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CarrierExeName
call fcn.00423416
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.00462050
add esp, 0xc
mov byte [ebp - 4], 6
call fcn.00472430
push eax
mov byte [ebp - 4], 0
call fcn.00463330
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.00423401
lea eax, [ebp - 0x14]
push eax
call fcn.00462690
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.004a9d13
ret
Function at 0x42f98e
Capabilities:
Delete directory
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x4bef7d
call fcn.004a9c3b
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.0049673f
push eax
lea ecx, [ebp - 0x10]
call fcn.004249c2
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.00423416
call fcn.0042a10d
push dword [0x4f4ad0]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00462050
mov esi, str.IntegratedLnkNewDirs
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00423665
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.00472430
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 0x42fa46
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, ebx
call fcn.004a9d13
ret
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
call fcn.0042149b
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.00423724
cmp dword [ebp - 0x14], ebx
je 0x42fa84
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x20], 0x4d0498
cmp eax, ebx
jne 0x42fa9f
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.00462050
add esp, 0x14
call fcn.0042a10d
inc dword [ebp - 0x18]
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x42fa49
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x4f4ad0]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00462050
push esi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00423665
add esp, 0x18
mov byte [ebp - 4], 4
push dword [eax]
call fcn.00472430
push eax
call fcn.004635c0
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 0x42fa33
Function at 0x42fb2e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x4c0351
call fcn.004a9c3b
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.0049673f
push eax
lea ecx, [ebp - 0x10]
call fcn.004249c2
mov dword [ebp - 4], ebx
push dword [0x4f4ad0]
mov edi, str.SoftwareVOS_s
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00462050
mov esi, str.IntegratedLnk
push esi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00423665
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.00472430
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 0x42fbca
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov eax, ebx
call fcn.004a9d13
ret
mov dword [ebp - 0x18], ebx
mov eax, 0x514
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], eax
call fcn.0042149b
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.00423724
cmp dword [ebp - 0x14], ebx
jne 0x42fc5b
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00423a92
call fcn.00465760
pop ecx
mov dword [ebp - 0x14], 0x4d0498
cmp eax, ebx
jne 0x42fc2c
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.00462050
add esp, 0x14
call fcn.0042a10d
inc dword [ebp - 0x18]
pop ecx
jmp 0x42fbcd
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0042f98e
push dword [0x4f4ad0]
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00462050
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.00423665
add esp, 0x18
mov byte [ebp - 4], 4
push dword [eax]
call fcn.00472430
push eax
call fcn.004635c0
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 0x42fbb7
Function at 0x4307bd
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x4bdb75
call fcn.004a9c3b
and dword [ebp - 4], 0
push 0x4cb5bc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00423665
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 0x4d1090
call fcn.0045faa0
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.004a9d13
ret

Function at 0x430895
Capabilities:
Set file attributes

Disassembly:
push 8
mov eax, 0x4bdb52
call fcn.004a9c3b
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
push 0x4cd12c
call fcn.00423416
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 0x430940
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 0x430928
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push ebx
mov edi, 0x467bd0
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 0x430935
push str.Cannot_commit_to_target_file__write_permission_required_
jmp 0x43092d
push str.Cannot_begin_to_update_target_file
mov ecx, dword [ebp + 8]
call fcn.00423ebc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x43094d
mov ecx, dword [ebp + 8]
push str.Cannot_open_source_file
call fcn.00423ebc
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.004a9d13
ret
Function at 0x433363
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x4bef3a
call fcn.004a9c3b
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0x50
jge 0x433564
call fcn.0049673f
push eax
lea ecx, [ebp - 0x24]
call fcn.004249c2
mov eax, 0x400
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
call fcn.004a5492
mov dword [ebp - 0x18], eax
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 0xc]
push str.AppNameGuess:_OnUninstallerKey:__s
push eax
call fcn.00462050
add esp, 8
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.General
call fcn.00423416
push 1
mov byte [ebp - 4], 1
call fcn.00466f00
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push esi
push str.DisplayName
push dword [ebp + 8]
call edi
test eax, eax
jne 0x433550
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00423416
push str.Microsoft_Visual_C
xor ecx, ecx
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00423529
cmp eax, 0xffffffff
je 0x43343b
push str.Redistributable
xor ecx, ecx
call fcn.00423529
cmp eax, 0xffffffff
jne 0x433545
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x43344f
push 0x4ceb90
mov ecx, ebx
call fcn.004279d8
mov esi, dword [ebp - 0x18]
push esi
mov ecx, ebx
call fcn.00427910
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0
push str.Publisher
push dword [ebp + 8]
call edi
test eax, eax
jne 0x43347c
mov ecx, dword [ebp + 0x10]
push esi
call fcn.0042346f
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0
push str.DisplayVersion
push dword [ebp + 8]
call edi
test eax, eax
jne 0x43349e
mov ecx, dword [ebp + 0x14]
push esi
call fcn.0042346f
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [ebp - 0x10], 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.00462050
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.General
mov byte [ebp - 4], 4
call fcn.00423416
push 1
mov byte [ebp - 4], 3
call fcn.00466f00
add esp, 0xc
push ebx
lea ecx, [ebp - 0x10]
call fcn.00423a92
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
push esi
lea ecx, [ebp - 0x10]
call fcn.0042149b
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004a5faa
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.004214c7
mov edi, str._REMOVE_ONLY_
push edi
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00423529
mov esi, eax
cmp esi, 0xffffffff
je 0x43353a
push edi
call fcn.004a4d8a
pop ecx
push esi
push ebx
call fcn.004234ad
call fcn.004239e1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
push dword [ebp - 0x18]
call fcn.004a5375
pop ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.004a9d13
ret
Function at 0x434639
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x4f4ca4], esi
jne 0x4346ba
mov dword [0x4f4ca4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004604f0
pop ecx
test eax, eax
jne 0x4346a9
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4f4850], eax
cmp dword [0x4f4ca8], esi
jne 0x434696
push esi
push esi
push 0x4cd12c
call fcn.004a5d6d
pop ecx
push eax
push 0x4342b9
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4f4ca8], eax
push 0x190
push dword [0x4f4850]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret
push str.This_is_a_System_process__so_skipping_window_display.
push str.GfxServerInit
call fcn.0045faa0
pop ecx
pop ecx
pop esi
ret

Function at 0x434cbe
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 0x434d00
mov ecx, esi
call fcn.00435703
test eax, eax
je 0x434d05
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x435020
push edi
push edi
call fcn.004a7884
add esp, 0x18
mov dword [esi + 0xa8], eax
cmp eax, edi
je 0x434d00
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 0x434d00
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 0x434d00
push edi
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
inc eax
jmp 0x434d02
Function at 0x434d65
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.00498ab4
mov eax, dword [eax + 0xc]
push 0x4ce774
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x434e0f
call fcn.00498ab4
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x434e0f
call fcn.00498ab4
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 0x434e0f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x434e08
test ebx, ebx
je 0x434e08
push edi
push eax
push ebx
call fcn.004a5010
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push edi
push esi
call fcn.0043480c
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x434e11
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x435d19
Capabilities:
Print debug messages

Disassembly:
push 8
mov eax, 0x4bdb0e
call fcn.004a9c3b
and dword [ebp - 4], 0
push dword [ebp + 8]
push 0x4d23d0
call fcn.0045faa0
pop ecx
pop ecx
push 0x4cb5bc
lea ecx, [ebp + 8]
call fcn.004279d8
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0042490d
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call fcn.004a7934
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push str.Loader:
push eax
call fcn.004236ba
add esp, 0x10
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00423ab3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042101a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042101a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0042101a
call fcn.004a9d13
ret
Function at 0x43cc0b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4efc64]
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.004a5560
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.004a5560
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x43ccae
cmp dword [ebp - 0x114], 5
jae 0x43ccb0
xor edi, edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x41c], edi
pop edi
xor ecx, ebp
pop ebx
call fcn.004a4491
leave
ret

Function at 0x43d620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
push ecx
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [eax], edi
call fcn.004a5d6d
add esp, 4
mov ebx, eax
lea edx, [eax + 2]
jmp 0x43d650
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43d650
sub eax, edx
sar eax, 1
cmp eax, 5
jb 0x43d6a4
lea esi, [ebx + eax*2 - 0xa]
mov ecx, 0x4d4d80
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43d696
cmp dx, di
je 0x43d692
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43d696
add eax, 4
add ecx, 4
cmp dx, di
jne 0x43d670
xor eax, eax
jmp 0x43d69b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x43d6a4
xor edx, edx
mov word [esi], dx
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 0xc]
push ecx
push edi
push ebx
push edx
call esi
cmp eax, 0xea
je 0x43d6c6
cmp eax, edi
jne 0x43d706
mov eax, dword [ebp - 8]
push eax
call fcn.004a5492
add esp, 4
lea ecx, [ebp - 8]
push ecx
mov edi, eax
mov eax, dword [ebp + 8]
push edi
lea edx, [ebp - 0xc]
push edx
push 0
push ebx
push eax
call esi
test eax, eax
jne 0x43d6fd
mov esi, dword [ebp - 8]
call fcn.00490f60
mov ecx, dword [ebp + 0xc]
not eax
mov dword [ecx], eax
mov byte [ebp - 1], 1
push edi
call fcn.004a5375
add esp, 4
push ebx
call fcn.004a5375
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fea0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x28
mov dword [ebp - 8], 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x45fece
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x45fec6
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x20]
push edx
push 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jne 0x45fec6
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
or dword [ebp - 0x14], 2
push 0
push 0
push ecx
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push 0
push eax
mov dword [ebp - 0x20], 1
call esi
call edi
test eax, eax
jne 0x45fec6
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret