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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 0x1a4], 0
jne 0x491895
xor eax, eax
jmp 0x492112
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0x40b
je 0x4918bf
cmp dword [ebp - 0x120], 0x40c
je 0x491dd1
jmp 0x492110
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 1
je 0x4918f5
cmp dword [ebp - 0x124], 2
je 0x491a12
cmp dword [ebp - 0x124], 3
je 0x491c63
jmp 0x491dcc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x11c]
call fcn.00491810
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x491a0d
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493af0
add eax, 0x14
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call fcn.004837d0
movzx edx, al
test edx, edx
je 0x491a0d
push str.IDS_RESULT_SCANNING
mov ecx, dword [ebp - 0x11c]
add ecx, 0x5c
call fcn.004935a0
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0050dad0
add esp, 0xc
mov ecx, eax
call fcn.00406540
push ecx
mov ecx, esp
push eax
call fcn.0040da80
mov ecx, dword [ebp - 8]
call fcn.004837a0
mov ecx, eax
call fcn.0048aa80
lea ecx, [ebp - 0x64]
call fcn.00406510
push 0x5731dc
push ecx
mov ecx, esp
mov edx, dword [ebp - 8]
push edx
call fcn.00496260
call fcn.005019e0
add esp, 8
push 0
push ecx
mov ecx, esp
mov eax, dword [ebp - 8]
push eax
call fcn.00483750
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x30]
push edx
call fcn.00503930
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493af0
add eax, 0x18
mov ecx, eax
call fcn.004818f0
movzx ecx, al
test ecx, ecx
je 0x491a0d
push 1
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493af0
add eax, 0x18
mov ecx, eax
call fcn.004818c0
mov ecx, eax
call fcn.0048a4f0
jmp 0x491dcc
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x18c]
add ecx, 1
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x18c], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x491c5e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x11c]
call fcn.00491810
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je case.0x491c35.1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493af0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.004837d0
movzx ecx, al
test ecx, ecx
je case.0x491c35.1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
add ecx, 2
mov dword [ebp - 0x128], ecx
cmp dword [ebp - 0x128], 4
ja case.default.0x491ad8
mov edx, dword [ebp - 0x128]
jmp dword [edx*4 + 0x492118]
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
mov dword [ebp - 0x1c], 0x5731fc
mov dword [ebp - 0x18], 0x57321c
jmp 0x491b32
mov dword [ebp - 0x1c], str.IDS_RESULT_WARNING
mov dword [ebp - 0x18], 0x573268
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x190]
add edx, 1
mov eax, dword [ebp - 0x11c]
mov dword [eax + 0x190], edx
jmp 0x491b32
mov dword [ebp - 0x1c], 0x573288
mov dword [ebp - 0x18], 0x5732a8
cmp dword [ebp - 0x1c], 0
je 0x491bd5
cmp dword [ebp - 0x18], 0
je 0x491bd5
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x11c]
add ecx, 0x5c
call fcn.004935a0
push eax
lea edx, [ebp - 0x8c]
push edx
call fcn.0050dad0
add esp, 0xc
mov ecx, eax
call fcn.00406540
push ecx
mov ecx, esp
push eax
call fcn.0040da80
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.004837a0
mov ecx, eax
call fcn.0048aa80
lea ecx, [ebp - 0x8c]
call fcn.00406510
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x14
push ecx
mov ecx, esp
push eax
call fcn.00483750
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x30]
push edx
call fcn.00503930
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.00496260
call fcn.005019e0
add esp, 8
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.004818f0
movzx eax, al
test eax, eax
je 0x491bfb
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.004818c0
mov ecx, eax
call fcn.0048a4f0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0
jle case.0x491c35.1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
sub ecx, 2
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x12c], 0xf
ja case.0x491c35.1
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 0x492134]
jmp dword [eax*4 + 0x49212c]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], 1
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
call fcn.005303ae
add esp, 4
jmp 0x491dcc
mov dword [ebp - 0x20], 0
jmp 0x491c75
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493ad0
cmp dword [ebp - 0x20], eax
jae 0x491dad
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493af0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, 0xc
push ecx
mov ecx, esp
push eax
call fcn.00488cd0
call fcn.00500de0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x491da8
mov edx, dword [ebp - 0x24]
cmp dword [edx + 8], 0xfffffffd
jne 0x491da8
push 0x5732cc
mov ecx, dword [ebp - 0x11c]
add ecx, 0x5c
call fcn.004935a0
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0050dad0
add esp, 0xc
mov ecx, eax
call fcn.00406540
push ecx
mov ecx, esp
push eax
call fcn.0040da80
mov ecx, dword [ebp - 0x24]
add ecx, 0x14
call fcn.004837a0
mov ecx, eax
call fcn.0048aa80
lea ecx, [ebp - 0xbc]
call fcn.00406510
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x14
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.00483750
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.00503930
add esp, 0xc
push 0x5732ec
mov edx, dword [ebp - 0x24]
add edx, 0x14
push ecx
mov ecx, esp
push edx
call fcn.00496260
call fcn.005019e0
add esp, 8
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.004818f0
movzx eax, al
test eax, eax
je 0x491d8d
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.004818c0
mov ecx, eax
call fcn.0048a4f0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x18c]
add edx, 1
mov eax, dword [ebp - 0x11c]
mov dword [eax + 0x18c], edx
jmp 0x491c6c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x188], eax
push 2
mov ecx, dword [ebp - 0x11c]
call fcn.00492280
jmp 0x492110
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x130], edx
cmp dword [ebp - 0x130], 1
je 0x491e07
cmp dword [ebp - 0x130], 2
je 0x491f2a
cmp dword [ebp - 0x130], 3
je 0x4920eb
jmp 0x492110
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x11c]
call fcn.00491810
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x491f25
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493af0
add eax, 0x14
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.004837d0
movzx edx, al
test edx, edx
je 0x491f25
push str.IDS_RESULT_FIXING
mov ecx, dword [ebp - 0x11c]
add ecx, 0x5c
call fcn.004935a0
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0050dad0
add esp, 0xc
mov ecx, eax
call fcn.00406540
push ecx
mov ecx, esp
push eax
call fcn.0040da80
mov ecx, dword [ebp - 0x2c]
call fcn.004837a0
mov ecx, eax
call fcn.0048aa80
lea ecx, [ebp - 0xe4]
call fcn.00406510
push 0x573334
push ecx
mov ecx, esp
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00496260
call fcn.005019e0
add esp, 8
push 0
push ecx
mov ecx, esp
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00483750
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x30]
push edx
call fcn.00503930
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493af0
add eax, 0x18
mov ecx, eax
call fcn.004818f0
movzx ecx, al
test ecx, ecx
je 0x491f25
push 1
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493af0
add eax, 0x18
mov ecx, eax
call fcn.004818c0
mov ecx, eax
call fcn.0048a4f0
jmp 0x492110
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4920e9
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 8], 0
je 0x491f5e
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x1a0]
add eax, 1
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x1a0], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x11c]
call fcn.00491810
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4920d1
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x11c]
add ecx, 0x164
call fcn.00493af0
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
neg eax
sbb eax, eax
neg eax
sub eax, 1
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 8], 0
je 0x491fcb
mov dword [ebp - 0x134], 0x573354
jmp 0x491fd5
mov dword [ebp - 0x134], 0x573374
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 8], 0
je 0x491ff3
mov dword [ebp - 0x138], 0x5733a0
jmp 0x491ffd
mov dword [ebp - 0x138], 0x5733c4
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x14
call fcn.004837d0
movzx eax, al
test eax, eax
je 0x4920ab
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x11c]
add ecx, 0x5c
call fcn.004935a0
push eax
lea edx, [ebp - 0x10c]
push edx
call fcn.0050dad0
add esp, 0xc
mov ecx, eax
call fcn.00406540
push ecx
mov ecx, esp
push eax
call fcn.0040da80
mov ecx, dword [ebp - 0x40]
add ecx, 0x14
call fcn.004837a0
mov ecx, eax
call fcn.0048aa80
lea ecx, [ebp - 0x10c]
call fcn.00406510
push 0
mov eax, dword [ebp - 0x40]
add eax, 0x14
push ecx
mov ecx, esp
push eax
call fcn.00483750
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x30]
push edx
call fcn.00503930
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x14
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.00496260
call fcn.005019e0
add esp, 8
mov ecx, dword [ebp - 0x40]
add ecx, 0x18
call fcn.004818f0
movzx eax, al
test eax, eax
je 0x4920d1
push 1
mov ecx, dword [ebp - 0x40]
add ecx, 0x18
call fcn.004818c0
mov ecx, eax
call fcn.0048a4f0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x118]
push edx
call fcn.005303ae
add esp, 4
jmp 0x492110
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x198], eax
push 4
mov ecx, dword [ebp - 0x11c]
call fcn.00492280
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10