Function at 0xa36230
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0xad18e0
mov eax, dword fs:[0]
push eax
mov eax, 0x1118
call fcn.00a94750
mov eax, dword [0xaf97a0]
xor eax, esp
mov dword [esp + 0x1110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xaf97a0]
xor eax, esp
push eax
lea eax, [esp + 0x112c]
mov dword fs:[0], eax
xor ebx, ebx
push 0xfff
lea eax, [esp + 0x129]
push ebx
mov dword [esp + 0x113c], ebx
push eax
mov byte [esp + 0x130], bl
call fcn.00a827a0
add esp, 0xc
push 0xc
push str.PSWDdevParam
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.00a111b0
lea ecx, [esp + 0xb4]
push ecx
mov ecx, str.E1A7B2AF_FC93_4311_A391_03C77F5411B9
mov byte [esp + 0x1138], 1
call fcn.00a63660
mov eax, 2
mov byte [esp + 0x1134], al
cmp dword [esp + 0x1140], eax
jne 0xa36340
lea edx, [esp + 0x18]
push edx
mov ecx, str.DCCD4FD0_0844_49ba_82F3_6AABF3F574C2
call fcn.00a63660
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1140], 3
call fcn.00a11910
dec dword [0xafcc40]
cmp dword [esp + 0x34], 8
mov ebp, vtable.LString.0
mov dword [esp + 0x18], ebp
jb 0xa36345
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00a7ac28
add esp, 4
jmp 0xa36345
mov ebp, vtable.LString.0
mov eax, dword [esp + 0x1158]
xor esi, esi
cmp eax, ebx
jbe 0xa363c1
cmp esi, eax
jbe 0xa3635b
call fcn.00a7c884
cmp dword [esp + 0x115c], 0x10
mov ebp, dword [esp + 0x1148]
jae 0xa36373
lea ebp, [esp + 0x1148]
mov ecx, dword [esp + 0xac]
xor edx, edx
mov eax, esi
div ecx
mov edi, edx
cmp edi, ecx
jbe 0xa3638b
call fcn.00a7c884
cmp dword [esp + 0xb0], 0x10
mov eax, dword [esp + 0x9c]
jae 0xa363a3
lea eax, [esp + 0x9c]
mov dl, byte [eax + edi]
xor dl, byte [esi + ebp]
mov eax, dword [esp + 0x1158]
mov byte [esp + esi + 0x124], dl
inc esi
cmp esi, eax
jb 0xa3635b
mov ebp, vtable.LString.0
xor ecx, ecx
mov word [esp + 0xe8], cx
mov ecx, dword [0xafcc40]
inc ecx
mov eax, 7
xor edx, edx
inc ecx
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x100], ebp
mov dword [esp + 0x11c], eax
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], dx
mov dword [0xafcc40], ecx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x120], ebx
mov byte [esp + 0xd8], bl
lea eax, [esp + 0x18]
push eax
mov ecx, str.SoftwareMicrosoft
mov byte [esp + 0x1138], 4
call fcn.00a63660
push 0x2001f
push 1
lea ecx, [esp + 0x20]
push ecx
lea esi, [esp + 0xe0]
mov byte [esp + 0x1140], 5
call fcn.00a630e0
mov byte [esp + 0x1134], 4
dec dword [0xafcc40]
cmp dword [esp + 0x34], 8
mov dword [esp + 0x18], ebp
jb 0xa36484
mov edx, dword [esp + 0x20]
push edx
call fcn.00a7ac28
add esp, 4
mov eax, dword [esp + 0x113c]
push 0xa
push eax
lea edi, [esp + 0x80]
call fcn.00a63850
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0xaebe68
mov byte [esp + 0x1138], 6
call fcn.00a63660
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0xb8]
lea edi, [esp + 0x1c]
mov byte [esp + 0x1138], 7
call fcn.00a66a60
add esp, 4
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
lea edi, [esp + 0x5c]
mov byte [esp + 0x1138], 8
call fcn.00a66a60
add esp, 4
mov dword [esp + 0xd4], ebx
cmp byte [esp + 0xd8], bl
je 0xa3654a
mov ecx, dword [esp + 0x1158]
cmp ecx, ebx
jl 0xa3654a
mov edi, 8
cmp dword [eax + 0x1c], edi
jb 0xa36516
mov eax, dword [eax + 8]
jmp 0xa36519
add eax, 8
push ecx
lea edx, [esp + 0x128]
push edx
push 3
push ebx
push eax
mov eax, dword [esp + 0xf0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
mov dword [esp + 0xd4], eax
sete al
jmp 0xa36551
mov edi, 8
xor al, al
dec dword [0xafcc40]
movzx ecx, al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x58], ebp
cmp dword [esp + 0x74], edi
jb 0xa36575
mov edx, dword [esp + 0x60]
push edx
call fcn.00a7ac28
add esp, 4
dec dword [0xafcc40]
xor eax, eax
mov esi, 7
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], ax
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x34], edi
jb 0xa365a6
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00a7ac28
add esp, 4
dec dword [0xafcc40]
xor edx, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
mov dword [esp + 0x38], ebp
cmp dword [esp + 0x54], edi
jb 0xa365d2
mov eax, dword [esp + 0x40]
push eax
call fcn.00a7ac28
add esp, 4
dec dword [0xafcc40]
xor ecx, ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], cx
mov dword [esp + 0x78], ebp
cmp dword [esp + 0x94], edi
jb 0xa36604
mov edx, dword [esp + 0x80]
push edx
call fcn.00a7ac28
add esp, 4
mov dword [esp + 0xd4], ebx
cmp byte [esp + 0xd8], bl
je 0xa36630
mov eax, dword [esp + 0xdc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xd8], bl
lea esi, [esp + 0xd4]
call fcn.00a63050
dec dword [0xafcc40]
mov dword [esp + 0xb4], ebp
cmp dword [esp + 0xd0], edi
jb 0xa36662
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.00a7ac28
add esp, 4
xor edx, edx
mov esi, 0x10
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], dx
cmp dword [esp + 0xb0], esi
jb 0xa3669c
mov eax, dword [esp + 0x9c]
push eax
call fcn.00a7ac28
add esp, 4
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x115c], esi
jb 0xa366ce
mov ecx, dword [esp + 0x1148]
push ecx
call fcn.00a7ac28
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x112c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1110]
xor ecx, esp
call fcn.00a7a967
add esp, 0x1124
ret 0x24