Function at 0x40afb0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x79c
mov eax, dword [0x41b5c0]
mov dword [esp + 0x798], eax
push 0x104
lea eax, [esp + 0x38c]
push eax
push 0
call dword [0x4150c4]
lea ecx, [esp + 0x388]
push ecx
call dword [0x415358]
lea edx, [esp + 0x388]
push edx
lea ecx, [esp + 0xb0]
call dword [0x415188]
push 0x415b14
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00409050
push eax
lea edx, [esp + 0x30]
push str.LOG_HOME
push edx
call fcn.00401590
add esp, 0x14
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00401610
add esp, 0xc
lea ecx, [esp + 0x20]
call dword [0x41515c]
lea ecx, [esp + 4]
call dword [0x41515c]
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x40b055
lea eax, [esp + 0x40]
push esi
push eax
call dword [0x4152ac]
add esp, 4
push str.liveud_log_prop.txt
push 0x4155cc
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00401790
add esp, 0xc
push eax
lea eax, [esp + 0x128]
push eax
call fcn.00401790
add esp, 0xc
lea ecx, [esp + 8]
call dword [0x41517c]
lea ecx, [esp + 4]
push ecx
call dword [0x4150b8]
push eax
call dword [0x415340]
mov esi, eax
cmp dword [esp + 4], 4
jg 0x40b0ce
mov edx, dword [esp + 0x7b0]
push edx
mov ecx, 0x41b650
call fcn.0040af60
mov esi, eax
jmp 0x40b2fe
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x60]
call dword [0x415188]
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0xd0]
call dword [0x415188]
mov edx, dword [esi + 8]
push edx
lea ecx, [esp + 0x108]
call dword [0x415188]
mov eax, dword [esi + 0xc]
push eax
lea ecx, [esp + 0x140]
call dword [0x415188]
mov ecx, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0xec]
call dword [0x415188]
lea edx, [esp + 0x594]
push edx
push 0x104
call dword [0x4150c0]
push str.KankanLiteUpdate_
lea eax, [esp + 0x598]
push eax
call dword [0x41534c]
lea ecx, [esp + 0x594]
push ecx
call dword [0x4153f8]
mov eax, dword [esp + 0x74]
mov esi, 8
cmp eax, esi
mov eax, dword [esp + 0x60]
jae 0x40b168
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00408d00
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00408f00
add esp, 0x10
lea ecx, [esp + 8]
call dword [0x41515c]
cmp dword [esp + 0x90], esi
mov eax, dword [esp + 0x7c]
jae 0x40b19f
lea eax, [esp + 0x7c]
push eax
push 0x415a98
push 0x41592c
push 0x41592c
push 0x415a98
call dword [0x4153fc]
push 1
call dword [0x4153f4]
push 1
call dword [0x415400]
push str.LiveUpdateInstance
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x10]
push str.GlobalCE233C26_EE46_4a3d_AA45_520100104D2D
push edx
call fcn.00401710
add esp, 0xc
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00401790
add esp, 0xc
lea ecx, [esp + 8]
call dword [0x41517c]
cmp dword [esp + 0xac], esi
mov eax, dword [esp + 0x98]
jae 0x40b21b
lea eax, [esp + 0x98]
push eax
push 1
push 0
call dword [0x4150bc]
mov esi, eax
test esi, esi
je 0x40b295
call dword [0x415100]
cmp eax, 0xb7
je 0x40b28e
lea ecx, [esp + 0x158]
call fcn.004073d0
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x16c]
call fcn.00403820
lea ecx, [esp + 0x158]
call fcn.004080f0
lea ecx, [esp + 0x158]
call fcn.00407740
push esi
call dword [0x41510c]
mov eax, dword [esp + 0x7b0]
push eax
mov ecx, 0x41b650
call fcn.0040af60
lea ecx, [esp + 0x94]
mov esi, eax
call dword [0x41517c]
lea ecx, [esp + 0x78]
call dword [0x41517c]
lea ecx, [esp + 0xe8]
call dword [0x41517c]
lea ecx, [esp + 0x13c]
call dword [0x41517c]
lea ecx, [esp + 0x104]
call dword [0x41517c]
lea ecx, [esp + 0xcc]
call dword [0x41517c]
lea ecx, [esp + 0x5c]
call dword [0x41517c]
lea ecx, [esp + 0x120]
call dword [0x41517c]
lea ecx, [esp + 0x40]
call dword [0x41515c]
lea ecx, [esp + 0xb0]
call dword [0x41517c]
mov ecx, dword [esp + 0x79c]
mov eax, esi
pop esi
call fcn.00412959
add esp, 0x79c
ret 0x10