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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x45fc94], 0
jne 0x43429f
or eax, 0xffffffff
jmp 0x4348ab
cmp dword [0x187e410], 0
je 0x4342b8
mov dword [ebp - 0x24], 0xe
mov dword [ebp - 0x28], 4
jmp 0x4342dd
cmp dword [0x187e418], 0
jne 0x4342cf
mov dword [ebp - 0x24], 7
xor edx, edx
mov dword [ebp - 0x28], edx
jmp 0x4342dd
mov dword [ebp - 0x24], 0xb
mov dword [ebp - 0x28], 3
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xffffffff
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [0x45fc94]
push dword [ecx]
call sub.KERNEL32.DLL_ClearCommError
test eax, eax
je 0x434310
cmp dword [ebp - 0x44], 0
je 0x434319
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x14
jl 0x4342f1
cmp dword [0x4528f4], 0
jne 0x434334
cmp dword [ebp - 0x48], 0
ja 0x434334
push 0xffffffffffffffff
push 0x4642c7
call fcn.00442798
mov eax, 0xc7
sub eax, dword [0x460e7c]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x187f744
call fcn.0044263c
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jle 0x434360
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jle 0x4348a8
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
jge 0x43445c
cmp dword [0x460e78], 0xc6
jl 0x43438f
xor ecx, ecx
mov dword [0x460e78], ecx
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + 0x187f744]
mov ecx, dword [0x460e78]
mov byte [ecx + 0x187f5b4], dl
inc dword [0x460e78]
push 0x460e6c
call fcn.0044438c
pop ecx
cmp eax, dword [0x460e78]
jb 0x4343dd
mov eax, dword [0x460e78]
mov dl, byte [eax + 0x187f5b3]
mov ecx, dword [0x460e78]
cmp dl, byte [ecx + 0x460e6b]
je 0x4343dd
xor eax, eax
mov dword [0x460e78], eax
cmp dword [0x460e78], 2
jl 0x43444d
mov edx, dword [0x460e78]
movsx ecx, byte [edx + 0x187f5b2]
cmp ecx, 0xd
jne 0x43444d
mov eax, dword [0x460e78]
movsx edx, byte [eax + 0x187f5b3]
cmp edx, 0xa
jne 0x43444d
xor ecx, ecx
mov dword [0x460e80], ecx
mov dword [0x460e7c], ecx
mov eax, dword [0x460e78]
mov byte [eax + 0x187f5b4], 0
xor edx, edx
mov dword [0x460e78], edx
push dword [ebp + 8]
call fcn.0043403c
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x43444d
mov dword [0x45e8e8], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
jl 0x43437b
cmp dword [ebp - 0x2c], 0
jl 0x43446a
mov eax, dword [ebp - 0x2c]
jmp 0x4348ab
mov edx, dword [0x460e7c]
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jge 0x4344ed
mov edx, dword [ebp - 0xc]
cmp byte [edx + 0x187f744], 0
je 0x4344e2
mov ecx, dword [ebp - 0xc]
movsx eax, byte [ecx + 0x187f744]
push eax
cmp dword [0x187e410], 0
je 0x4344a7
mov edx, 1
jmp 0x4344b5
xor edx, edx
cmp dword [0x187e418], 0
je 0x4344b5
add edx, 2
push dword [edx*4 + 0x460e38]
call fcn.00444485
add esp, 8
test eax, eax
je 0x4344e2
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x187f744]
mov eax, dword [0x460e7c]
mov byte [eax + 0x187f67c], cl
inc dword [0x460e7c]
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jl 0x434480
mov ecx, dword [ebp - 8]
cmp ecx, dword [0x460e7c]
je 0x434895
mov eax, dword [0x460e7c]
mov byte [eax + 0x187f67c], 0
push 0x45e8b0
push 0x187f67c
call fcn.00404770
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x434861
mov edx, dword [ebp - 0x34]
sub edx, 0x187f67c
add edx, 2
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x24]
jl 0x43459a
cmp dword [0x187e418], 0
je 0x43459a
push 0x460e2c
push 0x187f5b0
call fcn.00444570
add esp, 8
test eax, eax
jne 0x434571
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
mov dl, byte [eax + 0x187f67c]
cmp dl, byte [0x187f5b0]
je 0x4345dd
push 0x460e2c
call fcn.0044438c
pop ecx
push eax
mov ecx, 0x187f67c
add ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x24]
push ecx
push 0x187f5b0
call fcn.00444608
add esp, 0xc
test eax, eax
je 0x4345dd
cmp dword [0x187e418], 0
jne 0x434823
cmp dword [0x187e410], 0
je 0x4345dd
push str.Mtr5
call fcn.0044438c
pop ecx
push eax
push str.Mtr5
mov eax, 0x187f67c
add eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
push eax
call fcn.00444608
add esp, 0xc
test eax, eax
jne 0x434823
push dword [ebp - 0x24]
mov edx, 0x187f67c
add edx, dword [ebp - 4]
sub edx, dword [ebp - 0x24]
push edx
mov ecx, dword [0x460e80]
inc dword [0x460e80]
imul eax, ecx, 0xe
add eax, 0x187f80c
push eax
call fcn.0044416c
add esp, 0xc
cmp dword [0x460e80], 1
jle 0x43465d
push dword [ebp - 0x24]
imul edx, dword [0x460e80], 0xe
add edx, 0x187f7fe
push edx
push 0x187f80c
call fcn.004444a4
add esp, 0xc
test eax, eax
je 0x43465d
push dword [ebp - 0x24]
imul ecx, dword [0x460e80], 0xe
add ecx, 0x187f7fe
push ecx
push 0x187f80c
call fcn.0044416c
add esp, 0xc
mov dword [0x460e80], 1
cmp dword [0x460e80], 2
jne 0x434823
mov eax, dword [ebp - 0x28]
mov dl, byte [eax + 0x187f810]
mov byte [ebp - 0x35], dl
movsx ecx, byte [ebp - 0x35]
cmp ecx, 0x30
jne 0x43468d
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 2
jmp 0x4346f8
movsx edx, byte [ebp - 0x35]
cmp edx, 0x38
jne 0x4346a6
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x20], 2
jmp 0x4346f8
movsx ecx, byte [ebp - 0x35]
cmp ecx, 0x37
jne 0x4346bf
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x20], 2
jmp 0x4346f8
movsx eax, byte [ebp - 0x35]
cmp eax, 0x35
jne 0x4346d8
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x20], 3
jmp 0x4346f8
movsx edx, byte [ebp - 0x35]
cmp edx, 0x34
jne 0x4346f1
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x20], 2
jmp 0x4346f8
mov dword [ebp - 0x18], 0xffffffff
cmp dword [ebp - 0x18], 0
jl 0x434803
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
xor eax, eax
mov dword [ebp - 0xc], eax
fld dword [ebp - 0x3c]
fmul dword [0x4348b0]
mov edx, dword [ebp - 0xc]
lea ecx, [edx + 0x187f80c]
mov eax, dword [ebp - 0x28]
movsx edx, byte [ecx + eax]
mov dword [ebp - 0x54], edx
fild dword [ebp - 0x54]
faddp st(1)
fsub dword [0x4348b4]
fstp dword [ebp - 0x3c]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x43470c
push dword [ebp - 0x20]
call fcn.0044bdd8
pop ecx
fdivr dword [ebp - 0x3c]
fstp dword [ebp - 0x3c]
push 0x460e2c
call fcn.0044438c
pop ecx
push eax
mov ecx, 0x187f67c
add ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x24]
push ecx
push 0x187f5b0
call fcn.004445b8
add esp, 0xc
push 0x460e2c
call fcn.0044438c
pop ecx
mov byte [eax + 0x187f5b0], 0
mov eax, dword [ebp - 0x18]
shl eax, 4
mov edx, dword [0x187e638]
mov ecx, dword [edx + eax]
mov dword [ebp - 0x1c], ecx
fld dword [ebp - 0x3c]
add esp, 0xfffffff8
fstp qword [esp]
push dword [ebp - 0x20]
push 0x4642c9
imul eax, dword [ebp - 0x1c], 0xfc
add eax, 0x655fec
push eax
call fcn.00447d04
add esp, 0x14
push 0x4642ce
imul edx, dword [ebp - 0x1c], 0xfc
add edx, 0x655fec
push edx
call fcn.00444280
add esp, 8
mov ecx, dword [ebp - 0x18]
push dword [ecx*4 + 0x45f7ec]
imul eax, dword [ebp - 0x1c], 0xfc
add eax, 0x655fec
push eax
call fcn.00444280
add esp, 8
mov dword [0x45e8e8], 1
xor edx, edx
mov dword [0x460e80], edx
xor ecx, ecx
mov dword [0x460e7c], ecx
push 0
call fcn.0042c5f0
pop ecx
mov eax, dword [ebp - 0x18]
jmp 0x4348ab
mov edx, 0x187f67c
add edx, dword [ebp - 4]
push edx
push 0x187f67c
call fcn.0044435c
add esp, 8
mov ecx, dword [ebp - 4]
sub dword [0x460e7c], ecx
push 0x45e8b0
push 0x187f67c
call fcn.00404770
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x434527
mov eax, dword [ebp - 0x24]
dec eax
cmp eax, dword [0x460e7c]
jge 0x434895
mov edx, 0x187f67c
add edx, dword [0x460e7c]
mov ecx, dword [ebp - 0x24]
dec ecx
sub edx, ecx
push edx
push 0x187f67c
call fcn.0044435c
add esp, 8
mov eax, dword [ebp - 0x24]
dec eax
mov dword [0x460e7c], eax
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 0x30]
cmp eax, 0xbb8
jb 0x4342ec
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret