Function at 0x40a370
Capabilities:
Check for time delay via gettickcount
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4206f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3b0
mov eax, dword [0x427550]
xor eax, ebp
push ebx
mov dword [esp + 0x3ac], eax
push esi
push edi
xor ebx, ebx
mov esi, ecx
xor eax, eax
mov byte [esp + 0x2a8], bl
mov ecx, 0x40
lea edi, [esp + 0x2a9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0xf8]
mov edi, 0x10
cmp eax, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jb 0x40a3df
mov eax, dword [esi + 0xe4]
jmp 0x40a3e5
lea eax, [esi + 0xe4]
push eax
push 0x104
lea eax, [esp + 0x2b0]
push eax
push 0x421c88
push str.CodePage
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [0x4283f4]
mov ecx, 0x4283f4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
cmp dword [esi + 0xa4], edi
mov dword [esp + 0x3c4], ebx
jb 0x40a434
mov eax, dword [esi + 0x90]
jmp 0x40a43a
lea eax, [esi + 0x90]
lea ecx, [esp + 0x2a8]
push ecx
push eax
lea edx, [esp + 0x14]
push str.__s___UPDATE___PRODUCTRAV__LANG_s__SILENCE
push edx
call fcn.00407070
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x34], eax
mov eax, dword [edi - 4]
mov ebx, 1
add esp, 0x10
cmp eax, ebx
jle 0x40a49b
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [esp + 0x10]
call fcn.00405dd0
mov edi, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40a67b
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], ebx
call edi
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call edi
mov ecx, eax
sub ecx, ebx
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esp + 0x18]
mov ebx, edx
lea edx, [esp + 0x14]
push edx
push eax
shr ebx, 6
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov byte [esp + 0x1a0], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x1a1]
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
lea ecx, [esp + 0x1a4]
push str._RunTimer__d
push ecx
stosb byte es:[edi], al
call fcn.004133fd
xor edi, edi
add esp, 0xc
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
lea edx, [esp + 0x74]
push edx
mov ecx, esi
mov byte [esp + 0x3c8], 1
call fcn.004074e0
test eax, eax
jne 0x40a5f6
lea eax, [esp + 0x1a0]
mov dword [esp + 0x10], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a573
sub eax, edx
push eax
lea eax, [esp + 0x1a4]
push eax
lea ecx, [esp + 0x7c]
call fcn.00405070
cmp dword [esp + 0x8c], 0x10
mov edi, dword [esp + 0x78]
jae 0x40a5a0
lea edi, [esp + 0x78]
lea ecx, [esp + 0x90]
call fcn.00402d00
cmp dword [esi + 0x184], 0x10
mov byte [esp + 0x3c4], 2
jb 0x40a5c5
mov esi, dword [esi + 0x170]
jmp 0x40a5cb
add esi, 0x170
push edi
push ebx
push 0
push 8
push esi
lea ecx, [esp + 0xa4]
call fcn.00405720
lea ecx, [esp + 0x90]
mov byte [esp + 0x3c4], 1
call fcn.00402d80
xor edi, edi
jmp 0x40a649
mov ecx, esi
call fcn.00407800
mov ecx, esi
call fcn.00409e30
test eax, eax
mov eax, dword [esi + 0x1bc]
je 0x40a629
cmp eax, 0x10
jb 0x40a61e
mov eax, dword [esi + 0x1a8]
push eax
push 2
jmp 0x40a63f
lea eax, [esi + 0x1a8]
push eax
push 2
jmp 0x40a63f
cmp eax, 0x10
jb 0x40a636
mov eax, dword [esi + 0x1a8]
jmp 0x40a63c
lea eax, [esi + 0x1a8]
push eax
push 3
push edi
mov ecx, esi
push 5
call fcn.004061b0
cmp dword [esp + 0x8c], 0x10
jb 0x40a660
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00412c1d
add esp, 4
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x8c], 0xf
mov byte [esp + 0x78], 0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
mov dword [esp + 0x3c4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x3bc]
mov eax, dword [esp + 0x10]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413041
mov esp, ebp
pop ebp
ret