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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x224
mov eax, dword [0x617560]
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 + 0x5e34d8]
mov eax, dword [eax*8 + 0x5e34dc]
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 0x5ad1dc
mov edx, eax
jmp 0x5ad1e2
cmp edx, esi
jle 0x5ad1e2
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 0x5ad208
cmp ebx, eax
mov esi, eax
jg 0x5ad208
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 0x5ad477
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 0x5ad2d2
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 0x5ad407
mov eax, dword [esp + 0x88]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5ad3f7
mov edx, dword [esp + 0x68]
sub edx, eax
je 0x5ad3f7
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 0x5ad31f
mov dword [esp + 0x5c], edx
jmp 0x5ad336
mov edx, dword [esp + 0x8c]
add edx, edx
add edx, edx
cmp eax, edx
mov dword [esp + 0x5c], edx
jg 0x5ad336
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 0x5ad35b
mov esi, dword [esp + 0x98]
add esi, esi
add esi, esi
cmp eax, esi
jg 0x5ad35b
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 0x5ad3f7
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 0x5ad2e1
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 0x5ad604
mov ebx, eax
jmp 0x5ad604
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 0x5ad4f3
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 0x5ad604
jmp 0x5ad520
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 0x5ad5f0
sub ecx, dword [esp + 0x10]
sub eax, esi
or eax, ecx
je 0x5ad5f0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jl 0x5ad576
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
jle 0x5ad57a
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jl 0x5ad594
mov ecx, dword [esp + 0x98]
cmp eax, ecx
jle 0x5ad598
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 0x5ad5f0
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 0x5ad520
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 0x5ad645
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.0x5ad658
jmp dword [eax*4 + 0x5b0a40]
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 0x5ad72b
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5ad73e
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5ad742
mov eax, dword [esp + 0x18]
cmp ecx, ebx
jge 0x5ad74f
sub dword [esp + 0x10], 1
mov ebx, ecx
mov esi, eax
cmp edx, ebx
jge 0x5ad762
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.0x5ad658
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0xa0]
jl case.default.0x5ad658
cmp eax, dword [esp + 0x8c]
jg case.default.0x5ad658
cmp esi, dword [esp + 0x94]
jl case.default.0x5ad658
cmp esi, dword [esp + 0x98]
jg case.default.0x5ad658
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
jl 0x5ad667
jmp case.default.0x5ad658
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 0x5ad8d9
mov ebx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
lea esi, [ecx - 1]
jmp 0x5ad8e0
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5ad8f1
mov ebx, edx
mov dword [esp + 0x10], eax
lea esi, [ecx + 1]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5ad904
mov ebx, edx
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
mov esi, ecx
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5ad917
mov ebx, edx
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov esi, ecx
or ecx, eax
je 0x5ad9f7
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 0x5ad9c0
mov ebx, eax
mov dword [esp + 0x10], 0
or esi, 0xffffffff
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5ad9d7
mov ebx, eax
mov dword [esp + 0x10], 0
mov esi, 1
cmp ecx, ebx
jge 0x5ad9e7
mov ebx, ecx
mov dword [esp + 0x10], 0xffffffff
xor esi, esi
cmp edx, ebx
jge 0x5ad9f7
mov ebx, edx
mov dword [esp + 0x10], 1
xor esi, esi
cmp dword [esp + 0x34], 6
je case.0x5ad658.1
mov eax, dword [esp + 0x10]
mov ecx, esi
or ecx, eax
mov dword [esp + 0x70], ebx
je 0x5adb2d
sub eax, dword [esp + 0xb4]
mov edx, esi
sub edx, dword [esp + 0xac]
or edx, eax
je 0x5adb2d
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 0x5adaf0
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5adb03
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5adb07
mov eax, dword [esp + 0x18]
cmp ecx, ebx
jge 0x5adb14
sub dword [esp + 0x10], 1
mov ebx, ecx
mov esi, eax
cmp edx, ebx
jge 0x5adb27
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 0x5adb35
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 0x5ae685
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx*4 + 0x5e3a40]
mov eax, 0x7d0
sar eax, cl
cmp ebx, eax
jge 0x5ae685
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 0x5adc5c
mov esi, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5adc74
sub dword [esp + 0x10], 1
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax - 1]
jmp 0x5adc78
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5adc90
mov ebx, edx
mov edx, dword [esp + 0x14]
add edx, 1
mov dword [esp + 0x10], edx
lea esi, [eax - 1]
cmp ecx, ebx
jge 0x5adca0
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 0x5adda1
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 0x5addb9
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 0x5addd1
mov esi, dword [esp + 0x18]
mov ebx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
add esi, 1
cmp edx, ebx
jge 0x5adde2
mov esi, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0x10], ecx
add esi, 2
cmp ebx, dword [esp + 0xa4]
jne 0x5ade09
mov eax, dword [esp + 0x34]
mov ecx, dword [eax*4 + 0x5e3a40]
mov edx, 0x1f4
sar edx, cl
cmp ebx, edx
jl case.default.0x5ad658
mov ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x70]
jne 0x5ae685
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 0x5ade41
mov eax, ecx
cmp edx, eax
jg 0x5adfcf
mov eax, edx
add eax, 0xfffffffe
cmp eax, 3
jle 0x5adfcf
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 0x5ade80
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 0x5adf5c
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 0x5adf60
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5adf74
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 0x5adf8d
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 0x5adfa4
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 0x5ade80
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jge 0x5ae118
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 0x5ae010
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x8c]
jg 0x5ae076
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 0x5ae076
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 0x5ae0e5
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 0x5ae0e5
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 0x5ae010
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 0x5ae13a
mov eax, ecx
cmp edx, eax
jg 0x5ae2e4
mov eax, dword [esp + 0x24]
add eax, 0xfffffffe
cmp eax, 3
jle 0x5ae2e4
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 0x5ae180
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 0x5ae26f
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 0x5ae273
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5ae285
mov esi, dword [esp + 0x74]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5ae29d
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 0x5ae2ae
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 0x5ae180
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jge 0x5ae419
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 0x5ae38e
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 0x5ae38e
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 0x5ae3f1
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 0x5ae3f1
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 0x5ae330
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 0x5ae503
mov esi, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x14]
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
jmp 0x5ae507
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5ae51c
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 0x5ae535
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 0x5ae549
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 0x5ae62a
mov ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5ae62e
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x40], ebx
jge 0x5ae646
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 0x5ae65a
mov ebx, ecx
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffff
mov dword [esp + 0x10], ecx
lea esi, [eax + 2]
cmp edx, ebx
jge 0x5ae670
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.0x5ad658
mov eax, dword [esp + 0x24]
add eax, 2
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x5ae7f3
cmp eax, 1
mov dword [esp + 0x70], 1
jne 0x5ae6e6
cmp dword [esp + 0x34], 0
jne 0x5ae6b1
mov dword [esp + 0x5c], 0x19
jmp 0x5ae747
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 0x5ae747
add eax, 0xffffffff
cmp dword [esp + 0x34], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x5c], 0
je 0x5ae734
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.005a6f80
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax*4 + 0x5e3a40]
mov edx, 0x3e8
sar edx, cl
cmp ebx, edx
jge 0x5ae767
mov dword [esp + 0x64], 0
jmp 0x5ae791
mov eax, 0x7d0
sar eax, cl
cmp ebx, eax
jge 0x5ae77c
mov dword [esp + 0x64], 1
jmp 0x5ae791
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 0x5ae7a6
xor eax, eax
jmp 0x5ae7cd
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
cmp ecx, edx
jge 0x5ae7b8
mov eax, 1
jmp 0x5ae7cd
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 + 0x5e3a60]
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 0x5ae815
mov eax, ecx
cmp dword [esp + 0xa8], eax
jg 0x5ae9a6
mov eax, dword [esp + 0xa8]
add eax, 0xfffffffe
cmp dword [esp + 0x24], eax
jge 0x5ae9a6
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 0x5ae860
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 0x5ae934
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 0x5ae938
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5ae94c
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 0x5ae964
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 0x5ae97b
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 0x5ae860
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jge 0x5aeae2
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 0x5aea46
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 0x5aea46
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 0x5aeaaf
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 0x5aeaaf
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 0x5ae9e0
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 0x5aeb04
mov ecx, eax
mov eax, edx
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
mov dword [esp + 0x7c], eax
jg 0x5aeca9
add eax, 0xfffffffe
cmp dword [esp + 0x24], eax
jge 0x5aeca9
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 0x5aec39
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 0x5aec3b
mov eax, edx
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5aec4d
mov esi, dword [esp + 0x78]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5aec65
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 0x5aec76
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 0x5aeb50
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
cmp edx, eax
jge 0x5aedea
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 0x5aed00
mov edx, dword [esp + 0x5c]
cmp edx, dword [esp + 0x98]
jg 0x5aed60
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 0x5aed60
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 0x5aedc5
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 0x5aedc5
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 0x5aed00
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 0x5aeefc
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x10], ecx
jmp 0x5aef00
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5aef16
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 0x5aef2c
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x10], ecx
cmp edx, ebx
jge 0x5aef3e
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 0x5af0f4
mov eax, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
jl 0x5af109
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jge 0x5af109
mov edx, ecx
mov eax, dword [esp + 0xf0]
cmp eax, edx
jl 0x5af136
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jge 0x5af121
mov edx, ecx
mov eax, dword [esp + 0x68]
cmp eax, edx
jl 0x5af136
mov eax, dword [esp + 0x9c]
cmp ecx, eax
jge 0x5af136
mov eax, ecx
cmp dword [esp + 0x24], eax
jle 0x5af223
mov edx, 0x5e3aa4
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 0x5af208
cmp eax, dword [esp + 0x8c]
jg 0x5af208
cmp ecx, dword [esp + 0x94]
jl 0x5af208
cmp ecx, dword [esp + 0x98]
jg 0x5af208
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 0x5af201
mov esi, dword [esp + 0xc0]
mov ebx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xb0]
add edx, 8
cmp edx, 0x5e3b24
mov dword [esp + 0xb0], edx
jl 0x5af150
jmp 0x5af702
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 0x5af302
mov esi, dword [esp + 0xd4]
mov ebx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
jmp 0x5af306
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5af31b
mov esi, dword [esp + 0x90]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5af32d
mov esi, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5af33e
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 0x5af430
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 0x5af44e
mov esi, dword [esp + 0xc8]
mov ebx, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
jmp 0x5af455
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5af46a
mov esi, dword [esp + 0x80]
mov ebx, edx
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5af478
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 0x5af564
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 0x5af580
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 0x5af59c
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0xd8]
mov ebx, ecx
mov dword [esp + 0x10], edx
cmp eax, ebx
jge 0x5af5b1
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 0x5af6bf
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 0x5af6d8
mov esi, dword [esp + 0x64]
mov ebx, edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x10], edx
cmp eax, ebx
jge 0x5af6ed
mov esi, dword [esp + 0xa4]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5af702
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 0x5af0e0
cmp esi, dword [esp + 0x98]
jg case.default.0x5ad658
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 0x5af92a
mov ebx, eax
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x5af92e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5af941
mov eax, 1
mov ebx, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5af954
mov eax, 2
mov ebx, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5af967
mov eax, 3
mov ebx, edx
mov dword [esp + 0x30], eax
cmp ecx, ebx
jge 0x5af976
mov eax, 4
mov ebx, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jge 0x5af98b
mov eax, 5
mov ebx, ecx
mov dword [esp + 0x30], eax
jmp 0x5af994
cmp eax, 0xfffffffe
je 0x5afb95
add esi, dword [eax*8 + 0x5e39cc]
mov ecx, dword [esp + 0x10]
add ecx, dword [eax*8 + 0x5e39c8]
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 0x5afb95
jmp 0x5af9d4
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0xa0]
jl 0x5afb95
cmp ecx, dword [esp + 0x8c]
jg 0x5afb95
cmp esi, dword [esp + 0x94]
jl 0x5afb95
cmp esi, dword [esp + 0x98]
jg 0x5afb95
mov eax, dword [esp + 0x30]
mov ecx, dword [eax*4 + 0x5e39a4]
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 + 0x5e39d4]
add eax, dword [esp + 0x58]
imul edx, ecx
push ecx
mov ecx, dword [esp + 0x2c]
add edx, dword [ecx*8 + 0x5e39d0]
add edx, eax
push edx
mov edx, dword [ecx*8 + 0x5e39cc]
imul edx, dword [edi + 0x38]
add edx, dword [ecx*8 + 0x5e39c8]
mov ecx, dword [ecx*8 + 0x5e39c4]
imul ecx, dword [edi + 0x38]
add edx, eax
push edx
mov edx, dword [esp + 0x34]
add ecx, dword [edx*8 + 0x5e39c0]
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 + 0x5e39c4]
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5e39c0]
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 + 0x5e39cc]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5e39c8]
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 + 0x5e39d4]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5e39d0]
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 0x5afb45
mov ebx, ecx
lea ecx, [edx - 1]
mov dword [esp + 0x30], ecx
jmp 0x5afb49
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x40], ebx
jge 0x5afb59
mov ebx, dword [esp + 0x40]
mov ecx, edx
mov dword [esp + 0x30], ecx
cmp eax, ebx
jge 0x5afb66
lea ecx, [edx + 1]
mov ebx, eax
mov dword [esp + 0x30], ecx
cmp ecx, 0xfffffffe
je 0x5afb95
mov eax, dword [ecx*8 + 0x5e39c8]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, dword [ecx*8 + 0x5e39cc]
add eax, 1
cmp eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
jl 0x5af9d0
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 0x5afc7a
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5afc8d
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5afc91
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5afca2
sub dword [esp + 0x10], 1
mov ebx, edx
mov esi, eax
cmp ecx, ebx
jge 0x5afcb5
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 0x5afdb1
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 0x5afdb5
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x40], ebx
jge 0x5afdcd
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 0x5afde1
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.0x5ad658
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.0x5ad658
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 0x5afe22
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 0x5afe3f
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
add eax, ecx
cmp eax, edx
jl 0x5afe52
mov eax, edx
mov edx, dword [esp + 0x98]
add ecx, esi
cmp ecx, edx
mov dword [esp + 0x90], ecx
jl 0x5afe6d
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 + 0x5e34d8]
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 + 0x63b500]
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 0x620100
call ecx
add esp, 0x1c
cmp dword [esp + 0x98], 4
jne 0x5aff63
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 0x5aff75
cmp eax, 2
je 0x5aff75
cmp eax, 5
jne 0x5aff8b
mov ecx, dword [esp + 0x98]
imul ecx, dword [esp + 0x8c]
mov dword [esp + 0x98], ecx
cmp eax, 2
je 0x5aff95
cmp eax, 5
jne 0x5affa3
mov edx, dword [esp + 0x118]
mov dword [esp + 0x114], edx
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x1f04], 4
jne 0x5b0671
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 0x5afff0
mov dword [esp + 0x6c], 0xa
jmp 0x5affff
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 0x5b0417
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 0x5b03eb
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 0x5b02f8
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 0x5b0218
cmp eax, dword [esp + 0x14]
jge 0x5b01de
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 0x5b021c
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 0x5b0283
cmp ecx, dword [esp + 0x14]
jge 0x5b0250
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 0x5b02e8
cmp ecx, dword [esp + 0x14]
jge 0x5b02b6
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 0x5b0160
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x1c], eax
jge 0x5b03df
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 0x5b03c7
cmp eax, dword [esp + 0x14]
jge 0x5b0399
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 0x5b0320
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 0x5b0090
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 0x5b04cc
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 0x5b0477
jmp 0x5b0465
mov edx, dword [esp + 0x14]
cmp dword [ecx + eax*8], edx
jg 0x5b0473
add eax, 1
cmp eax, dword [esp + 0x58]
jl 0x5b0461
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jge 0x5b04bf
mov edx, eax
mov eax, dword [ecx + edx*8]
cmp eax, dword [esp + 0x14]
jg 0x5b04ae
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 0x5b04b2
mov eax, dword [esp + 0x1c]
add edx, 1
cmp edx, dword [esp + 0x58]
mov dword [esp + 0x24], edx
jl 0x5b0483
mov edx, dword [esp + 0x90]
mov dword [esp + 0x58], eax
jmp 0x5b04d3
mov ecx, dword [esp + 0x88]
cmp dword [esp + 0x58], edx
jle 0x5b05b8
xor eax, eax
cmp dword [esp + 0x90], eax
mov dword [esp + 0x1c], eax
jle 0x5b05ad
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 0x5b059c
mov eax, dword [ecx + eax*8]
cmp eax, dword [esp + 0x68]
jge 0x5b052d
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
jmp 0x5b0531
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jl 0x5b0513
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x80], eax
jle 0x5b0598
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 0x5b04f0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jle case.default.0x5ad658
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 0x5b0659
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 0x5b05e0
jmp case.default.0x5ad658
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
jg case.default.0x5ad658
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 0x5b0917
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 0x5b0862
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 0x5b0821
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 0x5b0837
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 0x5b0850
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 0x5b0763
mov ecx, dword [esp + 0x80]
add ebx, dword [esp + 0xa4]
cmp dword [esp + 0x1c], ecx
jge 0x5b0917
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 0x5b08ff
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 0x5b0880
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 0x5b06c0
mov eax, dword [esp + 0xcc]
cmp eax, ebx
jge 0x5b0963
mov dx, word [esp + 0xc4]
mov cx, word [esp + 0xdc]
mov word [edi + 0x4c], dx
mov dword [edi + 0x48], eax
jmp 0x5b097c
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 0x5b09c4
cmp esi, dword [esp + 0xac]
jne 0x5b09c4
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x1f08], 3
jge 0x5b09c8
add dword [edi + 0x48], eax
jmp 0x5b09c8
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x1f08], 2
jl 0x5b0a17
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 + 0x5e390c]
mov eax, dword [eax + 0x5e3908]
push edx
mov esi, edi
push eax
mov edi, ecx
call fcn.005a6fd0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004e3543
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edx + 0x1f40]
jle 0x5b0a2a
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.004e3543
mov esp, ebp
pop ebp
ret