Function at 0x10001b90
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10028dc2
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x1003230c]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003230c]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
xor edi, edi
mov ebx, 7
xor eax, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
mov word [esp + 0x74], ax
mov dword [esp + 0x108], edi
xor ecx, ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], edi
mov word [esp + 0x90], cx
xor edx, edx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], edi
mov word [esp + 0xc8], dx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], edi
mov word [esp + 0xac], ax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], cx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xf4], edi
mov word [esp + 0xe4], dx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
mov word [esp + 0x58], ax
push str._________AddRemoveUserAgentKey_custom_action_started._________
mov byte [esp + 0x10c], 6
call fcn.10001180
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
push 0x80000002
call fcn.10007990
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
push 0x80000001
call fcn.10007990
add esp, 0x14
lea ecx, [esp + 0x54]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x54], esp
xor edx, edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push 0x10
mov eax, str.CustomActionData
mov word [esi + 4], dx
call fcn.10005d40
mov ecx, dword [esp + 0x130]
call fcn.10006950
add esp, 0x20
cmp eax, edi
jne 0x10001f0f
push 1
push 0x1002be54
xor edx, edx
lea eax, [esp + 0x5c]
call fcn.100058d0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10001f0f
cmp ebp, edi
je 0x10001d3d
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
xor edx, edx
lea esi, [esp + 0x1c]
call fcn.100055d0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x110], bl
call fcn.10005820
mov byte [esp + 0x108], 6
cmp dword [esp + 0x30], 8
jb 0x10001d3d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10011720
add esp, 4
push 0x12
mov eax, str.CustomActionData:
lea esi, [esp + 0x3c]
call fcn.10005d40
push edi
lea edx, [esp + 0x58]
push edx
or eax, 0xffffffff
call fcn.10005ba0
push 9
mov eax, str._REMOVE:
mov ecx, esi
call fcn.10005c60
push edi
lea eax, [esp + 0xac]
push eax
or eax, 0xffffffff
call fcn.10005ba0
cmp dword [esp + 0xbc], edi
jne 0x10001ef1
push 1
lea esi, [ebp + 1]
push 0x1002be54
mov edx, esi
lea eax, [esp + 0x5c]
call fcn.100058d0
lea edx, [esp + 0x54]
mov ebp, eax
push edx
mov edx, esi
lea ecx, [ebp - 1]
lea esi, [esp + 0x1c]
call fcn.100055d0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x94]
mov byte [esp + 0x110], 8
call fcn.10005820
mov byte [esp + 0x108], 6
cmp dword [esp + 0x30], 8
jb 0x10001de4
mov eax, dword [esp + 0x1c]
push eax
call fcn.10011720
add esp, 4
lea ecx, [esp + 0x54]
push ecx
lea edx, [ebp + 1]
or ecx, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.100055d0
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xcc]
mov byte [esp + 0x110], 9
call fcn.10005820
mov ebp, 8
mov byte [esp + 0x108], 6
cmp dword [esp + 0x30], ebp
jb 0x10001e2f
mov edx, dword [esp + 0x1c]
push edx
call fcn.10011720
add esp, 4
cmp dword [esp + 0xa0], edi
je 0x10001f14
cmp dword [esp + 0xd8], edi
je 0x10001f14
lea eax, [esp + 0x70]
push eax
mov eax, str.AskTb
call fcn.100055a0
push edi
lea ecx, [esp + 0x90]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x78]
call fcn.10005ba0
mov edx, esi
push edx
mov eax, 0x1002c128
call fcn.100055a0
push edi
lea eax, [esp + 0xc8]
push eax
or eax, 0xffffffff
call fcn.10005ba0
lea ecx, [esp + 0x38]
push ecx
mov eax, 0x1002c12c
call fcn.100055a0
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x40]
call fcn.10005ba0
push edi
lea eax, [esp + 0x18]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings5.0User_AgentPost_Platform
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10001f14
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], ebp
jae 0x10001ede
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x14]
push edi
push edi
push 1
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10001ef6
mov ebp, 8
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x10001f04
lea eax, [esp + 0x3c]
push eax
call fcn.10001180
add esp, 4
jmp 0x10001f14
mov ebp, 8
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x10001f23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str._________AddRemoveUserAgentKey_custom_action_ended._________
call fcn.10001180
add esp, 4
cmp dword [esp + 0x6c], ebp
jb 0x10001f43
mov edx, dword [esp + 0x58]
push edx
call fcn.10011720
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
mov word [esp + 0x58], ax
cmp dword [esp + 0xf8], ebp
jb 0x10001f6b
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.10011720
add esp, 4
xor edx, edx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xf4], edi
mov word [esp + 0xe4], dx
cmp dword [esp + 0x50], ebp
jb 0x10001f96
mov eax, dword [esp + 0x3c]
push eax
call fcn.10011720
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], cx
cmp dword [esp + 0xc0], ebp
jb 0x10001fbe
mov edx, dword [esp + 0xac]
push edx
call fcn.10011720
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], edi
mov word [esp + 0xac], ax
cmp dword [esp + 0xdc], ebp
jb 0x10001fef
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.10011720
add esp, 4
xor edx, edx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], edi
mov word [esp + 0xc8], dx
cmp dword [esp + 0xa4], ebp
jb 0x10002020
mov eax, dword [esp + 0x90]
push eax
call fcn.10011720
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], edi
mov word [esp + 0x90], cx
cmp dword [esp + 0x88], ebp
jb 0x1000204e
mov edx, dword [esp + 0x74]
push edx
call fcn.10011720
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.1001172b
add esp, 0xf8
ret 4