Function at 0x427440
Capabilities:
Get graphical window text
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516ff1
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x56f790]
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
mov esi, ecx
mov dword [ebp - 0x634], esi
call fcn.00472210
mov ebx, eax
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x638], ebx
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx]
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [eax + 0x2c]
test eax, eax
je 0x427511
mov edx, dword [esi + 0x30]
mov eax, edx
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x4274ef
nop dword [eax]
cmp dword [ecx + 0x10], 0xd
jge 0x4274db
mov ecx, dword [ecx + 8]
jmp 0x4274df
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4274d0
cmp eax, edx
je 0x4274ef
cmp dword [eax + 0x10], 0xd
jle 0x4274f1
mov eax, edx
cmp eax, edx
je 0x4277fa
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4277fa
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0x14]
jmp 0x4277fa
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x62c]
call fcn.004093d0
mov edi, dword [ebp - 0x62c]
mov dword [ebp - 4], 0
movzx eax, word [edi]
push eax
call fcn.004d041a
add esp, 4
test eax, eax
je 0x427554
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.004d041a
add esp, 4
test eax, eax
jne 0x427540
mov esi, dword [ebp - 0x62c]
cmp edi, esi
je 0x42762e
mov edx, dword [esi - 0xc]
sub edi, esi
sar edi, 1
test edx, edx
js 0x427816
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x427594
push edx
lea ecx, [ebp - 0x62c]
call fcn.00407ee0
mov esi, dword [ebp - 0x62c]
mov eax, dword [esi - 0xc]
lea edx, [esi + edi*2]
mov ebx, eax
sub ebx, edi
lea ecx, [ebx*2 + 2]
test ecx, ecx
je 0x4275f1
test edx, edx
jne 0x4275c4
call fcn.004cdaed
mov dword [eax], 0x16
call fcn.004bb9d8
mov eax, 0x16
jmp 0x4275f3
lea eax, [eax*2 + 2]
cmp eax, ecx
jae 0x4275e6
call fcn.004cdaed
mov dword [eax], 0x22
call fcn.004bb9d8
mov eax, 0x22
jmp 0x4275f3
push ecx
push edx
push esi
call fcn.004b1260
add esp, 0xc
xor eax, eax
push eax
call fcn.004085d0
add esp, 4
test ebx, ebx
js 0x427816
mov eax, dword [ebp - 0x62c]
cmp ebx, dword [eax - 8]
jg 0x427816
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x62c]
mov word [eax + ebx*2], cx
mov esi, dword [ebp - 0x62c]
mov ebx, dword [ebp - 0x638]
movzx eax, word [esi]
xor edi, edi
test ax, ax
je 0x4276bd
mov ecx, eax
nop
push ecx
call fcn.004d041a
add esp, 4
test eax, eax
je 0x427658
test edi, edi
mov eax, esi
cmovne eax, edi
mov edi, eax
jmp 0x42765a
xor edi, edi
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x427640
test edi, edi
je 0x4276b7
mov eax, dword [ebp - 0x62c]
sub edi, eax
sar edi, 1
js 0x427820
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x42769f
push edi
lea ecx, [ebp - 0x62c]
call fcn.00407ee0
mov eax, dword [ebp - 0x62c]
cmp edi, dword [eax - 8]
jg 0x427816
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x62c]
mov word [eax + edi*2], cx
mov esi, dword [ebp - 0x62c]
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0x20]
mov esi, dword [ebp - 0x634]
push 2
mov eax, dword [esi + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x4277a6
call fcn.00429330
test eax, eax
je 0x4277a6
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004b17e0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b17e0
mov eax, dword [ebx]
lea ecx, [ebp - 0x420]
add esp, 0x18
push 0x104
push ecx
push ebx
call dword [eax + 0x44]
push str.LDSGameCenter.exe
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x62d]
call fcn.0047dae0
push 0x3c
push 0
push 0
lea eax, [ebp - 0x628]
mov byte [ebp - 4], 1
push eax
push 1
lea ecx, [ebp - 0x62d]
call fcn.0047fcd0
test eax, eax
je 0x42779b
push 4
lea eax, [ebp - 0x63c]
mov dword [ebp - 0x63c], 1
push eax
push 4
push str.autorun
push str.SOFTWARELDSGameCenter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x62d]
call fcn.0047df10
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x634], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.startpage_install
mov byte [ebp - 4], 2
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00470530
mov edx, dword [ebp - 0x62c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4277fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404400
push 0x80070057
call fcn.00404400
int3