Function at 0x6179f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x76a878
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x50]
lea eax, [esi + 8]
xor bl, bl
mov dword [esp + 0x18], 0
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x14], 0
jb 0x617a45
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x617a7b
push 0x83b
call fcn.00606650
mov ecx, eax
call fcn.00606640
mov ecx, eax
call fcn.005fca70
jmp 0x617c5e
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00616190
cmp dword [esp + 0x38], 0x10
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], 0
cmovae eax, dword [esp + 0x3c]
push 0
push eax
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x617ae8
push 0x83c
call fcn.00606650
mov ecx, eax
call fcn.00606640
mov ecx, eax
call fcn.005fca70
jmp 0x617c26
push 0x20
lea eax, [esi + 0x8c]
mov ecx, 0x805b84
push eax
push 3
push 0
call fcn.005fba00
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push dword [esp + 0x28]
call esi
mov edx, dword [0x805b88]
mov edi, eax
test edx, edx
je 0x617b40
mov ecx, dword [0x805b8c]
inc ecx
push ecx
push 0
push edx
call fcn.006f87a0
push dword [0x805b88]
call fcn.006f8852
add esp, 0x10
mov dword [0x805b88], 0
test edi, edi
je 0x617b4b
push 0x83d
jmp 0x617ad0
push dword [esp + 0x54]
mov ecx, 0x805b90
push ebp
push 3
push 0
call fcn.005fba00
push eax
push dword [esp + 0x28]
call esi
mov edx, dword [0x805b94]
mov edi, eax
test edx, edx
je 0x617b99
mov ecx, dword [0x805b98]
inc ecx
push ecx
push 0
push edx
call fcn.006f87a0
push dword [0x805b94]
call fcn.006f8852
add esp, 0x10
mov dword [0x805b94], 0
test edi, edi
je 0x617ba7
push 0x83e
jmp 0x617ad0
push 4
lea eax, [esp + 0x5c]
mov ecx, 0x805b9c
push eax
push 4
push 0
call fcn.005fba00
push eax
push dword [esp + 0x28]
call esi
mov edx, dword [0x805ba0]
mov esi, eax
test edx, edx
je 0x617bf7
mov ecx, dword [0x805ba4]
inc ecx
push ecx
push 0
push edx
call fcn.006f87a0
push dword [0x805ba0]
call fcn.006f8852
add esp, 0x10
mov dword [0x805ba0], 0
test esi, esi
je 0x617c05
push 0x853
jmp 0x617ad0
call fcn.00665db0
push dword [esp + 0x14]
mov eax, dword [eax + 0x120]
call eax
test eax, eax
je 0x617c24
push 0x83f
jmp 0x617ad0
mov bl, 1
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x20], vtable.wbs::StringBase_char_.0
mov dword [esp + 0x48], 0xffffffff
jb 0x617c49
push dword [esp + 0x24]
call fcn.006f75a9
add esp, 4
mov byte [esp + 0x24], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xf
cmp dword [esp + 0x18], 0
je 0x617c7e
call fcn.00665db0
push dword [esp + 0x18]
mov eax, dword [eax + 0x124]
call eax
mov dword [esp + 0x18], 0
cmp dword [esp + 0x14], 0
je 0x617c96
call fcn.00665db0
push dword [esp + 0x14]
mov ecx, dword [eax + 0x124]
call ecx
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x38
ret 0xc