Function at 0x3001bb8c
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x50]
sub esp, 0xac
mov eax, dword [0x30034b3c]
and dword [ebp - 0x5c], 0
push ebx
push dword [ebp + 0x78]
mov dword [ebp + 0x4c], eax
push 0x51
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x58]
call fcn.3001a986
mov ebx, eax
test ebx, ebx
jne 0x3001bdc7
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.30019b98
mov ebx, eax
test ebx, ebx
jne 0x3001bdc7
cmp dword [ebp + 0x5c], eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x3001bc13
push dword [ebp + 0x5c]
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x5c]
push 1
push ebx
push 0x30008e68
push dword [ebp - 0x5c]
call esi
mov ebx, eax
test ebx, ebx
je 0x3001bc13
push 0x3000a5c4
jmp 0x3001bd25
cmp dword [ebp + 0x60], 0
je 0x3001bc44
push dword [ebp + 0x60]
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x60]
push 1
push 0
push 0x30008e90
push dword [ebp - 0x5c]
call esi
mov ebx, eax
test ebx, ebx
je 0x3001bc44
push 0x3000a59c
jmp 0x3001bd25
cmp dword [ebp + 0x64], 0
je 0x3001bc75
push dword [ebp + 0x64]
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x64]
push 1
push 0
push 0x30008e9c
push dword [ebp - 0x5c]
call esi
mov ebx, eax
test ebx, ebx
je 0x3001bc75
push 0x3000a570
jmp 0x3001bd25
cmp dword [ebp + 0x68], 0
je 0x3001bcb5
push 0x30008f08
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x3001bcb5
push dword [ebp + 0x68]
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x68]
push 1
push 0
push 0x30008e7c
push dword [ebp - 0x5c]
call esi
mov ebx, eax
test ebx, ebx
je 0x3001bcb5
push 0x3000a544
jmp 0x3001bd25
cmp dword [ebp + 0x6c], 0
push 4
pop edi
je 0x3001bcdd
push edi
lea eax, [ebp + 0x6c]
push eax
push edi
push 0
push 0x30008eb8
push dword [ebp - 0x5c]
call esi
mov ebx, eax
test ebx, ebx
je 0x3001bcdd
push 0x3000a510
jmp 0x3001bd25
cmp dword [ebp + 0x70], 0
je 0x3001bd02
push edi
lea eax, [ebp + 0x70]
push eax
push edi
push 0
push 0x30008edc
push dword [ebp - 0x5c]
call esi
mov ebx, eax
test ebx, ebx
je 0x3001bd02
push 0x3000a4e4
jmp 0x3001bd25
cmp dword [ebp + 0x74], 0
je 0x3001bd30
push edi
lea eax, [ebp + 0x74]
push eax
push edi
push 0
push 0x30008eac
push dword [ebp - 0x5c]
call esi
mov ebx, eax
test ebx, ebx
je 0x3001bd30
push 0x3000a4bc
call fcn.30010597
pop ecx
jmp 0x3001bdc5
mov eax, dword [ebp + 0x7c]
xor ecx, ecx
sub eax, ecx
je 0x3001bd80
dec eax
je 0x3001bd55
dec eax
jne 0x3001bd99
cmp dword [ebp + 0x5c], ecx
je 0x3001bd4e
push dword [ebp + 0x5c]
push 0x3000a488
jmp 0x3001bd77
push 0x3000a460
jmp 0x3001bd94
cmp dword [ebp + 0x5c], ecx
je 0x3001bd6f
push dword [ebp + 0x5c]
push dword [ebp + 0x58]
push 0x3000a410
call fcn.300106d0
add esp, 0xc
jmp 0x3001bd99
push dword [ebp + 0x58]
push 0x3000a3c8
call fcn.300106d0
pop ecx
pop ecx
jmp 0x3001bd99
cmp dword [ebp + 0x5c], ecx
je 0x3001bd8f
push dword [ebp + 0x5c]
push 0x3000a394
jmp 0x3001bd77
push 0x3000a368
call fcn.300105be
push dword [ebp + 0x60]
push 0x3000a354
call fcn.300106d0
push dword [ebp + 0x64]
push 0x3000a33c
call fcn.300106d0
add esp, 0x10
cmp dword [ebp + 0x7c], 0
je 0x3001bdc5
push 1
push 1
call fcn.3001a16d
pop edi
pop esi
cmp dword [ebp - 0x5c], 0
je 0x3001bdd6
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x3001bde7
push 0x30008d58
push dword [ebp + 0x58]
call fcn.3001afdf
mov ecx, dword [ebp + 0x4c]
mov eax, ebx
pop ebx
call fcn.3001fd67
add ebp, 0x50
leave
ret 0x28