Function at 0x6059e0
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 0x6067bd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x67559c], 0
jne 0x605a42
call fcn.00660e34
sub eax, dword [0x675598]
cmp eax, 0x3e8
jl 0x605a42
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
call fcn.006076e4
call fcn.00660e34
mov dword [0x675598], eax
call fcn.004da2b4
test byte [eax + 0x2e], 1
je 0x605a56
mov byte [ebp - 0x12], 0
jmp 0x6067a2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0xffffffff
jne 0x605a92
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 0x6067a2
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 0
jne 0x605f34
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 0x605b1c
mov eax, dword [ebp - 0x10]
call fcn.00603dfc
test al, al
je 0x605aef
cmp dword [ebp + 0xc], 1
jne 0x605aef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x605aef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00603d6c
dec ebx
cmp ebx, 0xffffffff
jne 0x605ad8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x605b15
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00603d4c
dec ebx
cmp ebx, 0xffffffff
jne 0x605afe
xor ebx, ebx
jmp 0x605e34
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
jmp 0x605b3a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00603d4c
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.00603e14
test al, al
jne 0x605e34
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00603e28
test al, al
je 0x605b28
jmp 0x605e34
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
cmp dword [ebp + 0xc], 0
jne 0x605b9b
mov edx, dword [ebp - 0x10]
cmp ebx, dword [edx + 0x44]
jl 0x605b96
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
cmp eax, 0x80000000
je 0x605b92
cmp eax, ebx
jle 0x605b96
xor eax, eax
jmp 0x605b98
mov al, 1
mov byte [ebp + 8], al
mov eax, esi
call fcn.00603dfc
test al, al
je 0x605bb4
mov eax, dword [esi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], eax
jmp 0x605bd1
test ebx, ebx
jle 0x605bd1
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.005c0358
cmp eax, dword [ebp - 4]
jg 0x605c53
inc dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 8]
jle 0x605c3c
mov eax, dword [ebp + 0x10]
mov edx, dword [eax - 0xa0]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.0056442c
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0056442c
pop edx
cmp dl, al
jne 0x605c3c
lea edx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005c8dfc
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 8]
jge 0x605c4e
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x605e43
inc ebx
jmp 0x605e43
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
call fcn.00604b1c
test al, al
jne 0x605c85
cmp byte [esi + 4], 6
je 0x605c85
mov eax, dword [ebp + 0x10]
add eax, 0xffffff68
mov edx, eax
lea eax, [ebp - 8]
call fcn.005442c4
test eax, eax
jge 0x605e43
mov byte [ebp - 0x37], 0
mov eax, esi
call fcn.00603e14
test al, al
je 0x605d19
cmp byte [esi + 5], 0
je 0x605ca6
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x14]
jge 0x605d07
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.006059e0
pop ecx
test al, al
je 0x605d07
cmp byte [esi + 5], 0
jne 0x605cd2
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jge 0x605cda
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
jne 0x605cfb
inc ebx
cmp dword [ebp + 0xc], 0
jne 0x605cfb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jne 0x605cfb
push ebp
call fcn.0060599c
pop ecx
test al, al
je 0x605cfb
mov byte [ebp - 0x37], 1
cmp byte [ebp - 0x37], 0
je 0x605e34
jmp 0x605d19
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x605d19
mov byte [esi + 6], 1
inc ebx
jmp 0x605e34
cmp byte [ebp - 0x37], 0
jne 0x605d4e
mov eax, esi
call fcn.00603e28
test al, al
je 0x605d4e
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.006059e0
pop ecx
test al, al
je 0x605d4e
inc ebx
jmp 0x605e34
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 0x18]
dec edx
mov eax, ebx
call fcn.0065b28c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jge 0x605d87
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
mov eax, esi
call fcn.00603d94
mov edi, dword [esi + 0x14]
mov eax, esi
call fcn.00603d4c
mov dword [esi + 0x14], edi
dec ebx
test ebx, ebx
jl 0x605db4
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 0x605da9
mov eax, esi
call fcn.00603e14
test al, al
jne 0x605db4
mov eax, esi
call fcn.00603e28
test al, al
je 0x605d62
test ebx, ebx
jge 0x605e34
mov ebx, dword [ebp - 0x20]
cmp ebx, 0
jl 0x605dd7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00603ddc
dec ebx
cmp ebx, 0xffffffff
jne 0x605dc0
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 0x605e1e
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jle 0x605e1e
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x14]
call fcn.0065b28c
mov edi, eax
dec edi
test ebx, ebx
jne 0x605e12
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.00603d4c
mov dword [esi + 0x14], edi
jmp 0x605e30
mov edi, dword [esi + 0x14]
mov eax, esi
call fcn.00603d4c
mov dword [esi + 0x14], edi
dec ebx
test ebx, ebx
jge 0x605dda
test ebx, ebx
jl 0x605e43
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jl 0x605b6d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jne 0x605e7a
cmp byte [ebp - 0x11], 0
je 0x605e7e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.00656c90
mov eax, dword [eax + 0x20]
cmp eax, dword [ebp - 0x2c]
jne 0x605e7e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.00656c90
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x30]
jne 0x605e7e
xor eax, eax
jmp 0x605e80
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x605ee1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x605eaf
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.00656c90
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 0x6067a2
mov eax, dword [ebp - 0x10]
inc dword [eax + 8]
jmp 0x6067a2
cmp byte [ebp - 0x11], 0
jne 0x6067a2
mov eax, dword [ebp - 0x10]
call fcn.00603dfc
test al, al
je 0x6067a2
cmp dword [ebp + 0xc], 0
jle 0x6067a2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x6067a2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00603db4
dec ebx
cmp ebx, 0xffffffff
jne 0x605f18
jmp 0x6067a2
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov ebx, dword [eax + edx*4]
mov eax, ebx
call fcn.00552164
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
call fcn.00603dfc
test al, al
jne 0x605f71
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 [0x675595], 0
je 0x605f8c
jmp 0x605f7f
inc dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
cmp word [eax + edx*2], 0xf
je 0x605f7c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 6
je 0x605fa8
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov ax, word [eax + edx*2]
add eax, 0xfffffffc
sub ax, 2
jb 0x606010
cmp dword [ebp - 4], 0
jne 0x606019
mov eax, dword [0x675588]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
call fcn.00603dfc
test al, al
je 0x606019
mov eax, dword [0x675588]
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 0x606019
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4 - 4]
cmp byte [eax + 0x3c], 0
jne 0x606019
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x3c], 0
je 0x606019
mov byte [ebp - 0x12], 0
jmp 0x60678f
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 4]
cmp eax, 7
ja case.0x606029.0
jmp dword [eax*4 + 0x606030]
push ebp
mov eax, dword [ebp - 8]
call fcn.0060543c
pop ecx
test al, al
je 0x606070
push ebp
mov edx, dword [ebp - 4]
inc edx
mov eax, dword [ebp - 8]
call fcn.00605500
pop ecx
test al, al
jne 0x606079
mov byte [ebp - 0x12], 0
jmp 0x60678f
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 0x6060cb
push ebp
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x208], 1
jne 0x6060b0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 7], 0
jne 0x6060b0
xor ecx, ecx
jmp 0x6060b2
mov cl, 1
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 0x30]
mov dx, word [ebp - 0x32]
call fcn.006055c8
pop ecx
mov byte [ebp - 0x12], al
jmp 0x60617e
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 0x60616d
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 0x60615d
inc eax
mov dword [ebp - 0x40], eax
push ebp
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x208], 1
jne 0x606140
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x1c]
cmp byte [eax + ebx*4], 0
jne 0x606140
xor ecx, ecx
jmp 0x606142
mov cl, 1
mov dx, word [ebp - 0x32]
mov eax, esi
call fcn.006055c8
pop ecx
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
jne 0x60615d
inc esi
dec dword [ebp - 0x40]
jne 0x60611a
cmp byte [ebp - 0x12], 0
jne 0x60616d
dec ebx
cmp ebx, 0xffffffff
jne 0x6060e2
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 3
jne 0x60617e
mov al, byte [ebp - 0x12]
xor al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x6061aa
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.00543f80
lea eax, [ebp - 0x98]
call fcn.006053f4
pop ecx
test al, al
jne 0x6061ae
xor eax, eax
jmp 0x6061b0
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x60678f
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x30], 0x14
jne 0x60626a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0x7fffffff
jne 0x60626a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 1
jne 0x60626a
cmp byte [0x675594], 0
jne 0x60626a
mov eax, dword [0x675588]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jne 0x60626a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa8]
jne 0x606225
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa4]
je 0x606261
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 0x60626a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 0
jne 0x60626a
mov eax, dword [ebp + 0x10]
mov edx, dword [eax - 0xa8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005c0358
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa4]
jg 0x60626a
mov byte [ebp - 0x12], 0
jmp 0x60678f
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 0x60678f
mov byte [ebp - 0x12], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, dword [0x675588]
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 0x6062e5
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.005c0358
cmp eax, dword [ebp - 0x54]
jge 0x6062da
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
jmp 0x6063e1
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005c0358
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.005c0358
cmp ebx, eax
je 0x606319
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
mov ebx, dword [esi + 0x18]
inc ebx
mov eax, dword [esi + 0x20]
dec eax
sub eax, ebx
jl 0x60637a
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 + 0xa8]
cmp eax, dword [edx + 0x18]
jge 0x606368
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.005c0358
mov edi, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.005c0358
cmp edi, eax
je 0x606374
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
inc ebx
dec dword [ebp - 0x40]
jne 0x606329
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 + 0xa8]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x58]
jle 0x6063cf
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x58]
call fcn.0056442c
mov ebx, eax
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.0056442c
cmp bl, al
jne 0x6063cf
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x58]
call fcn.005c0358
cmp eax, dword [esi + 0x24]
jge 0x6063db
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x54], eax
xor ebx, ebx
jmp 0x6064b5
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0xa8]
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 0x606416
dec al
je 0x60645c
jmp 0x6064a2
cmp dword [ebp - 0x64], 0
jle 0x606436
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.0055431c
test al, al
je 0x606450
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.0055431c
test al, al
je 0x6064b4
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
cmp dword [ebp - 0x64], 0
je 0x606496
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.0055431c
test al, al
jne 0x606496
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.0055431c
test al, al
jne 0x6064b4
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
cmp dword [ebp - 0x64], 0
jle 0x6064b4
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
inc ebx
mov eax, dword [esi + 0x28]
cmp ebx, dword [eax + 0x18]
jge 0x6064d2
mov edx, dword [eax + 0x1c]
mov edx, dword [edx + ebx*4]
mov dl, byte [edx + 4]
add dl, 0xfb
sub dl, 3
jb 0x6063e8
mov eax, dword [esi + 0x28]
call fcn.00656c90
cmp byte [eax + 4], 6
jne 0x60653e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xa8]
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 0x606532
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.0055431c
test al, al
jne 0x606532
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.0055431c
test al, al
jne 0x60653e
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov cl, byte [0x6067d0]
call fcn.005c42e8
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.00543f90
lea edx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov cl, byte [0x6067d0]
call fcn.005c42e8
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x58]
call fcn.006053f4
pop ecx
test al, al
je 0x60678f
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x208], 1
je 0x6065be
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.00403bd0
je 0x6065ee
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x208], 1
jne 0x60678f
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
mov eax, dword [ebp - 0x18]
call fcn.00660eac
test eax, eax
jne 0x60678f
cmp byte [ebp + 8], 0
jne 0x606692
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
sub eax, ebx
jl 0x606692
inc eax
mov dword [ebp - 0x40], eax
push ebp
mov eax, ebx
call fcn.0060543c
pop ecx
test al, al
jne 0x606623
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
mov eax, dword [ebp + 0x10]
cmp byte [eax - 0x31], 0
je 0x606688
cmp ebx, dword [ebp - 0x68]
jne 0x60663a
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x606641
mov dword [ebp - 0x24], 1
cmp ebx, dword [ebp - 0x58]
jne 0x60664e
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
jmp 0x60665e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.005c0358
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
sub edi, esi
jl 0x606688
inc edi
push ebp
mov edx, esi
mov eax, ebx
call fcn.00605500
pop ecx
test al, al
jne 0x606684
mov eax, dword [0x672130]
dec dword [eax]
jmp 0x6067a2
inc esi
dec edi
jne 0x606669
inc ebx
dec dword [ebp - 0x40]
jne 0x60660a
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 0x60678f
cmp dword [ebp - 4], 0
je 0x6066cc
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.0055431c
test al, al
je 0x6066e5
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.0055431c
test al, al
je 0x6066e9
xor eax, eax
jmp 0x6066eb
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x60678f
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 0x60678f
cmp dword [ebp - 4], 0
jle 0x606747
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.0055431c
test al, al
jne 0x606747
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.0055431c
test al, al
jne 0x60674b
xor eax, eax
jmp 0x60674d
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x60678f
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 0x60678f
cmp dword [ebp - 4], 0
sete byte [ebp - 0x12]
cmp byte [ebp - 0x12], 0
je 0x60678f
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 0x60678f
mov byte [ebp - 0x12], 0
cmp byte [ebp - 0x12], 0
je 0x60679b
mov eax, dword [ebp - 0x10]
inc dword [eax + 8]
mov eax, dword [0x672130]
dec dword [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6067c4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403898
ret