Function at 0x420200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fb5d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x4a0234]
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, edx
push esi
lea edx, [ebp - 0x2b8]
call fcn.0041fe80
xor ebx, ebx
push 0x1ff
lea eax, [ebp - 0x20f]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x210], bl
call fcn.0042ee00
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push 0x491718
push edx
call fcn.0042ec8c
add esp, 0x1c
mov dword [ebp - 0x26c], 0xf
mov dword [ebp - 0x270], ebx
mov byte [ebp - 0x280], bl
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x248], ax
mov eax, esi
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4202b0
sub eax, edx
mov ecx, esi
sar eax, 1
lea esi, [ebp - 0x248]
call fcn.00401fe9
lea ecx, [ebp - 0x22c]
push ecx
mov byte [ebp - 4], 2
call fcn.0040d5d0
add esp, 4
mov edi, 0x10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x4202ef
mov eax, dword [eax]
lea edx, [ebp - 0x210]
push edx
push eax
lea ecx, [ebp - 0x280]
call fcn.0040f4d4
add esp, 8
cmp dword [ebp - 0x218], edi
jb 0x42031c
mov eax, dword [ebp - 0x22c]
push eax
call fcn.0042cb00
add esp, 4
cmp dword [ebp - 0x234], 8
mov esi, 0xf
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x22c], bl
jb 0x42034b
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.0042cb00
add esp, 4
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], ebx
mov byte [ebp - 0x264], bl
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x2bc], edx
cmp dword [ebp - 0x26c], edi
jae 0x420381
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x2bc]
push edx
call fcn.0040f5d0
mov edx, dword [ebp - 0x2b8]
add esp, 8
cmp dword [ebp - 0x2a4], edi
jae 0x4203ab
lea edx, [ebp - 0x2b8]
mov eax, edx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], ebx
mov byte [ebp - 0x248], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4203c2
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x248]
call fcn.00405cda
mov byte [ebp - 4], 5
mov eax, dword [0x4ac534]
cmp dword [0x4ac548], edi
jae 0x4203ee
mov eax, 0x4ac534
push eax
mov ecx, str.yh87Yx6EotW2RHhQlrSlh3ep1
lea ebx, [ebp - 0x29c]
call fcn.0040f76e
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], edi
jb 0x42040f
mov edx, dword [eax]
jmp 0x420411
mov edx, eax
xor ebx, ebx
mov eax, edx
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x22c], bl
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x420430
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x22c]
call fcn.00405cda
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2c0], ebx
cmp dword [ebp - 0x218], edi
jae 0x420466
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x2c0]
push ecx
lea edx, [ebp - 0x2bc]
push edx
push ebx
push 0x20006
push ebx
push 0x49165c
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp - 0x264]
cmp dword [ebp - 0x250], edi
jae 0x4204a1
lea ecx, [ebp - 0x264]
mov eax, dword [ebp - 0x248]
cmp dword [ebp - 0x234], edi
jae 0x4204b5
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 0x254]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [ebp - 0x2bc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x218], edi
jb 0x4204e5
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0042cb00
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x22c], bl
cmp dword [ebp - 0x288], edi
jb 0x420513
mov edx, dword [ebp - 0x29c]
push edx
call fcn.0042cb00
add esp, 4
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x28c], ebx
mov byte [ebp - 0x29c], bl
cmp dword [ebp - 0x234], edi
jb 0x42053c
mov eax, dword [ebp - 0x248]
push eax
call fcn.0042cb00
add esp, 4
cmp dword [ebp - 0x250], edi
jb 0x420553
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.0042cb00
add esp, 4
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], ebx
mov byte [ebp - 0x264], bl
cmp dword [ebp - 0x26c], edi
jb 0x42057c
mov edx, dword [ebp - 0x280]
push edx
call fcn.0042cb00
add esp, 4
cmp dword [ebp - 0x2a4], edi
jb 0x420593
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.0042cb00
add esp, 4
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.0042cb0b
mov esp, ebp
pop ebp
ret