joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4273e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x208
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
call fcn.004d4853
mov esi, eax
lea eax, [edi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 0xc], esi
jb 0x427419
mov eax, dword [eax]
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x427420
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4274ab
test ebx, ebx
mov ebx, dword [ebp - 4]
push str.In_CAERnswareManager::BackupRegKey__
mov ecx, edi
je 0x427474
call fcn.004015d0
add esp, 4
test ebx, ebx
je 0x427497
mov ecx, dword [ebp + 8]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push ecx
mov edx, str.SoftwareAEBackupHideExtension_backup
jmp 0x42748c
call fcn.004015d0
add esp, 4
test ebx, ebx
je 0x427497
push str.SoftwareAEBackupHideExtension_backup
push 0
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push edi
mov ecx, str.HideFileExt
call fcn.00427d40
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x427556
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4274b6
mov eax, dword [0x504a74]
mov dword [edi], eax
lea edi, [esi - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4274d0
push 0
mov ecx, 0x1e
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push 0
push 2
push 0
push 0
push 0
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x427544
push 4
lea edx, [ebp - 0x10]
push edx
push 4
push eax
mov eax, dword [ebp - 4]
push str.HideFileExt
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, 1
test eax, eax
je 0x42752f
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x14]
push eax
push esi
push str.In_CAERnswareManager::HideExtensionForUnknownFileType__._RegCreateKeyEx_key_:_s__error_:__ld
call fcn.004015d0
add esp, 0xc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427570
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
mov ebx, ecx
xor eax, eax
xor edi, edi
cmp ebx, edi
sete al
push str.In_CAERnswareManager::BackupRegKey__
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
call fcn.004015d0
add esp, 4
mov ecx, str.Enabled
cmp ebx, edi
je 0x427603
push str.SOFTWAREMicrosoftWindows_Script_HostSettings
push ebx
push esi
mov edx, str.SoftwareAEBackupWindhowsScriptingHost_backup
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00427d40
push edi
lea ecx, [ebp - 4]
push ecx
push edi
push 2
push edi
push edi
push edi
push str.SOFTWAREMicrosoftWindows_Script_HostSettings
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x427621
push 4
lea edx, [ebp - 8]
push edx
push 4
push eax
mov eax, dword [ebp - 4]
push str.Enabled
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4275f1
lea edi, [eax + 1]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push str.SoftwareAEBackupWindhowsScriptingHost_backup
push edi
push esi
mov edx, str.SOFTWAREMicrosoftWindows_Script_HostSettings
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00427d40
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str.In_CAERnswareManager::DisableWindowsScriptingHost__._RegCreateKeyEx_failed__error_:__ld
mov ecx, esi
call fcn.004015d0
add esp, 8
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x427640
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
mov ebx, ecx
xor edi, edi
push str.In_CAERnswareManager::BackupRegKey__
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.004015d0
add esp, 4
mov ecx, str.AutoShareWks
cmp ebx, edi
je 0x4276cc
push str.SYSTEMCurrentControlSet_servicesLanmanServerParameters
push ebx
push esi
mov edx, str.SoftwareAEBackupAdminShare_backup
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00427d40
push edi
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push str.SYSTEMCurrentControlSet_servicesLanmanServerParameters
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4276ea
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push eax
push str.AutoShareWks
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4276ba
lea edi, [eax + 1]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push str.SoftwareAEBackupAdminShare_backup
push edi
push esi
mov edx, str.SYSTEMCurrentControlSet_servicesLanmanServerParameters
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00427d40
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str.In_CAERnswareManager::DisableAdminShare__.__RegCreateKeyEx_failed__error_:__ld
mov ecx, esi
call fcn.004015d0
add esp, 8
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427710
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x208
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], eax
call fcn.004d4853
mov esi, eax
lea eax, [edi + 0x1c]
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x10], esi
jb 0x427749
mov eax, dword [eax]
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x427750
lea eax, [ebp - 4]
push eax
push 1
push 0
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4277d8
test ebx, ebx
mov ebx, dword [ebp - 4]
push str.In_CAERnswareManager::BackupRegKey__
mov ecx, edi
je 0x4277a1
call fcn.004015d0
add esp, 4
test ebx, ebx
je 0x4277c4
mov ecx, dword [ebp + 8]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlers
push ecx
mov edx, str.SoftwareAEBackupAutoplayMedia_backup
jmp 0x4277b9
call fcn.004015d0
add esp, 4
test ebx, ebx
je 0x4277c4
push str.SoftwareAEBackupAutoplayMedia_backup
push 0
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlers
push edi
mov ecx, str.DisableAutoplay
call fcn.00427d40
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4278a9
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4277e3
mov eax, dword [0x504a74]
mov dword [edi], eax
lea edi, [esi - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x427800
push 0
mov ecx, 0x22
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAutoplayHandlers
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push 0
push 2
push 0
push 0
push 0
push esi
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x427897
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push eax
mov eax, dword [ebp - 4]
push str.DisableAutoplay
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42787f
mov ecx, dword [ebp - 0xc]
push str.In_CAERnswareManager::TurnOffAutoplayOnAllMediaAndDevice___called_RegSetValueEx
lea esi, [eax + 1]
call fcn.004015d0
mov ecx, dword [ebp - 4]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
push eax
push esi
push str.In_CAERnswareManager::TurnOffAutoplayOnAllMediaAndDevice__._RegCreateKeyEx_failed__key:_s__error_:__ld
call fcn.004015d0
add esp, 0xc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427bb0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8e26
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x206
xor ebx, ebx
lea edx, [ebp - 0x21a]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x21c], cx
call fcn.004da450
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x240], 0x104
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x427cb4
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x244], esp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x427c70
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
call fcn.004027c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
push ecx
mov byte [ebp - 4], bl
call fcn.00450f30
add esp, 0x20
cmp al, bl
jne 0x427cb4
push str.In_CAERnswareManager::GetUserSid___Cannot_get_loggedin_user_sid
mov ecx, edi
call fcn.004015d0
add esp, 4
mov edx, dword [ebp - 0x238]
mov esi, 8
cmp dword [ebp - 0x224], esi
jae 0x427ccd
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax]
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
cmp ax, bx
jne 0x427cd5
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x224], esi
jb 0x427d04
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.004d5559
add esp, 4
xor edx, edx
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
lea eax, [edx + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4
Function at 0x42fd10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SYSTEMSelect
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42fd82
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push eax
push eax
mov eax, dword [ebp - 4]
push str.Current
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
test eax, eax
je 0x42fd82
push eax
push str.ControlSet_03d
call fcn.00403080
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x432480
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3a5c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._Enter_in_CAESettings::IsValidConfig
call edi
mov eax, dword [ebp + 8]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jae 0x4324ca
lea eax, [ebp + 8]
push eax
call edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], ebx
cmp dword [ebp + 0x1c], esi
jb 0x432648
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x43258e
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43258e
lea eax, [ebp - 0x18]
mov ecx, esi
call fcn.004d10e0
push esi
mov byte [ebp - 0xd], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x43258e
lea eax, [ebp - 0x18]
push eax
lea esi, [ebp - 0x14]
call fcn.004d1450
add esp, 4
test al, al
je 0x43258e
lea ebx, [ebp - 0x1c]
mov eax, esi
call fcn.004d24e0
mov esi, dword [ebp - 0x1c]
test al, al
je 0x43257f
push esi
call edi
cmp dword [ebp + 0x24], 0
mov eax, str.WINOSCONFIG
jne 0x432563
mov eax, str.ANTIEXECUTABLECONFIG
push eax
push esi
call fcn.004d5750
add esp, 8
test eax, eax
jne 0x43257f
push str._Config_is_Valid
call edi
mov dword [ebp - 0x20], 1
test esi, esi
je 0x43258c
push esi
call fcn.004d632b
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x4325a3
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4325bb
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x4325cd
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x4325dc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x18], ebx
push str._Exit_From_CAESettings::IsValidConfig
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4325f6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x432608
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x432621
mov eax, dword [ebp + 8]
push eax
call fcn.004d5559
add esp, 4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea eax, [ebp + 8]
jmp 0x4324f5
Function at 0x432650
Capabilities:
Copy file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc868
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str._Enter_in_CAESettings::BackUpConfigFile
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
lea ecx, [ebp - 0x2c]
xor edi, edi
call fcn.00432040
mov dword [ebp - 4], edi
push esi
lea ebx, [ebp - 0x48]
call fcn.004322a0
mov bl, 1
mov byte [ebp - 4], bl
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
xor esi, esi
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push esi
lea edx, [ebp - 0x2c]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.004022e0
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
call fcn.00432480
cmp eax, esi
je 0x43270e
push str._BackUp_Config_Taken
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x48]
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jae 0x4326f6
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x432701
lea eax, [ebp - 0x2c]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
jmp 0x43271e
push str._Config_is_Not_Valid
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 8
push str._Exit_From_CAESettings::BackUpConfigFile
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], ebx
jb 0x43273e
mov eax, dword [ebp - 0x48]
push eax
call fcn.004d5559
add esp, 4
mov ebx, 7
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x432768
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret
Function at 0x4327a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbfe0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.00432040
mov dword [ebp - 4], 0
push esi
lea ebx, [ebp - 0x2c]
call fcn.004322a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov edi, 8
cmp dword [ebp - 0x34], edi
jae 0x4327fa
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x432805
lea eax, [ebp - 0x2c]
xor ebx, ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x432826
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004d5559
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], edi
jb 0x43284e
mov edx, dword [ebp - 0x48]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov word [ebp - 0x48], ax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret

