Function at 0x4190d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4523e0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x78], ebx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x41912a
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov edi, dword [edx]
mov esi, dword [edi]
cmp esi, edi
je 0x419257
jmp 0x419140
mov ecx, dword [esi + 0x10]
lea ebx, [ebp - 0x16]
mov eax, 0xcccccccd
add ebx, 0xfffffffe
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [ebx], cx
mov ecx, edx
test ecx, ecx
jne 0x419146
xor eax, eax
mov dword [ebp - 0x60], edx
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x16]
mov dword [ebp - 0x5c], 7
cmp ebx, eax
je 0x41918b
sub eax, ebx
lea ecx, [ebp - 0x70]
sar eax, 1
push eax
push ebx
call fcn.004013c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.00404a30
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4191d9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4191cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419373
push edx
push ecx
call fcn.0041b657
add esp, 8
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
cmp ecx, edx
jae 0x4191fd
lea eax, [ecx + 1]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
cmp edx, 8
jb 0x4191f4
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*2], 0x3b
jmp 0x41920f
push 0x3b
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00404290
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x419235
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x419231
cmp esi, dword [eax + 8]
jne 0x419231
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x419221
mov esi, eax
jmp 0x41924c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x41924c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x419240
cmp esi, edi
jne 0x419140
mov ebx, dword [ebp - 0x78]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
jb 0x419263
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.GamesInstalled
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
test eax, eax
je 0x41931f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x70]
push str.RegSetValueEx_failed_with__i
push eax
call fcn.004123b0
mov edi, dword [ebp - 0x7c]
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x4192e9
mov ecx, edi
call fcn.00401280
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x41931f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419315
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419373
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x419355
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41934b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419378
push edx
push ecx
call fcn.0041b657
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041b616
mov esp, ebp
pop ebp
ret
call fcn.00436a89
call fcn.00436a89
int3