Function at 0x43e180
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4622a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [esi], ax
jne 0x43e1e9
xor ecx, ecx
jmp 0x43e1ff
mov ecx, esi
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e1f0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.004023a0
lea ecx, [ebp - 0x1c]
call fcn.0040d5e0
test al, al
je 0x43e3c7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push 0x4860d4
push eax
mov dword [ebp - 0x14], 0
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 2
push 0x46b720
push 1
push 0
push str.ScriptFile
push eax
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 4
lea ecx, [ebp - 0x20]
push ecx
push 3
push 0
push str.ScriptPar
push eax
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 4
lea ecx, [ebp - 0x20]
push ecx
push 3
push 0
push str.WindowsPar
push eax
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.MatchDrvLetters
push eax
mov dword [ebp - 0x14], 0
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.IFWBootWIM
push eax
mov dword [ebp - 0x14], 0
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.IFWWinRE
push eax
mov dword [ebp - 0x14], 0
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.UpdateTBPrograms
push eax
mov dword [ebp - 0x14], 0
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 2
push 0x46b720
push 1
push 0
push str.IFWPath
push eax
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 4
lea ecx, [ebp - 0x20]
push ecx
push 3
push 0
push str.IFWPar
push eax
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push 0x471cfc
push eax
mov dword [ebp - 0x14], 0
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push str.InitFlags
push eax
mov dword [ebp - 0x14], 0
call esi
mov dword [ebp - 0x18], eax
jmp 0x43e3d6
mov edx, 1
mov ecx, str.Error:_Unable_to_clear_configuration_settings
call fcn.0040da30
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e3e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.0044fdac
mov esp, ebp
pop ebp
ret