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

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x47e150]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x118
mov eax, 0x45f7cc
call fcn.00441309
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, 0x463ac1
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call fcn.00403d16
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.004135b0
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00403d16
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00403d16
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00403d16
lea eax, [ebp - 0x44]
push 0x9f
push eax
mov byte [ebp - 4], 5
call fcn.004088a5
pop ecx
pop ecx
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], ebx
je 0x4123a9
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004035d6
mov ecx, 0x47c3a4
call fcn.004083fa
lea eax, [ebp - 0x14]
push 0x94
push eax
call fcn.004088a5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.00403b39
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.0040127f
mov eax, dword [0x47f5e0]
cmp dword [eax - 0xc], ebx
jne 0x4123ed
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x47f5e0
call fcn.00403b39
push str.http:__install2.optimum_installer.com
lea ecx, [ebp - 0x1c]
call fcn.00403b86
push str._config_
lea ecx, [ebp - 0x1c]
call fcn.00403c66
mov eax, dword [0x47f5e0]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00403a34
push str._offers.json_version1.0
lea ecx, [ebp - 0x1c]
call fcn.00403c66
push str.pidinstaller
lea ecx, [ebp - 0x1c]
call fcn.00403c66
push str.ts
lea ecx, [ebp - 0x1c]
call fcn.00403c66
lea eax, [ebp - 0x14]
push 0x93
push eax
call fcn.004088a5
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.00403a34
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.0040127f
lea eax, [ebp - 0x50]
push 0x95
push eax
call fcn.004088a5
pop ecx
pop ecx
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 9
cmp dword [eax - 0xc], ebx
je 0x4124a8
push str.cc
lea ecx, [ebp - 0x1c]
call fcn.00403c66
mov eax, dword [ebp - 0x50]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00403a34
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004035d6
lea eax, [ebp - 0x14]
push eax
call fcn.00409427
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.00403b39
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.0040127f
call edi
mov esi, eax
sub esi, dword [ebp - 0x24]
call fcn.0041f46a
push eax
lea ecx, [ebp - 0x48]
call fcn.00413cf5
mov byte [ebp - 4], 0xb
call fcn.0041f46a
push eax
lea ecx, [ebp - 0x4c]
call fcn.00413cf5
push str.json_installer_initialize__lu
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.00403b86
push esi
push dword [ebp - 0x48]
lea eax, [ebp - 0x4c]
push eax
call fcn.00407081
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.00403d16
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.i_temp.temp
mov byte [ebp - 4], 0xd
call fcn.00403d16
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xe
call fcn.004035d6
mov byte [ebp - 4], 0xc
call fcn.0040904d
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.004033de
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.0041d345
pop ecx
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.004033de
push dword [ebp - 0x14]
push ebx
push 0xffffffffffffffff
push eax
push 0
push edi
call esi
push ebx
call fcn.0041818f
pop ecx
push ebx
mov dword [ebp - 0x28], eax
call fcn.0041d350
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.0040d551
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.004088a5
pop ecx
pop ecx
push dword [eax]
call fcn.00442558
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040127f
test esi, esi
jle 0x41261c
cmp esi, dword [edi + 0x2c8]
jge 0x41261c
mov dword [edi + 0x2c8], esi
cmp dword [ebp - 0x28], 0
je 0x412b3d
mov ecx, edi
call fcn.0040b236
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x98]
push eax
call fcn.00418dba
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
call fcn.0040d5c0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xf
call fcn.0040cd1b
mov esi, str.offers
push esi
lea ecx, [ebp - 0x100]
call fcn.00409e54
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.004061b0
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00407b38
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00404bce
test al, al
jne 0x4126e5
push esi
lea ecx, [ebp - 0x70]
call fcn.00409e54
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x18], 3
call fcn.0040e16e
mov ecx, dword [eax]
call fcn.004183d1
test al, al
je 0x4126e5
mov bl, 1
jmp 0x4126e7
xor bl, bl
test byte [ebp - 0x18], 2
je 0x4126fc
and dword [ebp - 0x18], 0xfffffffd
push 0
push edi
lea ecx, [ebp - 0x70]
call fcn.00406538
test byte [ebp - 0x18], 1
mov dword [ebp - 4], 0xf
je 0x41271b
and dword [ebp - 0x18], 0xfffffffe
push 0
push edi
lea ecx, [ebp - 0x100]
call fcn.00406538
test bl, bl
je 0x412a63
push esi
lea ecx, [ebp - 0x100]
call fcn.00409e54
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x13
call fcn.0040e16e
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [eax]
call fcn.00418c35
xor esi, esi
push esi
push edi
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x15
call fcn.00406538
lea ecx, [ebp - 0x98]
call fcn.0040d551
cmp dword [0x47c3ac], esi
mov byte [ebp - 4], 0x16
jle 0x4129a8
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 0x412968
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x6c]
call fcn.00404a47
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [eax]
call fcn.00418dba
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x17
call fcn.0040d5c0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x16
call fcn.0040cd1b
push esi
lea ecx, [ebp - 0xb4]
call fcn.00409e54
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.004061b0
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x98]
call fcn.00407b38
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.00404bce
test al, al
jne 0x412859
push esi
lea ecx, [ebp - 0x11c]
call fcn.00409e54
or dword [ebp - 0x18], 8
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0x19
call fcn.0040e16e
mov ecx, dword [eax]
call fcn.004183bf
test al, al
je 0x412859
mov bl, 1
jmp 0x41285b
xor bl, bl
test byte [ebp - 0x18], 8
je 0x412873
and dword [ebp - 0x18], 0xfffffff7
push 0
push edi
lea ecx, [ebp - 0x11c]
call fcn.00406538
test byte [ebp - 0x18], 4
mov dword [ebp - 4], 0x16
je 0x412892
and dword [ebp - 0x18], 0xfffffffb
push 0
push edi
lea ecx, [ebp - 0xb4]
call fcn.00406538
test bl, bl
je 0x412960
call fcn.0041f46a
push eax
lea ecx, [ebp - 0x30]
call fcn.00413cf5
push esi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x1a
call fcn.00409e54
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x1b
call fcn.0040e16e
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [eax]
call fcn.00418882
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 0x1c
jb 0x4128eb
mov eax, dword [eax + 4]
jmp 0x4128ee
add eax, 4
push eax
lea ecx, [ebp - 0x30]
call fcn.00407037
push 0
push edi
lea ecx, [ebp - 0x11c]
call fcn.00406538
push 0
push edi
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x1a
call fcn.00406538
push str.welcomescreen
lea ecx, [ebp - 0x30]
call fcn.004033bc
test eax, eax
jne 0x41292f
mov dword [ebp - 0x14], 2
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.004035d6
mov ecx, dword [ebp - 0x20]
call fcn.004064c3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x16
test al, al
je 0x41295b
call fcn.0040127f
jmp 0x41296c
call fcn.0040127f
inc dword [ebp - 0x2c]
jmp 0x412789
xor al, al
je 0x4129a8
mov ebx, dword [ebp - 0x2c]
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00404a47
mov esi, dword [eax]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
lea ecx, [ebp - 0x6c]
jl 0x41299f
lea eax, [ebx - 1]
push eax
call fcn.00404a47
push ebx
lea ecx, [ebp - 0x6c]
mov edi, eax
call fcn.00404a47
mov ecx, dword [edi]
mov dword [eax], ecx
dec ebx
jmp 0x41297a
dec eax
push eax
call fcn.00404a47
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 0x412a3f
push esi
lea ecx, [ebp - 0x6c]
call fcn.00404a47
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [eax]
call fcn.00418dba
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x1d
call fcn.0040d5c0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x16
call fcn.0040cd1b
mov eax, dword [edi + 0x2c4]
cmp eax, dword [edi + 0x2c8]
jge 0x412a3f
sub esp, 0x20
lea eax, [ebp - 0x98]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.0040d56a
sub esp, 0x20
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x1e
call fcn.0040d56a
mov ecx, edi
mov byte [ebp - 4], 0x16
call fcn.00411fbd
inc esi
jmp 0x4129ad
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x15
call fcn.0040cd1b
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call fcn.00406583
push dword [ebp - 0x6c]
call fcn.0041d350
pop ecx
cmp dword [ebp - 0x28], 0
je 0x412a7a
mov ecx, dword [ebp - 0x28]
call fcn.00418ca3
push dword [ebp - 0x28]
call fcn.0041d350
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.0040b982
mov esi, dword [ebp - 0x20]
push dword [esi + 0x32c]
mov ecx, esi
call fcn.004213f0
mov eax, dword [esi + 0x2c4]
mov dword [0x47f6f0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub esi, dword [ebp - 0x24]
call fcn.0041f46a
push eax
lea ecx, [ebp - 0x24]
call fcn.00413cf5
mov byte [ebp - 4], 0x1f
call fcn.0041f46a
push eax
lea ecx, [ebp - 0x20]
call fcn.00413cf5
push str.installer_initialize__lu
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x20
call fcn.00403b86
push esi
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00407081
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0
call fcn.00403d16
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.i_temp.temp
mov byte [ebp - 4], 0x21
call fcn.00403d16
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x22
call fcn.004035d6
mov byte [ebp - 4], 0x20
call fcn.0040904d
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040127f
lea ecx, [esi - 0x10]
jmp 0x412bb3
call fcn.0041f46a
push eax
lea ecx, [ebp - 0x20]
call fcn.00413cf5
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.00407081
add esp, 0x10
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.004035d6
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.i_temp.temp
mov byte [ebp - 4], 0x24
call fcn.00403d16
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.install_bad_config
mov byte [ebp - 4], 0x25
call fcn.00403d16
mov byte [ebp - 4], 0x23
call fcn.0040904d
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040127f
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xc
call fcn.0040cd1b
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040127f
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.0040127f
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.0040127f
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040127f
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0040127f
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.0040127f
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0040127f
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.004135bd
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040127f
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.004412c7
add ebp, 0x804
leave
ret