Function at 0x420200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4c6190]
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
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
xor edx, edx
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov ebx, dword [ecx]
mov esi, dword [ebx]
cmp esi, ebx
je 0x4202b0
lea edi, [esi + 8]
push edi
cmp edx, eax
je 0x420270
mov ecx, edx
call fcn.00401e20
mov eax, dword [ebp - 0x18]
add eax, 0x18
mov dword [ebp - 0x18], eax
jmp 0x42027c
push edx
lea ecx, [ebp - 0x1c]
call fcn.00401b50
mov eax, dword [ebp - 0x18]
add edi, 0x18
push edi
cmp eax, dword [ebp - 0x14]
je 0x420297
mov ecx, eax
call fcn.00401e20
mov edx, dword [ebp - 0x18]
add edx, 0x18
mov dword [ebp - 0x18], edx
jmp 0x4202a3
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401b50
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
mov esi, eax
cmp eax, ebx
je 0x4202b0
mov eax, dword [ebp - 0x14]
jmp 0x420256
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0044a700
add esp, 0xc
mov eax, dword [ebp - 0x24]
lea edi, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
mov dword [ebp - 0x78], 0
cmovae edi, dword [ebp - 0x34]
lea ebx, [eax + eax]
mov ecx, 0x4a7340
mov dword [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420300
sub ecx, edx
sar ecx, 1
push ecx
push 0x4a7340
lea ecx, [ebp - 0x78]
call fcn.00402010
mov dword [ebp - 0x60], 0
mov ecx, 0x4a7378
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 3
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420344
sub ecx, edx
sar ecx, 1
push ecx
push 0x4a7378
lea ecx, [ebp - 0x60]
call fcn.00402010
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x44], 0x4ae4f0
call fcn.00452f90
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x78]
cmovae ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x64], 8
push ecx
cmovae eax, dword [ebp - 0x78]
push eax
push 0x4ae328
push 0x4ae358
push 4
call fcn.00453ac0
add esp, 0x14
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push 0x20006
push 0
push eax
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x420403
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
push eax
cmovae ecx, dword [ebp - 0x60]
push ecx
push 0x4ae398
push 0x4ae358
push 5
call fcn.00453ac0
add esp, 0x14
xor bl, bl
jmp 0x420458
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
mov esi, dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x78]
push ebx
push edi
push 7
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42044f
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x78]
push eax
cmovae ecx, dword [ebp - 0x78]
push ecx
push 0x4ae3e0
push 0x4ae358
push 5
call fcn.00453ac0
add esp, 0x14
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x420458
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x420492
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420488
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ba
push ecx
push edx
call fcn.00465ef5
add esp, 8
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp ecx, 8
jb 0x4204e0
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4204d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ba
push ecx
push edx
call fcn.00465ef5
add esp, 8
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp ecx, 8
jb 0x42052e
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420524
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ba
push ecx
push edx
call fcn.00465ef5
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 7
test eax, eax
je 0x42059c
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00401cb0
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x420592
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4205ba
push ecx
push esi
call fcn.00465ef5
add esp, 8
mov al, bl
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.00465ee7
mov esp, ebp
pop ebp
ret
call fcn.00469eed
int3