Function at 0x5fff88
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 0x600d65
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x6736c8], 0
jne 0x5fffea
call fcn.00658fe8
sub eax, dword [0x6736c4]
cmp eax, 0x3e8
jl 0x5fffea
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
call fcn.00601c7c
call fcn.00658fe8
mov dword [0x6736c4], eax
mov eax, dword [0x670050]
test byte [eax + 2], 1
je 0x5ffffe
mov byte [ebp - 0x12], 0
jmp 0x600d4a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0xffffffff
jne 0x60003a
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 0x600d4a
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 0
jne 0x6004dc
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 0x6000c4
mov eax, dword [ebp - 0x10]
call fcn.005fe664
test al, al
je 0x600097
cmp dword [ebp + 0xc], 1
jne 0x600097
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x600097
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fe5d4
dec ebx
cmp ebx, 0xffffffff
jne 0x600080
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x6000bd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fe5b4
dec ebx
cmp ebx, 0xffffffff
jne 0x6000a6
xor ebx, ebx
jmp 0x6003dc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
jmp 0x6000e2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fe5b4
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.005fe67c
test al, al
jne 0x6003dc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fe690
test al, al
je 0x6000d0
jmp 0x6003dc
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
cmp dword [ebp + 0xc], 0
jne 0x600143
mov edx, dword [ebp - 0x10]
cmp ebx, dword [edx + 0x44]
jl 0x60013e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
cmp eax, 0x80000000
je 0x60013a
cmp eax, ebx
jle 0x60013e
xor eax, eax
jmp 0x600140
mov al, 1
mov byte [ebp + 8], al
mov eax, esi
call fcn.005fe664
test al, al
je 0x60015c
mov eax, dword [esi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], eax
jmp 0x600179
test ebx, ebx
jle 0x600179
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.005bd358
cmp eax, dword [ebp - 4]
jg 0x6001fb
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 0x6001e4
mov eax, dword [ebp + 0x10]
mov edx, dword [eax - 0xa0]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.00563a8c
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00563a8c
pop edx
cmp dl, al
jne 0x6001e4
lea edx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005c5ba8
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 8]
jge 0x6001f6
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x6003eb
inc ebx
jmp 0x6003eb
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
call fcn.005ff2e8
test al, al
jne 0x60022d
cmp byte [esi + 4], 6
je 0x60022d
mov eax, dword [ebp + 0x10]
add eax, 0xffffff68
mov edx, eax
lea eax, [ebp - 8]
call fcn.00543d00
test eax, eax
jge 0x6003eb
mov byte [ebp - 0x37], 0
mov eax, esi
call fcn.005fe67c
test al, al
je 0x6002c1
cmp byte [esi + 5], 0
je 0x60024e
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x14]
jge 0x6002af
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.005fff88
pop ecx
test al, al
je 0x6002af
cmp byte [esi + 5], 0
jne 0x60027a
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jge 0x600282
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
jne 0x6002a3
inc ebx
cmp dword [ebp + 0xc], 0
jne 0x6002a3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jne 0x6002a3
push ebp
call fcn.005fff44
pop ecx
test al, al
je 0x6002a3
mov byte [ebp - 0x37], 1
cmp byte [ebp - 0x37], 0
je 0x6003dc
jmp 0x6002c1
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x6002c1
mov byte [esi + 6], 1
inc ebx
jmp 0x6003dc
cmp byte [ebp - 0x37], 0
jne 0x6002f6
mov eax, esi
call fcn.005fe690
test al, al
je 0x6002f6
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.005fff88
pop ecx
test al, al
je 0x6002f6
inc ebx
jmp 0x6003dc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 0x18]
dec edx
mov eax, ebx
call fcn.00653538
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jge 0x60032f
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
mov eax, esi
call fcn.005fe5fc
mov edi, dword [esi + 0x14]
mov eax, esi
call fcn.005fe5b4
mov dword [esi + 0x14], edi
dec ebx
test ebx, ebx
jl 0x60035c
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 0x600351
mov eax, esi
call fcn.005fe67c
test al, al
jne 0x60035c
mov eax, esi
call fcn.005fe690
test al, al
je 0x60030a
test ebx, ebx
jge 0x6003dc
mov ebx, dword [ebp - 0x20]
cmp ebx, 0
jl 0x60037f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fe644
dec ebx
cmp ebx, 0xffffffff
jne 0x600368
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 0x6003c6
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jle 0x6003c6
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x14]
call fcn.00653538
mov edi, eax
dec edi
test ebx, ebx
jne 0x6003ba
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.005fe5b4
mov dword [esi + 0x14], edi
jmp 0x6003d8
mov edi, dword [esi + 0x14]
mov eax, esi
call fcn.005fe5b4
mov dword [esi + 0x14], edi
dec ebx
test ebx, ebx
jge 0x600382
test ebx, ebx
jl 0x6003eb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jl 0x600115
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jne 0x600422
cmp byte [ebp - 0x11], 0
je 0x600426
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.0064ea3c
mov eax, dword [eax + 0x20]
cmp eax, dword [ebp - 0x2c]
jne 0x600426
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.0064ea3c
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x30]
jne 0x600426
xor eax, eax
jmp 0x600428
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x600489
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x600457
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.0064ea3c
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 0x600d4a
mov eax, dword [ebp - 0x10]
inc dword [eax + 8]
jmp 0x600d4a
cmp byte [ebp - 0x11], 0
jne 0x600d4a
mov eax, dword [ebp - 0x10]
call fcn.005fe664
test al, al
je 0x600d4a
cmp dword [ebp + 0xc], 0
jle 0x600d4a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x600d4a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.005fe61c
dec ebx
cmp ebx, 0xffffffff
jne 0x6004c0
jmp 0x600d4a
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.00551af8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
call fcn.005fe664
test al, al
jne 0x600519
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 [0x6736c1], 0
je 0x600534
jmp 0x600527
inc dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
cmp word [eax + edx*2], 0xf
je 0x600524
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 6
je 0x600550
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov ax, word [eax + edx*2]
add eax, 0xfffffffc
sub ax, 2
jb 0x6005b8
cmp dword [ebp - 4], 0
jne 0x6005c1
mov eax, dword [0x6736b4]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
call fcn.005fe664
test al, al
je 0x6005c1
mov eax, dword [0x6736b4]
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 0x6005c1
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 0x6005c1
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 0x6005c1
mov byte [ebp - 0x12], 0
jmp 0x600d37
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 4]
cmp eax, 7
ja case.0x6005d1.0
jmp dword [eax*4 + 0x6005d8]
push ebp
mov eax, dword [ebp - 8]
call fcn.005ffa1c
pop ecx
test al, al
je 0x600618
push ebp
mov edx, dword [ebp - 4]
inc edx
mov eax, dword [ebp - 8]
call fcn.005ffacc
pop ecx
test al, al
jne 0x600621
mov byte [ebp - 0x12], 0
jmp 0x600d37
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 0x600673
push ebp
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
jne 0x600658
mov eax, dword [ebp - 0x10]
cmp byte [eax + 7], 0
jne 0x600658
xor ecx, ecx
jmp 0x60065a
mov cl, 1
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 0x30]
mov dx, word [ebp - 0x32]
call fcn.005ffb94
pop ecx
mov byte [ebp - 0x12], al
jmp 0x600726
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 0x600715
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 0x600705
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 0x6006e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x1c]
cmp byte [eax + ebx*4], 0
jne 0x6006e8
xor ecx, ecx
jmp 0x6006ea
mov cl, 1
mov dx, word [ebp - 0x32]
mov eax, esi
call fcn.005ffb94
pop ecx
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
jne 0x600705
inc esi
dec dword [ebp - 0x40]
jne 0x6006c2
cmp byte [ebp - 0x12], 0
jne 0x600715
dec ebx
cmp ebx, 0xffffffff
jne 0x60068a
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 3
jne 0x600726
mov al, byte [ebp - 0x12]
xor al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x600752
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.005439ec
lea eax, [ebp - 0x98]
call fcn.005ff9d4
pop ecx
test al, al
jne 0x600756
xor eax, eax
jmp 0x600758
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x600d37
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x30], 0x14
jne 0x600812
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0x7fffffff
jne 0x600812
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 1
jne 0x600812
cmp byte [0x6736c0], 0
jne 0x600812
mov eax, dword [0x6736b4]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jne 0x600812
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa8]
jne 0x6007cd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa4]
je 0x600809
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 0x600812
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 0
jne 0x600812
mov eax, dword [ebp + 0x10]
mov edx, dword [eax - 0xa8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005bd358
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa4]
jg 0x600812
mov byte [ebp - 0x12], 0
jmp 0x600d37
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 0x600d37
mov byte [ebp - 0x12], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, dword [0x6736b4]
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 0x60088d
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.005bd358
cmp eax, dword [ebp - 0x54]
jge 0x600882
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
jmp 0x600989
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005bd358
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.005bd358
cmp ebx, eax
je 0x6008c1
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
mov ebx, dword [esi + 0x18]
inc ebx
mov eax, dword [esi + 0x20]
dec eax
sub eax, ebx
jl 0x600922
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 0x600910
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.005bd358
mov edi, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.005bd358
cmp edi, eax
je 0x60091c
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
inc ebx
dec dword [ebp - 0x40]
jne 0x6008d1
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 0x600977
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x58]
call fcn.00563a8c
mov ebx, eax
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.00563a8c
cmp bl, al
jne 0x600977
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x58]
call fcn.005bd358
cmp eax, dword [esi + 0x24]
jge 0x600983
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x54], eax
xor ebx, ebx
jmp 0x600a5d
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 0x6009be
dec al
je 0x600a04
jmp 0x600a4a
cmp dword [ebp - 0x64], 0
jle 0x6009de
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.00553d0c
test al, al
je 0x6009f8
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.00553d0c
test al, al
je 0x600a5c
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
cmp dword [ebp - 0x64], 0
je 0x600a3e
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.00553d0c
test al, al
jne 0x600a3e
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.00553d0c
test al, al
jne 0x600a5c
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
cmp dword [ebp - 0x64], 0
jle 0x600a5c
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
inc ebx
mov eax, dword [esi + 0x28]
cmp ebx, dword [eax + 0x18]
jge 0x600a7a
mov edx, dword [eax + 0x1c]
mov edx, dword [edx + ebx*4]
mov dl, byte [edx + 4]
add dl, 0xfb
sub dl, 3
jb 0x600990
mov eax, dword [esi + 0x28]
call fcn.0064ea3c
cmp byte [eax + 4], 6
jne 0x600ae6
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 0x600ada
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.00553d0c
test al, al
jne 0x600ada
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.00553d0c
test al, al
jne 0x600ae6
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov cl, byte [0x600d78]
call fcn.005c123c
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.00543a0c
lea edx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov cl, byte [0x600d78]
call fcn.005c123c
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x58]
call fcn.005ff9d4
pop ecx
test al, al
je 0x600d37
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
je 0x600b66
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.00403bc0
je 0x600b96
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
jne 0x600d37
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
mov eax, dword [ebp - 0x18]
call fcn.0065905c
test eax, eax
jne 0x600d37
cmp byte [ebp + 8], 0
jne 0x600c3a
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
sub eax, ebx
jl 0x600c3a
inc eax
mov dword [ebp - 0x40], eax
push ebp
mov eax, ebx
call fcn.005ffa1c
pop ecx
test al, al
jne 0x600bcb
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
mov eax, dword [ebp + 0x10]
cmp byte [eax - 0x31], 0
je 0x600c30
cmp ebx, dword [ebp - 0x68]
jne 0x600be2
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x600be9
mov dword [ebp - 0x24], 1
cmp ebx, dword [ebp - 0x58]
jne 0x600bf6
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
jmp 0x600c06
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.005bd358
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
sub edi, esi
jl 0x600c30
inc edi
push ebp
mov edx, esi
mov eax, ebx
call fcn.005ffacc
pop ecx
test al, al
jne 0x600c2c
mov eax, dword [0x66ebf4]
dec dword [eax]
jmp 0x600d4a
inc esi
dec edi
jne 0x600c11
inc ebx
dec dword [ebp - 0x40]
jne 0x600bb2
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 0x600d37
cmp dword [ebp - 4], 0
je 0x600c74
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.00553d0c
test al, al
je 0x600c8d
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.00553d0c
test al, al
je 0x600c91
xor eax, eax
jmp 0x600c93
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x600d37
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 0x600d37
cmp dword [ebp - 4], 0
jle 0x600cef
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.00553d0c
test al, al
jne 0x600cef
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.00553d0c
test al, al
jne 0x600cf3
xor eax, eax
jmp 0x600cf5
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x600d37
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 0x600d37
cmp dword [ebp - 4], 0
sete byte [ebp - 0x12]
cmp byte [ebp - 0x12], 0
je 0x600d37
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 0x600d37
mov byte [ebp - 0x12], 0
cmp byte [ebp - 0x12], 0
je 0x600d43
mov eax, dword [ebp - 0x10]
inc dword [eax + 8]
mov eax, dword [0x66ebf4]
dec dword [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x600d6c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403898
ret