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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004096e0
mov eax, dword [0x41d428]
push ebx
push esi
push edi
add eax, 0x18f06
push 1
mov dword [ebp - 0xc], eax
pop ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
call fcn.00406376
test eax, eax
je 0x407205
mov esi, 0x104
lea eax, [ebp - 0xc]
push eax
call fcn.0040631f
test eax, eax
mov dword [ebp - 8], eax
je 0x4071eb
mov edi, 0x800
lea eax, [ebp - 0x1010]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004063b2
mov eax, dword [0x41d428]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x60]
neg edx
sbb edx, edx
and edx, 0xfffffff7
add edx, 9
sub ecx, edx
lea edx, [ebp - 0x1010]
cmp ecx, 5
mov dword [ebp - 4], edx
jne 0x406d82
xor edx, edx
cmp dword [eax + 0x40], edx
je 0x406d84
add eax, 0x2ac6e
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
add eax, 0x2ad0e
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
add eax, 0x28f06
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
add eax, 0x2adae
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
push 0
push ebx
add eax, 0x28f06
push esi
push eax
call fcn.00406bb7
mov eax, dword [0x41d428]
add eax, 0x29316
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
call fcn.00406837
jmp 0x4071eb
xor edx, edx
cmp ecx, 7
jne 0x406ed5
cmp dword [eax + 0x3c], edx
je 0x406ed5
cmp dword [ebp - 0x10], edx
je 0x406dce
cmp word [eax + 0x2abce], dx
lea ecx, [eax + 0x2abce]
je 0x406dce
cmp dword [eax + 0x64], edx
mov eax, str.true
jne 0x406db9
mov eax, str.false
push eax
push 0x4101a8
push ecx
call fcn.00405586
and dword [ebp - 0x10], 0
mov eax, dword [0x41d428]
add eax, 0x2af8e
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
add eax, 0x2932e
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
add eax, 0x28f06
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
push 0
push ebx
add eax, 0x28f06
push esi
push eax
call fcn.00406bb7
mov eax, dword [0x41d428]
add eax, 0x2910e
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
push 0
push ebx
add eax, 0x2910e
push esi
push eax
call fcn.00406bb7
mov eax, dword [0x41d428]
add eax, 0x29316
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
push ebx
push dword [ebp + 8]
call fcn.0040676f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [0x41d4c4], 0xffffffff
je 0x406e93
add eax, 0x3a98
mov dword [ebp - 8], eax
call edi
cmp eax, dword [ebp - 8]
ja 0x407228
push dword [ebp + 8]
call fcn.00404b0b
cmp dword [0x41d4c4], 0xffffffff
jne 0x406e77
push 3
push dword [ebp + 8]
call fcn.0040676f
call edi
cmp dword [0x41d4c4], 0xfffffffe
je 0x4071eb
add eax, 0x3a98
mov dword [ebp - 8], eax
call edi
cmp eax, dword [ebp - 8]
ja 0x407228
push dword [ebp + 8]
call fcn.00404b0b
cmp dword [0x41d4c4], 0xfffffffe
jne 0x406eb4
jmp 0x4071eb
mov edx, dword [ebp - 8]
cmp edx, 0x16
jne 0x406f3b
add eax, 0x2b16e
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
add eax, 0x293ce
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
push 0
push ebx
add eax, 0x293ce
push edi
push eax
call fcn.00406bb7
mov eax, dword [0x41d428]
lea ecx, [eax + 0x293ce]
add eax, 0x2b16e
push ecx
push eax
push dword [ebp + 8]
call fcn.00406b87
mov eax, dword [0x41d428]
mov dword [eax + 0x54], ebx
jmp 0x4071eb
cmp edx, 0x17
jne 0x40700f
add eax, 0x2b20e
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
add eax, 0x2b20e
mov cx, word [eax]
cmp cx, 0x43
je 0x406f81
cmp cx, 0x63
je 0x406f81
cmp cx, 0x4c
je 0x406f78
cmp cx, 0x6c
jne 0x406f81
mov dword [ebp - 8], 0x80000002
jmp 0x406f88
mov dword [ebp - 8], 0x80000001
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
add eax, 0x2ac6e
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
add eax, 0x2ad0e
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
mov cx, word [eax + 0x2ad0e]
cmp cx, 0x44
je 0x406fd6
cmp cx, 0x64
je 0x406fd6
mov edi, ebx
jmp 0x406fd9
push 4
pop edi
add eax, 0x293ce
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
lea ecx, [eax + 0x293ce]
push ecx
lea ecx, [eax + 0x2ac6e]
push edi
add eax, 0x2b20e
push ecx
push eax
push dword [ebp - 8]
call fcn.00405350
jmp 0x4071eb
cmp ecx, 9
jne 0x4070b1
lea ecx, [eax + 0x14506]
push esi
add eax, 0x2b2ae
push ecx
push eax
call fcn.004031f4
mov eax, dword [0x41d428]
push esi
add eax, 0x2b2ae
push 0x40f974
push eax
call fcn.00403285
mov eax, dword [0x41d428]
add eax, 0x2b2ae
push eax
call fcn.00403402
mov edi, eax
lea eax, [ebp - 4]
push edi
push eax
call fcn.004063f8
push 0x4101a4
push edi
call fcn.00403415
test eax, eax
jne 0x407082
mov eax, dword [0x41d428]
push esi
add eax, 0x2b2ae
push str..INF
push eax
call fcn.00403285
mov eax, dword [0x41d428]
cmp dword [eax + 0x4c], 0
je 0x4070a9
lea ecx, [eax + 0x2b2ae]
add eax, 0x2abce
push ecx
push str.InfFile
push eax
call fcn.00405586
mov eax, dword [0x41d428]
mov dword [eax + 0x58], ebx
jmp 0x4071eb
mov cl, byte [0x41d44c]
cmp edx, 0x18
jne 0x407165
test bl, cl
jne 0x407165
add eax, 0x13a70
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
push ebx
push ebx
add eax, 0x13a70
push esi
push eax
call fcn.00406bb7
mov eax, dword [0x41d428]
add eax, 0x140fe
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
push ebx
add eax, 0x140fe
push eax
call fcn.004044ad
push eax
mov eax, dword [0x41d428]
add eax, 0x140fe
push 0x204
push eax
call fcn.0040466e
mov eax, dword [0x41d428]
push 0
lea ecx, [eax + 0x140fe]
add eax, 0x13a70
push ecx
push eax
call dword [0x41d350]
mov eax, dword [0x41d428]
cmp dword [eax + 0x4c], 0
je 0x4071eb
lea ecx, [eax + 0x2abce]
add eax, 0x140fe
push ecx
push eax
call fcn.004055a1
jmp 0x4071eb
cmp edx, 0x19
jne 0x40719f
test bl, cl
jne 0x40719f
add eax, 0x2b4b6
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
push 0
push ebx
add eax, 0x2b4b6
push 0x400
push eax
call fcn.00406bb7
mov eax, dword [0x41d428]
mov dword [eax + 0x5c], ebx
jmp 0x4071eb
cmp edx, 0x1b
jne 0x4071eb
add eax, 0x140fe
push eax
lea eax, [ebp - 4]
push eax
call fcn.004063f8
mov eax, dword [0x41d428]
push ebx
add eax, 0x140fe
push eax
call fcn.004044ad
push eax
mov eax, dword [0x41d428]
add eax, 0x140fe
push 0x204
push eax
call fcn.0040466e
mov eax, dword [0x41d428]
add eax, 0x140fe
push eax
call dword [0x41d3d4]
lea eax, [ebp - 0xc]
push eax
call fcn.0040639d
lea eax, [ebp - 0xc]
push eax
call fcn.00406376
test eax, eax
jne 0x406cab
cmp dword [0x41d44c], 0x10
jl 0x40721f
push 0
push 0
push 0x1a
push 0xffff
call dword [0x41d3f8]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
jmp 0x407221