Function at 0x40a640
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x451f58
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
lea edi, [eax + 0x38]
mov dword [esp + 0x74], 1
mov eax, dword [edi + 0x18]
mov ebp, dword [eax]
mov esi, dword [edi]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov ebx, dword [edi + 0x18]
mov eax, dword [edi]
test esi, esi
je 0x40a692
cmp esi, eax
je 0x40a697
call fcn.004325db
cmp ebp, ebx
je 0x40a6eb
test esi, esi
jne 0x40a6d4
call fcn.004325db
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x40a6b0
call fcn.004325db
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x28]
cmp eax, 0x7530
jbe 0x40a6d8
push ebp
push esi
lea eax, [esp + 0x68]
push eax
push edi
call fcn.0041ca00
mov esi, dword [eax]
mov ebp, dword [eax + 4]
jmp 0x40a67d
mov eax, dword [esi]
jmp 0x40a6a6
lea esi, [esp + 0x14]
call fcn.0040b420
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x40a685
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x18]
push edx
mov esi, edi
call fcn.0040ac80
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov ebx, dword [edi + 0x18]
mov eax, dword [edi]
test ecx, ecx
je 0x40a711
cmp ecx, eax
je 0x40a716
call fcn.004325db
mov ebp, 0x10
cmp esi, ebx
jne 0x40a867
mov ecx, dword [esp + 0xa0]
cmp dword [esp + 0xb4], ebp
jae 0x40a73a
lea ecx, [esp + 0xa0]
push ecx
mov eax, esp
mov dword [esp + 0x64], esp
push eax
call fcn.00405790
push 0x400
xor ecx, ecx
lea esi, [esp + 0x28]
lea edx, [esp + 0x88]
mov byte [esp + 0x7c], 2
call fcn.00401f20
mov byte [esp + 0x78], 3
cmp dword [eax + 0x18], ebp
jb 0x40a772
mov eax, dword [eax + 4]
jmp 0x40a775
add eax, 4
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, eax
call fcn.00405790
mov byte [esp + 0x7c], 4
call fcn.00403ca0
push eax
mov byte [esp + 0x80], 5
call fcn.0040c220
mov byte [esp + 0x74], 1
cmp dword [esp + 0x38], ebp
jb 0x40a7b4
mov edx, dword [esp + 0x24]
push edx
call fcn.0043206e
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xffffffffffffffff
mov esi, eax
push 0
lea eax, [esp + 0xa4]
mov ebx, 0xf
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.00402140
mov dword [esp + 0x5c], esi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 6
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00402140
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x20]
push eax
push edi
lea ebx, [esp + 0x1c]
mov byte [esp + 0x7c], 7
call fcn.0040ab20
cmp dword [esp + 0x38], ebp
jb 0x40a842
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043206e
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], eax
mov byte [esp + 0x24], al
cmp dword [esp + 0x58], ebp
jb 0x40a867
mov edx, dword [esp + 0x44]
push edx
call fcn.0043206e
add esp, 4
cmp dword [esp + 0x98], ebp
jb 0x40a880
mov eax, dword [esp + 0x84]
push eax
call fcn.0043206e
add esp, 4
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
cmp dword [esp + 0xb4], ebp
jb 0x40a8b7
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0043206e
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x3c