Function at 0x41bf00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [ebp + 8]
mov ecx, 0x573604
push 0
push esi
push 0
call fcn.004183b0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 8
push eax
mov dword [ebp - 0xc], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x52eb8c
push 0
call fcn.004d0c91
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x52eb90
lea ecx, [ebp - 0x24]
call fcn.00416740
push eax
call fcn.00416980
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.0042d280
mov eax, dword [0x5736fc]
test eax, eax
jne 0x41bfa3
push 0x10
call fcn.00428200
add esp, 4
test eax, eax
je 0x41bf9c
mov ecx, eax
call fcn.0042d340
jmp 0x41bf9e
xor eax, eax
mov dword [0x5736fc], eax
mov ecx, eax
call fcn.0042d6d0
call fcn.00408a30
mov ecx, eax
test ecx, ecx
je 0x41c268
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp + 8]
push str.LDSGameCenterLog
mov dword [ebp + 8], eax
call fcn.00408690
test al, al
jne 0x41bfe4
push 0x12
push str.LDSGameCenterLog
lea ecx, [ebp + 8]
call fcn.00407f80
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004377d0
mov edx, dword [ebp + 8]
or ebx, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c013
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
push str.install.log
lea ecx, [ebp - 4]
call fcn.00416bf0
push dword [ebp - 4]
call fcn.004412a0
mov edi, dword [ebp + 0x10]
push edi
push str._tWinMain__cmdline_s
call fcn.00441ac0
add esp, 0xc
push edi
call fcn.0040ed70
mov ecx, eax
call fcn.0040b660
lea eax, [ebp + 0x10]
push eax
call fcn.0040ed70
mov ecx, eax
call fcn.0040b1d0
push eax
call fcn.0046f0b0
mov ecx, eax
call fcn.004710c0
mov edx, dword [ebp + 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c07e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 8]
push eax
call fcn.00439460
add esp, 4
push dword [ebp + 8]
call fcn.0046f0b0
mov ecx, eax
call fcn.00470ea0
mov edx, dword [ebp + 8]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c0b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00472b50
push dword [ebp + 0x14]
push edi
push 0
push esi
call fcn.0041a730
add esp, 0x10
mov dword [ebp + 8], eax
call fcn.00473300
mov ecx, dword [0x5736fc]
test ecx, ecx
jne 0x41c0fe
push 0x10
call fcn.00428200
add esp, 4
test eax, eax
je 0x41c0f2
mov ecx, eax
call fcn.0042d340
mov ecx, eax
jmp 0x41c0f4
xor ecx, ecx
mov dword [0x5736fc], ecx
test ecx, ecx
je 0x41c10e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x5736fc], 0
mov edi, dword [0x5735e4]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x57363c]
test esi, esi
je 0x41c170
cmp dword [esi + 4], 0
jle 0x41c13e
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x57363c]
test esi, esi
je 0x41c170
mov eax, dword [esi]
test eax, eax
je 0x41c157
push eax
call fcn.004bba85
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004ac0a8
add esp, 8
push edi
mov dword [0x57363c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x573638]
pop edi
test esi, esi
je 0x41c1ca
mov eax, dword [esi]
test eax, eax
je 0x41c1a1
push eax
call fcn.004bba85
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41c1b8
push eax
call fcn.004bba85
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.004ac0a8
add esp, 8
mov esi, dword [0x573630]
test esi, esi
je 0x41c203
cmp dword [esi], 0
je 0x41c203
nop dword [eax]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x41c1ed
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x41c1e0
mov esi, dword [0x56f184]
mov ecx, dword [0x56f188]
cmp esi, ecx
jae 0x41c22d
mov eax, dword [esi]
test eax, eax
je 0x41c226
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x56f188]
add esi, 4
cmp esi, ecx
jb 0x41c213
mov ecx, 0x573604
call fcn.0041b520
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
pop esi
test ebx, ebx
pop ebx
jg 0x41c257
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 8]
call fcn.0042d2c0
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404400
int3