Function at 0x421690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f9ed
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.00421310
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.0042ef80
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push 0x491770
push edx
call fcn.0042ee0c
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 0x421740
sub eax, edx
mov ecx, esi
sar eax, 1
lea esi, [ebp - 0x248]
call fcn.00401f96
lea ecx, [ebp - 0x22c]
push ecx
mov byte [ebp - 4], 2
call fcn.0040d99d
add esp, 4
mov edi, 0x10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x42177f
mov eax, dword [eax]
lea edx, [ebp - 0x210]
push edx
push eax
lea ecx, [ebp - 0x280]
call fcn.0040f7a0
add esp, 8
cmp dword [ebp - 0x218], edi
jb 0x4217ac
mov eax, dword [ebp - 0x22c]
push eax
call fcn.0042cc85
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 0x4217db
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.0042cc85
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 0x421811
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x2bc]
push edx
call fcn.0040f8a9
mov edx, dword [ebp - 0x2b8]
add esp, 8
cmp dword [ebp - 0x2a4], edi
jae 0x42183b
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 0x421852
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x248]
call fcn.00405ef2
mov byte [ebp - 4], 5
mov eax, dword [0x4ac594]
cmp dword [0x4ac5a8], edi
jae 0x42187e
mov eax, 0x4ac594
push eax
mov ecx, str.yh87Yx6EotW2RHhQlrSlh3ep1
lea ebx, [ebp - 0x29c]
call fcn.0040fa4e
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], edi
jb 0x42189f
mov edx, dword [eax]
jmp 0x4218a1
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 0x4218c0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x22c]
call fcn.00405ef2
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2c0], ebx
cmp dword [ebp - 0x218], edi
jae 0x4218f6
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x2c0]
push ecx
lea edx, [ebp - 0x2bc]
push edx
push ebx
push 0x20006
push ebx
push 0x4915b4
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 0x421931
lea ecx, [ebp - 0x264]
mov eax, dword [ebp - 0x248]
cmp dword [ebp - 0x234], edi
jae 0x421945
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 0x421975
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.0042cc85
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 0x4219a3
mov edx, dword [ebp - 0x29c]
push edx
call fcn.0042cc85
add esp, 4
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x28c], ebx
mov byte [ebp - 0x29c], bl
cmp dword [ebp - 0x234], edi
jb 0x4219cc
mov eax, dword [ebp - 0x248]
push eax
call fcn.0042cc85
add esp, 4
cmp dword [ebp - 0x250], edi
jb 0x4219e3
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.0042cc85
add esp, 4
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], ebx
mov byte [ebp - 0x264], bl
cmp dword [ebp - 0x26c], edi
jb 0x421a0c
mov edx, dword [ebp - 0x280]
push edx
call fcn.0042cc85
add esp, 4
cmp dword [ebp - 0x2a4], edi
jb 0x421a23
mov eax, dword [ebp - 0x2b8]
push eax
call fcn.0042cc85
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.0042cc90
mov esp, ebp
pop ebp
ret