Function at 0x602fcc
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 0x603da9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x6766c8], 0
jne 0x60302e
call fcn.0065c614
sub eax, dword [0x6766c4]
cmp eax, 0x3e8
jl 0x60302e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
call fcn.00604cc0
call fcn.0065c614
mov dword [0x6766c4], eax
mov eax, dword [0x6730b4]
test byte [eax + 2], 1
je 0x603042
mov byte [ebp - 0x12], 0
jmp 0x603d8e
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0xffffffff
jne 0x60307e
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 0x603d8e
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 0
jne 0x603520
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 0x603108
mov eax, dword [ebp - 0x10]
call fcn.006016b8
test al, al
je 0x6030db
cmp dword [ebp + 0xc], 1
jne 0x6030db
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x6030db
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00601628
dec ebx
cmp ebx, 0xffffffff
jne 0x6030c4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x603101
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00601608
dec ebx
cmp ebx, 0xffffffff
jne 0x6030ea
xor ebx, ebx
jmp 0x603420
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
jmp 0x603126
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00601608
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.006016d0
test al, al
jne 0x603420
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.006016e4
test al, al
je 0x603114
jmp 0x603420
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
cmp dword [ebp + 0xc], 0
jne 0x603187
mov edx, dword [ebp - 0x10]
cmp ebx, dword [edx + 0x44]
jl 0x603182
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
cmp eax, 0x80000000
je 0x60317e
cmp eax, ebx
jle 0x603182
xor eax, eax
jmp 0x603184
mov al, 1
mov byte [ebp + 8], al
mov eax, esi
call fcn.006016b8
test al, al
je 0x6031a0
mov eax, dword [esi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], eax
jmp 0x6031bd
test ebx, ebx
jle 0x6031bd
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.005c0310
cmp eax, dword [ebp - 4]
jg 0x60323f
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 0x603228
mov eax, dword [ebp + 0x10]
mov edx, dword [eax - 0xa0]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.00566a44
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00566a44
pop edx
cmp dl, al
jne 0x603228
lea edx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005c8b68
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 8]
jge 0x60323a
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x60342f
inc ebx
jmp 0x60342f
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
call fcn.0060232c
test al, al
jne 0x603271
cmp byte [esi + 4], 6
je 0x603271
mov eax, dword [ebp + 0x10]
add eax, 0xffffff68
mov edx, eax
lea eax, [ebp - 8]
call fcn.00546cb8
test eax, eax
jge 0x60342f
mov byte [ebp - 0x37], 0
mov eax, esi
call fcn.006016d0
test al, al
je 0x603305
cmp byte [esi + 5], 0
je 0x603292
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x14]
jge 0x6032f3
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.00602fcc
pop ecx
test al, al
je 0x6032f3
cmp byte [esi + 5], 0
jne 0x6032be
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jge 0x6032c6
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
jne 0x6032e7
inc ebx
cmp dword [ebp + 0xc], 0
jne 0x6032e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jne 0x6032e7
push ebp
call fcn.00602f88
pop ecx
test al, al
je 0x6032e7
mov byte [ebp - 0x37], 1
cmp byte [ebp - 0x37], 0
je 0x603420
jmp 0x603305
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x603305
mov byte [esi + 6], 1
inc ebx
jmp 0x603420
cmp byte [ebp - 0x37], 0
jne 0x60333a
mov eax, esi
call fcn.006016e4
test al, al
je 0x60333a
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.00602fcc
pop ecx
test al, al
je 0x60333a
inc ebx
jmp 0x603420
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 0x18]
dec edx
mov eax, ebx
call fcn.00656b70
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jge 0x603373
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ebx*4]
mov eax, esi
call fcn.00601650
mov edi, dword [esi + 0x14]
mov eax, esi
call fcn.00601608
mov dword [esi + 0x14], edi
dec ebx
test ebx, ebx
jl 0x6033a0
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 0x603395
mov eax, esi
call fcn.006016d0
test al, al
jne 0x6033a0
mov eax, esi
call fcn.006016e4
test al, al
je 0x60334e
test ebx, ebx
jge 0x603420
mov ebx, dword [ebp - 0x20]
cmp ebx, 0
jl 0x6033c3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00601698
dec ebx
cmp ebx, 0xffffffff
jne 0x6033ac
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 0x60340a
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jle 0x60340a
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x14]
call fcn.00656b70
mov edi, eax
dec edi
test ebx, ebx
jne 0x6033fe
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.00601608
mov dword [esi + 0x14], edi
jmp 0x60341c
mov edi, dword [esi + 0x14]
mov eax, esi
call fcn.00601608
mov dword [esi + 0x14], edi
dec ebx
test ebx, ebx
jge 0x6033c6
test ebx, ebx
jl 0x60342f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jl 0x603159
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
cmp ebx, dword [eax + 0x18]
jne 0x603466
cmp byte [ebp - 0x11], 0
je 0x60346a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.00652098
mov eax, dword [eax + 0x20]
cmp eax, dword [ebp - 0x2c]
jne 0x60346a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
call fcn.00652098
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x30]
jne 0x60346a
xor eax, eax
jmp 0x60346c
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x6034cd
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x60349b
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.00652098
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 0x603d8e
mov eax, dword [ebp - 0x10]
inc dword [eax + 8]
jmp 0x603d8e
cmp byte [ebp - 0x11], 0
jne 0x603d8e
mov eax, dword [ebp - 0x10]
call fcn.006016b8
test al, al
je 0x603d8e
cmp dword [ebp + 0xc], 0
jle 0x603d8e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x603d8e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
call fcn.00601670
dec ebx
cmp ebx, 0xffffffff
jne 0x603504
jmp 0x603d8e
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.00554ab0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
call fcn.006016b8
test al, al
jne 0x60355d
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 [0x6766c1], 0
je 0x603578
jmp 0x60356b
inc dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
cmp word [eax + edx*2], 0xf
je 0x603568
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 6
je 0x603594
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov ax, word [eax + edx*2]
add eax, 0xfffffffc
sub ax, 2
jb 0x6035fc
cmp dword [ebp - 4], 0
jne 0x603605
mov eax, dword [0x6766b4]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
call fcn.006016b8
test al, al
je 0x603605
mov eax, dword [0x6766b4]
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 0x603605
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 0x603605
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 0x603605
mov byte [ebp - 0x12], 0
jmp 0x603d7b
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 4]
cmp eax, 7
ja case.0x603615.0
jmp dword [eax*4 + 0x60361c]
push ebp
mov eax, dword [ebp - 8]
call fcn.00602a60
pop ecx
test al, al
je 0x60365c
push ebp
mov edx, dword [ebp - 4]
inc edx
mov eax, dword [ebp - 8]
call fcn.00602b10
pop ecx
test al, al
jne 0x603665
mov byte [ebp - 0x12], 0
jmp 0x603d7b
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 0x6036b7
push ebp
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
jne 0x60369c
mov eax, dword [ebp - 0x10]
cmp byte [eax + 7], 0
jne 0x60369c
xor ecx, ecx
jmp 0x60369e
mov cl, 1
mov eax, dword [ebp - 0x10]
mov ax, word [eax + 0x30]
mov dx, word [ebp - 0x32]
call fcn.00602bd8
pop ecx
mov byte [ebp - 0x12], al
jmp 0x60376a
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 0x603759
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 0x603749
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 0x60372c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x1c]
cmp byte [eax + ebx*4], 0
jne 0x60372c
xor ecx, ecx
jmp 0x60372e
mov cl, 1
mov dx, word [ebp - 0x32]
mov eax, esi
call fcn.00602bd8
pop ecx
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
jne 0x603749
inc esi
dec dword [ebp - 0x40]
jne 0x603706
cmp byte [ebp - 0x12], 0
jne 0x603759
dec ebx
cmp ebx, 0xffffffff
jne 0x6036ce
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 3
jne 0x60376a
mov al, byte [ebp - 0x12]
xor al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x603796
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.005469a4
lea eax, [ebp - 0x98]
call fcn.00602a18
pop ecx
test al, al
jne 0x60379a
xor eax, eax
jmp 0x60379c
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x603d7b
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x30], 0x14
jne 0x603856
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0x7fffffff
jne 0x603856
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 1
jne 0x603856
cmp byte [0x6766c0], 0
jne 0x603856
mov eax, dword [0x6766b4]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jne 0x603856
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa8]
jne 0x603811
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa4]
je 0x60384d
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 0x603856
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 0
jne 0x603856
mov eax, dword [ebp + 0x10]
mov edx, dword [eax - 0xa8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005c0310
mov edx, dword [ebp + 0x10]
cmp eax, dword [edx - 0xa4]
jg 0x603856
mov byte [ebp - 0x12], 0
jmp 0x603d7b
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 0x603d7b
mov byte [ebp - 0x12], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, dword [0x6766b4]
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 0x6038d1
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.005c0310
cmp eax, dword [ebp - 0x54]
jge 0x6038c6
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
jmp 0x6039cd
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.005c0310
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.005c0310
cmp ebx, eax
je 0x603905
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
mov ebx, dword [esi + 0x18]
inc ebx
mov eax, dword [esi + 0x20]
dec eax
sub eax, ebx
jl 0x603966
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 0x603954
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.005c0310
mov edi, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.005c0310
cmp edi, eax
je 0x603960
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
inc ebx
dec dword [ebp - 0x40]
jne 0x603915
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 0x6039bb
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x58]
call fcn.00566a44
mov ebx, eax
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
call fcn.00566a44
cmp bl, al
jne 0x6039bb
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x58]
call fcn.005c0310
cmp eax, dword [esi + 0x24]
jge 0x6039c7
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x54], eax
xor ebx, ebx
jmp 0x603aa1
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 0x603a02
dec al
je 0x603a48
jmp 0x603a8e
cmp dword [ebp - 0x64], 0
jle 0x603a22
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.00556cc4
test al, al
je 0x603a3c
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.00556cc4
test al, al
je 0x603aa0
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
cmp dword [ebp - 0x64], 0
je 0x603a82
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.00556cc4
test al, al
jne 0x603a82
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.00556cc4
test al, al
jne 0x603aa0
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
cmp dword [ebp - 0x64], 0
jle 0x603aa0
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
inc ebx
mov eax, dword [esi + 0x28]
cmp ebx, dword [eax + 0x18]
jge 0x603abe
mov edx, dword [eax + 0x1c]
mov edx, dword [edx + ebx*4]
mov dl, byte [edx + 4]
add dl, 0xfb
sub dl, 3
jb 0x6039d4
mov eax, dword [esi + 0x28]
call fcn.00652098
cmp byte [eax + 4], 6
jne 0x603b2a
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 0x603b1e
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.00556cc4
test al, al
jne 0x603b1e
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.00556cc4
test al, al
jne 0x603b2a
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov cl, byte [0x603dbc]
call fcn.005c41fc
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.005469c4
lea edx, [ebp - 0x88]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov cl, byte [0x603dbc]
call fcn.005c41fc
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x58]
call fcn.00602a18
pop ecx
test al, al
je 0x603d7b
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
je 0x603baa
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.00403bd0
je 0x603bda
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x9c]
test byte [eax + 0x20c], 1
jne 0x603d7b
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
mov eax, dword [ebp - 0x18]
call fcn.0065c688
test eax, eax
jne 0x603d7b
cmp byte [ebp + 8], 0
jne 0x603c7e
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
sub eax, ebx
jl 0x603c7e
inc eax
mov dword [ebp - 0x40], eax
push ebp
mov eax, ebx
call fcn.00602a60
pop ecx
test al, al
jne 0x603c0f
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
mov eax, dword [ebp + 0x10]
cmp byte [eax - 0x31], 0
je 0x603c74
cmp ebx, dword [ebp - 0x68]
jne 0x603c26
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x603c2d
mov dword [ebp - 0x24], 1
cmp ebx, dword [ebp - 0x58]
jne 0x603c3a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
jmp 0x603c4a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov edx, ebx
call fcn.005c0310
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
sub edi, esi
jl 0x603c74
inc edi
push ebp
mov edx, esi
mov eax, ebx
call fcn.00602b10
pop ecx
test al, al
jne 0x603c70
mov eax, dword [0x671c5c]
dec dword [eax]
jmp 0x603d8e
inc esi
dec edi
jne 0x603c55
inc ebx
dec dword [ebp - 0x40]
jne 0x603bf6
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 0x603d7b
cmp dword [ebp - 4], 0
je 0x603cb8
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.00556cc4
test al, al
je 0x603cd1
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.00556cc4
test al, al
je 0x603cd5
xor eax, eax
jmp 0x603cd7
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x603d7b
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 0x603d7b
cmp dword [ebp - 4], 0
jle 0x603d33
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.00556cc4
test al, al
jne 0x603d33
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.00556cc4
test al, al
jne 0x603d37
xor eax, eax
jmp 0x603d39
mov al, 1
mov byte [ebp - 0x12], al
cmp byte [ebp - 0x12], 0
je 0x603d7b
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 0x603d7b
cmp dword [ebp - 4], 0
sete byte [ebp - 0x12]
cmp byte [ebp - 0x12], 0
je 0x603d7b
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 0x603d7b
mov byte [ebp - 0x12], 0
cmp byte [ebp - 0x12], 0
je 0x603d87
mov eax, dword [ebp - 0x10]
inc dword [eax + 8]
mov eax, dword [0x671c5c]
dec dword [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x603db0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403898
ret