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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov esi, edx
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5fd4ed
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x66c6ac], 0
jne 0x5fc772
call fcn.0065867c
sub eax, dword [0x66c6a8]
cmp eax, 0x3e8
jl 0x5fc772
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
call fcn.005fe404
call fcn.0065867c
mov dword [0x66c6a8], eax
mov eax, dword [0x669a50]
test byte [eax + 2], 1
je 0x5fc786
mov byte [ebp - 0x12], 0
jmp 0x5fd4d2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0xffffffff
jne 0x5fc7c2
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x10]
inc dword [eax + 8]
mov byte [ebp - 0x12], 1
jmp 0x5fd4d2
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 0
jne 0x5fcc64
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x30], eax
cmp byte [ebp - 0x11], 0
jne 0x5fc84c
mov eax, dword [ebp - 0x10]
call fcn.005fab9c
test al, al
je 0x5fc81f
cmp dword [ebp + 0xc], 1
jne 0x5fc81f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x5fc81f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fab0c
dec ebx
cmp ebx, 0xffffffff
jne 0x5fc808
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x5fc845
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005faaec
dec ebx
cmp ebx, 0xffffffff
jne 0x5fc82e
xor ebx, ebx
jmp 0x5fcb64
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
jmp 0x5fc86a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005faaec
dec ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fabb4
test al, al
jne 0x5fcb64
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fabc8
test al, al
je 0x5fc858
jmp 0x5fcb64
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
cmp dword [ebp + 0xc], 0
jne 0x5fc8cb
mov edx, dword [ebp - 0x10]
cmp ebx, dword [edx + 0x44]
jl 0x5fc8c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
cmp eax, 0x80000000
je 0x5fc8c2
cmp eax, ebx
jle 0x5fc8c6
xor eax, eax
jmp 0x5fc8c8
mov al, 1
mov byte [ebp + 8], al
mov eax, esi
call fcn.005fab9c
test al, al
je 0x5fc8e4
mov eax, dword [esi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], eax
jmp 0x5fc901
test ebx, ebx
jle 0x5fc901
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4 - 4]
mov edx, dword [eax + 0x20]
mov dword [ebp - 8], edx
mov eax, dword [eax + 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.005b85b8
cmp eax, dword [ebp - 4]
jg 0x5fc983
inc dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 8]
jle 0x5fc96c
mov eax, dword [ebp + 0x10]
mov edx, dword [eax - 0xa0]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.0055e038
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0055e038
pop edx
cmp dl, al
jne 0x5fc96c
lea edx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005c0e78
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 8]
jge 0x5fc97e
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x5fcb73
inc ebx
jmp 0x5fcb73
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
call fcn.005fb88c
test al, al
jne 0x5fc9b5
cmp byte [esi + 4], 6
je 0x5fc9b5
mov eax, dword [ebp + 0x10]
add eax, 0xffffff68
mov edx, eax
lea eax, [ebp - 8]
call fcn.0053e1c8
test eax, eax
jge 0x5fcb73
mov byte [ebp - 0x37], 0
mov eax, esi
call fcn.005fabb4
test al, al
je 0x5fca49
cmp byte [esi + 5], 0
je 0x5fc9d6
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x14]
jge 0x5fca37
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
inc eax
push eax
mov al, byte [ebp + 8]
push eax
xor ecx, ecx
lea edx, [ebp - 8]
mov eax, esi
call fcn.005fc710
pop ecx
test al, al
je 0x5fca37
cmp byte [esi + 5], 0
jne 0x5fca02
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jge 0x5fca0a
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
jne 0x5fca2b
inc ebx
cmp dword [ebp + 0xc], 0
jne 0x5fca2b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jne 0x5fca2b
push ebp
call fcn.005fc6cc
pop ecx
test al, al
je 0x5fca2b
mov byte [ebp - 0x37], 1
cmp byte [ebp - 0x37], 0
je 0x5fcb64
jmp 0x5fca49
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x5fca49
mov byte [esi + 6], 1
inc ebx
jmp 0x5fcb64
cmp byte [ebp - 0x37], 0
jne 0x5fca7e
mov eax, esi
call fcn.005fabc8
test al, al
je 0x5fca7e
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
inc eax
push eax
mov al, byte [ebp + 8]
push eax
mov cl, 1
lea edx, [ebp - 8]
mov eax, esi
call fcn.005fc710
pop ecx
test al, al
je 0x5fca7e
inc ebx
jmp 0x5fcb64
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 0x18]
dec edx
mov eax, ebx
call fcn.00652c54
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jge 0x5fcab7
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
mov eax, esi
call fcn.005fab34
mov edi, dword [esi + 0x14]
mov eax, esi
call fcn.005faaec
mov dword [esi + 0x14], edi
dec ebx
test ebx, ebx
jl 0x5fcae4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
cmp byte [esi + 5], 0
jne 0x5fcad9
mov eax, esi
call fcn.005fabb4
test al, al
jne 0x5fcae4
mov eax, esi
call fcn.005fabc8
test al, al
je 0x5fca92
test ebx, ebx
jge 0x5fcb64
mov ebx, dword [ebp - 0x20]
cmp ebx, 0
jl 0x5fcb07
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fab7c
dec ebx
cmp ebx, 0xffffffff
jne 0x5fcaf0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
cmp byte [esi + 5], 0
je 0x5fcb4e
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jle 0x5fcb4e
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x14]
call fcn.00652c54
mov edi, eax
dec edi
test ebx, ebx
jne 0x5fcb42
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], eax
mov eax, esi
call fcn.005faaec
mov dword [esi + 0x14], edi
jmp 0x5fcb60
mov edi, dword [esi + 0x14]
mov eax, esi
call fcn.005faaec
mov dword [esi + 0x14], edi
dec ebx
test ebx, ebx
jge 0x5fcb0a
test ebx, ebx
jl 0x5fcb73
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jl 0x5fc89d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jne 0x5fcbaa
cmp byte [ebp - 0x11], 0
je 0x5fcbae
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.0064e250
mov eax, dword [eax + 0x20]
cmp eax, dword [ebp - 0x2c]
jne 0x5fcbae
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.0064e250
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x30]
jne 0x5fcbae
xor eax, eax
jmp 0x5fcbb0
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x5fcc11
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x5fcbdf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.0064e250
mov edx, dword [eax + 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], edx
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], eax
cmp byte [ebp - 0x11], 0
jne 0x5fd4d2
mov eax, dword [ebp - 0x10]
inc dword [eax + 8]
jmp 0x5fd4d2
cmp byte [ebp - 0x11], 0
jne 0x5fd4d2
mov eax, dword [ebp - 0x10]
call fcn.005fab9c
test al, al
je 0x5fd4d2
cmp dword [ebp + 0xc], 0
jle 0x5fd4d2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x5fd4d2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fab54
dec ebx
cmp ebx, 0xffffffff
jne 0x5fcc48
jmp 0x5fd4d2
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov ebx, dword [eax + edx*4]
mov eax, ebx
call fcn.0054c05c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
call fcn.005fab9c
test al, al
jne 0x5fcca1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1c], edx
cmp byte [0x66c6a5], 0
je 0x5fccbc
jmp 0x5fccaf
inc dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
cmp word [eax + edx*2], 0xf
je 0x5fccac
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 6
je 0x5fccd8
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov ax, word [eax + edx*2]
add eax, 0xfffffffc
sub ax, 2
jb 0x5fcd40
cmp dword [ebp - 4], 0
jne 0x5fcd49
mov eax, dword [0x66c698]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
call fcn.005fab9c
test al, al
je 0x5fcd49
mov eax, dword [0x66c698]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 8]
jge 0x5fcd49
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4 - 4]
cmp byte [eax + 0x3c], 0
jne 0x5fcd49
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x3c], 0
je 0x5fcd49
mov byte [ebp - 0x12], 0
jmp 0x5fd4bf
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 4]
cmp eax, 7
ja case.0x5fcd59.0
jmp dword [eax*4 + 0x5fcd60]
push ebp
mov eax, dword [ebp - 8]
call fcn.005fc1a4
pop ecx
test al, al
je 0x5fcda0
push ebp
mov edx, dword [ebp - 4]
inc edx
mov eax, dword [ebp - 8]
call fcn.005fc254
pop ecx
test al, al
jne 0x5fcda9
mov byte [ebp - 0x12], 0
jmp 0x5fd4bf
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov ax, word [eax + edx*2]
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 1
jne 0x5fcdfb
push ebp
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
jne 0x5fcde0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 7], 0
jne 0x5fcde0
xor ecx, ecx
jmp 0x5fcde2
mov cl, 1
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 0x30]
mov dx, word [ebp - 0x32]
call fcn.005fc31c
pop ecx
mov byte [ebp - 0x12], al
jmp 0x5fceae
mov byte [ebp - 0x12], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x5fce9d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x1c]
mov ax, word [eax + ebx*4]
and ax, 0xffff
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
shr eax, 0x10
mov word [ebp - 0x36], ax
movzx esi, word [ebp - 0x34]
movzx eax, word [ebp - 0x36]
sub eax, esi
jl 0x5fce8d
inc eax
mov dword [ebp - 0x40], eax
push ebp
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
jne 0x5fce70
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x1c]
cmp byte [eax + ebx*4], 0
jne 0x5fce70
xor ecx, ecx
jmp 0x5fce72
mov cl, 1
mov dx, word [ebp - 0x32]
mov eax, esi
call fcn.005fc31c
pop ecx
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
jne 0x5fce8d
inc esi
dec dword [ebp - 0x40]
jne 0x5fce4a
cmp byte [ebp - 0x12], 0
jne 0x5fce9d
dec ebx
cmp ebx, 0xffffffff
jne 0x5fce12
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 3
jne 0x5fceae
mov al, byte [ebp - 0x12]
xor al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x5fceda
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 4]
inc edx
mov eax, dword [ebp - 8]
call fcn.0053deb4
lea eax, [ebp - 0x98]
call fcn.005fc15c
pop ecx
test al, al
jne 0x5fcede
xor eax, eax
jmp 0x5fcee0
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x5fd4bf
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x30], 0x14
jne 0x5fcf9a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0x7fffffff
jne 0x5fcf9a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 1
jne 0x5fcf9a
cmp byte [0x66c6a4], 0
jne 0x5fcf9a
mov eax, dword [0x66c698]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jne 0x5fcf9a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa8]
jne 0x5fcf55
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa4]
je 0x5fcf91
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 0xa8]
inc edx
cmp eax, edx
jne 0x5fcf9a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 0
jne 0x5fcf9a
mov eax, dword [ebp + 0x10]
mov edx, dword [eax - 0xa8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005b85b8
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa4]
jg 0x5fcf9a
mov byte [ebp - 0x12], 0
jmp 0x5fd4bf
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
inc eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], eax
jmp 0x5fd4bf
mov byte [ebp - 0x12], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, dword [0x66c698]
mov edx, dword [edx + 0x2c]
mov edx, dword [edx + 0x1c]
mov esi, dword [edx + eax*4]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jne 0x5fd015
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
add eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.005b85b8
cmp eax, dword [ebp - 0x54]
jge 0x5fd00a
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
jmp 0x5fd111
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005b85b8
mov ebx, eax
sub ebx, dword [esi + 0x1c]
add ebx, dword [ebp - 0x64]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.005b85b8
cmp ebx, eax
je 0x5fd049
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
mov ebx, dword [esi + 0x18]
inc ebx
mov eax, dword [esi + 0x20]
dec eax
sub eax, ebx
jl 0x5fd0aa
inc eax
mov dword [ebp - 0x40], eax
mov eax, ebx
sub eax, dword [esi + 0x18]
add eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0xb0]
cmp eax, dword [edx + 0x18]
jge 0x5fd098
mov edx, ebx
sub edx, dword [esi + 0x18]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005b85b8
mov edi, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.005b85b8
cmp edi, eax
je 0x5fd0a4
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
inc ebx
dec dword [ebp - 0x40]
jne 0x5fd059
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x58]
jle 0x5fd0ff
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x58]
call fcn.0055e038
mov ebx, eax
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.0055e038
cmp bl, al
jne 0x5fd0ff
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x58]
call fcn.005b85b8
cmp eax, dword [esi + 0x24]
jge 0x5fd10b
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x54], eax
xor ebx, ebx
jmp 0x5fd1e5
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0xb0]
mov edx, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x68]
mov edx, dword [edx + ecx*4]
mov dword [ebp - 0x44], edx
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov al, byte [eax + 4]
sub al, 5
je 0x5fd146
dec al
je 0x5fd18c
jmp 0x5fd1d2
cmp dword [ebp - 0x64], 0
jle 0x5fd166
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x64]
mov dx, word [eax + edx*2 - 2]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x44]
call fcn.0054e270
test al, al
je 0x5fd180
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x64]
mov dx, word [eax + edx*2]
mov ecx, dword [ebp - 0x64]
inc ecx
mov eax, dword [ebp - 0x44]
call fcn.0054e270
test al, al
je 0x5fd1e4
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
cmp dword [ebp - 0x64], 0
je 0x5fd1c6
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x64]
mov dx, word [eax + edx*2 - 2]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x44]
call fcn.0054e270
test al, al
jne 0x5fd1c6
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x64]
mov dx, word [eax + edx*2]
mov ecx, dword [ebp - 0x64]
inc ecx
mov eax, dword [ebp - 0x44]
call fcn.0054e270
test al, al
jne 0x5fd1e4
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
cmp dword [ebp - 0x64], 0
jle 0x5fd1e4
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
inc ebx
mov eax, dword [esi + 0x28]
cmp ebx, dword [eax + 0x18]
jge 0x5fd202
mov edx, dword [eax + 0x1c]
mov edx, dword [edx + ebx*4]
mov dl, byte [edx + 4]
add dl, 0xfb
sub dl, 3
jb 0x5fd118
mov eax, dword [esi + 0x28]
call fcn.0064e250
cmp byte [eax + 4], 6
jne 0x5fd26e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xb0]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x58]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x54], 0
je 0x5fd262
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x54]
mov dx, word [eax + edx*2 - 2]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
call fcn.0054e270
test al, al
jne 0x5fd262
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x54]
mov dx, word [eax + edx*2]
mov ecx, dword [ebp - 0x54]
inc ecx
mov eax, dword [ebp - 0x48]
call fcn.0054e270
test al, al
jne 0x5fd26e
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov cl, byte [0x5fd500]
call fcn.005bc50c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x24]
push eax
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
call fcn.0053ded4
lea edx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov cl, byte [0x5fd500]
call fcn.005bc50c
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x58]
call fcn.005fc15c
pop ecx
test al, al
je 0x5fd4bf
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
je 0x5fd2ee
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.00403bd0
je 0x5fd31e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
jne 0x5fd4bf
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
mov eax, dword [ebp - 0x18]
call fcn.006586f0
test eax, eax
jne 0x5fd4bf
cmp byte [ebp + 8], 0
jne 0x5fd3c2
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
sub eax, ebx
jl 0x5fd3c2
inc eax
mov dword [ebp - 0x40], eax
push ebp
mov eax, ebx
call fcn.005fc1a4
pop ecx
test al, al
jne 0x5fd353
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
mov eax, dword [ebp + 0x10]
cmp byte [eax - 0x31], 0
je 0x5fd3b8
cmp ebx, dword [ebp - 0x68]
jne 0x5fd36a
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x5fd371
mov dword [ebp - 0x24], 1
cmp ebx, dword [ebp - 0x58]
jne 0x5fd37e
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
jmp 0x5fd38e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.005b85b8
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
sub edi, esi
jl 0x5fd3b8
inc edi
push ebp
mov edx, esi
mov eax, ebx
call fcn.005fc254
pop ecx
test al, al
jne 0x5fd3b4
mov eax, dword [0x669204]
dec dword [eax]
jmp 0x5fd4d2
inc esi
dec edi
jne 0x5fd399
inc ebx
dec dword [ebp - 0x40]
jne 0x5fd33a
mov byte [ebp - 0x12], 1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x24], edx
jmp 0x5fd4bf
cmp dword [ebp - 4], 0
je 0x5fd3fc
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov dx, word [eax + edx*2 - 2]
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.0054e270
test al, al
je 0x5fd415
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov dx, word [eax + edx*2]
mov ecx, dword [ebp - 4]
inc ecx
mov eax, ebx
call fcn.0054e270
test al, al
je 0x5fd419
xor eax, eax
jmp 0x5fd41b
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x5fd4bf
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x24], edx
jmp 0x5fd4bf
cmp dword [ebp - 4], 0
jle 0x5fd477
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov dx, word [eax + edx*2 - 2]
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.0054e270
test al, al
jne 0x5fd477
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov dx, word [eax + edx*2]
mov ecx, dword [ebp - 4]
inc ecx
mov eax, ebx
call fcn.0054e270
test al, al
jne 0x5fd47b
xor eax, eax
jmp 0x5fd47d
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x5fd4bf
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0x24], edx
jmp 0x5fd4bf
cmp dword [ebp - 4], 0
sete byte [ebp - 0x12]
cmp byte [ebp - 0x12], 0
je 0x5fd4bf
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x24], edx
jmp 0x5fd4bf
mov byte [ebp - 0x12], 0
cmp byte [ebp - 0x12], 0
je 0x5fd4cb
mov eax, dword [ebp - 0x10]
inc dword [eax + 8]
mov eax, dword [0x669204]
dec dword [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fd4f4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403898
ret