Function at 0x432880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f57bd
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x7fe
lea ecx, [ebp - 0x80e]
xor eax, eax
push edi
mov dword [ebp - 0x830], edi
push ecx
mov dword [ebp - 0x834], ebx
mov word [ebp - 0x810], ax
call fcn.004da450
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x810]
push edx
push edi
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x432912
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edi
mov word [ebx], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0x830], 1
jmp 0x4329c3
xor edx, edx
xor eax, eax
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x810]
mov word [ebp - 0x12], dx
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x432940
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
lea esi, [ebp - 0x82c]
call fcn.004027c0
mov dword [ebp - 4], 1
mov dword [ebx + 0x10], edi
xor ecx, ecx
mov edi, esi
mov dword [ebx + 0x14], 7
mov esi, ebx
mov word [ebx], cx
call fcn.00402140
mov dword [ebp - 0x830], 1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x818], 8
jb 0x4329a6
mov edx, dword [ebp - 0x82c]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], ax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret
Function at 0x433ec0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push str.In_CAESettings::OnSetConfig__._Begin___
mov ecx, 0x93c690
mov esi, eax
call fcn.004015d0
add esp, 4
test edi, edi
jne 0x433efa
push str.In_CAESettings::OnSetConfig__._i_bstrConfigXml_NULL.
mov ecx, 0x93c690
call fcn.004015d0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 4]
push eax
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0042b220
test eax, eax
jne 0x433f3b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
push str._Failed_to_replace_new_Configuration.
mov ecx, 0x93c690
call fcn.004015d0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.0042a030
test eax, eax
jne 0x433f61
push str.In_CAESettings::OnSetConfig__._Load___Failed.
mov ecx, 0x93c690
call fcn.004015d0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0042cb10
test eax, eax
jne 0x433f85
push str.In_CAESettings::OnSetConfig__._RefreshAllSettings___Failed.
mov ecx, 0x93c690
call fcn.004015d0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x4cc]
test eax, eax
je 0x433f96
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, esi
call fcn.00447b40
push esi
mov ecx, edi
call fcn.0042ab70
push str.In_CAESettings::OnSetConfig__._END___.
mov ecx, 0x93c690
call fcn.004015d0
add esp, 4
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x434400
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1fc
xor esi, esi
lea ecx, [ebp - 0x202]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x204], ax
call fcn.004da450
add esp, 0xc
xor eax, eax
jmp 0x434440
movzx ecx, word [eax + str.SYSTEMCurrentControlSetServicesAeFilterMaintenanceModeECL]
mov word [ebp + eax - 0x204], cx
add eax, 2
cmp cx, si
jne 0x434440
lea edx, [ebp - 0x204]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x208]
push ecx
push esi
push 0x20006
push esi
push esi
push esi
lea edx, [ebp - 0x204]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4344b5
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x208]
push 4
xor eax, eax
cmp dword [ebp + 8], esi
lea ecx, [ebp - 0x20c]
push ecx
push 4
setne al
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.AddToCEcl
push edx
mov dword [ebp - 0x20c], eax
call esi
mov edx, dword [ebp - 0x208]
xor eax, eax
cmp dword [ebp + 0xc], eax
push 4
lea ecx, [ebp - 0x214]
push ecx
push 4
setne al
push 0
push str.IncludeDll
push edx
mov dword [ebp - 0x214], eax
call esi
mov edx, dword [ebp - 0x208]
xor eax, eax
cmp dword [ebp + 0x10], eax
push 4
lea ecx, [ebp - 0x210]
push ecx
push 4
setne al
push 0
push str.PolicyStatus
push edx
mov dword [ebp - 0x210], eax
call esi
test edi, edi
je 0x434565
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434540
mov ecx, dword [ebp - 0x208]
sub eax, edx
sar eax, 1
add eax, eax
push eax
push edi
push 1
push 0
push str.PolicyList
push ecx
call esi
test ebx, ebx
je 0x434596
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434570
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov eax, dword [ebp - 0x208]
push edx
push ebx
push 1
push 0
push str.Comment
push eax
call esi
mov ecx, dword [ebp - 0x208]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004d5564
mov esp, ebp
pop ebp
ret 0xc