Function at 0x412326
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x47f150]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x118
mov eax, 0x45fb0e
call fcn.00441639
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], ecx
call edi
mov esi, 0x464ab9
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call fcn.00403d12
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.004135e7
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00403d12
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00403d12
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00403d12
lea eax, [ebp - 0x44]
push 0x9f
push eax
mov byte [ebp - 4], 5
call fcn.004088e0
pop ecx
pop ecx
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], ebx
je 0x4123e0
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004035d2
mov ecx, 0x47d3a4
call fcn.00408435
lea eax, [ebp - 0x14]
push 0x94
push eax
call fcn.004088e0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.00403b35
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.0040127b
mov eax, dword [0x4805e0]
cmp dword [eax - 0xc], ebx
jne 0x412424
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x4805e0
call fcn.00403b35
push str.http:__install2.optimum_installer.com
lea ecx, [ebp - 0x1c]
call fcn.00403b82
push str._config_
lea ecx, [ebp - 0x1c]
call fcn.00403c62
mov eax, dword [0x4805e0]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00403a30
push str._offers.json_version1.0
lea ecx, [ebp - 0x1c]
call fcn.00403c62
push str.pidinstaller
lea ecx, [ebp - 0x1c]
call fcn.00403c62
push str.ts
lea ecx, [ebp - 0x1c]
call fcn.00403c62
lea eax, [ebp - 0x14]
push 0x93
push eax
call fcn.004088e0
pop ecx
pop ecx
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 8
call fcn.00403a30
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.0040127b
lea eax, [ebp - 0x50]
push 0x95
push eax
call fcn.004088e0
pop ecx
pop ecx
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 9
cmp dword [eax - 0xc], ebx
je 0x4124df
push str.cc
lea ecx, [ebp - 0x1c]
call fcn.00403c62
mov eax, dword [ebp - 0x50]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00403a30
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004035d2
lea eax, [ebp - 0x14]
push eax
call fcn.00409462
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.00403b35
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.0040127b
call edi
mov esi, eax
sub esi, dword [ebp - 0x24]
call fcn.0041f7a6
push eax
lea ecx, [ebp - 0x48]
call fcn.00413d33
mov byte [ebp - 4], 0xb
call fcn.0041f7a6
push eax
lea ecx, [ebp - 0x4c]
call fcn.00413d33
push str.json_installer_initialize__lu
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.00403b82
push esi
push dword [ebp - 0x48]
lea eax, [ebp - 0x4c]
push eax
call fcn.004070bc
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.00403d12
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.i_temp.temp
mov byte [ebp - 4], 0xd
call fcn.00403d12
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xe
call fcn.004035d2
mov byte [ebp - 4], 0xc
call fcn.00409088
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.004033da
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
mov edi, 0xfde9
push edi
call esi
mov dword [ebp - 0x14], eax
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d66a
pop ecx
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.004033da
push dword [ebp - 0x14]
push ebx
push 0xffffffffffffffff
push eax
push 0
push edi
call esi
push ebx
call fcn.004181d4
pop ecx
push ebx
mov dword [ebp - 0x28], eax
call fcn.0041d65f
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.0040d58a
mov edi, dword [ebp - 0x20]
and dword [edi + 0x2c4], 0
lea eax, [ebp - 0x14]
push 0x9d
push eax
mov byte [ebp - 4], 0xf
mov dword [edi + 0x2c8], 5
call fcn.004088e0
pop ecx
pop ecx
push dword [eax]
call fcn.00442888
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040127b
test esi, esi
jle 0x412653
cmp esi, dword [edi + 0x2c8]
jge 0x412653
mov dword [edi + 0x2c8], esi
cmp dword [ebp - 0x28], 0
je 0x412b74
mov ecx, edi
call fcn.0040b39b
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x98]
push eax
call fcn.00418dd7
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
call fcn.0040d5f9
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xf
call fcn.0040cd54
mov esi, str.offers
push esi
lea ecx, [ebp - 0x100]
call fcn.00409e8f
lea eax, [ebp - 0xd8]
push eax
push dword [ebp - 0xc0]
xor edi, edi
inc edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x18], edi
call fcn.004061f9
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00407b73
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0041849a
test al, al
jne 0x41271c
push esi
lea ecx, [ebp - 0x70]
call fcn.00409e8f
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x18], 3
call fcn.0040e1a7
mov ecx, dword [eax]
call fcn.00418416
test al, al
je 0x41271c
mov bl, 1
jmp 0x41271e
xor bl, bl
test byte [ebp - 0x18], 2
je 0x412733
and dword [ebp - 0x18], 0xfffffffd
push 0
push edi
lea ecx, [ebp - 0x70]
call fcn.00406581
test byte [ebp - 0x18], 1
mov dword [ebp - 4], 0xf
je 0x412752
and dword [ebp - 0x18], 0xfffffffe
push 0
push edi
lea ecx, [ebp - 0x100]
call fcn.00406581
test bl, bl
je 0x412a9a
push esi
lea ecx, [ebp - 0x100]
call fcn.00409e8f
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x13
call fcn.0040e1a7
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [eax]
call fcn.00418c52
xor esi, esi
push esi
push edi
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x15
call fcn.00406581
lea ecx, [ebp - 0x98]
call fcn.0040d58a
cmp dword [0x47d3ac], esi
mov byte [ebp - 4], 0x16
jle 0x4129df
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], edi
mov esi, str.name
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
sar eax, 2
cmp dword [ebp - 0x2c], eax
jae 0x41299f
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x6c]
call fcn.00404a68
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [eax]
call fcn.00418dd7
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x17
call fcn.0040d5f9
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x16
call fcn.0040cd54
push esi
lea ecx, [ebp - 0xb4]
call fcn.00409e8f
or dword [ebp - 0x18], 4
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x80]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x18
call fcn.004061f9
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x98]
call fcn.00407b73
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.0041849a
test al, al
jne 0x412890
push esi
lea ecx, [ebp - 0x11c]
call fcn.00409e8f
or dword [ebp - 0x18], 8
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0x19
call fcn.0040e1a7
mov ecx, dword [eax]
call fcn.00418404
test al, al
je 0x412890
mov bl, 1
jmp 0x412892
xor bl, bl
test byte [ebp - 0x18], 8
je 0x4128aa
and dword [ebp - 0x18], 0xfffffff7
push 0
push edi
lea ecx, [ebp - 0x11c]
call fcn.00406581
test byte [ebp - 0x18], 4
mov dword [ebp - 4], 0x16
je 0x4128c9
and dword [ebp - 0x18], 0xfffffffb
push 0
push edi
lea ecx, [ebp - 0xb4]
call fcn.00406581
test bl, bl
je 0x412997
call fcn.0041f7a6
push eax
lea ecx, [ebp - 0x30]
call fcn.00413d33
push esi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x1a
call fcn.00409e8f
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x1b
call fcn.0040e1a7
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [eax]
call fcn.0041889f
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0x1c
jb 0x412922
mov eax, dword [eax + 4]
jmp 0x412925
add eax, 4
push eax
lea ecx, [ebp - 0x30]
call fcn.00407072
push 0
push edi
lea ecx, [ebp - 0x11c]
call fcn.00406581
push 0
push edi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x1a
call fcn.00406581
push str.welcomescreen
lea ecx, [ebp - 0x30]
call fcn.004033b8
test eax, eax
jne 0x412966
mov dword [ebp - 0x14], 2
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.004035d2
mov ecx, dword [ebp - 0x20]
call fcn.0040650c
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x16
test al, al
je 0x412992
call fcn.0040127b
jmp 0x4129a3
call fcn.0040127b
inc dword [ebp - 0x2c]
jmp 0x4127c0
xor al, al
je 0x4129df
mov ebx, dword [ebp - 0x2c]
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00404a68
mov esi, dword [eax]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
lea ecx, [ebp - 0x6c]
jl 0x4129d6
lea eax, [ebx - 1]
push eax
call fcn.00404a68
push ebx
lea ecx, [ebp - 0x6c]
mov edi, eax
call fcn.00404a68
mov ecx, dword [edi]
mov dword [eax], ecx
dec ebx
jmp 0x4129b1
dec eax
push eax
call fcn.00404a68
mov dword [eax], esi
mov edi, dword [ebp - 0x20]
xor esi, esi
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
sar eax, 2
cmp esi, eax
jae 0x412a76
push esi
lea ecx, [ebp - 0x6c]
call fcn.00404a68
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [eax]
call fcn.00418dd7
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x1d
call fcn.0040d5f9
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x16
call fcn.0040cd54
mov eax, dword [edi + 0x2c4]
cmp eax, dword [edi + 0x2c8]
jge 0x412a76
sub esp, 0x20
lea eax, [ebp - 0x98]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.0040d5a3
sub esp, 0x20
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x1e
call fcn.0040d5a3
mov ecx, edi
mov byte [ebp - 4], 0x16
call fcn.00411ff4
inc esi
jmp 0x4129e4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x15
call fcn.0040cd54
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call fcn.004065cc
push dword [ebp - 0x6c]
call fcn.0041d65f
pop ecx
cmp dword [ebp - 0x28], 0
je 0x412ab1
mov ecx, dword [ebp - 0x28]
call fcn.00418cc0
push dword [ebp - 0x28]
call fcn.0041d65f
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.0040b9bb
mov esi, dword [ebp - 0x20]
push dword [esi + 0x32c]
mov ecx, esi
call fcn.00421732
mov eax, dword [esi + 0x2c4]
mov dword [0x4806f0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub esi, dword [ebp - 0x24]
call fcn.0041f7a6
push eax
lea ecx, [ebp - 0x24]
call fcn.00413d33
mov byte [ebp - 4], 0x1f
call fcn.0041f7a6
push eax
lea ecx, [ebp - 0x20]
call fcn.00413d33
push str.installer_initialize__lu
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x20
call fcn.00403b82
push esi
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.004070bc
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0
call fcn.00403d12
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.i_temp.temp
mov byte [ebp - 4], 0x21
call fcn.00403d12
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x22
call fcn.004035d2
mov byte [ebp - 4], 0x20
call fcn.00409088
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040127b
lea ecx, [esi - 0x10]
jmp 0x412bea
call fcn.0041f7a6
push eax
lea ecx, [ebp - 0x20]
call fcn.00413d33
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax - 0xc]
push eax
lea eax, [ebp - 0x20]
push str._lu_s
push eax
mov byte [ebp - 4], 0x23
call fcn.004070bc
add esp, 0x10
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.004035d2
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.i_temp.temp
mov byte [ebp - 4], 0x24
call fcn.00403d12
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.install_bad_config
mov byte [ebp - 4], 0x25
call fcn.00403d12
mov byte [ebp - 4], 0x23
call fcn.00409088
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040127b
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xc
call fcn.0040cd54
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0040127b
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.004135f4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040127b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004415f7
add ebp, 0x804
leave
ret