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

Disassembly:
push 0xffffffffffffffff
push 0x41da89
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
mov eax, dword [0x425028]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push edi
call fcn.00409ad0
test al, al
jne 0x410c3c
fld1
xor eax, eax
sub esp, 0x18
fstp qword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, esp
mov ecx, 0x1ed
mov dword [eax], ecx
mov edx, 0xa
mov dword [eax + 4], edx
mov esi, 0x24b
mov dword [eax + 8], esi
push 0x41fbf0
mov ebx, 0x43
push edi
lea esi, [esp + 0x48]
mov edx, str.f6ff00_010101
mov dword [eax + 0xc], ebx
call fcn.00401580
test eax, eax
je 0x410379
mov ecx, dword [esp + 0x2c]
fld1
mov eax, dword [esp + 0x28]
lea edx, [ecx + 0x14]
lea ebx, [ecx - 0xf]
add ecx, 0xa
lea esi, [eax + 1]
lea ebp, [eax - 0x26]
mov dword [esp + 0x10], ecx
lea ecx, [eax + 0x37]
sub esp, 0x18
fstp qword [esp + 0x10]
add eax, 3
mov dword [esp + 0x40], eax
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
push 0x41fbf4
push edi
lea esi, [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov dword [eax + 0xc], edx
call fcn.00401700
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], 0
fld1
mov edx, dword [esp + 0x28]
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ebx
push 0x41fbf4
mov dword [eax + 8], ecx
push edi
lea esi, [esp + 0x38]
mov dword [eax + 0xc], edx
call fcn.00401700
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCR80.dll__wtoi]
push eax
call esi
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
mov dword [esp + 0x18], eax
call esi
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.MSVCR80.dll_srand]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
add eax, 0xffffffdb
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov dword [esp + 0x1c], eax
jg 0x410452
lea eax, [ecx - 0xa]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410452
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov dword [esp + 0x18], edx
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov eax, dword [esp + 0x18]
add eax, 0xa7
push eax
add edx, 0xda
push edx
push 0x42508c
lea edx, [esp + 0x34]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call esi
push 0
lea eax, [esp + 0x2c]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call esi
push 0
lea ecx, [esp + 0x2c]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1c2
call esi
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x1c], 5
jg 0x410501
lea eax, [ecx - 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410501
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov dword [esp + 0x1c], edx
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov eax, dword [esp + 0x1c]
add eax, 0xbb
push eax
add edx, 0xda
push edx
push 0x42508c
lea edx, [esp + 0x34]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call esi
push 0
lea eax, [esp + 0x2c]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call esi
push 0
lea ecx, [esp + 0x2c]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
jmp 0x410c2e
mov eax, dword [esp + 0x14]
add eax, 0xffffffee
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x4105a7
lea eax, [ecx - 1]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4105a7
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov dword [esp + 0x1c], edx
call ebp
push eax
call ebx
add esp, 4
call dword [sym.imp.MSVCR80.dll_rand]
cdq
mov ecx, 0xb
idiv ecx
mov eax, dword [esp + 0x1c]
add eax, 0xa5
push eax
add edx, 0xeb
push edx
push edi
call fcn.004017b0
push 0x32
call esi
push 0
lea edx, [esp + 0x2c]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call esi
push 0
lea eax, [esp + 0x2c]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
jmp 0x410c2e
mov ebp, dword [esp + 0x14]
lea eax, [ebp - 7]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov dword [esp + 0x10], eax
jg 0x410621
lea eax, [ecx - 0x32]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410621
call fcn.00401860
mov ebx, eax
add ebx, 0xc8
call fcn.00401860
push ebx
add eax, 0x140
push eax
push edi
call fcn.004017b0
push 0x32
call esi
push 0
lea ecx, [esp + 0x2c]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call esi
push 0
lea edx, [esp + 0x28]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
jmp 0x410c2e
lea eax, [ebp - 0xb]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov dword [esp + 0x18], eax
jg 0x41065b
lea eax, [ecx - 0x20]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41065b
call fcn.00401860
mov ebx, eax
add ebx, 0x10f
call fcn.00401860
add eax, 0xbc
jmp 0x410c10
lea eax, [ebp - 0x23]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov dword [esp + 0x28], eax
jg 0x4106b5
lea eax, [ecx - 0x12]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4106b5
call fcn.00401860
mov ebx, eax
add ebx, 0x66
call fcn.00401860
push ebx
add eax, 0x163
push eax
push edi
call fcn.004017b0
push 0x32
call esi
mov ecx, edi
call fcn.004017e0
push 0x32
call esi
mov ecx, edi
call fcn.004017e0
push 0x514
jmp 0x410c33
lea eax, [ebp - 0x2c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4106e8
lea eax, [ecx - 0x33]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4106e8
call fcn.00401860
mov ebx, eax
add ebx, 0x66
call fcn.00401860
add eax, 0x1c3
jmp 0x410c10
lea eax, [ebp - 0x17]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41071e
lea eax, [ecx - 0x23]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41071e
call fcn.00401860
mov ebx, eax
add ebx, 0x11a
call fcn.00401860
add eax, 0xa5
jmp 0x410c10
lea eax, [ebp - 0x13]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov dword [esp + 0x14], eax
jg 0x410758
lea eax, [ecx - 0x14]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410758
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0x143
jmp 0x410c10
lea eax, [ebp - 0x16]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41078e
lea eax, [ecx - 0xa]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41078e
call fcn.00401860
mov ebx, eax
add ebx, 0x90
call fcn.00401860
add eax, 0x86
jmp 0x410c10
lea eax, [ebp - 0x1c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov dword [esp + 0x20], eax
jg 0x4107c6
lea eax, [ecx - 0xa]
cdq
xor eax, edx
sub eax, edx
cmp eax, 6
jg 0x4107c6
call fcn.00401860
mov ebx, eax
add ebx, 0xb8
call fcn.00401860
add eax, 0x78
jmp 0x410c10
lea eax, [ebp - 0xd]
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
cmp ebx, 5
mov dword [esp + 0x24], ebx
jg 0x410802
lea eax, [ecx - 0x13]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410802
call fcn.00401860
mov ebx, eax
add ebx, 0x105
call fcn.00401860
add eax, 0x95
jmp 0x410c10
cmp dword [esp + 0x10], 6
jg 0x410832
lea eax, [ecx - 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410832
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0xc3
jmp 0x410c10
lea eax, [ebp - 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410868
lea eax, [ecx - 0xb]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410868
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0x90
jmp 0x410c10
cmp dword [esp + 0x18], 5
jg 0x410898
lea eax, [ecx - 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410898
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0xa2
jmp 0x410c10
lea eax, [ebp - 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4108ce
lea eax, [ecx - 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4108ce
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0x116
jmp 0x410c10
lea eax, [ebp - 0x15]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
mov dword [esp + 0x10], eax
jg 0x410908
lea eax, [ecx - 0x22]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410908
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0xd3
jmp 0x410c10
lea eax, [ebp - 0x11]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41093e
lea eax, [ecx - 0x1f]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41093e
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0x15d
jmp 0x410c10
cmp ebx, 5
jg 0x41099a
lea eax, [ecx - 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41096c
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0x134
jmp 0x410c10
cmp ebx, 5
jg 0x41099a
lea eax, [ecx - 0x2e]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x41099a
call fcn.00401860
mov ebx, eax
add ebx, 0xc3
call fcn.00401860
add eax, 0x161
jmp 0x410c10
cmp dword [esp + 0x14], 5
jg 0x4109ca
lea eax, [ecx - 0x2d]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x4109ca
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0x1a7
jmp 0x410c10
lea eax, [ebp - 0x1d]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410a00
lea eax, [ecx - 0x2b]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410a00
call fcn.00401860
mov ebx, eax
add ebx, 0xa8
call fcn.00401860
add eax, 0x1ec
jmp 0x410c10
lea eax, [ebp - 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jg 0x410a36
lea eax, [ecx - 0x34]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410a36
call fcn.00401860
mov ebx, eax
add ebx, 0xbc
call fcn.00401860
add eax, 0x1ec
jmp 0x410c10
mov ebx, dword [esp + 0x1c]
cmp ebx, 5
jg 0x410a65
lea eax, [ecx - 0x30]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410a65
call fcn.00401860
mov ebx, eax
add ebx, 0x58
call fcn.00401860
add eax, 0x1a6
jmp 0x410c10
lea eax, [ebp - 0x2b]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410a98
lea eax, [ecx - 0x26]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jg 0x410a98
call fcn.00401860
mov ebx, eax
add ebx, 0x58
call fcn.00401860
add eax, 0x178
jmp 0x410c10
cmp ebx, 5
mov ebx, 5
jg 0x410aae
lea eax, [ecx - 0x26]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x410a4c
lea eax, [ebp - 0x22]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410adf
lea eax, [ecx - 0x1d]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410adf
call fcn.00401860
mov ebx, eax
add ebx, 0x66
call fcn.00401860
add eax, 0x125
jmp 0x410c10
cmp dword [esp + 0x20], ebx
jg 0x410b0a
lea eax, [ecx - 0x16]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410b0a
call fcn.00401860
mov ebx, eax
add ebx, 0x2d
call fcn.00401860
add eax, 0x17f
jmp 0x410c10
cmp dword [esp + 0x24], ebx
jg 0x410b38
lea eax, [ecx - 0x12]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410b38
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0x92
jmp 0x410c10
cmp dword [esp + 0x18], ebx
jg 0x410b66
lea eax, [ecx - 0x19]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410b66
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0x111
jmp 0x410c10
cmp dword [esp + 0x10], ebx
jg 0x410b91
lea eax, [ecx - 0x20]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410b91
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0xad
jmp 0x410c10
cmp dword [esp + 0x14], ebx
jg 0x410bbc
lea eax, [ecx - 0x2e]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410bbc
call fcn.00401860
mov ebx, eax
add ebx, 0xe6
call fcn.00401860
add eax, 0x1dd
jmp 0x410c10
cmp dword [esp + 0x28], ebx
jg 0x410be4
lea eax, [ecx - 0x31]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410be4
call fcn.00401860
mov ebx, eax
add ebx, 0x66
call fcn.00401860
add eax, 0x1d3
jmp 0x410c10
lea eax, [ebp - 0x1e]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410c35
lea eax, [ecx - 0x22]
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x410c35
call fcn.00401860
mov ebx, eax
add ebx, 0x66
call fcn.00401860
add eax, 0x18f
push ebx
push eax
push edi
call fcn.004017b0
push 0x32
call esi
mov ecx, edi
call fcn.004017e0
push 0x32
call esi
mov ecx, edi
call fcn.004017e0
push 0x1c2
call esi
push 0xfa
call esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x34
ret