Function at 0x5bc4f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x224
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x7c], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x34], eax
mov dword [esp + 0x100], edx
mov edx, dword [eax*8 + 0x5f3538]
mov eax, dword [eax*8 + 0x5f353c]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0xa4], edx
mov edx, dword [ecx + 0x17c]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xdc], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0xa8], edx
mov edx, dword [ecx + 0x1f44]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x1f48]
mov dword [esp + 0xa0], edx
mov edx, dword [ecx + 0x1f4c]
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 0x1f50]
mov dword [esp + 0x8c], edx
movsx edx, word [edi + 0x40]
mov dword [esp + 0x98], eax
mov eax, dword [edi + 4]
lea esi, [edx + edx]
mov ebx, esi
mov esi, eax
sub esi, ebx
movsx ebx, word [edi + 0x42]
mov dword [esp + 0x28], esi
lea esi, [ebx + ebx]
sub eax, esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa0]
add eax, eax
add esi, esi
add eax, eax
add esi, esi
cmp edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xcc], 0x10000000
jge 0x5bc5ec
mov edx, eax
jmp 0x5bc5f2
cmp edx, esi
jle 0x5bc5f2
mov edx, esi
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
add esi, esi
add eax, eax
add esi, esi
add eax, eax
cmp ebx, esi
mov dword [esp + 0x10], edx
jl 0x5bc618
cmp ebx, eax
mov esi, eax
jg 0x5bc618
mov esi, ebx
lea eax, [edx + 2]
sar eax, 2
mov dword [esp + 0xb4], eax
lea eax, [esi + 2]
sar eax, 2
cmp dword [ecx + 0x1f08], 3
mov dword [esp + 0xac], eax
mov ebx, 0x10000000
jl 0x5bc887
mov ecx, dword [esp + 0x10]
movzx edx, cx
mov eax, esi
shl eax, 0x10
add eax, edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x84]
push eax
mov eax, dword [edi + 0x38]
push edx
push esi
push ecx
push eax
lea eax, [edi + 0x10]
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [eax + 0x4cd0]
lea edx, [esp + 0x13c]
push edx
mov dword [esp + 0x58], 0x10
call ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [edi + 0x28]
push 0x10
push eax
mov eax, dword [ecx + edx*4 + 0x4b78]
call eax
mov ecx, dword [esp + 0x50]
movsx edx, word [ecx + esi*2]
mov ecx, dword [esp + 0x58]
add eax, edx
mov edx, dword [esp + 0x40]
movsx ecx, word [ecx + edx*2]
add eax, ecx
add esp, 0x30
cmp eax, ebx
jge 0x5bc6e2
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0xdc], esi
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
mov dword [esp + 0x1c], ecx
jle 0x5bc817
mov eax, dword [esp + 0x88]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5bc807
mov edx, dword [esp + 0x68]
sub edx, eax
je 0x5bc807
mov esi, dword [esp + 0x88]
mov edx, dword [esp + 0xa0]
movsx eax, word [esi + ecx*4]
add edx, edx
add edx, edx
cmp eax, edx
jge 0x5bc72f
mov dword [esp + 0x5c], edx
jmp 0x5bc746
mov edx, dword [esp + 0x8c]
add edx, edx
add edx, edx
cmp eax, edx
mov dword [esp + 0x5c], edx
jg 0x5bc746
mov dword [esp + 0x5c], eax
movsx eax, word [esi + ecx*4 + 2]
mov esi, dword [esp + 0x94]
add esi, esi
add esi, esi
cmp eax, esi
jl 0x5bc76b
mov esi, dword [esp + 0x98]
add esi, esi
add esi, esi
cmp eax, esi
jg 0x5bc76b
mov esi, eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [edi + 0x38]
push ecx
push esi
push edx
push eax
lea eax, [edi + 0x10]
push eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [eax + 0x4cd0]
lea edx, [esp + 0x13c]
push edx
mov dword [esp + 0x58], 0x10
call ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [edi + 0x28]
push 0x10
push eax
mov eax, dword [edx + ecx*4 + 0x4b78]
call eax
mov ecx, dword [esp + 0x50]
movsx edx, word [ecx + esi*2]
mov ecx, dword [esp + 0x58]
add eax, edx
mov edx, dword [esp + 0x8c]
movsx ecx, word [ecx + edx*2]
add eax, ecx
mov ecx, dword [esp + 0x4c]
add esp, 0x30
cmp eax, dword [esp + 0xcc]
jge 0x5bc807
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0xdc], esi
add ecx, 1
cmp ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], ecx
jl 0x5bc6f1
mov esi, dword [esp + 0xdc]
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x34]
push eax
add esi, 2
sar esi, 2
imul eax, esi
add ecx, 2
sar ecx, 2
add eax, ecx
add eax, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edi + 0x28]
push 0x10
push eax
mov eax, dword [ecx + edx*4 + 0x4b78]
call eax
mov ecx, dword [esp + 0x30]
movsx edx, word [ecx + esi*8]
mov ecx, dword [esp + 0x38]
add eax, edx
mov edx, dword [esp + 0x20]
movsx ecx, word [ecx + edx*8]
add eax, ecx
add esp, 0x10
cmp eax, 0x10000000
jge 0x5bca14
mov ebx, eax
jmp 0x5bca14
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x20]
movsx edx, word [edx + ecx*8]
mov ecx, dword [esp + 0xb4]
push eax
imul eax, dword [esp + 0xb0]
add eax, ecx
add eax, dword [esp + 0x58]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x2c]
movsx edx, word [edx + ecx*8]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
push 0x10
push eax
mov eax, dword [ecx + edx*4 + 0x4b78]
call eax
add eax, dword [esp + 0x48]
add esp, 0x10
add eax, dword [esp + 0x84]
cmp eax, 0x10000000
jge 0x5bc903
mov ecx, dword [esp + 0xb4]
mov esi, dword [esp + 0xac]
mov ebx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x38]
add edx, eax
xor eax, eax
sub ebx, edx
cmp dword [ebp + 0x14], eax
mov dword [esp + 0x1c], eax
jle 0x5bca14
jmp 0x5bc930
mov edx, dword [esp + 0x88]
movsx ecx, word [edx + eax*4]
movsx eax, word [edx + eax*4 + 2]
add eax, 2
sar eax, 2
add ecx, 2
sar ecx, 2
mov edx, eax
or edx, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x24], eax
je 0x5bca00
sub ecx, dword [esp + 0x10]
sub eax, esi
or eax, ecx
je 0x5bca00
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jl 0x5bc986
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
jle 0x5bc98a
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jl 0x5bc9a4
mov ecx, dword [esp + 0x98]
cmp eax, ecx
jle 0x5bc9a8
mov dword [esp + 0x24], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push eax
imul eax, dword [esp + 0x28]
add eax, dword [esp + 0x70]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [edi + 0x28]
push 0x10
push eax
mov eax, dword [ecx + edx*4 + 0x4b78]
call eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
movsx ecx, word [ecx + edx*8]
mov edx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x7c]
movsx edx, word [edx + ecx*8]
add eax, edx
add esp, 0x10
cmp eax, ebx
jge 0x5bca00
mov esi, dword [esp + 0x24]
mov ebx, eax
mov eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
jl 0x5bc930
mov ecx, dword [edi + 0x38]
mov edx, dword [esp + 0x54]
mov eax, dword [edi + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
push 0x10
push eax
mov eax, dword [ecx + edx*4 + 0x4b78]
call eax
mov ecx, dword [esp + 0x30]
movsx edx, word [ecx]
mov ecx, dword [esp + 0x38]
add eax, edx
movsx edx, word [ecx]
add eax, edx
add esp, 0x10
cmp eax, ebx
jge 0x5bca55
xor esi, esi
mov ebx, eax
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x1f04]
cmp eax, 4
ja case.default.0x5bca68
jmp dword [eax*4 + 0x5bfe50]
mov dword [esp + 0x1c], 0
mov ecx, dword [edi + 0x38]
mov edx, dword [esp + 0x10]
mov eax, ecx
imul eax, esi
add eax, edx
add eax, dword [esp + 0x54]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x3c]
push edx
push ecx
lea edx, [eax + 1]
push edx
lea edx, [eax - 1]
push edx
lea edx, [ecx + eax]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
mov dword [esp + 0x34], esi
call eax
mov ecx, dword [esp + 0x3c]
movsx edx, word [ecx + esi*8 - 8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
movsx ecx, word [ecx + eax*8]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
movsx ecx, word [edx + esi*8 + 8]
mov edx, dword [esp + 0x28]
movsx edx, word [edx + eax*8]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
movsx edx, word [ecx + eax*8 - 8]
mov ecx, dword [esp + 0x20]
movsx ecx, word [ecx + esi*8]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
movsx eax, word [edx + eax*8 + 8]
mov edx, dword [esp + 0x20]
movsx edx, word [edx + esi*8]
add edx, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], edx
jge 0x5bcb3b
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bcb4e
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5bcb52
mov eax, dword [esp + 0x18]
cmp ecx, ebx
jge 0x5bcb5f
sub dword [esp + 0x10], 1
mov ebx, ecx
mov esi, eax
cmp edx, ebx
jge 0x5bcb72
mov ecx, dword [esp + 0x14]
add ecx, 1
mov ebx, edx
mov dword [esp + 0x10], ecx
mov esi, eax
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp esi, eax
sete dl
xor eax, eax
cmp dword [esp + 0x10], ecx
sete al
test eax, edx
jne case.default.0x5bca68
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0xa0]
jl case.default.0x5bca68
cmp eax, dword [esp + 0x8c]
jg case.default.0x5bca68
cmp esi, dword [esp + 0x94]
jl case.default.0x5bca68
cmp esi, dword [esp + 0x98]
jg case.default.0x5bca68
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
jl 0x5bca77
jmp case.default.0x5bca68
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0xac]
add eax, dword [esp + 0xb4]
lea edx, [esp + 0x3c]
add eax, dword [esp + 0x54]
push edx
push ecx
lea edx, [eax + 1]
push edx
lea edx, [eax - 1]
push edx
lea edx, [ecx + eax]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
mov dword [esp + 0x40], 1
mov dword [esp + 0xc0], ebx
call eax
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x3c]
movsx ecx, word [ecx + edx*8 - 8]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0xd0]
movsx edx, word [eax + edx*8]
add edx, dword [esp + 0x58]
add esp, 0x1c
add edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xac]
movsx ecx, word [ecx + edx*8 + 8]
mov edx, dword [esp + 0xb4]
movsx edx, word [eax + edx*8]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x40], edx
movsx edx, word [eax + ecx*8 - 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xac]
movsx ecx, word [eax + ecx*8]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xb4]
movsx edx, word [edx + ecx*8 + 8]
mov ecx, dword [esp + 0xac]
movsx eax, word [eax + ecx*8]
add eax, dword [esp + 0x48]
add eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jge 0x5bcce9
mov ebx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
lea esi, [ecx - 1]
jmp 0x5bccf0
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bcd01
mov ebx, edx
mov dword [esp + 0x10], eax
lea esi, [ecx + 1]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bcd14
mov ebx, edx
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
mov esi, ecx
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5bcd27
mov ebx, edx
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov esi, ecx
or ecx, eax
je 0x5bce07
mov eax, dword [edi + 0x38]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x58]
push eax
lea edx, [ecx + 1]
push edx
lea edx, [ecx - 1]
push edx
lea edx, [eax + ecx]
sub ecx, eax
mov eax, dword [edi + 0x28]
push edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
call eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
movsx edx, word [ecx - 8]
movsx ecx, word [eax]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
movsx ecx, word [edx + 8]
movsx edx, word [eax]
add edx, dword [esp + 0x40]
add edx, ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
movsx edx, word [edx]
add edx, dword [esp + 0x44]
movsx ecx, word [eax - 8]
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
movsx edx, word [edx]
movsx eax, word [eax + 8]
add edx, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], edx
jge 0x5bcdd0
mov ebx, eax
mov dword [esp + 0x10], 0
or esi, 0xffffffff
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bcde7
mov ebx, eax
mov dword [esp + 0x10], 0
mov esi, 1
cmp ecx, ebx
jge 0x5bcdf7
mov ebx, ecx
mov dword [esp + 0x10], 0xffffffff
xor esi, esi
cmp edx, ebx
jge 0x5bce07
mov ebx, edx
mov dword [esp + 0x10], 1
xor esi, esi
cmp dword [esp + 0x34], 6
je case.0x5bca68.1
mov eax, dword [esp + 0x10]
mov ecx, esi
or ecx, eax
mov dword [esp + 0x70], ebx
je 0x5bcf3d
sub eax, dword [esp + 0xb4]
mov edx, esi
sub edx, dword [esp + 0xac]
or edx, eax
je 0x5bcf3d
mov ecx, dword [edi + 0x38]
mov edx, dword [esp + 0x10]
mov eax, ecx
imul eax, esi
add eax, edx
add eax, dword [esp + 0x54]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x3c]
push edx
push ecx
lea edx, [eax + 1]
push edx
lea edx, [eax - 1]
push edx
lea edx, [ecx + eax]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
mov dword [esp + 0x34], esi
call eax
mov ecx, dword [esp + 0x3c]
movsx edx, word [ecx + esi*8 - 8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
movsx ecx, word [ecx + eax*8]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
movsx ecx, word [edx + esi*8 + 8]
mov edx, dword [esp + 0x28]
movsx edx, word [edx + eax*8]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
movsx edx, word [ecx + eax*8 - 8]
mov ecx, dword [esp + 0x20]
movsx ecx, word [ecx + esi*8]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
movsx eax, word [edx + eax*8 + 8]
mov edx, dword [esp + 0x20]
movsx edx, word [edx + esi*8]
add edx, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], edx
jge 0x5bcf00
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bcf13
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5bcf17
mov eax, dword [esp + 0x18]
cmp ecx, ebx
jge 0x5bcf24
sub dword [esp + 0x10], 1
mov ebx, ecx
mov esi, eax
cmp edx, ebx
jge 0x5bcf37
mov ecx, dword [esp + 0x14]
add ecx, 1
mov ebx, edx
mov dword [esp + 0x10], ecx
mov esi, eax
cmp ebx, dword [esp + 0x70]
jne 0x5bcf45
mov dword [esp + 0x24], 3
cmp ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
jne 0x5bda95
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx*4 + 0x5f3aa0]
mov eax, 0x7d0
sar eax, cl
cmp ebx, eax
jge 0x5bda95
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, esi
add eax, edx
add eax, dword [esp + 0x54]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x38], edx
lea edx, [esp + 0x3c]
push edx
push ecx
lea edx, [eax - 2]
push edx
mov edx, dword [esp + 0x44]
add edx, 1
push edx
mov edx, dword [esp + 0x48]
add edx, 0xffffffff
push edx
mov edx, dword [edi + 0x28]
add ecx, ecx
sub eax, ecx
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [eax + ecx*4 + 0x4bb0]
call edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
movsx edx, word [edx + esi*8 - 0x10]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x4c], ecx
lea eax, [esi - 2]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x44]
movsx ecx, word [ecx + eax]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
lea ecx, [esi*8]
mov dword [esp + 0x58], ecx
lea ecx, [ecx + edx - 8]
mov edx, dword [esp + 0x30]
movsx edx, word [edx + eax - 8]
mov dword [esp + 0x68], ecx
movsx ecx, word [ecx]
add ecx, dword [esp + 0x40]
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
movsx ecx, word [edx + eax + 8]
mov edx, dword [esp + 0x68]
movsx edx, word [edx]
add edx, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffffe
mov dword [esp + 0x44], edx
movsx eax, word [eax + ecx*8]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x58]
movsx ecx, word [ecx + edx]
add ecx, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], ecx
jge 0x5bd06c
mov esi, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bd084
sub dword [esp + 0x10], 1
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax - 1]
jmp 0x5bd088
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bd0a0
mov ebx, edx
mov edx, dword [esp + 0x14]
add edx, 1
mov dword [esp + 0x10], edx
lea esi, [eax - 1]
cmp ecx, ebx
jge 0x5bd0b0
mov ebx, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
mov esi, eax
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
add eax, dword [esp + 0x54]
push edx
push ecx
lea edx, [eax + ecx*2]
push edx
lea edx, [ecx + eax + 1]
push edx
mov edx, dword [edi + 0x28]
lea ecx, [ecx + eax - 1]
push ecx
mov ecx, dword [esp + 0x48]
add eax, 2
push eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [eax + ecx*4 + 0x4bb0]
call edx
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
movsx edx, word [eax + edx]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
add ecx, 2
movsx ecx, word [eax + ecx*8]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
lea ecx, [edx + eax - 8]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x20]
lea ecx, [edx + ecx + 8]
movsx edx, word [ecx]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x90]
movsx ecx, word [ecx]
add ecx, dword [esp + 0x40]
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
lea ecx, [edx + eax + 8]
mov edx, dword [esp + 0x80]
movsx edx, word [edx]
mov dword [esp + 0x84], ecx
movsx ecx, word [ecx]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x18]
add ecx, 2
movsx ecx, word [edx + ecx*8]
mov edx, dword [esp + 0x30]
movsx eax, word [edx + eax]
add eax, dword [esp + 0x48]
lea edx, [eax + ecx]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], edx
jge 0x5bd1b1
mov esi, dword [esp + 0x18]
mov ebx, eax
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bd1c9
mov esi, dword [esp + 0x18]
mov ebx, eax
lea eax, [ecx - 1]
mov dword [esp + 0x10], eax
add esi, 1
mov eax, dword [esp + 0x44]
cmp eax, ebx
jge 0x5bd1e1
mov esi, dword [esp + 0x18]
mov ebx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
add esi, 1
cmp edx, ebx
jge 0x5bd1f2
mov esi, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0x10], ecx
add esi, 2
cmp ebx, dword [esp + 0xa4]
jne 0x5bd219
mov eax, dword [esp + 0x34]
mov ecx, dword [eax*4 + 0x5f3aa0]
mov edx, 0x1f4
sar edx, cl
cmp ebx, edx
jl case.default.0x5bca68
mov ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x70]
jne 0x5bda95
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0xa8]
sub eax, ecx
sub ecx, dword [esp + 0xa0]
or edx, 2
sar edx, 1
cmp eax, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 3
jl 0x5bd251
mov eax, ecx
cmp edx, eax
jg 0x5bd3df
mov eax, edx
add eax, 0xfffffffe
cmp eax, 3
jle 0x5bd3df
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
lea eax, [ecx - 3]
lea ecx, [edx + ecx*8 + 0x28]
lea edx, [edx + eax*8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x9c], edx
jmp 0x5bd290
mov eax, dword [edi + 0x38]
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, dword [esp + 0x54]
mov ecx, eax
sub ecx, dword [esp + 0x1c]
add eax, edx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [edi + 0x38]
push edx
lea edx, [ecx - 2]
push edx
lea edx, [eax + 2]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
call eax
mov ecx, dword [esp + 0x7c]
movsx edx, word [ecx - 0x10]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
movsx ecx, word [ecx + eax]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x3c], ecx
movsx ecx, word [edx]
mov edx, dword [esp + 0x58]
movsx edx, word [edx + eax]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
movsx edx, word [ecx + eax]
mov ecx, dword [esp + 0x60]
movsx ecx, word [ecx]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x44], ecx
movsx ecx, word [edx - 0x10]
mov edx, dword [esp + 0x58]
movsx eax, word [edx + eax]
add eax, dword [esp + 0x48]
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jge 0x5bd36c
mov ebx, eax
mov eax, dword [esp + 0x14]
add eax, 2
lea edx, [eax + ecx - 2]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov esi, eax
jmp 0x5bd370
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bd384
mov ebx, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
mov esi, eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bd39d
mov ebx, edx
mov edx, dword [esp + 0x14]
add edx, 2
add edx, ecx
mov dword [esp + 0x10], edx
mov esi, eax
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5bd3b4
mov ebx, edx
mov edx, dword [esp + 0x78]
add edx, 0xfffffffe
mov dword [esp + 0x10], edx
mov esi, eax
sub dword [esp + 0x78], 4
mov eax, 0x20
add dword [esp + 0x60], eax
sub dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
add ecx, 4
add eax, 0xfffffffe
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x5bd290
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jge 0x5bd528
mov eax, dword [esp + 0x14]
lea edx, [eax + ecx]
sub eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov dword [esp + 0x9c], eax
lea edx, [ecx + edx*8]
lea eax, [ecx + eax*8]
mov dword [esp + 0x64], edx
mov dword [esp + 0x7c], eax
jmp 0x5bd420
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x8c]
jg 0x5bd486
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x28]
mov ecx, dword [esp + 0x34]
push eax
imul eax, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x34]
push 0x10
push edx
mov edx, dword [eax + ecx*4 + 0x4b78]
call edx
mov ecx, dword [esp + 0x74]
movsx edx, word [ecx]
mov ecx, dword [esp + 0x68]
add eax, edx
mov edx, dword [esp + 0x30]
movsx ecx, word [ecx + edx]
add eax, ecx
add esp, 0x10
cmp eax, ebx
jge 0x5bd486
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa0]
jl 0x5bd4f5
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x2c]
push eax
imul eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x3c]
push 0x10
push ecx
mov ecx, dword [edx + eax*4 + 0x4b78]
call ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x68]
movsx edx, word [edx + ecx]
mov ecx, dword [esp + 0x8c]
add eax, edx
movsx edx, word [ecx]
add eax, edx
add esp, 0x10
cmp eax, ebx
jge 0x5bd4f5
mov esi, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov edx, 0x10
add dword [esp + 0x64], edx
sub dword [esp + 0x7c], edx
mov edx, dword [esp + 0x24]
mov ecx, 2
add dword [esp + 0x78], ecx
sub dword [esp + 0x9c], ecx
add eax, ecx
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x5bd420
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x98]
sub eax, ecx
sub ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], 3
cmp eax, ecx
jl 0x5bd54a
mov eax, ecx
cmp edx, eax
jg 0x5bd6f4
mov eax, dword [esp + 0x24]
add eax, 0xfffffffe
cmp eax, 3
jle 0x5bd6f4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea eax, [ecx - 3]
lea ecx, [edx + ecx*8 + 0x28]
lea edx, [edx + eax*8]
mov dword [esp + 0x60], 5
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x9c], edx
jmp 0x5bd590
mov ecx, dword [edi + 0x38]
mov edx, ecx
imul edx, dword [esp + 0x60]
mov dword [esp + 0x68], edx
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov edx, ecx
imul edx, dword [esp + 0x1c]
add eax, dword [esp + 0x54]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x3c]
push edx
push ecx
mov ecx, dword [esp + 0x70]
mov edx, eax
sub edx, ecx
push edx
add ecx, eax
push ecx
mov ecx, dword [esp + 0x74]
mov edx, eax
sub edx, ecx
add eax, ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
call eax
mov ecx, dword [esp + 0x94]
movsx edx, word [ecx - 0x10]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
movsx ecx, word [ecx + eax]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x3c], ecx
movsx ecx, word [edx]
mov edx, dword [esp + 0x30]
movsx edx, word [edx + eax]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x40], edx
movsx edx, word [ecx]
mov ecx, dword [esp + 0x30]
movsx ecx, word [ecx + eax]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x44], ecx
movsx ecx, word [edx - 0x10]
mov edx, dword [esp + 0x30]
movsx eax, word [edx + eax]
add eax, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], ecx
jge 0x5bd67f
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
add esi, edx
jmp 0x5bd683
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bd695
mov esi, dword [esp + 0x74]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bd6ad
mov esi, dword [esp + 0x60]
mov ebx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
add esi, edx
cmp ecx, ebx
jge 0x5bd6be
mov esi, dword [esp + 0x74]
mov ebx, ecx
mov dword [esp + 0x10], eax
add esi, 0xfffffffe
mov eax, dword [esp + 0x1c]
mov ecx, 0x20
add dword [esp + 0x78], ecx
sub dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x24]
mov edx, 4
add dword [esp + 0x60], edx
sub dword [esp + 0x74], edx
add eax, edx
add ecx, 0xfffffffe
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x5bd590
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jge 0x5bd829
mov eax, dword [esp + 0x18]
lea edx, [eax + ecx]
sub eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], eax
lea ecx, [ecx + edx*8]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x20]
lea eax, [ecx + eax*8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x74], edx
sub eax, 1
shr eax, 1
add eax, 1
mov dword [esp + 0x38], eax
lea ecx, [ecx]
cmp edx, dword [esp + 0x98]
jg 0x5bd79e
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x2c]
push eax
imul eax, dword [esp + 0x78]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x3c]
push 0x10
push ecx
mov ecx, dword [edx + eax*4 + 0x4b78]
call ecx
mov edx, dword [esp + 0x74]
movsx ecx, word [edx]
mov edx, dword [esp + 0x40]
add eax, ecx
mov ecx, dword [esp + 0x38]
movsx edx, word [edx + ecx]
add eax, edx
add esp, 0x10
cmp eax, ebx
jge 0x5bd79e
mov esi, dword [esp + 0x74]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x94]
jl 0x5bd801
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x28]
push eax
imul eax, ecx
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x34]
push 0x10
push edx
mov edx, dword [eax + ecx*4 + 0x4b78]
call edx
mov ecx, dword [esp + 0x8c]
movsx edx, word [ecx]
mov ecx, dword [esp + 0x40]
add eax, edx
mov edx, dword [esp + 0x38]
movsx ecx, word [ecx + edx]
add eax, ecx
add esp, 0x10
cmp eax, ebx
jge 0x5bd801
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x60]
mov ebx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x74]
sub dword [esp + 0x60], 2
mov eax, 0x10
add dword [esp + 0x64], eax
sub dword [esp + 0x7c], eax
add edx, 2
sub dword [esp + 0x38], 1
mov dword [esp + 0x74], edx
jne 0x5bd740
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x54]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x68], edx
lea edx, [ecx + ecx]
sub eax, edx
lea edx, [esp + 0x3c]
push edx
push ecx
mov ecx, dword [esp + 0x70]
lea edx, [ecx + 2]
push edx
mov edx, dword [edi + 0x28]
add ecx, 0xfffffffe
push ecx
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0x48]
add eax, 0xffffffff
push eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [eax + ecx*4 + 0x4bb0]
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x78]
movsx edx, word [eax + ecx*8]
mov ecx, dword [esp + 0xac]
movsx ecx, word [ecx]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
movsx ecx, word [eax + edx*8]
mov edx, dword [esp + 0x84]
movsx edx, word [edx]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x58]
lea eax, [ecx + eax - 8]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov dword [esp + 0x40], edx
movsx edx, word [eax]
mov eax, dword [esp + 0x6c]
movsx eax, word [ecx + eax*8]
add eax, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
movsx edx, word [edx]
add eax, 2
movsx eax, word [ecx + eax*8]
add eax, dword [esp + 0x48]
lea ecx, [eax + edx]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], ecx
jge 0x5bd913
mov esi, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x14]
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
jmp 0x5bd917
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bd92c
mov esi, dword [esp + 0x5c]
mov ebx, edx
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bd945
mov esi, dword [esp + 0x18]
mov ebx, edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], edx
add esi, 0xffffffff
cmp ecx, ebx
jge 0x5bd959
mov esi, dword [esp + 0x18]
add eax, 2
mov ebx, ecx
mov dword [esp + 0x10], eax
add esi, 0xffffffff
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
add eax, dword [esp + 0x54]
push edx
push ecx
lea edx, [eax + ecx*2 + 1]
push edx
lea edx, [eax + ecx*2 - 1]
push edx
lea edx, [ecx + eax + 2]
lea eax, [ecx + eax - 2]
mov ecx, dword [edi + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [edx + eax*4 + 0x4bb0]
call ecx
mov edx, dword [esp + 0x9c]
movsx eax, word [edx]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x88]
movsx edx, word [ecx + edx*8]
add edx, dword [esp + 0x58]
add esp, 0x1c
add edx, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], edx
movsx edx, word [eax]
mov eax, dword [esp + 0x14]
add eax, 2
movsx eax, word [ecx + eax*8]
add eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
movsx edx, word [ecx + eax*8 + 0x10]
mov ecx, dword [esp + 0x90]
movsx ecx, word [ecx]
add ecx, dword [esp + 0x44]
add eax, 2
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
movsx eax, word [edx + eax*8]
mov edx, dword [esp + 0x84]
movsx edx, word [edx]
add edx, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], edx
jge 0x5bda3a
mov ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5bda3e
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x40], ebx
jge 0x5bda56
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
add esi, 2
mov dword [esp + 0x10], esi
lea esi, [eax + 1]
cmp ecx, ebx
jge 0x5bda6a
mov ebx, ecx
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffff
mov dword [esp + 0x10], ecx
lea esi, [eax + 2]
cmp edx, ebx
jge 0x5bda80
mov ebx, edx
mov edx, dword [esp + 0x14]
add edx, 1
add eax, 2
mov dword [esp + 0x10], edx
mov esi, eax
cmp ebx, dword [esp + 0x70]
je case.default.0x5bca68
mov eax, dword [esp + 0x24]
add eax, 2
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x5bdc03
cmp eax, 1
mov dword [esp + 0x70], 1
jne 0x5bdaf6
cmp dword [esp + 0x34], 0
jne 0x5bdac1
mov dword [esp + 0x5c], 0x19
jmp 0x5bdb57
mov ecx, dword [esp + 0x88]
movsx edx, word [ecx + 2]
movsx eax, word [edi + 0x42]
sub eax, edx
cdq
mov ecx, eax
mov eax, dword [esp + 0x88]
xor ecx, edx
sub ecx, edx
movsx edx, word [eax]
movsx eax, word [edi + 0x40]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov dword [esp + 0x5c], ecx
jmp 0x5bdb57
add eax, 0xffffffff
cmp dword [esp + 0x34], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x5c], 0
je 0x5bdb44
mov eax, dword [esp + 0x88]
movsx ecx, word [eax + 2]
movsx eax, word [edi + 0x42]
sub eax, ecx
cdq
mov ecx, eax
movsx eax, word [edi + 0x40]
xor ecx, edx
sub ecx, edx
mov edx, dword [esp + 0x88]
movsx edx, word [edx]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
add ecx, eax
add dword [esp + 0x70], 1
mov dword [esp + 0x5c], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x88]
call fcn.005b6390
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax*4 + 0x5f3aa0]
mov edx, 0x3e8
sar edx, cl
cmp ebx, edx
jge 0x5bdb77
mov dword [esp + 0x64], 0
jmp 0x5bdba1
mov eax, 0x7d0
sar eax, cl
cmp ebx, eax
jge 0x5bdb8c
mov dword [esp + 0x64], 1
jmp 0x5bdba1
mov edx, 0xfa0
sar edx, cl
xor eax, eax
cmp ebx, edx
setge al
add eax, 2
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
lea edx, [eax + eax*4]
add edx, edx
cmp ecx, edx
jge 0x5bdbb6
xor eax, eax
jmp 0x5bdbdd
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
cmp ecx, edx
jge 0x5bdbc8
mov eax, 1
jmp 0x5bdbdd
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
xor edx, edx
cmp ecx, eax
setge dl
add edx, 2
mov eax, edx
mov ecx, dword [esp + 0x64]
lea edx, [ecx + eax*4]
mov eax, dword [edx*4 + 0x5f3ac0]
imul eax, dword [esp + 0xa8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8c]
sub eax, ecx
sub ecx, dword [esp + 0xa0]
cmp eax, ecx
jl 0x5bdc25
mov eax, ecx
cmp dword [esp + 0xa8], eax
jg 0x5bddb6
mov eax, dword [esp + 0xa8]
add eax, 0xfffffffe
cmp dword [esp + 0x24], eax
jge 0x5bddb6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, edx
sub eax, ecx
add edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], eax
lea edx, [ecx + edx*8 + 0x10]
lea eax, [ecx + eax*8]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
jmp 0x5bdc70
mov eax, dword [edi + 0x38]
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, dword [esp + 0x54]
mov ecx, eax
sub ecx, dword [esp + 0x1c]
add eax, edx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [edi + 0x38]
push edx
lea edx, [ecx - 2]
push edx
lea edx, [eax + 2]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
call eax
mov ecx, dword [esp + 0x8c]
movsx edx, word [ecx - 0x10]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
movsx ecx, word [eax + ecx*8]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x3c], ecx
movsx ecx, word [edx]
mov edx, dword [esp + 0x18]
movsx edx, word [eax + edx*8]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], edx
movsx edx, word [ecx]
mov ecx, dword [esp + 0x18]
movsx ecx, word [eax + ecx*8]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x44], ecx
movsx ecx, word [edx - 0x10]
mov edx, dword [esp + 0x18]
movsx eax, word [eax + edx*8]
add eax, dword [esp + 0x48]
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jge 0x5bdd44
mov edx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x10], edx
mov esi, eax
jmp 0x5bdd48
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bdd5c
mov ebx, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
mov esi, eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bdd74
mov ebx, edx
mov edx, dword [esp + 0x14]
lea edx, [edx + ecx + 2]
mov dword [esp + 0x10], edx
mov esi, eax
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5bdd8b
mov ebx, edx
mov edx, dword [esp + 0x78]
add edx, 0xfffffffe
mov dword [esp + 0x10], edx
mov esi, eax
sub dword [esp + 0x78], 4
mov eax, 0x20
add dword [esp + 0x70], eax
sub dword [esp + 0x74], eax
mov eax, dword [esp + 0xa8]
add ecx, 4
add eax, 0xfffffffe
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jl 0x5bdc70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jge 0x5bdef2
mov eax, dword [esp + 0x14]
lea edx, [eax + ecx]
sub eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
lea edx, [ecx + edx*8]
lea eax, [ecx + eax*8]
mov dword [esp + 0x64], edx
mov dword [esp + 0x7c], eax
lea esp, [esp]
mov ecx, dword [esp + 0x70]
cmp ecx, dword [esp + 0x8c]
jg 0x5bde56
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x28]
mov ecx, dword [esp + 0x34]
push eax
imul eax, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x20]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x34]
push 0x10
push edx
mov edx, dword [eax + ecx*4 + 0x4b78]
call edx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
movsx ecx, word [ecx + edx*8]
mov edx, dword [esp + 0x74]
add eax, ecx
movsx ecx, word [edx]
add eax, ecx
add esp, 0x10
cmp eax, ebx
jge 0x5bde56
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0xa0]
jl 0x5bdebf
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x2c]
push eax
imul eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x3c]
push 0x10
push ecx
mov ecx, dword [edx + eax*4 + 0x4b78]
call ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
movsx edx, word [edx + ecx*8]
mov ecx, dword [esp + 0x8c]
add eax, edx
movsx edx, word [ecx]
add eax, edx
add esp, 0x10
cmp eax, ebx
jge 0x5bdebf
mov esi, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov edx, 0x10
add dword [esp + 0x64], edx
sub dword [esp + 0x7c], edx
mov edx, dword [esp + 0xa8]
mov ecx, 2
add dword [esp + 0x70], ecx
sub dword [esp + 0x74], ecx
add eax, ecx
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x5bddf0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
sub eax, ecx
sub ecx, dword [esp + 0x94]
cmp eax, ecx
jge 0x5bdf14
mov ecx, eax
mov eax, edx
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
mov dword [esp + 0x7c], eax
jg 0x5be0b9
add eax, 0xfffffffe
cmp dword [esp + 0x24], eax
jge 0x5be0b9
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 2]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x18]
mov eax, edx
sub eax, ecx
add edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], eax
lea edx, [ecx + edx*8 + 0x10]
lea eax, [ecx + eax*8]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov ecx, dword [edi + 0x38]
mov edx, ecx
imul edx, dword [esp + 0x60]
mov dword [esp + 0x68], edx
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov edx, ecx
imul edx, dword [esp + 0x1c]
add eax, dword [esp + 0x54]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x3c]
push edx
push ecx
mov ecx, dword [esp + 0x70]
mov edx, eax
sub edx, ecx
push edx
add ecx, eax
push ecx
mov ecx, dword [esp + 0x74]
mov edx, eax
sub edx, ecx
add eax, ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
call eax
mov ecx, dword [esp + 0x8c]
movsx edx, word [ecx - 0x10]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
movsx ecx, word [eax + ecx*8]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x3c], ecx
movsx ecx, word [edx]
mov edx, dword [esp + 0x14]
movsx edx, word [eax + edx*8]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], edx
movsx edx, word [ecx]
mov ecx, dword [esp + 0x14]
movsx ecx, word [eax + ecx*8]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x44], ecx
movsx ecx, word [edx - 0x10]
mov edx, dword [esp + 0x14]
movsx eax, word [eax + edx*8]
add eax, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], ecx
jge 0x5be049
mov esi, dword [esp + 0x60]
mov ebx, eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
lea esi, [esi + edx - 2]
jmp 0x5be04b
mov eax, edx
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5be05d
mov esi, dword [esp + 0x78]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5be075
mov esi, dword [esp + 0x60]
mov ebx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
add esi, edx
cmp ecx, ebx
jge 0x5be086
mov esi, dword [esp + 0x78]
mov ebx, ecx
mov dword [esp + 0x10], eax
add esi, 0xfffffffe
mov eax, dword [esp + 0x1c]
mov ecx, 0x20
add dword [esp + 0x70], ecx
sub dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x7c]
mov edx, 4
add dword [esp + 0x60], edx
sub dword [esp + 0x78], edx
add eax, edx
add ecx, 0xfffffffe
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x5bdf60
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
cmp edx, eax
jge 0x5be1fa
mov ecx, dword [esp + 0x18]
sub eax, dword [esp + 0x1c]
add ecx, edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x18]
sub ecx, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
lea edx, [ecx + edx*8]
sub eax, 1
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x68]
shr eax, 1
lea ecx, [ecx + edx*8]
add eax, 1
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x38], eax
jmp 0x5be110
mov edx, dword [esp + 0x5c]
cmp edx, dword [esp + 0x98]
jg 0x5be170
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x2c]
push eax
imul eax, edx
add eax, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [edi + 0x28]
push 0x10
push eax
mov eax, dword [ecx + edx*4 + 0x4b78]
call eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
movsx ecx, word [ecx + edx*8]
mov edx, dword [esp + 0x74]
add eax, ecx
movsx ecx, word [edx]
add eax, ecx
add esp, 0x10
cmp eax, ebx
jge 0x5be170
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x5c]
mov ebx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x94]
jl 0x5be1d5
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x2c]
push eax
imul eax, dword [esp + 0x64]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x3c]
push 0x10
push ecx
mov ecx, dword [edx + eax*4 + 0x4b78]
call ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
movsx edx, word [edx + ecx*8]
mov ecx, dword [esp + 0x8c]
add eax, edx
movsx edx, word [ecx]
add eax, edx
add esp, 0x10
cmp eax, ebx
jge 0x5be1d5
mov esi, dword [esp + 0x60]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov ecx, 0x10
add dword [esp + 0x64], ecx
sub dword [esp + 0x7c], ecx
mov eax, 2
add dword [esp + 0x5c], eax
sub dword [esp + 0x60], eax
sub dword [esp + 0x38], 1
jne 0x5be110
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
add ecx, ecx
add eax, dword [esp + 0x54]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x38], edx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [edi + 0x38]
push edx
lea edx, [eax + ecx + 2]
push edx
mov edx, dword [esp + 0x44]
lea eax, [eax + ecx - 2]
mov ecx, dword [esp + 0x44]
add edx, 2
push edx
mov edx, dword [edi + 0x28]
push eax
mov eax, dword [esp + 0x40]
add ecx, 0xfffffffe
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [eax + ecx*4 + 0x4bb0]
call edx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
movsx edx, word [edx + eax*8 - 0x10]
add ecx, 0xfffffffe
mov dword [esp + 0x90], ecx
add eax, 0xfffffffe
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
movsx ecx, word [eax + ecx*8]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x18]
add ecx, 2
mov dword [esp + 0x70], ecx
movsx ecx, word [edx + ecx*8]
mov edx, dword [esp + 0x74]
movsx edx, word [eax + edx*8]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x14]
add ecx, 2
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
movsx edx, word [edx + ecx*8]
mov ecx, dword [esp + 0x60]
movsx ecx, word [eax + ecx*8]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x70]
movsx edx, word [edx + ecx*8]
mov ecx, dword [esp + 0x60]
movsx eax, word [eax + ecx*8]
add eax, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], edx
jge 0x5be30c
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x10], ecx
jmp 0x5be310
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5be326
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov ebx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x44]
cmp eax, ebx
jge 0x5be33c
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x10], ecx
cmp edx, ebx
jge 0x5be34e
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x70]
mov ebx, edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x8c]
sub eax, ecx
mov dword [esp + 0xf0], eax
mov eax, ecx
sub eax, dword [esp + 0xa0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x98]
sub eax, esi
mov dword [esp + 0xfc], eax
mov eax, esi
sub eax, dword [esp + 0x94]
mov dword [esp + 0x18], esi
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
cdq
and edx, 3
add eax, edx
lea edx, [esi + 3]
mov dword [esp + 0xd8], edx
sar eax, 2
lea edx, [esi + 4]
mov dword [esp + 0xf8], edx
mov dword [esp + 0xb8], eax
lea edx, [esi + 2]
mov dword [esp + 0xd4], edx
lea edx, [ecx + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x88], edx
lea edx, [esi - 1]
mov dword [esp + 0x80], edx
lea eax, [esi + 1]
mov dword [esp + 0x90], eax
lea eax, [ecx + 2]
add ecx, 0xfffffffe
lea edx, [esi - 3]
mov dword [esp + 0x64], edx
lea edx, [esi - 4]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xe0], ecx
lea ecx, [esi*8]
mov dword [esp + 0x58], ecx
lea ecx, [ecx + edx + 8]
mov edx, dword [esp + 0x10]
add edx, 0xfffffffc
mov dword [esp + 0xb0], edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xd0], eax
lea eax, [edx + eax*8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
lea edx, [esi + 3]
lea edx, [eax + edx*8]
mov dword [esp + 0xe4], edx
lea edx, [esi + 4]
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x28]
lea edx, [eax + edx*8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
lea edx, [esi + 2]
lea edx, [eax + edx*8]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x58]
lea edx, [edx + eax - 8]
mov dword [esp + 0x74], edx
lea edx, [esi - 3]
lea edx, [eax + edx*8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x7c], edx
lea ecx, [esi - 2]
lea edx, [esi - 4]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], 4
mov dword [esp + 0xc8], ecx
lea eax, [eax + edx*8]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x28]
lea edx, [eax + edx*8]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x20]
lea ecx, [edx + ecx*8]
mov edx, dword [esp + 0xb0]
lea eax, [eax + edx*8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x6c], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x9c]
cmp ecx, eax
jge 0x5be504
mov eax, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
jl 0x5be519
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jge 0x5be519
mov edx, ecx
mov eax, dword [esp + 0xf0]
cmp eax, edx
jl 0x5be546
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jge 0x5be531
mov edx, ecx
mov eax, dword [esp + 0x68]
cmp eax, edx
jl 0x5be546
mov eax, dword [esp + 0x9c]
cmp ecx, eax
jge 0x5be546
mov eax, ecx
cmp dword [esp + 0x24], eax
jle 0x5be633
mov edx, 0x5f3b04
mov dword [esp + 0xb0], edx
lea esp, [esp]
mov eax, dword [edx - 4]
imul eax, dword [esp + 0x1c]
mov ecx, dword [edx]
imul ecx, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
add ecx, dword [esp + 0x18]
cmp eax, dword [esp + 0xa0]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xc0], ecx
jl 0x5be618
cmp eax, dword [esp + 0x8c]
jg 0x5be618
cmp ecx, dword [esp + 0x94]
jl 0x5be618
cmp ecx, dword [esp + 0x98]
jg 0x5be618
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 0x2c]
push eax
imul eax, ecx
add eax, dword [esp + 0xec]
mov ecx, dword [edi + 0x28]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x3c]
push 0x10
push ecx
mov ecx, dword [edx + eax*4 + 0x4b78]
call ecx
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x30]
movsx edx, word [edx + ecx*8]
mov ecx, dword [esp + 0x38]
add eax, edx
mov edx, dword [esp + 0xf8]
movsx ecx, word [ecx + edx*8]
add eax, ecx
add esp, 0x10
cmp eax, ebx
jge 0x5be611
mov esi, dword [esp + 0xc0]
mov ebx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xb0]
add edx, 8
cmp edx, 0x5f3b84
mov dword [esp + 0xb0], edx
jl 0x5be560
jmp 0x5beb12
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
add eax, dword [esp + 0x54]
push edx
push ecx
add ecx, 4
imul ecx, dword [esp + 0x24]
mov edx, eax
sub edx, ecx
push edx
mov ecx, eax
sub ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0x38]
lea edx, [ecx - 4]
mov ecx, dword [esp + 0x2c]
imul edx, ecx
add edx, eax
push edx
mov edx, dword [edi + 0x38]
add edx, 0xfffffffe
imul edx, ecx
mov ecx, dword [edi + 0x28]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [edx + eax*4 + 0x4bb0]
call ecx
mov edx, dword [esp + 0x94]
movsx eax, word [edx]
mov ecx, dword [esp + 0x88]
movsx edx, word [ecx]
add edx, dword [esp + 0x58]
add esp, 0x1c
add eax, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
movsx edx, word [edx]
movsx ecx, word [ecx]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
movsx ecx, word [ecx + edx]
mov edx, dword [esp + 0x6c]
movsx edx, word [edx]
add edx, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x44], edx
movsx edx, word [ecx]
mov ecx, dword [esp + 0x6c]
movsx ecx, word [ecx]
add ecx, dword [esp + 0x48]
add ecx, edx
cmp eax, ebx
mov dword [esp + 0x48], ecx
jge 0x5be712
mov esi, dword [esp + 0xd4]
mov ebx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
jmp 0x5be716
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5be72b
mov esi, dword [esp + 0x90]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5be73d
mov esi, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5be74e
mov esi, dword [esp + 0x80]
mov ebx, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov edx, ecx
add eax, dword [esp + 0x54]
neg edx
mov dword [esp + 0xb0], edx
lea edx, [esp + 0x3c]
push edx
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0xb8]
push edx
lea edx, [ecx + 4]
mov ecx, dword [esp + 0x28]
imul edx, ecx
add edx, eax
push edx
mov edx, dword [esp + 0xc0]
add edx, 2
imul edx, ecx
lea edx, [eax + edx*2]
push edx
mov edx, dword [edi + 0x38]
add edx, 2
imul edx, ecx
mov ecx, dword [esp + 0x40]
add edx, edx
sub eax, edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
call eax
mov eax, dword [esp + 0x88]
movsx eax, word [eax]
mov ecx, dword [esp + 0xa0]
movsx edx, word [ecx]
add eax, dword [esp + 0x58]
add esp, 0x1c
add eax, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
movsx ecx, word [ecx]
movsx edx, word [edx]
add edx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
movsx edx, word [ecx]
mov ecx, dword [esp + 0x74]
movsx ecx, word [ecx]
add ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
movsx edx, word [edx + ecx]
mov ecx, dword [esp + 0x5c]
movsx ecx, word [ecx]
add ecx, dword [esp + 0x48]
add ecx, edx
cmp eax, ebx
mov dword [esp + 0x48], ecx
jge 0x5be840
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0xc8]
mov ebx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5be85e
mov esi, dword [esp + 0xc8]
mov ebx, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
jmp 0x5be865
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5be87a
mov esi, dword [esp + 0x80]
mov ebx, edx
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5be888
mov esi, dword [esp + 0x18]
mov ebx, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
add eax, dword [esp + 0x54]
push edx
push ecx
mov edx, ecx
mov ecx, dword [esp + 0x24]
imul edx, ecx
lea edx, [eax + edx*4]
push edx
mov edx, dword [edi + 0x38]
lea edx, [edx + edx*2 + 2]
imul edx, ecx
add edx, eax
push edx
mov edx, dword [edi + 0x38]
add edx, 2
imul edx, ecx
lea edx, [eax + edx*2]
push edx
mov edx, dword [edi + 0x38]
add edx, 4
imul edx, ecx
mov ecx, dword [esp + 0x40]
add edx, eax
mov eax, dword [edi + 0x28]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
call eax
mov edx, dword [esp + 0x8c]
movsx edx, word [edx]
add edx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
movsx ecx, word [eax]
add edx, ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x58], edx
movsx edx, word [ecx]
movsx eax, word [eax]
add eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x5c], eax
movsx edx, word [ecx]
mov eax, dword [esp + 0x100]
movsx ecx, word [eax]
add ecx, dword [esp + 0x60]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0xec]
mov dword [esp + 0x44], ecx
movsx eax, word [edx]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
movsx ecx, word [ecx + edx*8]
add ecx, dword [esp + 0x48]
add eax, ecx
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
mov dword [esp + 0x48], eax
jge 0x5be974
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x90]
mov ebx, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
jge 0x5be990
mov esi, dword [esp + 0xd4]
mov ebx, ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
jge 0x5be9ac
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0xd8]
mov ebx, ecx
mov dword [esp + 0x10], edx
cmp eax, ebx
jge 0x5be9c1
mov esi, dword [esp + 0xf8]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x38]
lea edx, [ecx + ecx*2]
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov dword [esp + 0xb0], edx
add eax, dword [esp + 0x54]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, 2
sub ecx, dword [esp + 0xb8]
imul ecx, edx
add ecx, eax
push ecx
mov ecx, dword [edi + 0x38]
imul ecx, edx
add ecx, ecx
add ecx, ecx
mov edx, eax
sub edx, ecx
mov ecx, dword [esp + 0xbc]
add ecx, 2
imul ecx, dword [esp + 0x28]
push edx
mov edx, eax
sub edx, ecx
mov ecx, dword [esp + 0xc0]
add ecx, 0xfffffffe
imul ecx, dword [esp + 0x2c]
push edx
mov edx, dword [edi + 0x28]
add ecx, eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [eax + ecx*4 + 0x4bb0]
call edx
mov edx, dword [esp + 0x100]
movsx edx, word [edx]
add edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
movsx ecx, word [eax]
add edx, ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x58], edx
movsx edx, word [ecx]
movsx eax, word [eax]
add eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x110]
add eax, edx
mov dword [esp + 0x5c], eax
movsx edx, word [ecx]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
movsx eax, word [eax + ecx*8]
add eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x60], eax
movsx edx, word [ecx]
mov ecx, dword [esp + 0x98]
movsx ecx, word [ecx]
add ecx, dword [esp + 0x64]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x3c]
cmp edx, ebx
mov dword [esp + 0x48], ecx
jge 0x5beacf
mov esi, dword [esp + 0xd8]
mov ebx, edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5beae8
mov esi, dword [esp + 0x64]
mov ebx, edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x10], edx
cmp eax, ebx
jge 0x5beafd
mov esi, dword [esp + 0xa4]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5beb12
mov esi, dword [esp + 0x64]
mov ebx, ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x1c]
mov edx, 1
sub dword [esp + 0x80], edx
add dword [esp + 0x90], edx
add eax, edx
mov ecx, 8
add dword [esp + 0x70], ecx
sub dword [esp + 0x74], ecx
mov edx, 4
add dword [esp + 0x24], edx
add dword [esp + 0x88], edx
add dword [esp + 0xf8], edx
sub dword [esp + 0x60], edx
sub dword [esp + 0xa4], edx
mov ecx, 0x20
add dword [esp + 0x5c], ecx
add dword [esp + 0xec], ecx
sub dword [esp + 0x6c], ecx
sub dword [esp + 0xf4], ecx
mov edx, 0x10
add dword [esp + 0x78], edx
add dword [esp + 0x30], edx
sub dword [esp + 0x84], edx
sub dword [esp + 0x38], edx
mov ecx, 2
add dword [esp + 0xd4], ecx
sub dword [esp + 0xc8], ecx
sub dword [esp + 0xe0], ecx
add dword [esp + 0xd0], ecx
mov edx, 0x18
add dword [esp + 0xe4], edx
sub dword [esp + 0x7c], edx
mov ecx, 3
add dword [esp + 0xd8], ecx
sub dword [esp + 0x64], ecx
cmp eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
jle 0x5be4f0
cmp esi, dword [esp + 0x98]
jg case.default.0x5bca68
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, esi
add eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
add eax, dword [esp + 0x54]
push edx
push ecx
lea edx, [eax + ecx*2 + 1]
push edx
mov edx, dword [edi + 0x28]
lea ecx, [eax + ecx*2 - 1]
push ecx
mov ecx, dword [esp + 0x44]
add eax, 0xfffffffe
push eax
mov eax, dword [esp + 0x40]
push edx
mov edx, dword [eax + ecx*4 + 0x4b94]
mov dword [esp + 0x48], 0xfffffffe
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
movsx edx, word [eax + ecx*8 - 0x10]
mov eax, dword [esp + 0x38]
movsx eax, word [eax + esi*8]
add eax, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], eax
lea eax, [edx + ecx*8 - 8]
mov edx, dword [esp + 0x38]
movsx edx, word [edx + esi*8 + 0x10]
mov dword [esp + 0x108], eax
movsx eax, word [eax]
add eax, dword [esp + 0x58]
add eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], eax
lea eax, [edx + ecx*8 + 8]
mov edx, dword [esp + 0x38]
movsx edx, word [edx + esi*8 + 0x10]
mov dword [esp + 0xd0], eax
movsx eax, word [eax]
add eax, dword [esp + 0x5c]
add eax, edx
mov edx, dword [edi + 0x38]
mov dword [esp + 0x5c], eax
mov eax, edx
imul eax, esi
add eax, ecx
add eax, dword [esp + 0x6c]
add edx, edx
mov ecx, eax
sub ecx, edx
lea edx, [esp + 0x60]
push edx
mov edx, dword [edi + 0x38]
push edx
lea edx, [ecx - 1]
push edx
mov edx, dword [esp + 0x58]
add ecx, 1
push ecx
mov ecx, dword [esp + 0x54]
add eax, 2
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4b94]
call eax
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
movsx ecx, word [ecx + edx*8 + 0x10]
mov eax, dword [esp + 0x50]
movsx edx, word [eax + esi*8]
add edx, dword [esp + 0x78]
add esp, 0x30
add edx, ecx
mov dword [esp + 0x48], edx
movsx ecx, word [eax + esi*8 - 0x10]
mov edx, dword [esp + 0xb8]
movsx edx, word [edx]
add edx, dword [esp + 0x4c]
add ecx, edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x4c], ecx
movsx edx, word [edx]
movsx eax, word [eax + esi*8 - 0x10]
add edx, dword [esp + 0x50]
add edx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x50], edx
jge 0x5bed3a
mov ebx, eax
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x5bed3e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bed51
mov eax, 1
mov ebx, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bed64
mov eax, 2
mov ebx, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5bed77
mov eax, 3
mov ebx, edx
mov dword [esp + 0x30], eax
cmp ecx, ebx
jge 0x5bed86
mov eax, 4
mov ebx, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jge 0x5bed9b
mov eax, 5
mov ebx, ecx
mov dword [esp + 0x30], eax
jmp 0x5beda4
cmp eax, 0xfffffffe
je 0x5befa5
add esi, dword [eax*8 + 0x5f3a2c]
mov ecx, dword [esp + 0x10]
add ecx, dword [eax*8 + 0x5f3a28]
mov eax, dword [esp + 0xa8]
cdq
sub eax, edx
sar eax, 1
cmp eax, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0xb8], eax
jle 0x5befa5
jmp 0x5bede4
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0xa0]
jl 0x5befa5
cmp ecx, dword [esp + 0x8c]
jg 0x5befa5
cmp esi, dword [esp + 0x94]
jl 0x5befa5
cmp esi, dword [esp + 0x98]
jg 0x5befa5
mov eax, dword [esp + 0x30]
mov ecx, dword [eax*4 + 0x5f3a04]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x38]
mov eax, ecx
lea edx, [esp + 0x3c]
imul eax, esi
add eax, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx*8 + 0x5f3a34]
add eax, dword [esp + 0x58]
imul edx, ecx
push ecx
mov ecx, dword [esp + 0x2c]
add edx, dword [ecx*8 + 0x5f3a30]
add edx, eax
push edx
mov edx, dword [ecx*8 + 0x5f3a2c]
imul edx, dword [edi + 0x38]
add edx, dword [ecx*8 + 0x5f3a28]
mov ecx, dword [ecx*8 + 0x5f3a24]
imul ecx, dword [edi + 0x38]
add edx, eax
push edx
mov edx, dword [esp + 0x34]
add ecx, dword [edx*8 + 0x5f3a20]
mov edx, dword [esp + 0x44]
add ecx, eax
mov eax, dword [edi + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [ecx + edx*4 + 0x4b94]
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax*8 + 0x5f3a24]
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5f3a20]
add edx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
movsx edx, word [eax + edx*8]
add edx, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [eax*8 + 0x5f3a2c]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5f3a28]
add edx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
movsx edx, word [eax + edx*8]
add edx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
add edx, ecx
mov ecx, dword [eax*8 + 0x5f3a34]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5f3a30]
add edx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
movsx edx, word [eax + edx*8]
add edx, dword [esp + 0x5c]
add esp, 0x18
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], 0xfffffffe
jge 0x5bef55
mov ebx, ecx
lea ecx, [edx - 1]
mov dword [esp + 0x30], ecx
jmp 0x5bef59
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x40], ebx
jge 0x5bef69
mov ebx, dword [esp + 0x40]
mov ecx, edx
mov dword [esp + 0x30], ecx
cmp eax, ebx
jge 0x5bef76
lea ecx, [edx + 1]
mov ebx, eax
mov dword [esp + 0x30], ecx
cmp ecx, 0xfffffffe
je 0x5befa5
mov eax, dword [ecx*8 + 0x5f3a28]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, dword [ecx*8 + 0x5f3a2c]
add eax, 1
cmp eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
jl 0x5bede0
mov ecx, dword [edi + 0x38]
mov edx, dword [esp + 0x10]
mov eax, ecx
imul eax, esi
add eax, edx
add eax, dword [esp + 0x54]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x3c]
push edx
push ecx
lea edx, [eax + 1]
push edx
lea edx, [eax - 1]
push edx
lea edx, [ecx + eax]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [ecx + edx*4 + 0x4bb0]
mov dword [esp + 0x34], esi
call eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x4c], ecx
lea eax, [esi*8]
movsx edx, word [eax + edx - 8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
movsx ecx, word [ecx + eax]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x20]
movsx edx, word [edx + ecx + 8]
mov ecx, dword [esp + 0x30]
movsx ecx, word [ecx + eax]
add ecx, dword [esp + 0x40]
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
movsx ecx, word [edx + eax - 8]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
movsx edx, word [edx + eax]
add edx, dword [esp + 0x44]
add edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x28]
movsx ecx, word [ecx + edx + 8]
mov edx, dword [esp + 0x58]
movsx eax, word [edx + eax]
add eax, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], ecx
jge 0x5bf08a
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bf09d
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5bf0a1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bf0b2
sub dword [esp + 0x10], 1
mov ebx, edx
mov esi, eax
cmp ecx, ebx
jge 0x5bf0c5
mov ebx, ecx
mov ecx, dword [esp + 0x14]
add ecx, 1
mov dword [esp + 0x10], ecx
mov esi, eax
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x54]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x68], edx
lea edx, [esp + 0x3c]
push edx
push ecx
lea edx, [ecx + eax + 1]
push edx
mov edx, dword [esp + 0x74]
lea eax, [ecx + eax - 1]
mov ecx, dword [esp + 0x74]
add edx, 1
push edx
mov edx, dword [edi + 0x28]
push eax
mov eax, dword [esp + 0x40]
add ecx, 0xffffffff
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [eax + ecx*4 + 0x4bb0]
call edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x44]
lea eax, [eax + ecx - 8]
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + edx - 8]
movsx edx, word [eax]
mov dword [esp + 0xac], ecx
movsx ecx, word [ecx]
add ecx, dword [esp + 0x58]
add esp, 0x1c
add ecx, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x20]
lea ecx, [edx + ecx + 8]
movsx edx, word [ecx]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x90]
movsx ecx, word [ecx]
add ecx, dword [esp + 0x40]
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
lea ecx, [edx + ecx + 8]
movsx edx, word [eax]
movsx eax, word [ecx]
add eax, dword [esp + 0x44]
add edx, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x44], edx
movsx ecx, word [ecx]
movsx eax, word [eax]
add ecx, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x48], ecx
jge 0x5bf1c1
mov ebx, eax
mov eax, dword [esp + 0x14]
lea esi, [eax - 1]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
add esi, 0xffffffff
jmp 0x5bf1c5
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x40], ebx
jge 0x5bf1dd
mov ebx, dword [esp + 0x40]
lea esi, [eax - 1]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
add esi, 1
cmp edx, ebx
jge 0x5bf1f1
mov esi, dword [esp + 0x18]
add eax, 1
mov ebx, edx
mov dword [esp + 0x10], eax
add esi, 0xffffffff
cmp ecx, ebx
jge case.default.0x5bca68
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add edx, 1
mov ebx, ecx
mov dword [esp + 0x10], edx
add esi, 1
jmp case.default.0x5bca68
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
sub eax, ecx
cmp eax, edx
mov dword [esp + 0x18], eax
jg 0x5bf232
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x94]
mov eax, esi
sub eax, ecx
cmp eax, edx
mov dword [esp + 0x80], eax
jg 0x5bf24f
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
add eax, ecx
cmp eax, edx
jl 0x5bf262
mov eax, edx
mov edx, dword [esp + 0x98]
add ecx, esi
cmp ecx, edx
mov dword [esp + 0x90], ecx
jl 0x5bf27d
mov dword [esp + 0x90], edx
sub eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x38]
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x84], eax
mov edx, dword [edi + 0x34]
xor eax, eax
cmp dword [esp + 0x34], 3
mov dword [esp + 0x7c], edx
setg al
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x4a20]
mov ecx, dword [ecx + 0x3cb0]
mov dword [esp + 0x94], edx
sub eax, 1
and eax, 0xfffffffd
add eax, 6
mov dword [esp + 0xb8], eax
mov eax, dword [eax*8 + 0x5f3538]
mov dword [esp + 0x98], eax
movsx eax, word [edi + 0x40]
neg eax
mov edx, eax
and edx, 3
lea ecx, [edx + ecx*4]
mov edx, dword [ecx*4 + 0x64c540]
sar eax, 2
lea eax, [edx + eax*2]
lea ecx, [esp + 0x110]
push ecx
mov ecx, dword [esp + 0x9c]
mov edx, ecx
shl edx, 4
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 0x28]
add edx, eax
add edx, ecx
push 0x10
push edx
mov edx, ecx
shl edx, 4
add edx, eax
push edx
mov edx, dword [esp + 0x3c]
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [edx + eax*4 + 0x4c2c]
push 0x631000
call ecx
add esp, 0x1c
cmp dword [esp + 0x98], 4
jne 0x5bf373
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x18f4]
mov ecx, dword [eax + 0x48]
mov edx, dword [esp + 0x7c]
add ecx, 0x40
imul ecx, dword [esp + 0x8c]
lea eax, [edx + ecx*2]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5bf385
cmp eax, 2
je 0x5bf385
cmp eax, 5
jne 0x5bf39b
mov ecx, dword [esp + 0x98]
imul ecx, dword [esp + 0x8c]
mov dword [esp + 0x98], ecx
cmp eax, 2
je 0x5bf3a5
cmp eax, 5
jne 0x5bf3b3
mov edx, dword [esp + 0x118]
mov dword [esp + 0x114], edx
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x1f04], 4
jne 0x5bfa81
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x94]
add ecx, 0xf
and ecx, 0xfffffff0
lea eax, [edx + ecx*2]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa8]
cmp eax, 0x10
mov dword [esp + 0x58], 0
jg 0x5bf400
mov dword [esp + 0x6c], 0xa
jmp 0x5bf40f
xor ecx, ecx
cmp eax, 0x18
setg cl
add ecx, 0xb
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x8c]
mov edx, dword [edi + 0x28]
mov ecx, dword [esp + 0x34]
push eax
imul eax, esi
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x34]
push 0x10
push edx
mov edx, dword [eax + ecx*4 + 0x4ac0]
call edx
mov ecx, dword [esp + 0x30]
movsx edx, word [ecx + esi*8]
mov ecx, dword [esp + 0x38]
add eax, edx
mov edx, dword [esp + 0x20]
movsx ecx, word [ecx + edx*8]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
add esp, 0x10
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
jg 0x5bf827
mov eax, dword [esp + 0x8c]
imul eax, dword [esp + 0x80]
mov edx, dword [esp + 0x54]
lea ecx, [eax + edx]
mov edx, dword [esp + 0x18]
add edx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x64], ecx
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x20]
movsx ecx, word [edx + eax*8]
cmp dword [esp + 0x14], ecx
mov dword [esp + 0x5c], ecx
jle 0x5bf7fb
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x5c]
mov eax, ecx
shl eax, 4
add eax, ecx
cdq
and edx, 0xf
add eax, edx
mov edx, dword [esp + 0xa0]
sar eax, 4
push eax
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x9c]
push ecx
lea ecx, [edx + eax*2]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x44]
push ecx
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [edx + eax*4 + 0x4c80]
call ecx
mov dword [esp + 0x9c], eax
add eax, 0xfffffffe
add esp, 0x1c
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x5bf708
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x94]
add edx, 4
mov dword [esp + 0x24], edx
lea ecx, [eax - 1]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
add edx, 1
mov dword [esp + 0x68], edx
lea edx, [edx + edx*2]
mov dword [esp + 0x1c], edx
mov edi, edi
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x104]
push eax
mov eax, dword [esp + 0x28]
movsx edx, word [eax]
push ecx
mov ecx, dword [esp + 0xc0]
add edx, ecx
push edx
movsx edx, word [eax - 2]
movsx eax, word [eax - 4]
add edx, ecx
add eax, ecx
mov ecx, dword [edi + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [edx + eax*4 + 0x4c10]
call ecx
mov edx, dword [esp + 0x3c]
movsx eax, word [edx - 4]
mov edx, dword [esp + 0x2c]
imul edx, dword [esp + 0x84]
mov ecx, dword [esp + 0xb8]
movzx eax, word [ecx + eax*2]
add eax, dword [esp + 0x11c]
sar edx, 3
add esp, 0x18
cmp eax, edx
jge 0x5bf628
cmp eax, dword [esp + 0x14]
jge 0x5bf5ee
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x5c]
lea edx, [eax + ecx]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x88]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x24]
movzx edx, word [edx - 4]
add dx, word [esp + 0x18]
add eax, 1
mov word [ecx + eax*8 - 4], dx
movzx edx, word [esp + 0x30]
mov word [ecx + eax*8 - 2], dx
mov dword [esp + 0x58], eax
jmp 0x5bf62c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
movsx edx, word [ecx - 2]
mov ecx, dword [esp + 0xa0]
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 0x14]
imul edx, dword [esp + 0x6c]
add ecx, dword [esp + 0x108]
sar edx, 3
cmp ecx, edx
jge 0x5bf693
cmp ecx, dword [esp + 0x14]
jge 0x5bf660
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x5c]
add edx, ecx
mov ecx, dword [esp + 0x88]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x24]
movzx edx, word [edx - 2]
add dx, word [esp + 0x18]
add eax, 1
mov word [ecx + eax*8 - 4], dx
movzx edx, word [esp + 0x30]
mov word [ecx + eax*8 - 2], dx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x24]
movsx edx, word [ecx]
mov ecx, dword [esp + 0xa0]
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 0x14]
imul edx, dword [esp + 0x6c]
add ecx, dword [esp + 0x10c]
sar edx, 3
cmp ecx, edx
jge 0x5bf6f8
cmp ecx, dword [esp + 0x14]
jge 0x5bf6c6
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x5c]
add edx, ecx
mov ecx, dword [esp + 0x88]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x24]
movzx edx, word [edx]
add dx, word [esp + 0x18]
add eax, 1
mov word [ecx + eax*8 - 4], dx
movzx edx, word [esp + 0x30]
mov word [ecx + eax*8 - 2], dx
mov dword [esp + 0x58], eax
add dword [esp + 0x24], 6
sub dword [esp + 0x68], 1
jne 0x5bf570
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x1c], eax
jge 0x5bf7ef
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x58]
lea eax, [ecx + edx*8 + 6]
mov dword [esp + 0x68], eax
lea esp, [esp]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x1c]
movsx eax, word [ecx + edx*2]
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x64]
mov dword [esp + 0xb8], eax
push ecx
mov ecx, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [edi + 0x28]
push 0x10
push eax
mov eax, dword [ecx + edx*4 + 0x4ac0]
call eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa4]
movsx ecx, word [ecx + edx*2]
mov edx, dword [esp + 0xb0]
movzx ecx, word [edx + ecx*2]
mov edx, dword [esp + 0x24]
imul edx, dword [esp + 0x7c]
add eax, ecx
sar edx, 3
add esp, 0x10
cmp eax, edx
jge 0x5bf7d7
cmp eax, dword [esp + 0x14]
jge 0x5bf7a9
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x5c]
add dword [esp + 0x58], 1
lea edx, [eax + ecx]
mov eax, dword [esp + 0x68]
mov cx, word [esp + 0xb8]
mov dword [eax - 6], edx
mov dx, word [esp + 0x30]
mov word [eax - 2], cx
mov word [eax], dx
add eax, 8
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
jl 0x5bf730
mov eax, dword [esp + 0x5c]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x8c]
add ecx, ecx
add dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x8c]
add dword [esp + 0x64], ecx
add eax, 1
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
jle 0x5bf4a0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x58]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
lea eax, [edx + edx]
cmp ecx, eax
mov dword [esp + 0x90], edx
jle 0x5bf8dc
mov edx, dword [esp + 0x6c]
add edx, 8
imul edx, dword [esp + 0x14]
sar edx, 4
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
jle 0x5bf887
jmp 0x5bf875
mov edx, dword [esp + 0x14]
cmp dword [ecx + eax*8], edx
jg 0x5bf883
add eax, 1
cmp eax, dword [esp + 0x58]
jl 0x5bf871
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jge 0x5bf8cf
mov edx, eax
mov eax, dword [ecx + edx*8]
cmp eax, dword [esp + 0x14]
jg 0x5bf8be
mov edx, eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x24]
mov edx, dword [ecx + edx*8 + 4]
mov dword [ecx + eax*8 + 4], edx
mov edx, dword [esp + 0x24]
add eax, 1
mov dword [esp + 0x1c], eax
jmp 0x5bf8c2
mov eax, dword [esp + 0x1c]
add edx, 1
cmp edx, dword [esp + 0x58]
mov dword [esp + 0x24], edx
jl 0x5bf893
mov edx, dword [esp + 0x90]
mov dword [esp + 0x58], eax
jmp 0x5bf8e3
mov ecx, dword [esp + 0x88]
cmp dword [esp + 0x58], edx
jle 0x5bf9c8
xor eax, eax
cmp dword [esp + 0x90], eax
mov dword [esp + 0x1c], eax
jle 0x5bf9bd
mov edx, dword [ecx + eax*8]
mov dword [esp + 0x80], eax
add eax, 1
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x68], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
jge 0x5bf9ac
mov eax, dword [ecx + eax*8]
cmp eax, dword [esp + 0x68]
jge 0x5bf93d
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
jmp 0x5bf941
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jl 0x5bf923
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x80], eax
jle 0x5bf9a8
mov edx, dword [ecx + eax*8]
mov dword [esp + 0xb8], edx
mov edx, dword [ecx + eax*8 + 4]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x80]
mov edx, dword [ecx + edx*8]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x80]
mov edx, dword [ecx + edx*8 + 4]
mov dword [ecx + eax*8 + 4], edx
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x80]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0xbc]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
jl 0x5bf900
mov eax, dword [esp + 0x90]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jle case.default.0x5bca68
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x58]
add ecx, 6
mov dword [esp + 0x38], ecx
mov dword [esp + 0xa4], edx
lea esp, [esp]
mov ecx, dword [esp + 0x38]
movsx edx, word [ecx]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x84], edx
movsx edx, word [ecx - 2]
mov dword [esp + 0x68], edx
movsx edx, word [ecx]
imul edx, eax
add edx, dword [esp + 0x54]
push eax
movsx eax, word [ecx - 2]
mov ecx, dword [edi + 0x28]
add eax, edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x3c]
push 0x10
push ecx
mov ecx, dword [edx + eax*4 + 0x4b78]
call ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
movsx edx, word [edx + ecx*8]
mov ecx, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x94]
movsx ecx, word [ecx + edx*8]
add eax, ecx
add esp, 0x10
cmp eax, ebx
jge 0x5bfa69
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x84]
mov ebx, eax
mov dword [esp + 0x10], edx
add dword [esp + 0x38], 8
sub dword [esp + 0xa4], 1
jne 0x5bf9f0
jmp case.default.0x5bca68
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
jg case.default.0x5bca68
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x20]
lea edx, [eax + ecx*8]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x64], edx
lea edx, [eax + eax]
imul eax, ecx
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb8], edx
lea edx, [ecx + eax*2]
mov dword [esp + 0x38], edx
mov edi, edi
mov eax, dword [esp + 0x64]
movsx eax, word [eax]
cmp ebx, eax
mov dword [esp + 0xa4], eax
jle 0x5bfd27
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x94]
sub ebx, eax
mov eax, dword [esp + 0xa0]
push ebx
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x128]
push edx
mov edx, dword [eax + ecx*4 + 0x4c80]
call edx
mov dword [esp + 0x9c], eax
add eax, 0xfffffffe
add esp, 0x1c
test eax, eax
mov dword [esp + 0x1c], 0
jle 0x5bfc72
mov ecx, dword [esp + 0x94]
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
add ecx, 4
shr edx, 1
add edx, 1
lea eax, [edx + edx*2]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x38]
mov eax, ecx
imul eax, dword [esp + 0x30]
lea edx, [esp + 0x3c]
push edx
push ecx
mov ecx, dword [esp + 0x74]
movsx edx, word [ecx]
add edx, dword [esp + 0x20]
add edx, eax
add edx, dword [esp + 0x5c]
push edx
movsx edx, word [ecx - 2]
add edx, dword [esp + 0x24]
add edx, eax
add edx, dword [esp + 0x60]
push edx
movsx edx, word [ecx - 4]
add edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
add edx, eax
add edx, dword [esp + 0x64]
mov eax, dword [edi + 0x28]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [ecx + edx*4 + 0x4b94]
call eax
mov eax, dword [esp + 0x84]
movsx ecx, word [eax - 4]
add ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
movsx ecx, word [edx + ecx*8]
add dword [esp + 0x54], ecx
movsx edx, word [eax - 2]
add edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
movsx ecx, word [ecx + edx*8]
mov edx, dword [esp + 0x58]
add edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], edx
movsx eax, word [eax]
add eax, dword [esp + 0x30]
add esp, 0x18
movsx eax, word [ecx + eax*8]
add dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov ecx, dword [esp + 0x6c]
jge 0x5bfc31
mov esi, dword [esp + 0x30]
mov ebx, eax
movsx eax, word [ecx - 4]
add eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
cmp edx, ebx
jge 0x5bfc47
movsx eax, word [ecx - 2]
add eax, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
mov ebx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x44], ebx
jge 0x5bfc60
movsx eax, word [ecx]
add eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x10], eax
add ecx, 6
sub dword [esp + 0x68], 1
mov dword [esp + 0x6c], ecx
jne 0x5bfb73
mov ecx, dword [esp + 0x80]
add ebx, dword [esp + 0xa4]
cmp dword [esp + 0x1c], ecx
jge 0x5bfd27
lea ebx, [ebx]
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
movsx edx, word [edx + ecx*2]
mov ecx, dword [esp + 0x18]
push eax
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x98]
movsx edx, word [edx + ecx*2]
mov ecx, dword [esp + 0x30]
add edx, eax
add edx, dword [esp + 0x58]
mov eax, dword [edi + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push 0x10
push eax
mov eax, dword [ecx + edx*4 + 0x4b78]
call eax
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
movsx ecx, word [ecx + edx*8]
mov edx, dword [esp + 0x74]
add eax, ecx
movsx ecx, word [edx]
add eax, ecx
add esp, 0x10
cmp eax, ebx
jge 0x5bfd0f
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
jl 0x5bfc90
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xb8]
add dword [esp + 0x38], ecx
add dword [esp + 0x64], 8
add eax, 1
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
jle 0x5bfad0
mov eax, dword [esp + 0xcc]
cmp eax, ebx
jge 0x5bfd73
mov dx, word [esp + 0xc4]
mov cx, word [esp + 0xdc]
mov word [edi + 0x4c], dx
mov dword [edi + 0x48], eax
jmp 0x5bfd8c
mov edx, dword [esp + 0x10]
lea eax, [edx*4]
mov word [edi + 0x4c], ax
lea ecx, [esi*4]
mov dword [edi + 0x48], ebx
movsx edx, word [edi + 0x4c]
mov eax, dword [esp + 0x28]
mov word [edi + 0x4e], cx
movsx edx, word [eax + edx*2]
mov eax, dword [esp + 0x20]
movsx ecx, cx
movsx eax, word [eax + ecx*2]
add eax, edx
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0xb4]
mov dword [edi + 0x44], eax
jne 0x5bfdd4
cmp esi, dword [esp + 0xac]
jne 0x5bfdd4
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x1f08], 3
jge 0x5bfdd8
add dword [edi + 0x48], eax
jmp 0x5bfdd8
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x1f08], 2
jl 0x5bfe27
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x1f08]
mov edx, dword [esp + 0x100]
push 0
shl eax, 4
push edx
mov edx, dword [eax + 0x5f396c]
mov eax, dword [eax + 0x5f3968]
push edx
mov esi, edi
push eax
mov edi, ecx
call fcn.005b63e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004f2a78
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edx + 0x1f40]
jle 0x5bfe3a
mov cx, word [edx + 0x1f40]
mov word [edi + 0x4e], cx
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f2a78
mov esp, ebp
pop ebp
ret