Function at 0x1132e10
Capabilities:
Generate random numbers via winapi
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1147c61
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x1a4], esi
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], eax
push esi
push 0x106d54c
lea eax, [ebp - 0x1a0]
push eax
push 0x106d4e8
lea ecx, [ebp - 0x19c]
push 2
push ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x1b8], esi
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1c0], esi
mov dword [ebp - 0x1bc], esi
call fcn.01075110
add esp, 0x18
mov eax, dword [ebx + 0xc]
cmp eax, esi
mov byte [ebp - 4], 2
jne 0x1132ed5
call fcn.01127f00
test al, al
je 0x1132ec5
push 0x106d488
push 0x106d420
push esi
call fcn.01128b70
add esp, 0xc
mov eax, 0x80070057
mov dword [ebp - 0x1a0], eax
jmp 0x1133063
lea edx, [ebp - 0x50]
push edx
push 0x40
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x1132eed
call fcn.01071a70
jmp 0x1132eef
xor eax, eax
cmp eax, esi
mov dword [ebp - 0x1a0], eax
jl 0x1133063
lea edx, [ebp - 0x1ac]
push edx
lea eax, [ebp - 0x50]
push 1
mov dword [ebp - 0x1b4], eax
mov ecx, 0x10
mov esi, str._GKP__LL___OTR__GV6_lxzdLL__
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1c0]
lea ecx, [ebp - 0x90]
push eax
mov dword [ebp - 0x1bc], ecx
push 0x106d3f8
lea ecx, [ebp - 0x1b8]
push ecx
mov ecx, ebx
mov dword [ebp - 0x1b8], 0x40
mov dword [ebp - 0x1c0], 0x40
call fcn.01132c90
test eax, eax
mov dword [ebp - 0x1a0], eax
jl 0x1133063
lea edx, [ebp - 0x1c4]
push edx
call fcn.0112deb0
mov eax, dword [eax]
lea ecx, [ebp - 0x1c8]
push ecx
lea edx, [ebp - 0x1b0]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push 0x106d3a0
push eax
mov dword [ebp - 0x1b0], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x1132fba
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1c4]
test eax, eax
je 0x1132fcb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1132ff4
jg 0x1132fde
mov eax, esi
mov dword [ebp - 0x1a0], eax
jmp 0x1133063
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
mov dword [ebp - 0x1a0], eax
jmp 0x1133063
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1a4]
push ecx
push edx
push 3
push 0
push 0x100ec40
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1133038
jg 0x1133026
mov dword [ebp - 0x1a0], eax
jmp 0x1133063
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1a0], eax
jmp 0x1133063
mov ecx, dword [ebp - 0x1ac]
push ecx
push 0x106d390
lea ecx, [ebp - 0x1a4]
call fcn.01071e50
test eax, eax
je 0x113305d
jg 0x1133026
mov dword [ebp - 0x1a0], eax
jmp 0x1133063
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x19c]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.01075230
mov eax, dword [ebp - 0x1a8]
test eax, eax
je 0x1133085
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x1133096
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret