Function at 0x4190f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4523f0
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 0x41914a
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov edi, dword [edx]
mov esi, dword [edi]
cmp esi, edi
je 0x419277
jmp 0x419160
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 0x419166
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 0x4191ab
sub eax, ebx
lea ecx, [ebp - 0x70]
sar eax, 1
push eax
push ebx
call fcn.004013e0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.00404a50
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4191f9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4191ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419393
push edx
push ecx
call fcn.0041b677
add esp, 8
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
cmp ecx, edx
jae 0x41921d
lea eax, [ecx + 1]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
cmp edx, 8
jb 0x419214
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*2], 0x3b
jmp 0x41922f
push 0x3b
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004042b0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x419255
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x419251
cmp esi, dword [eax + 8]
jne 0x419251
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x419241
mov esi, eax
jmp 0x41926c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x41926c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x419260
cmp esi, edi
jne 0x419160
mov ebx, dword [ebp - 0x78]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
jb 0x419283
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 0x41933f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x70]
push str.RegSetValueEx_failed_with__i
push eax
call fcn.004123e0
mov edi, dword [ebp - 0x7c]
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x419309
mov ecx, edi
call fcn.004012a0
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 0x41933f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419335
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419393
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x419375
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41936b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419398
push edx
push ecx
call fcn.0041b677
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.0041b636
mov esp, ebp
pop ebp
ret
call fcn.00436a99
call fcn.00436a99
int3