Function at 0x427380
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1dc
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x5a
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [0x43b694]
xor eax, eax
mov edx, dword [0x43b588]
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
push str.Function_Entry
mov dword [esp + 0x25], eax
push 0x43d2ec
push 4
mov dword [esp + 0x31], eax
mov eax, dword [0x43b590]
push 0x8c6
push ecx
mov ecx, dword [0x43b58c]
push edx
push eax
push ecx
push 1
mov dword [esp + 0x30], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x38], ebx
call fcn.0040ee40
mov eax, dword [esp + 0x210]
add esp, 0x24
cmp eax, ebx
jne 0x427436
mov esi, 0x80000b03
mov ecx, 0x8cc
mov eax, esi
jmp 0x4275e3
mov esi, dword [esp + 0x1f0]
cmp esi, ebx
jne 0x427452
mov esi, 0x80000b03
mov ecx, 0x8d1
mov eax, esi
jmp 0x4275e3
mov ecx, 0x5a
xor eax, eax
lea edi, [esp + 0x7c]
mov byte [esp + 0x10], 0x31
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x54]
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push 0x28
push edx
lea eax, [esp + 0x34]
push 0x28
push eax
push ecx
push 8
push esi
call fcn.00424ae0
add esp, 0x1c
test eax, eax
jne 0x4274d0
lea edx, [esp + 0x54]
push 0x28
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00430d40
add esp, 0xc
test eax, eax
je 0x4274d0
lea ecx, [esp + 0x54]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00425d00
add esp, 8
cmp eax, 1
je 0x4274ef
mov al, byte [esp + 0x10]
inc al
cmp al, 0x39
mov byte [esp + 0x10], al
jle 0x427467
mov esi, 0x80000b2c
mov ecx, 0x8f7
mov eax, esi
jmp 0x4275e3
lea eax, [esp + 0x7c]
push 0x16b
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.00425070
add esp, 0xc
cmp eax, ebx
je 0x427516
mov esi, eax
mov ecx, 0x8fe
jmp 0x4275e3
call fcn.00425370
lea edx, [esp + 0xc]
lea eax, [esp + 0x7c]
push edx
push 0x2001f
push ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x427569
cmp eax, 2
jne 0x427550
mov eax, 0x80000b2c
mov ecx, 0x917
mov esi, eax
jmp 0x4275e3
xor ecx, ecx
cmp eax, 5
setne cl
add ecx, 0x80000b30
mov eax, ecx
mov ecx, 0x917
mov esi, eax
jmp 0x4275e3
cmp dword [esp + 0xc], ebx
jne 0x42757d
mov esi, 0x80000b2c
mov ecx, 0x91f
mov eax, esi
jmp 0x4275e3
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
add esi, 8
push 8
push esi
mov dword [esp + 0x24], 0x11
call fcn.00409bb0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add esp, 0x10
inc ecx
lea edx, [esp + 0x18]
push ecx
push edx
push 1
push ebx
push 0x444d84
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x427610
sub esi, 5
mov ecx, 0x93a
neg esi
sbb esi, esi
and esi, 3
add esi, 0x80000b30
mov eax, esi
mov edx, dword [0x43b694]
push 0x65
push ecx
mov ecx, dword [0x43b588]
push edx
mov edx, dword [0x43b590]
push ecx
mov ecx, dword [0x43b58c]
push edx
push ecx
push eax
push esi
push 3
call fcn.0040fdd0
add esp, 0x24
jmp 0x427612
xor esi, esi
mov edx, dword [0x43b694]
mov eax, dword [0x43b588]
mov ecx, dword [0x43b590]
push esi
push str.Function_Exit
push str._s__Rc__0x_08X
push 4
push 0x944
push edx
mov edx, dword [0x43b58c]
push eax
push ecx
push edx
push 1
call fcn.0040ee40
add esp, 0x28
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1dc
ret