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

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
cmp esi, 0x64
jbe 0x4123ca
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push esi
push eax
push ecx
push edx
call fcn.004137b0
add esp, 0x10
pop esi
add esp, 0x14
ret
push ebx
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0xa0]
test eax, eax
push ebp
push edi
jne 0x4123df
mov eax, dword [esp + 0x28]
mov ecx, eax
push ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.user32.dll_GetDC]
mov edi, eax
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov edx, dword [ebx + 0xa4]
mov ebp, eax
push edx
push ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.gdi32.dll_SelectObject]
mov dword [ebx + 0xa4], eax
lea eax, [esi - 1]
cmp eax, 0x10
mov esi, dword [esp + 0x30]
ja case.default.0x412423
jmp dword [eax*4 + 0x41323c]
mov eax, dword [esp + 0x10]
push eax
call fcn.004153d0
add esp, 4
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [0x466c48]
xor esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add eax, 0x14
cmp ecx, eax
mov dword [esp + 0x18], eax
ja 0x41249c
mov edx, dword [esp + 0x14]
mov eax, dword [0x466c14]
push 0xcc0020
push esi
push 0
push ebp
push 0x18
push edx
push esi
push 0
push edi
push eax
call fcn.00401350
add esp, 0x28
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, dword [esp + 0x18]
jbe 0x412488
call dword [sym.imp.kernel32.dll_GetTickCount]
jmp 0x4124a3
mov eax, dword [esp + 0x28]
add eax, 0x14
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x2c], eax
add esi, 0x18
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x412dbb
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x14
mov dword [esp + 0x2c], eax
jl 0x412451
jmp 0x412dbb
mov edx, dword [esp + 0x10]
push edx
call fcn.004153d0
mov eax, dword [0x466be4]
add esp, 4
xor esi, esi
mov edi, 0x20
mov dword [esp + 0x20], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add eax, 0x14
cmp ecx, eax
mov dword [esp + 0x18], eax
ja 0x412573
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push 0
push 0
push esi
push ebx
push ecx
push edi
push 0
push esi
push edx
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [0x466c14]
push 0xcc0020
push 0
push esi
push ebp
push eax
push edi
push 0
push esi
push ecx
push edx
call fcn.00401350
add esp, 0x58
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, dword [esp + 0x18]
jbe 0x412557
call dword [sym.imp.kernel32.dll_GetTickCount]
add esi, edi
mov dword [esp + 0x28], eax
xor edi, edi
jmp 0x412578
add dword [esp + 0x28], 0x14
mov eax, dword [esp + 0x10]
push eax
add edi, 0x20
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x412db7
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x14
mov dword [esp + 0x2c], eax
jl 0x4124fd
jmp 0x412db7
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004153d0
mov esi, dword [0x466be4]
mov edx, dword [0x466c48]
add esp, 4
shr esi, 1
mov dword [esp + 0x14], edx
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
add esi, 0xfffffff4
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add eax, 0x14
cmp ecx, eax
mov dword [esp + 0x18], eax
ja 0x41264f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x466c14]
push 0xcc0020
push eax
push 0
push ebp
push 0xc
push ecx
push eax
push 0
push edi
push edx
call fcn.00401350
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x466c14]
push 0xcc0020
push esi
push 0
push ebp
push 0xc
push eax
push esi
push 0
push edi
push ecx
call fcn.00401350
add esp, 0x50
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, dword [esp + 0x18]
jbe 0x41263b
call dword [sym.imp.kernel32.dll_GetTickCount]
jmp 0x412656
mov eax, dword [esp + 0x28]
add eax, 0x14
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x2c], eax
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x412dbb
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
inc eax
add edx, 0xc
sub esi, 0xc
cmp eax, 0x14
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
jl 0x4125df
jmp 0x412dbb
mov eax, dword [esp + 0x10]
push eax
call fcn.004153d0
mov esi, dword [0x466c48]
mov ecx, dword [0x466be4]
add esp, 4
shr esi, 1
mov dword [esp + 0x20], ecx
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x14], esi
add esi, 0xfffffff0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add eax, 0x14
cmp ecx, eax
mov dword [esp + 0x18], eax
ja 0x412792
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push 0
push 0
push eax
push ebx
push esi
push 0x10
push 0
push eax
push edx
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov eax, dword [esp + 0x44]
push 0
push 0
push eax
push ebx
push esi
push 0x10
push 0
push eax
mov eax, dword [esp + 0x80]
push eax
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov ecx, dword [0x466c48]
xor eax, eax
add esp, 0x60
test ecx, ecx
mov dword [0x466c54], eax
jle 0x412780
mov ecx, dword [0x466be4]
mov edx, dword [0x466c14]
push 0xcc0020
push 0
push eax
push ebp
push ecx
push 0x20
push 0
push eax
push edi
push edx
call fcn.00401350
mov eax, dword [0x466c54]
mov ecx, dword [0x466c48]
add eax, 0x20
add esp, 0x28
cmp eax, ecx
mov dword [0x466c54], eax
jl 0x412744
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
call esi
cmp eax, dword [esp + 0x18]
jbe 0x412786
call esi
jmp 0x412799
mov eax, dword [esp + 0x28]
add eax, 0x14
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
push eax
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x412dbb
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, 0x10
inc eax
sub esi, ecx
add edx, ecx
cmp eax, 0x14
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edx
jl 0x4126d0
jmp 0x412dbb
mov ecx, dword [esp + 0x10]
push ebp
push edi
push ecx
push esi
push ebx
call fcn.00413280
add esp, 0x14
jmp 0x412dbb
mov edx, dword [esp + 0x10]
push edx
call fcn.004153d0
mov eax, dword [0x466be4]
add esp, 4
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x20], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
jmp 0x41282e
mov esi, dword [esp + 0x30]
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add eax, 0x14
cmp ecx, eax
mov dword [esp + 0x18], eax
ja 0x4128ca
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push ebx
push ecx
push edx
push 0
push 0
push esi
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov ecx, dword [0x466c48]
xor eax, eax
add esp, 0x30
test ecx, ecx
mov dword [0x466c54], eax
jle 0x4128b8
mov ecx, dword [0x466be4]
mov edx, dword [0x466c14]
push 0xcc0020
push 0
push eax
push ebp
push ecx
push 0x20
push 0
push eax
push edi
push edx
call fcn.00401350
mov eax, dword [0x466c54]
mov ecx, dword [0x466c48]
add eax, 0x20
add esp, 0x28
cmp eax, ecx
mov dword [0x466c54], eax
jl 0x41287c
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
call esi
cmp eax, dword [esp + 0x18]
jbe 0x4128be
call esi
jmp 0x4128d1
mov eax, dword [esp + 0x28]
add eax, 0x14
mov dword [esp + 0x28], eax
add dword [esp + 0x14], 0x20
mov eax, dword [esp + 0x10]
push eax
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x412dbb
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x14
mov dword [esp + 0x2c], eax
jl 0x41282a
jmp 0x412dbb
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004153d0
add esp, 4
mov edi, 0x10
mov esi, 0xc
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add eax, 0x28
cmp ecx, eax
mov dword [esp + 0x20], eax
ja 0x412a5b
mov edx, dword [0x466be4]
mov eax, dword [esp + 0x30]
push 0
shr edx, 1
sub edx, esi
push edx
push 0
push ebx
push esi
push edi
push 0
push 0
push eax
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov eax, dword [0x466be4]
mov edx, dword [esp + 0x60]
push 0
mov ecx, eax
shr ecx, 1
push ecx
push 0
push ebx
push esi
push edi
sub eax, esi
push eax
push 0
push edx
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov ecx, dword [0x466be4]
mov eax, dword [0x466c48]
mov edx, dword [esp + 0x90]
add esp, 0x60
push 0
shr ecx, 1
sub ecx, esi
push ecx
sub eax, edi
push eax
push ebx
push esi
push edi
push 0
push eax
push edx
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov ecx, dword [0x466be4]
mov eax, dword [0x466c48]
push 0
mov edx, ecx
sub eax, edi
shr edx, 1
push edx
push eax
push ebx
push esi
push edi
sub ecx, esi
push ecx
push eax
mov eax, dword [esp + 0x80]
push eax
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov ecx, dword [0x466c48]
xor eax, eax
add esp, 0x60
test ecx, ecx
mov dword [0x466c54], eax
jle 0x412a47
mov ecx, dword [0x466be4]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push 0
push eax
push ebp
push ecx
push 0x20
push 0
push eax
mov eax, dword [0x466c14]
push edx
push eax
call fcn.00401350
mov eax, dword [0x466c54]
mov ecx, dword [0x466c48]
add eax, 0x20
add esp, 0x28
cmp eax, ecx
mov dword [0x466c54], eax
jl 0x412a08
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, dword [esp + 0x20]
jbe 0x412a47
call dword [sym.imp.kernel32.dll_GetTickCount]
jmp 0x412a62
mov eax, dword [esp + 0x28]
add eax, 0x28
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x2c], eax
add edi, 0x10
add esi, 0xc
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x412db7
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x14
mov dword [esp + 0x2c], eax
jl 0x41292f
jmp 0x412db7
mov edx, dword [esp + 0x10]
push edx
call fcn.004153d0
mov eax, dword [0x466c48]
add esp, 4
mov dword [esp + 0x14], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
add eax, 0x1e
cmp esi, eax
mov dword [esp + 0x28], eax
ja 0x412b15
xor esi, esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [0x466c14]
push 0xcc0020
push esi
push 0
push ebp
push ecx
push edx
push esi
push 0
push edi
push eax
call fcn.00401350
add esi, 0x18
add esp, 0x28
cmp esi, 0x1e0
jb 0x412ad1
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
call esi
cmp eax, dword [esp + 0x28]
jbe 0x412b07
call esi
mov esi, eax
jmp 0x412b18
add esi, 0x1e
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x412dbb
mov eax, dword [esp + 0x2c]
add eax, 2
cmp eax, 0x18
mov dword [esp + 0x2c], eax
jl 0x412abe
jmp 0x412dbb
mov edx, dword [esp + 0x10]
push edx
call fcn.004153d0
add esp, 4
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
add eax, 0x28
cmp esi, eax
mov dword [esp + 0x20], eax
ja 0x412be6
mov esi, dword [esp + 0x2c]
mov eax, dword [0x466be4]
cmp esi, eax
jae 0x412bad
mov eax, dword [0x466c48]
mov ecx, dword [esp + 0x30]
push 0
push esi
push 0
push ebx
push 1
push eax
push esi
push 0
push ecx
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov eax, dword [0x466be4]
add esi, 0x10
add esp, 0x30
cmp esi, eax
jb 0x412b7d
mov edx, dword [0x466c48]
push 0xcc0020
push 0
push 0
push ebp
push eax
mov eax, dword [0x466c14]
push edx
push 0
push 0
push edi
push eax
call fcn.00401350
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
add esp, 0x28
call esi
cmp eax, dword [esp + 0x20]
jbe 0x412bd8
call esi
mov esi, eax
jmp 0x412be9
add esi, 0x28
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x412c0c
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x10
mov dword [esp + 0x2c], eax
jl 0x412b5f
mov edx, dword [0x466be4]
mov eax, dword [0x466c48]
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push ebx
push edx
push eax
push 0
push 0
push ecx
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
add esp, 0x30
jmp 0x412dbb
mov edx, dword [esp + 0x10]
push edx
call fcn.004153d0
add esp, 4
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x14], 2
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add eax, 0x19
cmp ecx, eax
mov dword [esp + 0x18], eax
ja 0x412cf6
mov edi, dword [esp + 0x14]
cmp edi, ebp
mov dword [esp + 0x28], esi
jle 0x412cb1
mov eax, dword [0x466be4]
mov ecx, dword [esp + 0x30]
push 0
push 0
push esi
push ebx
push eax
push edi
push 0
push esi
push ecx
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
sub edi, 2
add esp, 0x30
add esi, 0x14
cmp edi, ebp
jg 0x412c84
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [0x466be4]
push 0xcc0020
push 0
push eax
push edx
mov edx, dword [esp + 0x2c]
push ecx
sub esi, eax
push esi
push 0
push eax
mov eax, dword [0x466c14]
push edx
push eax
call fcn.00401350
mov edi, dword [esp + 0x40]
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
add esp, 0x28
call esi
cmp eax, edi
jbe 0x412cec
call esi
jmp 0x412cfd
mov eax, dword [esp + 0x28]
add eax, 0x19
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
add ecx, 2
add esi, 0x14
cmp ecx, 0x14
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], ecx
jb 0x412d25
mov ecx, 0x14
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x2c]
mov edi, dword [0x466c48]
lea eax, [ecx - 2]
shr eax, 1
lea edx, [eax + eax*4]
shl edx, 2
sub esi, edx
lea eax, [edi - 0x14]
cmp esi, eax
jbe 0x412d45
mov esi, eax
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*2]
cmp edx, edi
jbe 0x412d61
mov edx, edi
sub edx, esi
mov eax, 0xcccccccd
mul edx
shr edx, 4
mov ebp, ecx
sub ebp, edx
cmp dword [esp + 0x34], 0xa
jne 0x412d7f
mov eax, dword [esp + 0x10]
push eax
call fcn.004153b0
mov edi, dword [0x466c48]
add esp, 4
test eax, eax
jne 0x412d8d
cmp dword [esp + 0x2c], 0x3c0
jl 0x412c63
mov ecx, dword [0x466be4]
mov edx, dword [esp + 0x30]
push 0
push 0
push 0
push ebx
push ecx
push edi
push 0
push 0
push edx
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
add esp, 0x30
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
cmp eax, 0xc
je 0x412e1d
cmp eax, 0x11
je 0x412e1d
mov ecx, dword [0x466be4]
mov edx, dword [0x466c48]
mov eax, dword [esp + 0x30]
push 0
push 0
push 0
push ebx
push ecx
push edx
push 0
push 0
push eax
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov ecx, dword [0x466be4]
mov edx, dword [0x466c48]
mov eax, dword [0x466c14]
push 0xcc0020
push 0
push 0
push ebp
push ecx
push edx
push 0
push 0
push edi
push eax
call fcn.00401350
add esp, 0x58
mov ecx, dword [ebx + 0xa4]
push ecx
push ebp
call dword [sym.imp.gdi32.dll_SelectObject]
push ebp
mov dword [ebx + 0xa4], eax
call dword [sym.imp.gdi32.dll_DeleteDC]
mov esi, dword [esp + 0x10]
push edi
push esi
call dword [sym.imp.user32.dll_ReleaseDC]
push esi
call fcn.004153d0
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.004153d0
add esp, 4
xor ebp, ebp
xor esi, esi
mov ebx, 2
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edi, eax
mov dword [esp + 0x14], ebp
jmp 0x412e7d
mov edi, dword [esp + 0x28]
call dword [sym.imp.kernel32.dll_GetTickCount]
add eax, 0x14
cmp edi, eax
mov dword [esp + 0x18], eax
ja 0x412f1b
cmp ebx, ebp
mov dword [esp + 0x28], esi
mov edi, ebx
jle 0x412ece
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x466c48]
mov eax, dword [esp + 0x30]
push 0
push esi
push 0
push ecx
push edi
push edx
push esi
push 0
push eax
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
sub edi, 2
add esp, 0x30
add esi, 0x14
cmp edi, ebp
jg 0x412e9c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push 0xcc0020
push eax
push 0
push ecx
mov ecx, dword [0x466c48]
lea edx, [ebx + ebx*4]
shl edx, 2
push edx
mov edx, dword [esp + 0x30]
push ecx
push eax
mov eax, dword [0x466c14]
push 0
push edx
push eax
call fcn.00401350
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
mov edi, dword [esp + 0x40]
add esp, 0x28
call esi
cmp eax, edi
jbe 0x412f0d
call esi
mov dword [esp + 0x28], eax
jmp 0x412f22
add edi, 0x14
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x14]
add edi, 0x14
add ebx, 2
cmp ebx, 0x14
mov dword [esp + 0x14], edi
jb 0x412f3a
mov ebx, 0x14
lea eax, [ebx - 2]
shr eax, 1
lea ecx, [eax + eax*4]
shl ecx, 2
mov esi, edi
sub esi, ecx
mov ecx, dword [0x466be4]
lea eax, [ecx - 0x14]
cmp esi, eax
jbe 0x412f58
mov esi, eax
lea edx, [ebx + ebx*4]
lea eax, [esi + edx*2]
cmp eax, ecx
jbe 0x412f72
sub ecx, esi
mov eax, 0xcccccccd
mul ecx
shr edx, 4
mov ebp, ebx
sub ebp, edx
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x412f8f
cmp edi, 0x348
jl 0x412e79
mov edx, dword [esp + 0x2c]
mov eax, dword [0x466be4]
mov ecx, dword [0x466c48]
push 0
push 0
push 0
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0
push 0
push edx
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov ebx, dword [esp + 0x5c]
add esp, 0x30
jmp 0x412db3
call dword [sym.imp.kernel32.dll_GetTickCount]
push 0
push ebx
mov dword [esp + 0x30], eax
call fcn.00412100
mov eax, dword [0x466be4]
mov edx, dword [0x466c48]
push 0
push 0x28
push 0
push ebx
lea ecx, [eax - 0x28]
push ecx
push edx
push eax
push 0
push esi
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov eax, dword [0x466be4]
mov ecx, dword [0x466c48]
mov edx, dword [0x466c14]
push 0xcc0020
push 0
push 0
push ebp
push eax
push ecx
push 0
push 0
push edi
push edx
call fcn.00401350
add esp, 0x60
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esp + 0x28]
add eax, 0xa
cmp ecx, eax
mov dword [esp + 0x2c], eax
ja 0x41304b
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, dword [esp + 0x2c]
jbe 0x41303f
mov eax, dword [0x466be4]
mov ecx, dword [0x466c48]
push 0
push 0
push 0
push ebx
push eax
push ecx
push eax
push 0
push esi
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
mov edx, dword [0x466be4]
mov eax, dword [0x466c48]
mov ecx, dword [0x466c14]
push 0xcc0020
push 0
push 0
push ebp
push edx
push eax
push 0
push 0
push edi
push ecx
call fcn.00401350
add esp, 0x58
jmp 0x412dbb
mov edx, dword [esp + 0x10]
push ebp
push edi
push edx
push esi
push ebx
call fcn.00413410
add esp, 0x14
jmp 0x412dbb
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0xa0]
shl eax, 1
push eax
push 2
push 0x37
push esi
push ebx
push ecx
call fcn.004121a0
add esp, 0x18
test eax, eax
jne 0x412dbb
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
call esi
mov dword [esp + 0x28], eax
call esi
mov ecx, dword [esp + 0x28]
add eax, 0x3e8
cmp ecx, eax
mov dword [esp + 0x2c], eax
ja 0x413117
call esi
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x2c], eax
call fcn.004153b0
add esp, 4
test eax, eax
jne 0x413117
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], eax
jbe 0x4130f6
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0xa0]
shl ecx, 1
push ecx
push 0xfffffffffffffff8
push 0x37
push edx
push ebx
push eax
call fcn.004121a0
add esp, 0x18
jmp 0x412dbb
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004153d0
add esp, 4
xor esi, esi
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x28], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
sub eax, dword [esp + 0x28]
cmp eax, 0x1f4
jae 0x412dbb
mov edx, dword [esp + 0x30]
push esi
push edx
push ebx
call fcn.004152c0
mov eax, dword [0x466be4]
mov ecx, dword [0x466c48]
mov edx, dword [0x466c14]
push 0xcc0020
push 0
push 0
push ebp
push eax
push ecx
push 0
push 0
push edi
push edx
call fcn.00401350
add esp, 0x34
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, ecx
imul edx, dword [eax + 0x18]
mov eax, 0x10624dd3
mul edx
shr edx, 5
cmp ecx, 0x1f4
mov esi, edx
jb 0x413169
jmp 0x412dbb
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004153d0
push esi
push ebx
call fcn.00415340
mov edx, dword [0x466be4]
mov eax, dword [0x466c48]
mov ecx, dword [0x466c14]
push 0xcc0020
push 0
push 0
push ebp
push edx
push eax
push 0
push 0
push edi
push ecx
call fcn.00401350
add esp, 0x34
jmp 0x412dbb
mov edx, dword [0x466be4]
mov eax, dword [0x466c48]
push 0
push 0
push 0
push ebx
push edx
push eax
push 0
push 0
push esi
push 0
push 0xffffffffffffffff
push 0
call fcn.00404300
add esp, 0x30
jmp 0x412dbb