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

Disassembly:
sub esp, 0x3dc
mov eax, dword [0x4290a0]
xor eax, esp
mov dword [esp + 0x3d8], eax
mov eax, dword [0x42a440]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
jl 0x401deb
cmp eax, dword [0x42a450]
jg 0x401deb
xor esi, esi
inc esi
cmp dword [0x44c2e6], esi
jne 0x401887
movzx eax, word [0x44be18]
push eax
mov ecx, 0x44bdf0
mov edi, 0x44c2d0
mov dword [0x44bde8], ebp
call fcn.00403b12
test eax, eax
je 0x401877
mov dword [0x44bde8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x44bee4], eax
push 0x3e8
jmp 0x40187c
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401e06
push 0x44c178
mov ecx, 0x42a450
call fcn.00402a02
test eax, eax
je 0x401dd1
mov eax, dword [0x42aee4]
mov ebx, 0x44c278
mov esi, 0x42af68
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x3c6
movsd dword es:[edi], dword [esi]
mov dword [0x44c0f4], eax
lea eax, [esp + 0x24]
push ebp
push eax
movsd dword es:[edi], dword [esi]
call fcn.004100c0
mov eax, dword [0x44bde8]
add esp, 0xc
cmp eax, 1
jne 0x401969
xor eax, eax
movzx ecx, word [eax + 0x44bdec]
mov word [esp + eax + 0xd2], cx
inc eax
inc eax
cmp cx, bp
jne 0x4018db
xor eax, eax
movzx ecx, word [eax + 0x44be3a]
mov word [esp + eax + 0x112], cx
inc eax
inc eax
cmp cx, bp
jne 0x4018f3
xor eax, eax
movzx ecx, word [eax + 0x44be1c]
mov word [esp + eax + 0xd6], cx
inc eax
inc eax
cmp cx, bp
jne 0x40190b
mov esi, str.9000
mov edi, 0x43bde8
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x43bdec
rep movsd dword es:[edi], dword [esi]
push 1
movsw word es:[edi], word [esi]
push 0x43bde8
mov esi, 0x44c2d0
mov dword [0x42a448], 0x3ca
call fcn.00403bf2
mov dword [0x44bde8], 2
jmp 0x401dc4
cmp eax, 2
jne 0x401994
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x44bee4]
cmp eax, 0x1388
jbe 0x401e06
mov dword [0x44bde8], ebp
call esi
jmp 0x401df7
cmp eax, 3
jne 0x401ae4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x44bee4]
cmp eax, 0x3e8
jbe 0x401e06
cmp dword [0x42a440], 6
mov eax, 0xb4
lea ecx, [eax - 0x32]
jne 0x4019cd
push 0x32
mov eax, 0x320
pop ecx
push ecx
push eax
sub esp, 0x10
mov edi, esp
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, 0x42a450
movsd dword es:[edi], dword [esi]
call fcn.00402a5c
test eax, eax
je 0x401a5a
mov eax, dword [0x42a440]
cmp eax, 5
ja 0x401a3c
push 0x424b4c
mov esi, 0x42af78
push esi
call fcn.0040eb4b
pop ecx
pop ecx
test eax, eax
je 0x401a21
xor eax, eax
movzx ecx, word [eax + 0x42af78]
mov word [eax + 0x44c1f8], cx
inc eax
inc eax
cmp cx, bp
jne 0x401a0a
jmp 0x401a71
push str.game
push esi
call fcn.0040eb4b
pop ecx
pop ecx
test eax, eax
je 0x401a71
mov dword [esp + 0x38], 1
jmp 0x401a71
cmp eax, 6
jne 0x401a71
xor eax, eax
movzx ecx, word [eax + 0x42af78]
mov word [eax + 0x44c1f8], cx
inc eax
inc eax
cmp cx, bp
jne 0x401a43
jmp 0x401a71
xor eax, eax
movzx ecx, word [eax + 0x424b88]
mov word [eax + 0x44c1f8], cx
inc eax
inc eax
cmp cx, bp
jne 0x401a5c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, str.6004
mov edi, 0x43bde8
movsd dword es:[edi], dword [esi]
mov dword [0x44bee4], eax
movsb byte es:[edi], byte [esi]
xor eax, eax
movzx ecx, word [eax + 0x44c178]
mov word [esp + eax + 0x3c], cx
inc eax
inc eax
cmp cx, bp
jne 0x401a8a
xor eax, eax
movzx ecx, word [eax + 0x44c1f8]
mov word [esp + eax + 0x78], cx
inc eax
inc eax
cmp cx, bp
jne 0x401a9f
mov ecx, 0xf1
lea esi, [esp + 0x20]
mov edi, 0x43bdec
rep movsd dword es:[edi], dword [esi]
push 1
movsw word es:[edi], word [esi]
push 0x43bde8
mov esi, 0x44c2d0
mov dword [0x42a448], 0x3ca
call fcn.00403bf2
jmp 0x401e06
cmp eax, 4
jne 0x401e06
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x3e8
cdq
idiv dword [0x44bed4]
sub ecx, dword [0x44bee4]
cmp ecx, eax
jbe 0x401e06
mov eax, dword [0x44c280]
sub eax, dword [0x44c278]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
mov eax, dword [0x44c284]
sub eax, dword [0x44c27c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [0x42a440]
cmp eax, 6
jne 0x401b44
push ebp
mov esi, ebx
jmp 0x401b97
cmp eax, 5
ja 0x401b8d
cmp dword [0x44c0f0], 3
jne 0x401b8d
mov eax, dword [0x44c2c8]
mov esi, str.6003
mov edi, 0x43bde8
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp eax, ebp
je 0x401e06
push 0x42a448
call eax
mov eax, dword [0x44c2cc]
pop ecx
cmp eax, ebp
je 0x401e06
push 0x43bdec
call eax
pop ecx
jmp 0x401d9c
push dword [0x44c0f4]
lea esi, [esp + 0x14]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, 0x44c2a8
movsd dword es:[edi], dword [esi]
call fcn.0040310b
cmp eax, ebp
je 0x401e06
mov ebx, dword [0x44c2a8]
cmp ebx, ebp
je 0x401e06
mov eax, dword [0x42a440]
cmp eax, ebp
jne 0x401bfd
push 0xd0
mov edi, 0x140
push edi
push ebp
push 0x10e
push ebx
mov esi, 0x44c290
push esi
call fcn.0040260b
push 0x14
push ebp
push 0xbc
push 0x21c
push 0x104
jmp 0x401d5f
cmp eax, 1
jne 0x401c33
push 0xd0
mov edi, 0x140
push edi
push ebp
push 0x64
push ebx
mov esi, 0x44c290
push esi
call fcn.0040260b
push 0x14
push ebp
push 0xbc
push 0x203
push 0xe6
jmp 0x401d5f
cmp eax, 2
je 0x401d33
cmp eax, 3
je 0x401d33
mov esi, 0x44c290
cmp eax, 4
jne 0x401c98
push 0xad
mov edi, 0x140
push edi
push 6
push 0x10e
push ebx
push esi
call fcn.0040260b
push ebp
push 0xf0
push 0x14
push 6
push 0x2a8
push ebx
push esi
push 0x50
pop edx
call fcn.0040276b
push 0x14
push ebp
push 0x9b
push 0x24e
push 0x14a
jmp 0x401d5f
cmp eax, 5
jne 0x401cde
push 0xd0
mov edi, 0x140
push edi
push ebp
push 0x69
push ebx
push esi
call fcn.0040260b
push ebp
push 0x8c
push 0x14
push ebp
push 0x1b3
push ebx
push esi
mov edx, 0xb4
call fcn.0040276b
push 0x14
push ebp
push 0xbc
push 0x1ea
jmp 0x401c29
cmp eax, 6
jne 0x401d0c
push 0xdc
mov edi, 0x190
push edi
push ebp
push 0x5a
push ebx
push esi
call fcn.0040260b
push 0x17
push ebp
push 0xc5
push 0x226
push 0xfa
jmp 0x401d5f
push 0xc8
mov edi, 0x154
push edi
push ebp
push 0x78
push ebx
push esi
call fcn.0040260b
push 0x1e
push ebp
push 0xaa
push 0x226
jmp 0x401c8e
push 0xbc
mov edi, 0x140
push edi
push ebp
push 0x6e
push ebx
mov esi, 0x44c290
push esi
call fcn.0040260b
push 0x14
push ebp
push 0xa8
push 0x186
push 0x82
push ebx
push esi
mov edx, edi
call fcn.0040276b
push 0x42a448
push 0x43bdec
push dword [0x44bedc]
mov esi, str.6003
push dword [0x44c294]
mov edi, 0x43bde8
push dword [0x44c290]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.004073ff
add esp, 0x14
test eax, eax
jne 0x401e06
mov eax, dword [0x42a448]
dec eax
cmp eax, 0xfffa
ja 0x401e06
add dword [0x42a448], 4
push ebp
push 0x43bde8
mov esi, 0x44c2d0
call fcn.00403bf2
test eax, eax
je 0x401e06
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x44bee4], eax
jmp 0x401e06
mov dword [0x44c278], ebp
mov dword [0x44c27c], ebp
mov dword [0x44c280], ebp
mov dword [0x44c284], ebp
jmp 0x401e06
mov dword [0x44bde8], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, 0x44c2d0
mov dword [0x44bee4], eax
call fcn.00403bcc
mov ecx, dword [esp + 0x3e8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040e3f8
add esp, 0x3dc
ret