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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x224
mov eax, dword [0x629560]
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 + 0x5f3510]
mov eax, dword [eax*8 + 0x5f3514]
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 0x5bc3ac
mov edx, eax
jmp 0x5bc3b2
cmp edx, esi
jle 0x5bc3b2
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 0x5bc3d8
cmp ebx, eax
mov esi, eax
jg 0x5bc3d8
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 0x5bc647
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 0x5bc4a2
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 0x5bc5d7
mov eax, dword [esp + 0x88]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5bc5c7
mov edx, dword [esp + 0x68]
sub edx, eax
je 0x5bc5c7
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 0x5bc4ef
mov dword [esp + 0x5c], edx
jmp 0x5bc506
mov edx, dword [esp + 0x8c]
add edx, edx
add edx, edx
cmp eax, edx
mov dword [esp + 0x5c], edx
jg 0x5bc506
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 0x5bc52b
mov esi, dword [esp + 0x98]
add esi, esi
add esi, esi
cmp eax, esi
jg 0x5bc52b
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 0x5bc5c7
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 0x5bc4b1
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 0x5bc7d4
mov ebx, eax
jmp 0x5bc7d4
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 0x5bc6c3
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 0x5bc7d4
jmp 0x5bc6f0
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 0x5bc7c0
sub ecx, dword [esp + 0x10]
sub eax, esi
or eax, ecx
je 0x5bc7c0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jl 0x5bc746
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
jle 0x5bc74a
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jl 0x5bc764
mov ecx, dword [esp + 0x98]
cmp eax, ecx
jle 0x5bc768
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 0x5bc7c0
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 0x5bc6f0
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 0x5bc815
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.0x5bc828
jmp dword [eax*4 + 0x5bfc10]
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 0x5bc8fb
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bc90e
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5bc912
mov eax, dword [esp + 0x18]
cmp ecx, ebx
jge 0x5bc91f
sub dword [esp + 0x10], 1
mov ebx, ecx
mov esi, eax
cmp edx, ebx
jge 0x5bc932
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.0x5bc828
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0xa0]
jl case.default.0x5bc828
cmp eax, dword [esp + 0x8c]
jg case.default.0x5bc828
cmp esi, dword [esp + 0x94]
jl case.default.0x5bc828
cmp esi, dword [esp + 0x98]
jg case.default.0x5bc828
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
jl 0x5bc837
jmp case.default.0x5bc828
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 0x5bcaa9
mov ebx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
lea esi, [ecx - 1]
jmp 0x5bcab0
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bcac1
mov ebx, edx
mov dword [esp + 0x10], eax
lea esi, [ecx + 1]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bcad4
mov ebx, edx
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
mov esi, ecx
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5bcae7
mov ebx, edx
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov esi, ecx
or ecx, eax
je 0x5bcbc7
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 0x5bcb90
mov ebx, eax
mov dword [esp + 0x10], 0
or esi, 0xffffffff
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bcba7
mov ebx, eax
mov dword [esp + 0x10], 0
mov esi, 1
cmp ecx, ebx
jge 0x5bcbb7
mov ebx, ecx
mov dword [esp + 0x10], 0xffffffff
xor esi, esi
cmp edx, ebx
jge 0x5bcbc7
mov ebx, edx
mov dword [esp + 0x10], 1
xor esi, esi
cmp dword [esp + 0x34], 6
je case.0x5bc828.1
mov eax, dword [esp + 0x10]
mov ecx, esi
or ecx, eax
mov dword [esp + 0x70], ebx
je 0x5bccfd
sub eax, dword [esp + 0xb4]
mov edx, esi
sub edx, dword [esp + 0xac]
or edx, eax
je 0x5bccfd
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 0x5bccc0
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bccd3
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5bccd7
mov eax, dword [esp + 0x18]
cmp ecx, ebx
jge 0x5bcce4
sub dword [esp + 0x10], 1
mov ebx, ecx
mov esi, eax
cmp edx, ebx
jge 0x5bccf7
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 0x5bcd05
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 0x5bd855
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx*4 + 0x5f3a78]
mov eax, 0x7d0
sar eax, cl
cmp ebx, eax
jge 0x5bd855
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 0x5bce2c
mov esi, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bce44
sub dword [esp + 0x10], 1
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax - 1]
jmp 0x5bce48
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bce60
mov ebx, edx
mov edx, dword [esp + 0x14]
add edx, 1
mov dword [esp + 0x10], edx
lea esi, [eax - 1]
cmp ecx, ebx
jge 0x5bce70
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 0x5bcf71
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 0x5bcf89
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 0x5bcfa1
mov esi, dword [esp + 0x18]
mov ebx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
add esi, 1
cmp edx, ebx
jge 0x5bcfb2
mov esi, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0x10], ecx
add esi, 2
cmp ebx, dword [esp + 0xa4]
jne 0x5bcfd9
mov eax, dword [esp + 0x34]
mov ecx, dword [eax*4 + 0x5f3a78]
mov edx, 0x1f4
sar edx, cl
cmp ebx, edx
jl case.default.0x5bc828
mov ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x70]
jne 0x5bd855
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 0x5bd011
mov eax, ecx
cmp edx, eax
jg 0x5bd19f
mov eax, edx
add eax, 0xfffffffe
cmp eax, 3
jle 0x5bd19f
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 0x5bd050
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 0x5bd12c
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 0x5bd130
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bd144
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 0x5bd15d
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 0x5bd174
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 0x5bd050
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jge 0x5bd2e8
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 0x5bd1e0
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x8c]
jg 0x5bd246
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 0x5bd246
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 0x5bd2b5
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 0x5bd2b5
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 0x5bd1e0
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 0x5bd30a
mov eax, ecx
cmp edx, eax
jg 0x5bd4b4
mov eax, dword [esp + 0x24]
add eax, 0xfffffffe
cmp eax, 3
jle 0x5bd4b4
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 0x5bd350
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 0x5bd43f
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 0x5bd443
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bd455
mov esi, dword [esp + 0x74]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bd46d
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 0x5bd47e
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 0x5bd350
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jge 0x5bd5e9
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 0x5bd55e
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 0x5bd55e
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 0x5bd5c1
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 0x5bd5c1
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 0x5bd500
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 0x5bd6d3
mov esi, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x14]
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
jmp 0x5bd6d7
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bd6ec
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 0x5bd705
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 0x5bd719
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 0x5bd7fa
mov ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5bd7fe
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x40], ebx
jge 0x5bd816
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 0x5bd82a
mov ebx, ecx
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffff
mov dword [esp + 0x10], ecx
lea esi, [eax + 2]
cmp edx, ebx
jge 0x5bd840
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.0x5bc828
mov eax, dword [esp + 0x24]
add eax, 2
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x5bd9c3
cmp eax, 1
mov dword [esp + 0x70], 1
jne 0x5bd8b6
cmp dword [esp + 0x34], 0
jne 0x5bd881
mov dword [esp + 0x5c], 0x19
jmp 0x5bd917
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 0x5bd917
add eax, 0xffffffff
cmp dword [esp + 0x34], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x5c], 0
je 0x5bd904
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.005b6150
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax*4 + 0x5f3a78]
mov edx, 0x3e8
sar edx, cl
cmp ebx, edx
jge 0x5bd937
mov dword [esp + 0x64], 0
jmp 0x5bd961
mov eax, 0x7d0
sar eax, cl
cmp ebx, eax
jge 0x5bd94c
mov dword [esp + 0x64], 1
jmp 0x5bd961
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 0x5bd976
xor eax, eax
jmp 0x5bd99d
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
cmp ecx, edx
jge 0x5bd988
mov eax, 1
jmp 0x5bd99d
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 + 0x5f3a98]
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 0x5bd9e5
mov eax, ecx
cmp dword [esp + 0xa8], eax
jg 0x5bdb76
mov eax, dword [esp + 0xa8]
add eax, 0xfffffffe
cmp dword [esp + 0x24], eax
jge 0x5bdb76
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 0x5bda30
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 0x5bdb04
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 0x5bdb08
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bdb1c
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 0x5bdb34
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 0x5bdb4b
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 0x5bda30
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jge 0x5bdcb2
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 0x5bdc16
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 0x5bdc16
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 0x5bdc7f
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 0x5bdc7f
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 0x5bdbb0
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 0x5bdcd4
mov ecx, eax
mov eax, edx
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
mov dword [esp + 0x7c], eax
jg 0x5bde79
add eax, 0xfffffffe
cmp dword [esp + 0x24], eax
jge 0x5bde79
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 0x5bde09
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 0x5bde0b
mov eax, edx
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5bde1d
mov esi, dword [esp + 0x78]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bde35
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 0x5bde46
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 0x5bdd20
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
cmp edx, eax
jge 0x5bdfba
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 0x5bded0
mov edx, dword [esp + 0x5c]
cmp edx, dword [esp + 0x98]
jg 0x5bdf30
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 0x5bdf30
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 0x5bdf95
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 0x5bdf95
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 0x5bded0
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 0x5be0cc
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x10], ecx
jmp 0x5be0d0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5be0e6
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 0x5be0fc
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x10], ecx
cmp edx, ebx
jge 0x5be10e
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 0x5be2c4
mov eax, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
jl 0x5be2d9
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jge 0x5be2d9
mov edx, ecx
mov eax, dword [esp + 0xf0]
cmp eax, edx
jl 0x5be306
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jge 0x5be2f1
mov edx, ecx
mov eax, dword [esp + 0x68]
cmp eax, edx
jl 0x5be306
mov eax, dword [esp + 0x9c]
cmp ecx, eax
jge 0x5be306
mov eax, ecx
cmp dword [esp + 0x24], eax
jle 0x5be3f3
mov edx, 0x5f3adc
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 0x5be3d8
cmp eax, dword [esp + 0x8c]
jg 0x5be3d8
cmp ecx, dword [esp + 0x94]
jl 0x5be3d8
cmp ecx, dword [esp + 0x98]
jg 0x5be3d8
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 0x5be3d1
mov esi, dword [esp + 0xc0]
mov ebx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xb0]
add edx, 8
cmp edx, 0x5f3b5c
mov dword [esp + 0xb0], edx
jl 0x5be320
jmp 0x5be8d2
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 0x5be4d2
mov esi, dword [esp + 0xd4]
mov ebx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
jmp 0x5be4d6
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5be4eb
mov esi, dword [esp + 0x90]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5be4fd
mov esi, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5be50e
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 0x5be600
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 0x5be61e
mov esi, dword [esp + 0xc8]
mov ebx, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
jmp 0x5be625
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5be63a
mov esi, dword [esp + 0x80]
mov ebx, edx
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5be648
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 0x5be734
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 0x5be750
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 0x5be76c
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0xd8]
mov ebx, ecx
mov dword [esp + 0x10], edx
cmp eax, ebx
jge 0x5be781
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 0x5be88f
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 0x5be8a8
mov esi, dword [esp + 0x64]
mov ebx, edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x10], edx
cmp eax, ebx
jge 0x5be8bd
mov esi, dword [esp + 0xa4]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5be8d2
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 0x5be2b0
cmp esi, dword [esp + 0x98]
jg case.default.0x5bc828
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 0x5beafa
mov ebx, eax
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x5beafe
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5beb11
mov eax, 1
mov ebx, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5beb24
mov eax, 2
mov ebx, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5beb37
mov eax, 3
mov ebx, edx
mov dword [esp + 0x30], eax
cmp ecx, ebx
jge 0x5beb46
mov eax, 4
mov ebx, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jge 0x5beb5b
mov eax, 5
mov ebx, ecx
mov dword [esp + 0x30], eax
jmp 0x5beb64
cmp eax, 0xfffffffe
je 0x5bed65
add esi, dword [eax*8 + 0x5f3a04]
mov ecx, dword [esp + 0x10]
add ecx, dword [eax*8 + 0x5f3a00]
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 0x5bed65
jmp 0x5beba4
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0xa0]
jl 0x5bed65
cmp ecx, dword [esp + 0x8c]
jg 0x5bed65
cmp esi, dword [esp + 0x94]
jl 0x5bed65
cmp esi, dword [esp + 0x98]
jg 0x5bed65
mov eax, dword [esp + 0x30]
mov ecx, dword [eax*4 + 0x5f39dc]
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 + 0x5f3a0c]
add eax, dword [esp + 0x58]
imul edx, ecx
push ecx
mov ecx, dword [esp + 0x2c]
add edx, dword [ecx*8 + 0x5f3a08]
add edx, eax
push edx
mov edx, dword [ecx*8 + 0x5f3a04]
imul edx, dword [edi + 0x38]
add edx, dword [ecx*8 + 0x5f3a00]
mov ecx, dword [ecx*8 + 0x5f39fc]
imul ecx, dword [edi + 0x38]
add edx, eax
push edx
mov edx, dword [esp + 0x34]
add ecx, dword [edx*8 + 0x5f39f8]
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 + 0x5f39fc]
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5f39f8]
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 + 0x5f3a04]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5f3a00]
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 + 0x5f3a0c]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5f3a08]
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 0x5bed15
mov ebx, ecx
lea ecx, [edx - 1]
mov dword [esp + 0x30], ecx
jmp 0x5bed19
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x40], ebx
jge 0x5bed29
mov ebx, dword [esp + 0x40]
mov ecx, edx
mov dword [esp + 0x30], ecx
cmp eax, ebx
jge 0x5bed36
lea ecx, [edx + 1]
mov ebx, eax
mov dword [esp + 0x30], ecx
cmp ecx, 0xfffffffe
je 0x5bed65
mov eax, dword [ecx*8 + 0x5f3a00]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, dword [ecx*8 + 0x5f3a04]
add eax, 1
cmp eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
jl 0x5beba0
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 0x5bee4a
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5bee5d
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5bee61
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5bee72
sub dword [esp + 0x10], 1
mov ebx, edx
mov esi, eax
cmp ecx, ebx
jge 0x5bee85
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 0x5bef81
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 0x5bef85
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x40], ebx
jge 0x5bef9d
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 0x5befb1
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.0x5bc828
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.0x5bc828
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 0x5beff2
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 0x5bf00f
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
add eax, ecx
cmp eax, edx
jl 0x5bf022
mov eax, edx
mov edx, dword [esp + 0x98]
add ecx, esi
cmp ecx, edx
mov dword [esp + 0x90], ecx
jl 0x5bf03d
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 + 0x5f3510]
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 + 0x64d520]
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 0x632100
call ecx
add esp, 0x1c
cmp dword [esp + 0x98], 4
jne 0x5bf133
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 0x5bf145
cmp eax, 2
je 0x5bf145
cmp eax, 5
jne 0x5bf15b
mov ecx, dword [esp + 0x98]
imul ecx, dword [esp + 0x8c]
mov dword [esp + 0x98], ecx
cmp eax, 2
je 0x5bf165
cmp eax, 5
jne 0x5bf173
mov edx, dword [esp + 0x118]
mov dword [esp + 0x114], edx
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x1f04], 4
jne 0x5bf841
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 0x5bf1c0
mov dword [esp + 0x6c], 0xa
jmp 0x5bf1cf
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 0x5bf5e7
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 0x5bf5bb
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 0x5bf4c8
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 0x5bf3e8
cmp eax, dword [esp + 0x14]
jge 0x5bf3ae
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 0x5bf3ec
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 0x5bf453
cmp ecx, dword [esp + 0x14]
jge 0x5bf420
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 0x5bf4b8
cmp ecx, dword [esp + 0x14]
jge 0x5bf486
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 0x5bf330
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x1c], eax
jge 0x5bf5af
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 0x5bf597
cmp eax, dword [esp + 0x14]
jge 0x5bf569
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 0x5bf4f0
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 0x5bf260
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 0x5bf69c
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 0x5bf647
jmp 0x5bf635
mov edx, dword [esp + 0x14]
cmp dword [ecx + eax*8], edx
jg 0x5bf643
add eax, 1
cmp eax, dword [esp + 0x58]
jl 0x5bf631
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jge 0x5bf68f
mov edx, eax
mov eax, dword [ecx + edx*8]
cmp eax, dword [esp + 0x14]
jg 0x5bf67e
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 0x5bf682
mov eax, dword [esp + 0x1c]
add edx, 1
cmp edx, dword [esp + 0x58]
mov dword [esp + 0x24], edx
jl 0x5bf653
mov edx, dword [esp + 0x90]
mov dword [esp + 0x58], eax
jmp 0x5bf6a3
mov ecx, dword [esp + 0x88]
cmp dword [esp + 0x58], edx
jle 0x5bf788
xor eax, eax
cmp dword [esp + 0x90], eax
mov dword [esp + 0x1c], eax
jle 0x5bf77d
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 0x5bf76c
mov eax, dword [ecx + eax*8]
cmp eax, dword [esp + 0x68]
jge 0x5bf6fd
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
jmp 0x5bf701
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jl 0x5bf6e3
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x80], eax
jle 0x5bf768
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 0x5bf6c0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jle case.default.0x5bc828
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 0x5bf829
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 0x5bf7b0
jmp case.default.0x5bc828
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
jg case.default.0x5bc828
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 0x5bfae7
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 0x5bfa32
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 0x5bf9f1
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 0x5bfa07
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 0x5bfa20
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 0x5bf933
mov ecx, dword [esp + 0x80]
add ebx, dword [esp + 0xa4]
cmp dword [esp + 0x1c], ecx
jge 0x5bfae7
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 0x5bfacf
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 0x5bfa50
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 0x5bf890
mov eax, dword [esp + 0xcc]
cmp eax, ebx
jge 0x5bfb33
mov dx, word [esp + 0xc4]
mov cx, word [esp + 0xdc]
mov word [edi + 0x4c], dx
mov dword [edi + 0x48], eax
jmp 0x5bfb4c
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 0x5bfb94
cmp esi, dword [esp + 0xac]
jne 0x5bfb94
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x1f08], 3
jge 0x5bfb98
add dword [edi + 0x48], eax
jmp 0x5bfb98
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x1f08], 2
jl 0x5bfbe7
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 + 0x5f3944]
mov eax, dword [eax + 0x5f3940]
push edx
mov esi, edi
push eax
mov edi, ecx
call fcn.005b61a0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004f2719
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edx + 0x1f40]
jle 0x5bfbfa
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.004f2719
mov esp, ebp
pop ebp
ret