Function at 0x458120
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c7036
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x61a654]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61a654]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0xa8]
mov esi, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x90]
xor ebx, ebx
cmp eax, ebx
je 0x4583e0
cmp byte [esi + 0x579], bl
je 0x4581ba
cmp byte [esi + 0x57a], bl
jne 0x458490
push 1
call fcn.0044f720
push ebx
push 1
lea ecx, [esi + 0x5b4]
mov byte [esi + 0x5ec], 1
call fcn.00469850
neg eax
sbb eax, eax
neg eax
jmp 0x458492
lea ecx, [esi + 0x7c]
push ecx
lea edx, [esp + 0x24]
push str.SOFTWARE_
push edx
call fcn.00456ff0
push eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0xb4], ebx
call fcn.00472180
add esp, 0x14
cmp dword [esp + 0x38], 0x10
jb 0x4581f9
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0059e6bb
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
push 1
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
mov byte [esp + 0xac], 3
mov byte [esp + 0x20], 0x5c
call fcn.004511c0
mov edi, eax
cmp edi, 0xffffffff
je 0x4582f9
push edi
push ebx
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.0040f9c0
push eax
lea ecx, [esp + 0x24]
push 0x5dc370
push ecx
mov byte [esp + 0xac], 4
call fcn.00456ff0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0xac], 5
call fcn.004288a0
cmp dword [esp + 0x38], 0x10
jb 0x458286
mov edx, dword [esp + 0x24]
push edx
call fcn.0059e6bb
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0xa0], 3
jb 0x4582b2
mov eax, dword [esp + 0x44]
push eax
call fcn.0059e6bb
add esp, 4
push 0xffffffffffffffff
inc edi
push edi
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.0040f9c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 6
call fcn.00401620
mov edi, 0x10
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x58], edi
jb 0x45830b
mov edx, dword [esp + 0x44]
push edx
call fcn.0059e6bb
add esp, 4
jmp 0x45830b
push 0xffffffffffffffff
push ebx
push ebp
lea ecx, [esp + 0x68]
call fcn.00401620
mov edi, 0x10
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x45831c
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x18]
push ecx
push 0x20006
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x4583e7
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], edi
jae 0x45834c
lea eax, [esp + 0x7c]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push 0x5dc36c
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x4583e7
cmp byte [esi + 0x578], bl
je 0x4583a7
mov ecx, esi
call fcn.0044f690
push 1
add esi, 0x5b4
push ebx
mov ecx, esi
call fcn.004791a0
push 5
push 0xc
mov ecx, esi
call fcn.004791a0
push 1
push ebx
mov ecx, esi
call fcn.004791a0
cmp dword [esp + 0x74], edi
jb 0x4583ba
mov edx, dword [esp + 0x60]
push edx
call fcn.0059e6bb
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x90], edi
jb 0x4583e0
mov eax, dword [esp + 0x7c]
push eax
call fcn.0059e6bb
add esp, 4
xor al, al
jmp 0x458492
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x4583f5
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0x20]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi + 0x578], bl
je 0x458457
mov ecx, esi
call fcn.0044f690
push 1
add esi, 0x5b4
push ebx
mov ecx, esi
call fcn.004791a0
push 5
push 0xc
mov ecx, esi
call fcn.004791a0
push 1
push 1
mov ecx, esi
call fcn.004791a0
cmp dword [esp + 0x74], edi
jb 0x45846a
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0059e6bb
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x90], edi
jb 0x458490
mov edx, dword [esp + 0x7c]
push edx
call fcn.0059e6bb
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0059e619
add esp, 0x90
ret 0x10