Function at 0x5ad960
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 + 0x5e34f0]
mov eax, dword [eax*8 + 0x5e34f4]
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 0x5ada5c
mov edx, eax
jmp 0x5ada62
cmp edx, esi
jle 0x5ada62
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 0x5ada88
cmp ebx, eax
mov esi, eax
jg 0x5ada88
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 0x5adcf7
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 0x5adb52
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 0x5adc87
mov eax, dword [esp + 0x88]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5adc77
mov edx, dword [esp + 0x68]
sub edx, eax
je 0x5adc77
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 0x5adb9f
mov dword [esp + 0x5c], edx
jmp 0x5adbb6
mov edx, dword [esp + 0x8c]
add edx, edx
add edx, edx
cmp eax, edx
mov dword [esp + 0x5c], edx
jg 0x5adbb6
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 0x5adbdb
mov esi, dword [esp + 0x98]
add esi, esi
add esi, esi
cmp eax, esi
jg 0x5adbdb
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 0x5adc77
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 0x5adb61
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 0x5ade84
mov ebx, eax
jmp 0x5ade84
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 0x5add73
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 0x5ade84
jmp 0x5adda0
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 0x5ade70
sub ecx, dword [esp + 0x10]
sub eax, esi
or eax, ecx
je 0x5ade70
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jl 0x5addf6
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
jle 0x5addfa
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
cmp eax, ecx
jl 0x5ade14
mov ecx, dword [esp + 0x98]
cmp eax, ecx
jle 0x5ade18
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 0x5ade70
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 0x5adda0
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 0x5adec5
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.0x5aded8
jmp dword [eax*4 + 0x5b12c0]
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 0x5adfab
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5adfbe
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5adfc2
mov eax, dword [esp + 0x18]
cmp ecx, ebx
jge 0x5adfcf
sub dword [esp + 0x10], 1
mov ebx, ecx
mov esi, eax
cmp edx, ebx
jge 0x5adfe2
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.0x5aded8
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0xa0]
jl case.default.0x5aded8
cmp eax, dword [esp + 0x8c]
jg case.default.0x5aded8
cmp esi, dword [esp + 0x94]
jl case.default.0x5aded8
cmp esi, dword [esp + 0x98]
jg case.default.0x5aded8
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
jl 0x5adee7
jmp case.default.0x5aded8
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 0x5ae159
mov ebx, eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x10], eax
lea esi, [ecx - 1]
jmp 0x5ae160
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5ae171
mov ebx, edx
mov dword [esp + 0x10], eax
lea esi, [ecx + 1]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5ae184
mov ebx, edx
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
mov esi, ecx
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5ae197
mov ebx, edx
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov esi, ecx
or ecx, eax
je 0x5ae277
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 0x5ae240
mov ebx, eax
mov dword [esp + 0x10], 0
or esi, 0xffffffff
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5ae257
mov ebx, eax
mov dword [esp + 0x10], 0
mov esi, 1
cmp ecx, ebx
jge 0x5ae267
mov ebx, ecx
mov dword [esp + 0x10], 0xffffffff
xor esi, esi
cmp edx, ebx
jge 0x5ae277
mov ebx, edx
mov dword [esp + 0x10], 1
xor esi, esi
cmp dword [esp + 0x34], 6
je case.0x5aded8.1
mov eax, dword [esp + 0x10]
mov ecx, esi
or ecx, eax
mov dword [esp + 0x70], ebx
je 0x5ae3ad
sub eax, dword [esp + 0xb4]
mov edx, esi
sub edx, dword [esp + 0xac]
or edx, eax
je 0x5ae3ad
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 0x5ae370
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5ae383
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5ae387
mov eax, dword [esp + 0x18]
cmp ecx, ebx
jge 0x5ae394
sub dword [esp + 0x10], 1
mov ebx, ecx
mov esi, eax
cmp edx, ebx
jge 0x5ae3a7
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 0x5ae3b5
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 0x5aef05
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx*4 + 0x5e3a58]
mov eax, 0x7d0
sar eax, cl
cmp ebx, eax
jge 0x5aef05
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 0x5ae4dc
mov esi, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5ae4f4
sub dword [esp + 0x10], 1
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax - 1]
jmp 0x5ae4f8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5ae510
mov ebx, edx
mov edx, dword [esp + 0x14]
add edx, 1
mov dword [esp + 0x10], edx
lea esi, [eax - 1]
cmp ecx, ebx
jge 0x5ae520
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 0x5ae621
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 0x5ae639
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 0x5ae651
mov esi, dword [esp + 0x18]
mov ebx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
add esi, 1
cmp edx, ebx
jge 0x5ae662
mov esi, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0x10], ecx
add esi, 2
cmp ebx, dword [esp + 0xa4]
jne 0x5ae689
mov eax, dword [esp + 0x34]
mov ecx, dword [eax*4 + 0x5e3a58]
mov edx, 0x1f4
sar edx, cl
cmp ebx, edx
jl case.default.0x5aded8
mov ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x70]
jne 0x5aef05
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 0x5ae6c1
mov eax, ecx
cmp edx, eax
jg 0x5ae84f
mov eax, edx
add eax, 0xfffffffe
cmp eax, 3
jle 0x5ae84f
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 0x5ae700
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 0x5ae7dc
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 0x5ae7e0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5ae7f4
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 0x5ae80d
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 0x5ae824
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 0x5ae700
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jge 0x5ae998
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 0x5ae890
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x8c]
jg 0x5ae8f6
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 0x5ae8f6
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 0x5ae965
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 0x5ae965
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 0x5ae890
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 0x5ae9ba
mov eax, ecx
cmp edx, eax
jg 0x5aeb64
mov eax, dword [esp + 0x24]
add eax, 0xfffffffe
cmp eax, 3
jle 0x5aeb64
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 0x5aea00
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 0x5aeaef
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 0x5aeaf3
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5aeb05
mov esi, dword [esp + 0x74]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5aeb1d
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 0x5aeb2e
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 0x5aea00
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jge 0x5aec99
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 0x5aec0e
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 0x5aec0e
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 0x5aec71
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 0x5aec71
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 0x5aebb0
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 0x5aed83
mov esi, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x14]
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
jmp 0x5aed87
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5aed9c
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 0x5aedb5
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 0x5aedc9
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 0x5aeeaa
mov ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5aeeae
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x40], ebx
jge 0x5aeec6
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 0x5aeeda
mov ebx, ecx
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffff
mov dword [esp + 0x10], ecx
lea esi, [eax + 2]
cmp edx, ebx
jge 0x5aeef0
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.0x5aded8
mov eax, dword [esp + 0x24]
add eax, 2
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x5af073
cmp eax, 1
mov dword [esp + 0x70], 1
jne 0x5aef66
cmp dword [esp + 0x34], 0
jne 0x5aef31
mov dword [esp + 0x5c], 0x19
jmp 0x5aefc7
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 0x5aefc7
add eax, 0xffffffff
cmp dword [esp + 0x34], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x5c], 0
je 0x5aefb4
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.005a7800
add dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax*4 + 0x5e3a58]
mov edx, 0x3e8
sar edx, cl
cmp ebx, edx
jge 0x5aefe7
mov dword [esp + 0x64], 0
jmp 0x5af011
mov eax, 0x7d0
sar eax, cl
cmp ebx, eax
jge 0x5aeffc
mov dword [esp + 0x64], 1
jmp 0x5af011
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 0x5af026
xor eax, eax
jmp 0x5af04d
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
cmp ecx, edx
jge 0x5af038
mov eax, 1
jmp 0x5af04d
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 + 0x5e3a78]
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 0x5af095
mov eax, ecx
cmp dword [esp + 0xa8], eax
jg 0x5af226
mov eax, dword [esp + 0xa8]
add eax, 0xfffffffe
cmp dword [esp + 0x24], eax
jge 0x5af226
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 0x5af0e0
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 0x5af1b4
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 0x5af1b8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5af1cc
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 0x5af1e4
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 0x5af1fb
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 0x5af0e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jge 0x5af362
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 0x5af2c6
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 0x5af2c6
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 0x5af32f
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 0x5af32f
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 0x5af260
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 0x5af384
mov ecx, eax
mov eax, edx
cdq
sub eax, edx
sar eax, 1
cmp eax, ecx
mov dword [esp + 0x7c], eax
jg 0x5af529
add eax, 0xfffffffe
cmp dword [esp + 0x24], eax
jge 0x5af529
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 0x5af4b9
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 0x5af4bb
mov eax, edx
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5af4cd
mov esi, dword [esp + 0x78]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5af4e5
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 0x5af4f6
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 0x5af3d0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
cmp edx, eax
jge 0x5af66a
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 0x5af580
mov edx, dword [esp + 0x5c]
cmp edx, dword [esp + 0x98]
jg 0x5af5e0
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 0x5af5e0
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 0x5af645
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 0x5af645
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 0x5af580
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 0x5af77c
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x10], ecx
jmp 0x5af780
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5af796
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 0x5af7ac
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x78]
mov ebx, eax
mov dword [esp + 0x10], ecx
cmp edx, ebx
jge 0x5af7be
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 0x5af974
mov eax, ecx
mov edx, dword [esp + 0x68]
cmp edx, eax
jl 0x5af989
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jge 0x5af989
mov edx, ecx
mov eax, dword [esp + 0xf0]
cmp eax, edx
jl 0x5af9b6
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jge 0x5af9a1
mov edx, ecx
mov eax, dword [esp + 0x68]
cmp eax, edx
jl 0x5af9b6
mov eax, dword [esp + 0x9c]
cmp ecx, eax
jge 0x5af9b6
mov eax, ecx
cmp dword [esp + 0x24], eax
jle 0x5afaa3
mov edx, 0x5e3abc
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 0x5afa88
cmp eax, dword [esp + 0x8c]
jg 0x5afa88
cmp ecx, dword [esp + 0x94]
jl 0x5afa88
cmp ecx, dword [esp + 0x98]
jg 0x5afa88
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 0x5afa81
mov esi, dword [esp + 0xc0]
mov ebx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xb0]
add edx, 8
cmp edx, 0x5e3b3c
mov dword [esp + 0xb0], edx
jl 0x5af9d0
jmp 0x5aff82
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 0x5afb82
mov esi, dword [esp + 0xd4]
mov ebx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
jmp 0x5afb86
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5afb9b
mov esi, dword [esp + 0x90]
mov ebx, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5afbad
mov esi, dword [esp + 0x18]
mov ebx, edx
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5afbbe
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 0x5afcb0
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 0x5afcce
mov esi, dword [esp + 0xc8]
mov ebx, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
jmp 0x5afcd5
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5afcea
mov esi, dword [esp + 0x80]
mov ebx, edx
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5afcf8
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 0x5afde4
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 0x5afe00
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 0x5afe1c
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0xd8]
mov ebx, ecx
mov dword [esp + 0x10], edx
cmp eax, ebx
jge 0x5afe31
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 0x5aff3f
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 0x5aff58
mov esi, dword [esp + 0x64]
mov ebx, edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x10], edx
cmp eax, ebx
jge 0x5aff6d
mov esi, dword [esp + 0xa4]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
cmp ecx, ebx
jge 0x5aff82
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 0x5af960
cmp esi, dword [esp + 0x98]
jg case.default.0x5aded8
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 0x5b01aa
mov ebx, eax
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x5b01ae
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
cmp edx, ebx
jge 0x5b01c1
mov eax, 1
mov ebx, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5b01d4
mov eax, 2
mov ebx, edx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x48]
cmp edx, ebx
jge 0x5b01e7
mov eax, 3
mov ebx, edx
mov dword [esp + 0x30], eax
cmp ecx, ebx
jge 0x5b01f6
mov eax, 4
mov ebx, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jge 0x5b020b
mov eax, 5
mov ebx, ecx
mov dword [esp + 0x30], eax
jmp 0x5b0214
cmp eax, 0xfffffffe
je 0x5b0415
add esi, dword [eax*8 + 0x5e39e4]
mov ecx, dword [esp + 0x10]
add ecx, dword [eax*8 + 0x5e39e0]
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 0x5b0415
jmp 0x5b0254
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0xa0]
jl 0x5b0415
cmp ecx, dword [esp + 0x8c]
jg 0x5b0415
cmp esi, dword [esp + 0x94]
jl 0x5b0415
cmp esi, dword [esp + 0x98]
jg 0x5b0415
mov eax, dword [esp + 0x30]
mov ecx, dword [eax*4 + 0x5e39bc]
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 + 0x5e39ec]
add eax, dword [esp + 0x58]
imul edx, ecx
push ecx
mov ecx, dword [esp + 0x2c]
add edx, dword [ecx*8 + 0x5e39e8]
add edx, eax
push edx
mov edx, dword [ecx*8 + 0x5e39e4]
imul edx, dword [edi + 0x38]
add edx, dword [ecx*8 + 0x5e39e0]
mov ecx, dword [ecx*8 + 0x5e39dc]
imul ecx, dword [edi + 0x38]
add edx, eax
push edx
mov edx, dword [esp + 0x34]
add ecx, dword [edx*8 + 0x5e39d8]
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 + 0x5e39dc]
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5e39d8]
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 + 0x5e39e4]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5e39e0]
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 + 0x5e39ec]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x38]
add ecx, esi
movsx ecx, word [edx + ecx*8]
mov edx, dword [eax*8 + 0x5e39e8]
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 0x5b03c5
mov ebx, ecx
lea ecx, [edx - 1]
mov dword [esp + 0x30], ecx
jmp 0x5b03c9
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x40], ebx
jge 0x5b03d9
mov ebx, dword [esp + 0x40]
mov ecx, edx
mov dword [esp + 0x30], ecx
cmp eax, ebx
jge 0x5b03e6
lea ecx, [edx + 1]
mov ebx, eax
mov dword [esp + 0x30], ecx
cmp ecx, 0xfffffffe
je 0x5b0415
mov eax, dword [ecx*8 + 0x5e39e0]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, dword [ecx*8 + 0x5e39e4]
add eax, 1
cmp eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
jl 0x5b0250
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 0x5b04fa
mov ebx, eax
sub esi, 1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jge 0x5b050d
mov ebx, eax
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
jmp 0x5b0511
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
cmp edx, ebx
jge 0x5b0522
sub dword [esp + 0x10], 1
mov ebx, edx
mov esi, eax
cmp ecx, ebx
jge 0x5b0535
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 0x5b0631
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 0x5b0635
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x40], ebx
jge 0x5b064d
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 0x5b0661
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.0x5aded8
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.0x5aded8
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 0x5b06a2
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 0x5b06bf
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
add eax, ecx
cmp eax, edx
jl 0x5b06d2
mov eax, edx
mov edx, dword [esp + 0x98]
add ecx, esi
cmp ecx, edx
mov dword [esp + 0x90], ecx
jl 0x5b06ed
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 + 0x5e34f0]
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 0x5b07e3
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 0x5b07f5
cmp eax, 2
je 0x5b07f5
cmp eax, 5
jne 0x5b080b
mov ecx, dword [esp + 0x98]
imul ecx, dword [esp + 0x8c]
mov dword [esp + 0x98], ecx
cmp eax, 2
je 0x5b0815
cmp eax, 5
jne 0x5b0823
mov edx, dword [esp + 0x118]
mov dword [esp + 0x114], edx
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x1f04], 4
jne 0x5b0ef1
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 0x5b0870
mov dword [esp + 0x6c], 0xa
jmp 0x5b087f
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 0x5b0c97
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 0x5b0c6b
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 0x5b0b78
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 0x5b0a98
cmp eax, dword [esp + 0x14]
jge 0x5b0a5e
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 0x5b0a9c
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 0x5b0b03
cmp ecx, dword [esp + 0x14]
jge 0x5b0ad0
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 0x5b0b68
cmp ecx, dword [esp + 0x14]
jge 0x5b0b36
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 0x5b09e0
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x1c], eax
jge 0x5b0c5f
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 0x5b0c47
cmp eax, dword [esp + 0x14]
jge 0x5b0c19
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 0x5b0ba0
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 0x5b0910
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 0x5b0d4c
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 0x5b0cf7
jmp 0x5b0ce5
mov edx, dword [esp + 0x14]
cmp dword [ecx + eax*8], edx
jg 0x5b0cf3
add eax, 1
cmp eax, dword [esp + 0x58]
jl 0x5b0ce1
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jge 0x5b0d3f
mov edx, eax
mov eax, dword [ecx + edx*8]
cmp eax, dword [esp + 0x14]
jg 0x5b0d2e
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 0x5b0d32
mov eax, dword [esp + 0x1c]
add edx, 1
cmp edx, dword [esp + 0x58]
mov dword [esp + 0x24], edx
jl 0x5b0d03
mov edx, dword [esp + 0x90]
mov dword [esp + 0x58], eax
jmp 0x5b0d53
mov ecx, dword [esp + 0x88]
cmp dword [esp + 0x58], edx
jle 0x5b0e38
xor eax, eax
cmp dword [esp + 0x90], eax
mov dword [esp + 0x1c], eax
jle 0x5b0e2d
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 0x5b0e1c
mov eax, dword [ecx + eax*8]
cmp eax, dword [esp + 0x68]
jge 0x5b0dad
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
jmp 0x5b0db1
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jl 0x5b0d93
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x80], eax
jle 0x5b0e18
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 0x5b0d70
mov eax, dword [esp + 0x90]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jle case.default.0x5aded8
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 0x5b0ed9
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 0x5b0e60
jmp case.default.0x5aded8
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
jg case.default.0x5aded8
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 0x5b1197
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 0x5b10e2
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 0x5b10a1
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 0x5b10b7
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 0x5b10d0
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 0x5b0fe3
mov ecx, dword [esp + 0x80]
add ebx, dword [esp + 0xa4]
cmp dword [esp + 0x1c], ecx
jge 0x5b1197
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 0x5b117f
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 0x5b1100
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 0x5b0f40
mov eax, dword [esp + 0xcc]
cmp eax, ebx
jge 0x5b11e3
mov dx, word [esp + 0xc4]
mov cx, word [esp + 0xdc]
mov word [edi + 0x4c], dx
mov dword [edi + 0x48], eax
jmp 0x5b11fc
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 0x5b1244
cmp esi, dword [esp + 0xac]
jne 0x5b1244
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x1f08], 3
jge 0x5b1248
add dword [edi + 0x48], eax
jmp 0x5b1248
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x1f08], 2
jl 0x5b1297
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 + 0x5e3924]
mov eax, dword [eax + 0x5e3920]
push edx
mov esi, edi
push eax
mov edi, ecx
call fcn.005a7850
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004e3dc3
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edx + 0x1f40]
jle 0x5b12aa
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.004e3dc3
mov esp, ebp
pop ebp
ret