Function at 0x4104e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d8
mov eax, dword [0x46aa78]
push ebx
mov dword [esp + 0x4d4], eax
push esi
push edi
mov esi, ecx
xor eax, eax
mov byte [esp + 0xd8], 0
mov ecx, 0xff
lea edi, [esp + 0xd9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [esi + 0x12c], 0x10
jb 0x410542
mov eax, dword [esi + 0x118]
mov dword [esp + 0xc], eax
jmp 0x41054c
lea ecx, [esi + 0x118]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xc]
push edx
call fcn.00411980
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x10], edi
je 0x410677
push edi
call fcn.0044691a
mov ecx, edi
mov edx, ecx
mov ebx, eax
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov edi, dword [esp + 0xc]
push edi
mov eax, edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
test eax, eax
jne 0x4105a7
push ebx
call fcn.00446915
add esp, 4
jmp 0x410677
push edi
push 0x400
lea ecx, [esp + 0xe0]
push ecx
push 0x45675a
push str.Latest
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x410677
lea eax, [esp + 0xd8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4105e0
sub eax, edx
push eax
lea edx, [esp + 0xdc]
push edx
lea ecx, [esi + 0x1dc]
call fcn.004023a0
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00413270
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x214]
mov dword [esp + 0x4f8], 0
call fcn.00402270
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x4ec], 0xffffffff
jb 0x41064c
mov edx, dword [esp + 0x30]
push edx
call fcn.00446915
add esp, 4
push edi
push 0x400
lea eax, [esp + 0xe0]
push eax
push 0x45675a
push str.NewLaunch
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4106fb
call fcn.004472e0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push 7
mov dword [esp + 0x4f0], 7
call fcn.004069d0
mov edi, eax
add esp, 4
test edi, edi
je 0x4106ae
push edi
call fcn.0043124b
add esp, 4
push eax
push edi
lea ecx, [esp + 0x14]
call fcn.00402510
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x1c]
push 0
push edi
push 0x5405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [edi - 0x10]
mov dword [esp + 0x4ec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4106f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x41098d
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00413270
add esp, 8
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esi + 0x230]
mov dword [esp + 0x4f8], 1
call fcn.00402270
lea ecx, [esp + 0x2c]
call fcn.00419910
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
push ebx
mov dword [esp + 0x4f8], 2
call fcn.00412e90
push ebx
call fcn.00446915
add esi, 0x1b0
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], esi
call fcn.00407310
push eax
mov ecx, esi
call fcn.0040fa50
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
call fcn.00407310
test eax, eax
jle 0x410982
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x4107a0
xor edi, edi
nop
mov ecx, dword [esp + 0x1c]
push 6
add esi, ecx
push edi
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00406d30
push str.Patch_
push eax
mov byte [esp + 0x4f4], 3
call fcn.0040cce0
add esp, 8
lea ecx, [esp + 0x2c]
mov bl, al
mov byte [esp + 0x4ec], 2
call fcn.00419910
test bl, bl
jne 0x41095d
lea ecx, [esp + 0x80]
call fcn.0040cd70
cmp dword [esi + 0x18], 0x10
mov byte [esp + 0x4ec], 4
lea ebx, [esi + 4]
jb 0x410807
mov eax, dword [ebx]
jmp 0x410809
mov eax, ebx
mov edi, dword [esp + 0xc]
push edi
push 0x400
lea ecx, [esp + 0xe0]
push ecx
push 0x45675a
push str.VersionFrom
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x410949
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00413270
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4f8], 5
call fcn.00402270
lea ecx, [esp + 0x48]
mov byte [esp + 0x4ec], 4
call fcn.00419910
cmp dword [esi + 0x18], 0x10
jb 0x41087d
mov eax, dword [ebx]
jmp 0x41087f
mov eax, ebx
push edi
push 0x400
lea ecx, [esp + 0xe0]
push ecx
push 0x45675a
push str.VersionTo
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x410949
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.00413270
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4f8], 6
call fcn.00402270
lea ecx, [esp + 0x64]
mov byte [esp + 0x4ec], 4
call fcn.00419910
cmp dword [esi + 0x18], 0x10
jb 0x4108ef
mov eax, dword [ebx]
jmp 0x4108f1
mov eax, ebx
push edi
push 0x400
lea ecx, [esp + 0xe0]
push ecx
push 0x45675a
push str.URL_1
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x410949
lea edx, [esp + 0xd8]
push 0x3b
push edx
call fcn.00432060
add esp, 8
test eax, eax
je 0x410949
inc eax
push eax
lea ecx, [esp + 0xbc]
call fcn.00407c10
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x80]
push eax
call fcn.00410450
lea ecx, [esp + 0x80]
mov byte [esp + 0x4ec], 2
call fcn.0040cda0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc edi
add esi, 0x1c
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
call fcn.00407310
cmp edi, eax
jl 0x41079d
lea ecx, [esp + 0x18]
call fcn.004098c0
mov al, 1
mov ecx, dword [esp + 0x4e4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4dc]
call fcn.00430cd9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret