Function at 0x403ae0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x278
mov eax, dword [0x4296e0]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
push ebp
mov ebp, dword [esp + 0x284]
push esi
mov esi, dword [esp + 0x28c]
push edi
lea eax, [esp + 0x18]
push eax
push 0x4205f8
xor edi, edi
push 0x15
push edi
push 0x420658
mov byte [esp + 0x27], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call ebx
test eax, eax
jl 0x403b4a
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x403b4a
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
lea eax, [esp + 0x14]
push eax
push 0x420618
push 0x15
push edi
push 0x420678
call ebx
test byte [esi], 0xf0
mov ebx, 0x160
je 0x403bbb
cmp eax, edi
jl 0x403bbb
cmp dword [esp + 0x14], edi
je 0x403bbb
push ebx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.0040f890
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push ebx
push dword [esi]
mov byte [esp + 0x8e], 0xf9
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp byte [esp + 0x81], 1
jne 0x403bb4
and dword [esp + 0x3c], 0xfff00000
mov dword [esi + 0x30], 1
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x1c], ecx
test byte [esi + 0x5c], 0xf0
je 0x403c18
cmp eax, edi
jl 0x403c18
cmp dword [esp + 0x14], edi
je 0x403c18
push ebx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.0040f890
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push ebx
push dword [esi + 0x5c]
mov byte [esp + 0x8e], 0xf9
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp byte [esp + 0x81], 1
jne 0x403c11
and dword [esp + 0x3c], 0xfff00000
mov dword [esi + 0x8c], 1
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x78], ecx
lea edi, [esi + 0xb8]
test byte [edi], 0xf0
je 0x403c7e
test eax, eax
jl 0x403c7e
cmp dword [esp + 0x14], 0
je 0x403c7e
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0040f890
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push ebx
push dword [edi]
mov byte [esp + 0x8e], 0xf9
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp byte [esp + 0x81], 1
jne 0x403c74
and dword [esp + 0x3c], 0xfff00000
mov dword [esi + 0xe8], 1
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xd4], ecx
lea edi, [esi + 0x114]
test byte [edi], 0xf0
je 0x403ce4
test eax, eax
jl 0x403ce4
cmp dword [esp + 0x14], 0
je 0x403cf2
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0040f890
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push ebx
push dword [edi]
mov byte [esp + 0x8e], 0xf9
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp byte [esp + 0x81], 1
jne 0x403cda
and dword [esp + 0x3c], 0xfff00000
mov dword [esi + 0x144], 1
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x403cf2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebp, ebp
je 0x404454
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
pop ebx
push ebx
lea eax, [esi + 0x170]
push eax
push ebx
push 0
push 0x420f38
push ebp
call edi
test eax, eax
jne 0x404454
push ebx
push esi
push ebx
push eax
push 0x420f28
push ebp
call edi
push ebx
lea eax, [esi + 0x5c]
push eax
push ebx
push 0
push 0x420f18
push ebp
call edi
push ebx
lea eax, [esi + 0xb8]
push eax
push ebx
push 0
push 0x420f0c
push ebp
call edi
push ebx
lea eax, [esi + 0x114]
push eax
push ebx
push 0
push 0x420efc
push ebp
call edi
push ebx
lea eax, [esi + 4]
push eax
push ebx
push 0
push 0x420ef0
push ebp
call edi
push ebx
lea eax, [esi + 8]
push eax
push ebx
push 0
push 0x420ee4
push ebp
call edi
push ebx
lea eax, [esi + 0xc]
push eax
push ebx
push 0
push 0x420ed8
push ebp
call edi
push ebx
lea eax, [esi + 0x10]
push eax
push ebx
push 0
push 0x420ecc
push ebp
call edi
push ebx
lea eax, [esi + 0x60]
push eax
push ebx
push 0
push 0x420ec0
push ebp
call edi
push ebx
lea eax, [esi + 0x64]
push eax
push ebx
push 0
push 0x420eb4
push ebp
call edi
push ebx
lea eax, [esi + 0x68]
push eax
push ebx
push 0
push 0x420ea8
push ebp
call edi
push ebx
lea eax, [esi + 0x6c]
push eax
push ebx
push 0
push 0x420e98
push ebp
call edi
push ebx
lea eax, [esi + 0xbc]
push eax
push ebx
push 0
push 0x420e90
push ebp
call edi
push ebx
lea eax, [esi + 0xc0]
push eax
push ebx
push 0
push 0x420e88
push ebp
call edi
push ebx
lea eax, [esi + 0xc4]
push eax
push ebx
push 0
push 0x420e80
push ebp
call edi
push ebx
lea eax, [esi + 0xc8]
push eax
push ebx
push 0
push 0x420e74
push ebp
call edi
push ebx
lea eax, [esi + 0x118]
push eax
push ebx
push 0
push 0x420e68
push ebp
call edi
push ebx
lea eax, [esi + 0x11c]
push eax
push ebx
push 0
push 0x420e5c
push ebp
call edi
push ebx
lea eax, [esi + 0x120]
push eax
push ebx
push 0
push 0x420e50
push ebp
call edi
push ebx
lea eax, [esi + 0x124]
push eax
push ebx
push 0
push 0x420e44
push ebp
call edi
push ebx
lea eax, [esi + 0x14]
push eax
push ebx
push 0
push 0x420e2c
push ebp
call edi
push ebx
lea eax, [esi + 0x70]
push eax
push ebx
push 0
push 0x420e14
push ebp
call edi
push ebx
lea eax, [esi + 0xcc]
push eax
push ebx
push 0
push 0x420e00
push ebp
call edi
push ebx
lea eax, [esi + 0x128]
push eax
push ebx
push 0
push 0x420dec
push ebp
call edi
push ebx
lea eax, [esi + 0x38]
push eax
push ebx
push 0
push 0x420dd4
push ebp
call edi
push ebx
lea eax, [esi + 0x3c]
push eax
push ebx
push 0
push 0x420dbc
push ebp
call edi
push ebx
lea eax, [esi + 0x94]
push eax
push ebx
push 0
push 0x420da4
push ebp
call edi
push ebx
lea eax, [esi + 0x98]
push eax
push ebx
push 0
push 0x420d8c
push ebp
call edi
push ebx
lea eax, [esi + 0x18]
push eax
push ebx
push 0
push 0x420d70
push ebp
call edi
push ebx
lea eax, [esi + 0x74]
push eax
push ebx
push 0
push 0x420d54
push ebp
call edi
push ebx
lea eax, [esi + 0xd0]
push eax
push ebx
push 0
push 0x420d3c
push ebp
call edi
push ebx
lea eax, [esi + 0x12c]
push eax
push ebx
push 0
push 0x420d20
push ebp
call edi
push ebx
lea eax, [esi + 0x1c]
push eax
push ebx
push 0
push 0x420d0c
push ebp
call edi
push ebx
lea eax, [esi + 0x78]
push eax
push ebx
push 0
push 0x420cf8
push ebp
call edi
push ebx
lea eax, [esi + 0xd4]
push eax
push ebx
push 0
push 0x420ce8
push ebp
call edi
push ebx
lea eax, [esi + 0x130]
push eax
push ebx
push 0
push 0x420cd4
push ebp
call edi
push ebx
lea eax, [esi + 0x30]
push eax
push ebx
push 0
push 0x420cc4
push ebp
call edi
push ebx
lea eax, [esi + 0x8c]
push eax
push ebx
push 0
push 0x420cb4
push ebp
call edi
push ebx
lea eax, [esi + 0xe8]
push eax
push ebx
push 0
push 0x420ca8
push ebp
call edi
push ebx
lea eax, [esi + 0x144]
push eax
push ebx
push 0
push 0x420c98
push ebp
call edi
push ebx
lea eax, [esi + 0x20]
push eax
push ebx
push 0
push 0x420c8c
push ebp
call edi
push ebx
lea eax, [esi + 0x2c]
push eax
push ebx
push 0
push 0x420c7c
push ebp
call edi
push ebx
lea eax, [esi + 0x24]
push eax
push ebx
push 0
push 0x420c70
push ebp
call edi
push ebx
lea eax, [esi + 0x28]
push eax
push ebx
push 0
push 0x420c60
push ebp
call edi
mov ebx, 0x104
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0x7c]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420c50
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0x88]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420c40
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0x80]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420c30
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0x84]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420c20
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0xd8]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420c14
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0xe4]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420c08
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0xdc]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420bfc
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0xe0]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420bf0
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0x134]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420be4
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0x140]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420bd4
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0x138]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420bc8
push ebp
call edi
push ebx
lea eax, [esp + 0x184]
push 0
push eax
call fcn.0040f890
push 0xa
lea eax, [esp + 0x190]
push eax
push dword [esi + 0x13c]
call fcn.00410970
add esp, 0x18
push ebx
lea eax, [esp + 0x184]
push eax
push 1
push 0
push 0x420bbc
push ebp
call edi
push 4
lea eax, [esi + 0x34]
push eax
push 4
push 0
push 0x420ba8
push ebp
call edi
push 4
lea eax, [esi + 0x90]
push eax
push 4
push 0
push 0x420b94
push ebp
call edi
push 4
lea eax, [esi + 0xec]
push eax
push 4
push 0
push 0x420b84
push ebp
call edi
push 4
lea eax, [esi + 0x148]
push eax
push 4
push 0
push 0x420b70
push ebp
call edi
cmp byte [0x42ab94], 1
jne 0x40444f
cmp dword [esi + 0x58], 0x10
jb 0x404360
mov eax, dword [esi + 0x44]
jmp 0x404363
lea eax, [esi + 0x44]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040f960
pop ecx
pop ecx
push 0x1c
lea eax, [esp + 0x24]
push eax
push 1
push 0
push 0x420b60
push ebp
call edi
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0040f890
lea eax, [esi + 0x9c]
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4043a4
mov eax, dword [eax + 4]
jmp 0x4043a7
add eax, 4
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040f960
pop ecx
pop ecx
push 0x1c
lea eax, [esp + 0x24]
push eax
push 1
push 0
push 0x420b4c
push ebp
call edi
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0040f890
lea eax, [esi + 0xf8]
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4043e8
mov eax, dword [eax + 4]
jmp 0x4043eb
add eax, 4
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040f960
pop ecx
pop ecx
push 0x1c
lea eax, [esp + 0x24]
push eax
push 1
push 0
push 0x420b3c
push ebp
call edi
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0040f890
add esi, 0x154
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x40442c
mov esi, dword [esi + 4]
jmp 0x40442f
add esi, 4
lea eax, [esp + 0x20]
push esi
push eax
call fcn.0040f960
pop ecx
pop ecx
push 0x1c
lea eax, [esp + 0x24]
push eax
push 1
push 0
push 0x420b2c
push ebp
call edi
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x404466
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x274]
mov al, byte [esp + 3]
xor ecx, esp
call fcn.0040f90a
add esp, 0x278
ret 8