Function at 0x41d1b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456a80
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x46f068]
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
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41d207
mov eax, dword [esi]
mov dword [esi + 0x10], 0
xor ecx, ecx
mov word [eax], cx
mov edi, dword [edx]
mov esi, dword [edi]
cmp esi, edi
je 0x41d347
nop
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 0x41d226
mov word [ebp - 0x70], dx
mov eax, 7
lea edx, [ebp - 0x16]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], eax
cmp ebx, edx
je 0x41d272
mov eax, edx
lea ecx, [ebp - 0x70]
sub eax, ebx
sar eax, 1
push eax
push ebx
call fcn.004013d0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 1
lea edx, [ebp - 0x70]
cmp eax, 8
jb 0x41d281
mov edx, dword [ebp - 0x70]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.004038a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x41d2c9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d2bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d463
push edx
push ecx
call fcn.00434e86
add esp, 8
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
cmp ecx, edx
jae 0x41d2ed
lea eax, [ecx + 1]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
cmp edx, 8
jb 0x41d2e4
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*2], 0x3b
jmp 0x41d2ff
push 0x3b
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00403ce0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x41d325
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41d321
cmp esi, dword [eax + 8]
jne 0x41d321
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41d311
mov esi, eax
jmp 0x41d33c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x41d33c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x41d330
cmp esi, edi
jne 0x41d220
mov ebx, dword [ebp - 0x78]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x48]
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x58]
jb 0x41d35d
mov eax, dword [ebp - 0x58]
push ecx
push eax
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 0x41d40f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x70]
push str.RegSetValueEx_failed_with__i
push eax
call fcn.004121b0
mov edi, dword [ebp - 0x7c]
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x41d3d9
mov ecx, edi
call fcn.00401290
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 0x41d40f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d405
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d463
push edx
push ecx
call fcn.00434e86
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x41d445
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d43b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d468
push edx
push ecx
call fcn.00434e86
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.00434e45
mov esp, ebp
pop ebp
ret
call fcn.00439dba
call fcn.00439dba
int3