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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x6e8da0]
xor eax, esp
mov dword [esp + 0x154], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x90], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x94], edx
movq xmm0, qword [eax]
mov dword [esp + 0x88], edx
push esi
mov esi, dword [ebp + 0x10]
add edx, esi
push edi
mov edi, dword [eax + 8]
mov eax, ecx
mov dword [esp + 0xbc], esi
lea esi, [edx - 8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ecx
mov edx, 0xfff
lea ecx, [eax + 0x30]
mov dword [esp + 0xa0], esi
mov esi, dword [eax + 4]
add esi, dword [eax + 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, edx
movq qword [esp + 0x150], xmm0
cmovb edx, eax
mov dword [esp + 0x84], edi
mov eax, dword [esp + 0x10]
mov dword [esp + 0xac], edx
mov edx, 0
mov dword [esp + 0x158], edi
mov dword [esp + 0x10c], 0
cmp dword [eax + 0x88], 3
mov eax, dword [eax + 0x18]
mov dword [esp + 0xb8], eax
setne dl
mov eax, dword [ecx + 0x14]
add edx, 3
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x10]
mov ecx, 0x6ac4f4
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov eax, dword [eax + 0x94]
test eax, eax
cmovne ecx, eax
xor edx, edx
mov eax, dword [ecx + 0x10]
movdqu xmm0, xmmword [ecx]
mov dword [esp + 0x100], eax
lea ecx, [esp + 0xf0]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x9c]
push eax
movdqu xmmword [esp + 0xf4], xmm0
call fcn.005781c0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xa0]
push 2
push dword [esp + 0xc4]
lea ecx, [ecx + 0x30]
call fcn.00577860
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x9c], esi
sete al
add eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0xa0]
jae 0x57d7b9
movq xmm0, qword [esp + 0xe0]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xb0], ecx
movq qword [esp + 0xc0], xmm0
jmp 0x57afa0
sub eax, dword [esp + 0x90]
mov dword [esp + 0x94], eax
mov eax, 0
sete al
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x88]
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
lea eax, [esi + ecx]
cmp dword [esp + 0x2c], eax
jae 0x57afe2
xor esi, esi
jmp 0x57be1a
mov edi, dword [esp + 0x2c]
sub edi, ecx
cmp esi, edi
jae 0x57b014
lea esp, [esp]
push 0
push edx
push dword [esp + 0x3c]
lea edx, [esi + ecx]
mov ecx, dword [esp + 0x1c]
call fcn.00577e40
mov ecx, dword [esp + 0x44]
add esi, eax
mov edx, dword [esp + 0x50]
add esp, 0xc
cmp esi, edi
jb 0x57aff0
mov esi, dword [esp + 0x10]
add edx, 0xfffffffd
mov dword [esi + 0x18], edi
cmp edx, 4
ja case.0x57b027.4
jmp dword [edx*4 + 0x57d828]
mov eax, dword [esi + 0x8c]
mov ecx, 0xfff
mov edi, dword [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0x54], 0
cmovb ecx, eax
mov dword [esp + 0x28], 0
mov eax, dword [esi + 4]
mov esi, edi
sub esi, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov ecx, 0x20
mov dword [esp + 0x1c], esi
sub ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x20]
imul eax, dword [edi], 0x9e3779b1
shr eax, cl
mov ecx, dword [esp + 0x10]
lea eax, [edx + eax*4]
mov edi, dword [eax]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x60], eax
dec ecx
mov eax, 1
shl eax, cl
dec eax
mov dword [esp + 0x68], eax
cmp eax, esi
jb 0x57b0b1
mov dword [esp + 0x5c], 0
jmp 0x57b0bb
sub esi, eax
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, 1
mov ecx, dword [eax + 0x78]
shl edx, cl
mov ecx, dword [eax + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, edx
jbe 0x57b0da
mov eax, esi
sub eax, edx
jmp 0x57b0dc
mov eax, ecx
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x14], 0
cmovne eax, ecx
mov ecx, 1
test eax, eax
mov dword [esp + 0x38], eax
cmovne ecx, eax
mov eax, dword [esp + 0x68]
and eax, esi
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x60]
lea eax, [ecx + eax*8]
xor ecx, ecx
mov dword [esp + 0x30], eax
add eax, 4
mov dword [esp + 0x14], eax
lea eax, [esi + 9]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0x84]
mov edx, dword [esp + 0x8c]
shl eax, cl
dec edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], eax
lea ecx, [eax + 3]
cmp eax, ecx
jae 0x57b243
mov ecx, dword [esp + 0x10]
mov edx, esi
sub edx, dword [ecx + 0xc]
mov dword [esp + 0x40], edx
nop
cmp eax, 3
jne 0x57b16f
mov ecx, dword [esp + 0x150]
dec ecx
jmp 0x57b176
mov ecx, dword [esp + eax*4 + 0x150]
mov eax, esi
sub eax, ecx
mov dword [esp + 0x70], eax
lea eax, [ecx - 1]
cmp eax, edx
jae 0x57b223
mov eax, dword [esp + 0x2c]
neg ecx
mov dword [esp + 0x7c], ecx
mov edx, 3
mov esi, dword [ecx + eax]
mov ecx, eax
shl esi, 8
call fcn.00577dc0
xor ecx, ecx
cmp eax, esi
mov eax, dword [esp + 0x38]
sete cl
cmp dword [esp + 0x70], eax
sbb eax, eax
inc eax
test eax, ecx
je 0x57b21f
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x2c]
add edx, 3
push dword [esp + 0x34]
add edx, ecx
add ecx, 3
call fcn.00577530
add esp, 4
lea edx, [eax + 3]
cmp edx, dword [esp + 0x18]
jbe 0x57b21f
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [eax + esi*8], ecx
xor ecx, ecx
mov dword [eax + esi*8 + 4], edx
inc esi
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x20], esi
cmp eax, dword [esp + 0x34]
sete cl
cmp dword [esp + 0x44], edx
sbb eax, eax
neg eax
or ecx, eax
jne 0x57be13
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
inc eax
mov esi, dword [esp + 0x1c]
add ecx, 3
mov dword [esp + 0x3c], eax
cmp eax, ecx
jb 0x57b160
mov edx, dword [esp + 0x18]
cmp edx, 3
jae 0x57b2d8
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xbc]
call fcn.00577dd0
add esp, 4
sub esi, eax
cmp eax, dword [esp + 0x50]
sbb edx, edx
inc edx
cmp esi, 0x40000
sbb ecx, ecx
neg ecx
test ecx, edx
je 0x57b2d8
mov edx, dword [esp + 0x58]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
lea edx, [eax + edx]
call fcn.00577530
add esp, 4
cmp eax, 3
jb 0x57b2d8
mov edx, dword [esp + 0x64]
lea ecx, [esi + 2]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 1
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 4], eax
add ecx, eax
xor edx, edx
cmp ecx, dword [esp + 0x34]
sete dl
cmp dword [esp + 0x44], eax
sbb eax, eax
neg eax
or edx, eax
je 0x57b2d8
mov eax, dword [esp + 0x1c]
mov esi, 1
inc eax
jmp 0x57be0c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x57b3f8
mov edi, edi
dec eax
mov dword [esp + 0x4c], eax
cmp edi, dword [esp + 0x50]
jb 0x57b3f8
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
and eax, edi
mov edx, dword [esp + 0x58]
push dword [esp + 0x34]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x58], ecx
mov esi, ecx
mov ecx, dword [esp + 0x30]
cmovb esi, dword [esp + 0x58]
add edx, edi
mov dword [esp + 0x48], eax
lea edx, [edx + esi]
lea ecx, [esi + ecx]
call fcn.00577530
add esi, eax
add esp, 4
cmp esi, dword [esp + 0x18]
jbe 0x57b393
mov eax, dword [esp + 0x48]
sub eax, edi
cmp esi, eax
jbe 0x57b354
lea eax, [esi + edi]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
sub eax, edi
add eax, 2
mov dword [esp + 0x18], esi
mov dword [edx + ecx*8], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + ecx*8 + 4], esi
add eax, esi
inc ecx
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x34]
mov eax, 0x1000
sete cl
cmp eax, esi
sbb eax, eax
neg eax
or ecx, eax
jne 0x57b3f8
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov al, byte [eax + esi]
cmp al, byte [esi + ecx]
jae 0x57b3c2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x5c]
jbe 0x57b3ea
mov eax, dword [esp + 0x44]
add eax, 4
mov dword [esp + 0x30], eax
jmp 0x57b3da
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x5c]
jbe 0x57b3f0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x57b2f0
jmp 0x57b3f8
lea eax, [esp + 0x6c]
jmp 0x57b3fc
lea eax, [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [esp + 0x48]
jmp 0x57be05
mov eax, dword [esi + 0x8c]
mov ecx, 0xfff
mov edx, dword [esp + 0x2c]
cmp eax, ecx
push 0xcf1bbcdc
cmovb ecx, eax
mov eax, edx
push 0xbb000000
push dword [edx + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 4]
sub eax, ecx
push dword [edx]
mov esi, dword [esi + 0x20]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x40], eax
call fcn.005e0820
mov edi, dword [esp + 0x10]
mov ecx, 0x40
sub ecx, dword [edi + 0x80]
call fcn.005e2c20
mov ecx, dword [esp + 0x10]
lea eax, [esi + eax*4]
mov edi, dword [eax]
mov edx, 1
mov dword [esp + 0x70], eax
xor esi, esi
mov dword [esp + 0x44], 0
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x7c]
dec ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
shl edx, cl
dec edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edx
cmp edx, eax
jb 0x57b4a7
mov dword [esp + 0x40], esi
jmp 0x57b4b1
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edx, 1
mov ecx, dword [esi + 0x78]
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, edx
jbe 0x57b4d0
mov eax, dword [esp + 0x30]
sub eax, edx
jmp 0x57b4d2
mov eax, ecx
cmp dword [esi + 0x14], 0
mov edx, dword [esp + 0x54]
cmovne eax, ecx
mov ecx, 1
test eax, eax
mov dword [esp + 0x6c], eax
cmovne ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
and eax, ecx
lea eax, [edx + eax*8]
mov edx, 1
mov dword [esp + 0x1c], eax
add eax, 4
mov dword [esp + 0x58], eax
lea eax, [ecx + 9]
mov dword [esp + 0x5c], eax
xor ecx, ecx
mov eax, dword [esp + 0x8c]
dec eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x84]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
shl edx, cl
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], eax
lea ecx, [eax + 3]
cmp eax, ecx
jae 0x57b63a
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ecx, edx
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x48], ecx
lea esp, [esp]
cmp eax, 3
jne 0x57b56f
mov esi, dword [esp + 0x150]
dec esi
jmp 0x57b576
mov esi, dword [esp + eax*4 + 0x150]
mov eax, edx
sub eax, esi
mov dword [esp + 0x7c], eax
lea eax, [esi - 1]
cmp eax, ecx
jae 0x57b616
mov ecx, dword [esp + 0x2c]
mov edx, 4
neg esi
call fcn.00577dc0
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, dword [esi + edx]
mov eax, dword [esp + 0x6c]
sete cl
cmp dword [esp + 0x7c], eax
sbb eax, eax
inc eax
test eax, ecx
je 0x57b612
push dword [esp + 0x34]
mov eax, edx
lea edx, [eax + 4]
add edx, esi
lea ecx, [eax + 4]
call fcn.00577530
add esp, 4
lea edx, [eax + 4]
cmp edx, dword [esp + 0x18]
jbe 0x57b612
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [eax + esi*8], ecx
xor ecx, ecx
mov dword [eax + esi*8 + 4], edx
inc esi
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x20], esi
cmp eax, dword [esp + 0x34]
sete cl
cmp dword [esp + 0x38], edx
sbb eax, eax
neg eax
or ecx, eax
jne 0x57be13
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
inc eax
mov edx, dword [esp + 0x30]
add esi, 3
mov dword [esp + 0x4c], eax
cmp eax, esi
jb 0x57b560
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
test edx, edx
je 0x57b770
lea esp, [esp]
dec edx
mov dword [esp + 0x3c], edx
cmp edi, dword [esp + 0x68]
jb 0x57b770
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
and eax, edi
mov edx, dword [esp + 0x60]
push dword [esp + 0x34]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x18]
cmovb esi, eax
add edx, edi
lea edx, [edx + esi]
lea ecx, [esi + ecx]
call fcn.00577530
add esi, eax
add esp, 4
cmp esi, dword [esp + 0x18]
jbe 0x57b6f3
mov eax, dword [esp + 0x5c]
sub eax, edi
cmp esi, eax
jbe 0x57b6b0
lea eax, [esi + edi]
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
sub eax, edi
mov dword [esp + 0x18], esi
add eax, 2
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x2c]
add eax, esi
mov dword [ecx + edx*8 + 4], esi
inc edx
xor ecx, ecx
cmp eax, dword [esp + 0x34]
mov eax, 0x1000
mov dword [esp + 0x20], edx
sete cl
cmp eax, esi
sbb eax, eax
neg eax
or ecx, eax
jne 0x57b770
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov al, byte [eax + esi]
cmp al, byte [esi + ecx]
jae 0x57b728
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x40]
jbe 0x57b75b
mov esi, dword [esp + 0x50]
add esi, 4
mov dword [esp + 0x1c], esi
mov edi, dword [esi]
mov esi, dword [esp + 0x14]
jmp 0x57b742
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x14], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x40]
jbe 0x57b768
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov edi, dword [eax]
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x57b650
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
jmp 0x57bdf5
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x6c]
jmp 0x57bdf5
lea eax, [esp + 0x6c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
jmp 0x57bdf5
mov eax, dword [esi + 0x8c]
mov ecx, 0xfff
mov edx, dword [esp + 0x2c]
cmp eax, ecx
push 0xcf1bbcdc
cmovb ecx, eax
mov eax, edx
push 0xbf9b0000
push dword [edx + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 4]
sub eax, ecx
push dword [edx]
mov esi, dword [esi + 0x20]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x40], eax
call fcn.005e0820
mov edi, dword [esp + 0x10]
mov ecx, 0x40
sub ecx, dword [edi + 0x80]
call fcn.005e2c20
mov ecx, dword [esp + 0x10]
lea eax, [esi + eax*4]
mov edi, dword [eax]
mov edx, 1
mov dword [esp + 0x70], eax
xor esi, esi
mov dword [esp + 0x44], 0
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x7c]
dec ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
shl edx, cl
dec edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edx
cmp edx, eax
jb 0x57b80f
mov dword [esp + 0x40], esi
jmp 0x57b819
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edx, 1
mov ecx, dword [esi + 0x78]
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, edx
jbe 0x57b838
mov eax, dword [esp + 0x30]
sub eax, edx
jmp 0x57b83a
mov eax, ecx
cmp dword [esi + 0x14], 0
mov edx, dword [esp + 0x54]
cmovne eax, ecx
mov ecx, 1
test eax, eax
mov dword [esp + 0x6c], eax
cmovne ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
and eax, ecx
lea eax, [edx + eax*8]
mov edx, 1
mov dword [esp + 0x1c], eax
add eax, 4
mov dword [esp + 0x58], eax
lea eax, [ecx + 9]
mov dword [esp + 0x5c], eax
xor ecx, ecx
mov eax, dword [esp + 0x8c]
dec eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x84]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
shl edx, cl
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], eax
lea ecx, [eax + 3]
cmp eax, ecx
jae 0x57b99b
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ecx, edx
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x48], ecx
cmp eax, 3
jne 0x57b8d0
mov esi, dword [esp + 0x150]
dec esi
jmp 0x57b8d7
mov esi, dword [esp + eax*4 + 0x150]
mov eax, edx
sub eax, esi
mov dword [esp + 0x7c], eax
lea eax, [esi - 1]
cmp eax, ecx
jae 0x57b977
mov ecx, dword [esp + 0x2c]
mov edx, 4
neg esi
call fcn.00577dc0
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, dword [esi + edx]
mov eax, dword [esp + 0x6c]
sete cl
cmp dword [esp + 0x7c], eax
sbb eax, eax
inc eax
test eax, ecx
je 0x57b973
push dword [esp + 0x34]
mov eax, edx
lea edx, [eax + 4]
add edx, esi
lea ecx, [eax + 4]
call fcn.00577530
add esp, 4
lea edx, [eax + 4]
cmp edx, dword [esp + 0x18]
jbe 0x57b973
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [eax + esi*8], ecx
xor ecx, ecx
mov dword [eax + esi*8 + 4], edx
inc esi
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x20], esi
cmp eax, dword [esp + 0x34]
sete cl
cmp dword [esp + 0x38], edx
sbb eax, eax
neg eax
or ecx, eax
jne 0x57be13
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
inc eax
mov edx, dword [esp + 0x30]
add esi, 3
mov dword [esp + 0x4c], eax
cmp eax, esi
jb 0x57b8c1
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
test edx, edx
je 0x57b770
lea ecx, [ecx]
dec edx
mov dword [esp + 0x3c], edx
cmp edi, dword [esp + 0x68]
jb 0x57b770
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
and eax, edi
mov edx, dword [esp + 0x60]
push dword [esp + 0x34]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x18]
cmovb esi, eax
add edx, edi
lea edx, [edx + esi]
lea ecx, [esi + ecx]
call fcn.00577530
add esi, eax
add esp, 4
cmp esi, dword [esp + 0x18]
jbe 0x57ba53
mov eax, dword [esp + 0x5c]
sub eax, edi
cmp esi, eax
jbe 0x57ba10
lea eax, [esi + edi]
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
sub eax, edi
mov dword [esp + 0x18], esi
add eax, 2
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x2c]
add eax, esi
mov dword [ecx + edx*8 + 4], esi
inc edx
xor ecx, ecx
cmp eax, dword [esp + 0x34]
mov eax, 0x1000
mov dword [esp + 0x20], edx
sete cl
cmp eax, esi
sbb eax, eax
neg eax
or ecx, eax
jne 0x57b770
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov al, byte [eax + esi]
cmp al, byte [esi + ecx]
jae 0x57ba8c
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x40]
jbe 0x57b75b
mov esi, dword [esp + 0x50]
add esi, 4
mov dword [esp + 0x1c], esi
mov edi, dword [esi]
mov esi, dword [esp + 0x14]
jmp 0x57baaa
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x14], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x40]
jbe 0x57b768
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov edi, dword [eax]
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x57b9b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
jmp 0x57bdf5
mov eax, dword [esi + 0x8c]
mov ecx, 0xfff
mov edi, dword [esp + 0x2c]
cmp eax, ecx
mov dword [esp + 0x44], 0
cmovb ecx, eax
mov dword [esp + 0x50], 0
mov eax, dword [esi + 4]
mov esi, edi
sub esi, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, 0x20
mov dword [esp + 0x40], esi
sub ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x20]
imul eax, dword [edi], 0x9e3779b1
shr eax, cl
mov edi, dword [edx + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x70], eax
mov edx, 1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x7c]
dec ecx
shl edx, cl
dec edx
mov dword [esp + 0x28], edx
cmp edx, esi
jb 0x57bb4b
mov dword [esp + 0x3c], 0
jmp 0x57bb57
mov eax, esi
sub eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
mov edx, 1
shl edx, cl
mov ecx, dword [eax + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, edx
jbe 0x57bb72
mov eax, esi
sub eax, edx
jmp 0x57bb74
mov eax, ecx
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x14], 0
mov edx, 1
cmovne eax, ecx
mov ecx, 1
test eax, eax
mov dword [esp + 0x6c], eax
cmovne ecx, eax
mov eax, dword [esp + 0x28]
and eax, esi
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x54]
lea eax, [ecx + eax*8]
xor ecx, ecx
mov dword [esp + 0x30], eax
add eax, 4
mov dword [esp + 0x1c], eax
lea eax, [esi + 9]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x84]
mov eax, dword [esp + 0x8c]
dec eax
shl edx, cl
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], eax
lea ecx, [eax + 3]
mov dword [esp + 0x14], ecx
cmp eax, ecx
jae 0x57bcd5
mov edx, dword [esp + 0x10]
mov ecx, esi
sub ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
nop
cmp eax, 3
jne 0x57bc0f
mov esi, dword [esp + 0x150]
dec esi
jmp 0x57bc16
mov esi, dword [esp + eax*4 + 0x150]
mov eax, dword [esp + 0x40]
sub eax, esi
mov dword [esp + 0x7c], eax
lea eax, [esi - 1]
cmp eax, ecx
jae 0x57bcbc
mov ecx, dword [esp + 0x2c]
mov edx, 4
neg esi
call fcn.00577dc0
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, dword [esi + edx]
mov eax, dword [esp + 0x6c]
sete cl
cmp dword [esp + 0x7c], eax
sbb eax, eax
inc eax
test eax, ecx
je 0x57bcb4
push dword [esp + 0x34]
mov eax, edx
lea edx, [eax + 4]
add edx, esi
lea ecx, [eax + 4]
call fcn.00577530
add esp, 4
lea edx, [eax + 4]
cmp edx, dword [esp + 0x18]
jbe 0x57bcb4
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov dword [eax + esi*8], ecx
xor ecx, ecx
mov dword [eax + esi*8 + 4], edx
inc esi
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x20], esi
cmp eax, dword [esp + 0x34]
sete cl
cmp dword [esp + 0x38], edx
sbb eax, eax
neg eax
or ecx, eax
jne 0x57be13
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
cmp eax, edx
jb 0x57bc00
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x70]
mov dword [eax], esi
test edx, edx
je 0x57bded
dec edx
mov dword [esp + 0x58], edx
cmp edi, dword [esp + 0x74]
jb 0x57bded
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
and eax, edi
mov edx, dword [esp + 0x60]
push dword [esp + 0x34]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x48], ecx
mov esi, ecx
mov ecx, dword [esp + 0x30]
cmovb esi, dword [esp + 0x48]
add edx, edi
mov dword [esp + 0x6c], eax
lea edx, [edx + esi]
lea ecx, [esi + ecx]
call fcn.00577530
add esi, eax
add esp, 4
cmp esi, dword [esp + 0x18]
jbe 0x57bd86
mov eax, dword [esp + 0x5c]
sub eax, edi
cmp esi, eax
jbe 0x57bd47
lea eax, [esi + edi]
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
sub eax, edi
mov dword [esp + 0x18], esi
add eax, 2
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x2c]
add eax, esi
mov dword [ecx + edx*8 + 4], esi
inc edx
xor ecx, ecx
cmp eax, dword [esp + 0x34]
mov eax, 0x1000
mov dword [esp + 0x20], edx
sete cl
cmp eax, esi
sbb eax, eax
neg eax
or ecx, eax
jne 0x57bded
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov al, byte [eax + esi]
cmp al, byte [esi + ecx]
jae 0x57bdb7
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x3c]
jbe 0x57bddf
mov edx, dword [esp + 0x68]
add edx, 4
mov dword [esp + 0x30], edx
mov edi, dword [edx]
jmp 0x57bdd1
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x3c]
jbe 0x57bde5
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov edx, dword [esp + 0x58]
test edx, edx
jne 0x57bce3
jmp 0x57bded
lea eax, [esp + 0x74]
jmp 0x57bdf1
lea eax, [esp + 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x20]
add eax, 0xfffffff8
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x18], eax
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
sub ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x64]
push eax
push ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x48], esi
push eax
lea ecx, [esp + 0xfc]
call fcn.00578290
mov esi, dword [esp + 0x4c]
add esp, 0xc
test esi, esi
jne 0x57be5f
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
jmp 0x57d7a5
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x150]
push 2
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x158]
mov dword [ecx + 0x18], edi
mov edi, dword [esp + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], eax
lea edx, [edi + 0x30]
mov ecx, eax
call fcn.00577c00
mov ecx, dword [esp + 0x84]
add esp, 4
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + esi*8 - 4]
cmp ecx, dword [esp + 0xac]
jbe 0x57bf52
mov eax, dword [eax + esi*8 - 8]
mov edi, dword [esp + 0x94]
movq xmm2, qword [esp + 0xc0]
mov esi, dword [esp + 0x80]
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], eax
movdqa xmm1, xmmword [esp + 0xd0]
xor edx, edx
mov dword [esp + 0x5c], edx
test ecx, ecx
je 0x57d535
xor eax, eax
test edi, edi
sete al
push eax
lea eax, [edx*8]
sub eax, edx
mov edx, dword [esp + 0xd8]
add eax, 4
lea ecx, [esi + eax*4]
lea eax, [esp + 0x124]
push eax
call fcn.00577420
add esp, 8
mov edx, dword [eax + 8]
movq xmm0, qword [eax]
mov dword [esp + 0x84], edx
mov dword [esp + 0x158], edx
mov edx, dword [esp + 0x5c]
jmp 0x57d556
push 2
lea edx, [edi + 0x30]
xor ecx, ecx
call fcn.00577c00
mov ecx, dword [esp + 0x84]
mov edi, 1
add esp, 4
mov dword [esp + 0x48], edi
add eax, dword [ecx]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x8c]
cmp eax, edi
jbe 0x57bf9c
lea edx, [eax - 1]
add ecx, 0x1c
lea edi, [edx + 1]
mov dword [esp + 0x48], edi
nop
mov dword [ecx], 0x40000000
lea ecx, [ecx + 0x1c]
dec edx
jne 0x57bf90
xor eax, eax
mov dword [esp + 0x60], eax
test esi, esi
je 0x57c12d
mov edx, dword [esp + 0x64]
mov edi, edi
mov ecx, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], eax
cmp edi, eax
ja 0x57c11c
mov esi, dword [esp + 0x80]
lea eax, [edi*8]
inc ecx
lea edx, [edi - 2]
sub eax, edi
mov dword [esp + 0x38], ecx
add esi, 4
mov dword [esp + 0x4c], edx
lea eax, [esi + eax*4]
mov dword [esp + 0x54], eax
lea ecx, [ecx]
bsr eax, ecx
mov ecx, dword [esp + 0x10]
mov esi, 0
mov dword [esp + 0x28], 0
cmovne esi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x28], 0
cmp dword [ecx + 0x68], 1
jne 0x57c03a
bsr eax, edx
mov ecx, 0
mov dword [esp + 0x28], eax
cmovne ecx, eax
shl edx, 8
lea eax, [esi + 0x10]
shr edx, cl
add eax, ecx
shl eax, 8
jmp 0x57c0cf
mov eax, dword [ecx + 0x3c]
mov ecx, 0
mov edx, dword [eax + esi*4]
inc edx
bsr eax, edx
mov dword [esp + 0x28], eax
cmovne ecx, eax
mov eax, dword [esp + 0x4c]
sub esi, ecx
shl edx, 8
shr edx, cl
dec eax
mov ecx, dword [esp + 0x10]
shl esi, 8
sub esi, edx
add esi, dword [ecx + 0x64]
cmp eax, 0x7f
jbe 0x57c089
bsr eax, eax
mov edi, 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], eax
cmovne edi, eax
add edi, 0x24
jmp 0x57c090
movzx edi, byte [edi + 0x6ac65d]
mov eax, dword [ecx + 0x38]
mov ecx, 0
mov dword [esp + 0x28], 0
mov edx, dword [eax + edi*4]
inc edx
bsr eax, edx
mov dword [esp + 0x28], eax
cmovne ecx, eax
mov eax, dword [edi*4 + 0x6ac6e8]
mov edi, dword [esp + 0x48]
sub eax, ecx
shl edx, 8
shr edx, cl
shl eax, 8
sub eax, edx
mov edx, dword [esp + 0x10]
add eax, dword [edx + 0x60]
lea edx, [esi + 0x33]
mov ecx, dword [esp + 0x54]
add edx, eax
mov eax, dword [esp + 0x74]
mov dword [ecx], eax
mov eax, dword [esp + 0x94]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x6c]
add eax, edx
mov dword [ecx + 4], edi
mov edx, dword [esp + 0x4c]
inc edi
mov dword [ecx - 4], eax
inc edx
add ecx, 0x1c
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
cmp edi, dword [esp + 0x7c]
jbe 0x57bff0
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
cmp eax, esi
jb 0x57bfb0
lea edx, [edi - 1]
mov ecx, 1
mov dword [esp + 0x84], edx
mov dword [esp + 0x5c], ecx
cmp edx, ecx
jb 0x57d4cf
mov eax, dword [esp + 0x2c]
lea esi, [eax - 1]
mov dword [esp + 0xa4], esi
jmp 0x57c160
mov edx, dword [esp + 0x80]
add eax, ecx
mov dword [esp + 0x24], eax
lea eax, [ecx*8]
sub eax, ecx
cmp dword [edx + eax*4 - 0x14], 0
lea edi, [edx + eax*4]
mov dword [esp + 0x74], edi
jne 0x57c18e
mov eax, dword [edi - 0x10]
inc eax
mov dword [esp + 0x14], eax
jmp 0x57c196
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
add ecx, esi
add eax, 0x30
mov edx, 1
push 2
push eax
call fcn.00577b50
mov edx, dword [esp + 0x18]
mov esi, eax
mov ecx, dword [esp + 0x1c]
push 2
dec ecx
lea edx, [edx + 0x30]
call fcn.00577c00
mov edi, dword [edi - 0x1c]
mov edx, dword [esp + 0x1c]
add edi, esi
mov ecx, dword [esp + 0x20]
sub edi, eax
push 2
lea edx, [edx + 0x30]
call fcn.00577c00
mov esi, dword [esp + 0x84]
add esp, 0x10
lea ecx, [edi + eax]
cmp ecx, dword [esi]
jg 0x57c202
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], eax
mov dword [esi], ecx
mov edx, dword [esi + 8]
test edx, edx
je 0x57c24d
mov ecx, dword [esp + 0x5c]
xor eax, eax
sub ecx, edx
cmp dword [esi + 0xc], eax
mov edx, dword [esi + 4]
sete al
push eax
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x84]
lea ecx, [ecx + eax*4]
lea eax, [esp + 0x114]
add ecx, 0x10
push eax
call fcn.00577420
mov edx, dword [esi + 8]
add esp, 8
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
jmp 0x57c255
movq xmm0, qword [esi - 0xc]
mov eax, dword [esi - 4]
mov edi, dword [esp + 0x24]
lea ecx, [esi + 0x10]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov dword [esp + 0x30], ecx
cmp edi, dword [esp + 0xa0]
ja 0x57d434
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x84]
je 0x57d4c8
xor eax, eax
test edx, edx
setne al
mov dword [esp + 0x58], eax
test edx, edx
jne 0x57c2a0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x94], eax
jmp 0x57c2ab
mov dword [esp + 0x94], 0
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [esi]
push 2
lea edx, [edx + 0x30]
call fcn.00577c00
mov ecx, dword [esp + 0x14]
add eax, esi
mov dword [esp + 0xac], eax
add esp, 4
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x88]
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], edx
lea ecx, [esi + edx]
cmp edi, ecx
jae 0x57c2ef
xor eax, eax
jmp 0x57d180
mov eax, edi
sub eax, edx
mov dword [esp + 0x28], eax
cmp esi, eax
jae 0x57c32d
mov edi, eax
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
add edx, esi
push 0
push dword [esp + 0x58]
push dword [esp + 0x3c]
call fcn.00577e40
mov edx, dword [esp + 0x80]
add esi, eax
add esp, 0xc
cmp esi, edi
jb 0x57c300
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffffd
cmp eax, 4
ja case.0x57c344.4
jmp dword [eax*4 + 0x57d83c]
mov eax, dword [edx + 0x8c]
mov ecx, 0xfff
mov esi, dword [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x70], 0
cmovb ecx, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], ecx
mov eax, esi
mov ecx, dword [edx + 4]
sub eax, ecx
mov edx, dword [edx + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, 0x20
sub ecx, dword [eax + 0x80]
imul eax, dword [esi], 0x9e3779b1
shr eax, cl
mov ecx, dword [esp + 0x10]
lea eax, [edx + eax*4]
mov edi, dword [eax]
mov edx, 1
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x7c]
dec ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
shl edx, cl
dec edx
mov dword [esp + 0x60], edx
cmp edx, eax
jb 0x57c3d2
mov dword [esp + 0x40], 0
jmp 0x57c3dc
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, 1
mov ecx, dword [ecx + 0x78]
shl edx, cl
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x10]
sub eax, ecx
cmp eax, edx
jbe 0x57c3ff
mov eax, dword [esp + 0x1c]
sub eax, edx
jmp 0x57c401
mov eax, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], 0
cmp dword [edx + 0x14], 0
mov edx, dword [esp + 0x1c]
cmovne eax, ecx
mov ecx, 1
test eax, eax
mov dword [esp + 0x74], eax
cmovne ecx, eax
mov eax, dword [esp + 0x60]
and eax, edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x44]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
add eax, 4
mov dword [esp + 0x3c], eax
lea eax, [edx + 9]
mov dword [esp + 0x50], eax
mov eax, 1
mov ecx, dword [ecx + 0x84]
shl eax, cl
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x8c]
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], eax
lea ecx, [eax + 3]
cmp eax, ecx
jae 0x57c570
mov ecx, dword [esp + 0x10]
sub edx, dword [ecx + 0xc]
mov dword [esp + 0x88], edx
jmp 0x57c490
cmp eax, 3
jne 0x57c49e
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
dec ecx
jmp 0x57c4a5
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x6c], eax
lea eax, [ecx - 1]
cmp eax, edx
jae 0x57c551
neg ecx
mov edx, 3
mov dword [esp + 0x7c], ecx
mov esi, dword [ecx + esi]
mov ecx, dword [esp + 0x24]
shl esi, 8
call fcn.00577dc0
xor ecx, ecx
cmp eax, esi
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x24]
sete cl
cmp dword [esp + 0x6c], eax
sbb eax, eax
inc eax
test eax, ecx
je 0x57c551
mov edx, dword [esp + 0x7c]
lea ecx, [esi + 3]
push dword [esp + 0x34]
add edx, 3
add edx, esi
call fcn.00577530
add esp, 4
lea edx, [eax + 3]
cmp edx, dword [esp + 0x14]
jbe 0x57c551
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x14], edx
mov dword [esi + eax*8], ecx
mov ecx, esi
mov esi, dword [esp + 0x24]
mov dword [ecx + eax*8 + 4], edx
inc eax
mov dword [esp + 0x20], eax
xor ecx, ecx
lea eax, [edx + esi]
cmp eax, dword [esp + 0x34]
sete cl
cmp dword [esp + 0x28], edx
sbb eax, eax
neg eax
or ecx, eax
jne 0x57d17c
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
inc eax
mov edx, dword [esp + 0x88]
add ecx, 3
mov dword [esp + 0x48], eax
cmp eax, ecx
jb 0x57c490
cmp dword [esp + 0x14], 3
jae 0x57c621
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xb8]
push esi
call fcn.00577dd0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x88], ecx
cmp ecx, dword [esp + 0x54]
mov dword [esp + 0x74], eax
sbb edx, edx
inc edx
cmp eax, 0x40000
sbb ecx, ecx
neg ecx
test ecx, edx
je 0x57c621
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x88]
push dword [esp + 0x34]
lea edx, [edx + ecx]
mov ecx, esi
call fcn.00577530
add esp, 4
cmp eax, 3
jb 0x57c621
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
add ecx, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
mov dword [edx], ecx
lea ecx, [eax + esi]
mov dword [edx + 4], eax
xor edx, edx
cmp ecx, dword [esp + 0x34]
sete dl
cmp dword [esp + 0x28], eax
sbb eax, eax
neg eax
or edx, eax
je 0x57c621
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [ecx + 0x18], eax
mov eax, 1
jmp 0x57d180
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x57c73f
dec eax
mov dword [esp + 0x68], eax
cmp edi, dword [esp + 0x54]
jb 0x57c73f
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
and eax, edi
mov edx, dword [esp + 0x4c]
push dword [esp + 0x34]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x74], ecx
mov esi, ecx
mov ecx, dword [esp + 0x28]
cmovb esi, dword [esp + 0x74]
add edx, edi
mov dword [esp + 0x2c], eax
lea edx, [edx + esi]
lea ecx, [esi + ecx]
call fcn.00577530
add esi, eax
add esp, 4
cmp esi, dword [esp + 0x14]
jbe 0x57c6da
mov eax, dword [esp + 0x50]
sub eax, edi
cmp esi, eax
jbe 0x57c69b
lea eax, [esi + edi]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
sub eax, edi
add eax, 2
mov dword [esp + 0x14], esi
mov dword [edx + ecx*8], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*8 + 4], esi
add eax, esi
inc ecx
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x34]
mov eax, 0x1000
sete cl
cmp eax, esi
sbb eax, eax
neg eax
or ecx, eax
jne 0x57c73f
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
add eax, edi
mov al, byte [eax + esi]
cmp al, byte [esi + edx]
jae 0x57c709
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x40]
jbe 0x57c731
mov eax, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x18], eax
jmp 0x57c721
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x40]
jbe 0x57c737
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x57c637
jmp 0x57c73f
lea eax, [esp + 0x78]
jmp 0x57c743
lea eax, [esp + 0x78]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [esp + 0x50]
jmp 0x57d172
mov eax, dword [edx + 0x8c]
mov ecx, 0xfff
mov esi, dword [edx + 0x20]
cmp eax, ecx
push 0xcf1bbcdc
cmovb ecx, eax
mov eax, edi
push 0xbb000000
push dword [edi + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [edx + 4]
sub eax, ecx
push dword [edi]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], eax
call fcn.005e0820
mov edi, dword [esp + 0x10]
mov ecx, 0x40
sub ecx, dword [edi + 0x80]
call fcn.005e2c20
mov ecx, dword [esp + 0x10]
lea eax, [esi + eax*4]
mov edi, dword [eax]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x70], eax
dec ecx
mov eax, 1
mov dword [esp + 0x54], 0
shl eax, cl
dec eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x38], eax
cmp eax, esi
jb 0x57c7f0
mov dword [esp + 0x68], 0
jmp 0x57c7fa
sub esi, eax
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, 1
mov ecx, dword [eax + 0x78]
shl edx, cl
mov ecx, dword [eax + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, edx
jbe 0x57c819
mov eax, esi
sub eax, edx
jmp 0x57c81b
mov eax, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], 0
cmp dword [edx + 0x14], 0
mov edx, 1
cmovne eax, ecx
mov ecx, 1
test eax, eax
mov dword [esp + 0x88], eax
cmovne ecx, eax
mov eax, dword [esp + 0x38]
and eax, esi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x70]
lea eax, [ecx + eax*8]
mov dword [esp + 0x18], eax
add eax, 4
mov dword [esp + 0x1c], eax
lea eax, [esi + 9]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
mov eax, dword [esp + 0x8c]
shl edx, cl
dec eax
mov ecx, dword [esp + 0x58]
mov esi, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], edx
lea eax, [ecx + 3]
cmp ecx, eax
jae 0x57c97e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub edx, dword [eax + 0xc]
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x30]
cmp esi, 3
jne 0x57c8b1
mov ecx, dword [eax]
dec ecx
jmp 0x57c8b4
mov ecx, dword [eax + esi*4]
mov eax, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x74], eax
lea eax, [ecx - 1]
cmp eax, edx
jae 0x57c96a
mov edx, dword [esp + 0x24]
sub edx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov edx, 4
call fcn.00577dc0
mov edx, dword [esp + 0x78]
xor ecx, ecx
cmp eax, dword [edx]
mov eax, dword [esp + 0x88]
sete cl
cmp dword [esp + 0x74], eax
sbb eax, eax
inc eax
test eax, ecx
je 0x57c966
mov ecx, dword [esp + 0x24]
add edx, 4
push dword [esp + 0x34]
lea ecx, [ecx + 4]
call fcn.00577530
add esp, 4
lea edx, [eax + 4]
mov dword [esp + 0x78], edx
cmp edx, dword [esp + 0x3c]
jbe 0x57c966
mov eax, dword [esp + 0x20]
mov ecx, esi
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x64]
mov dword [edx + eax*8], ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x78]
mov dword [ecx + eax*8 + 4], edx
inc eax
mov dword [esp + 0x20], eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
add eax, edx
cmp eax, dword [esp + 0x34]
sete cl
cmp dword [esp + 0x6c], edx
sbb eax, eax
neg eax
or ecx, eax
jne 0x57d17c
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
inc esi
add eax, 3
cmp esi, eax
jb 0x57c8a3
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
test edx, edx
je 0x57ca98
dec edx
mov dword [esp + 0x48], edx
cmp edi, dword [esp + 0x40]
jb 0x57ca98
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
and eax, edi
mov edx, dword [esp + 0x28]
push dword [esp + 0x34]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x58], ecx
mov esi, ecx
mov ecx, dword [esp + 0x28]
cmovb esi, dword [esp + 0x58]
add edx, edi
mov dword [esp + 0x48], eax
lea edx, [edx + esi]
lea ecx, [esi + ecx]
call fcn.00577530
add esi, eax
add esp, 4
cmp esi, dword [esp + 0x3c]
jbe 0x57ca33
mov eax, dword [esp + 0x4c]
sub eax, edi
cmp esi, eax
jbe 0x57c9f4
lea eax, [esi + edi]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
sub eax, edi
add eax, 2
mov dword [esp + 0x3c], esi
mov dword [edx + ecx*8], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*8 + 4], esi
add eax, esi
inc ecx
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x34]
mov eax, 0x1000
sete cl
cmp eax, esi
sbb eax, eax
neg eax
or ecx, eax
jne 0x57ca98
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add eax, edi
mov al, byte [eax + esi]
cmp al, byte [esi + edx]
jae 0x57ca62
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x68]
jbe 0x57ca8a
mov eax, dword [esp + 0x44]
add eax, 4
mov dword [esp + 0x18], eax
jmp 0x57ca7a
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x60], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x68]
jbe 0x57ca90
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x48]
mov edi, dword [eax]
test edx, edx
jne 0x57c990
jmp 0x57ca98
lea eax, [esp + 0x78]
jmp 0x57ca9c
lea eax, [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [esp + 0x4c]
jmp 0x57d172
mov eax, dword [edx + 0x8c]
mov ecx, 0xfff
cmp eax, ecx
mov esi, 0x40
push 0xcf1bbcdc
cmovb ecx, eax
mov eax, edi
mov edi, dword [edx + 0x20]
sub esi, dword [edx + 0x80]
mov dword [esp + 0x78], ecx
mov ecx, dword [edx + 4]
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
push 0xbf9b0000
mov dword [esp + 0x30], ecx
push dword [eax + 4]
push dword [eax]
call fcn.005e0820
mov ecx, esi
call fcn.005e2c20
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x54], 0
lea eax, [edi + eax*4]
mov dword [esp + 0x60], 0
mov edi, dword [eax]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x70], eax
dec ecx
mov eax, 1
shl eax, cl
dec eax
mov dword [esp + 0x38], eax
cmp eax, esi
jb 0x57cb4b
mov dword [esp + 0x48], 0
jmp 0x57cb55
sub esi, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, 1
mov ecx, dword [eax + 0x78]
shl edx, cl
mov ecx, dword [eax + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, edx
jbe 0x57cb74
mov eax, esi
sub eax, edx
jmp 0x57cb76
mov eax, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], 0
cmp dword [edx + 0x14], 0
mov edx, 1
cmovne eax, ecx
mov ecx, 1
test eax, eax
mov dword [esp + 0x78], eax
cmovne ecx, eax
mov eax, dword [esp + 0x38]
and eax, esi
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x70]
lea eax, [ecx + eax*8]
mov dword [esp + 0x18], eax
add eax, 4
mov dword [esp + 0x1c], eax
lea eax, [esi + 9]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
mov eax, dword [esp + 0x8c]
dec eax
shl edx, cl
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x68], eax
lea ecx, [eax + 3]
cmp eax, ecx
jae 0x57ccdd
mov edx, dword [esp + 0x10]
mov ecx, esi
sub ecx, dword [edx + 0xc]
mov dword [esp + 0x50], ecx
jmp 0x57cc00
cmp eax, 3
jne 0x57cc0e
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
dec esi
jmp 0x57cc15
mov edx, dword [esp + 0x30]
mov esi, dword [edx + eax*4]
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [esp + 0x88], eax
lea eax, [esi - 1]
cmp eax, ecx
jae 0x57ccbd
mov ecx, dword [esp + 0x24]
mov edx, 4
neg esi
call fcn.00577dc0
mov edx, dword [esp + 0x24]
xor ecx, ecx
cmp eax, dword [esi + edx]
mov eax, dword [esp + 0x78]
sete cl
cmp dword [esp + 0x88], eax
sbb eax, eax
inc eax
test eax, ecx
je 0x57ccb9
push dword [esp + 0x34]
mov eax, edx
lea edx, [eax + 4]
add edx, esi
lea ecx, [eax + 4]
call fcn.00577530
add esp, 4
lea edx, [eax + 4]
cmp edx, dword [esp + 0x3c]
jbe 0x57ccb9
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], edx
mov dword [esi + eax*8], ecx
xor ecx, ecx
mov dword [esi + eax*8 + 4], edx
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
add eax, edx
cmp eax, dword [esp + 0x34]
sete cl
cmp dword [esp + 0x74], edx
sbb eax, eax
neg eax
or ecx, eax
jne 0x57d17c
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
inc eax
add esi, 3
mov dword [esp + 0x68], eax
cmp eax, esi
jb 0x57cc00
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
mov dword [eax], esi
test edx, edx
je 0x57cdfa
jmp 0x57ccf0
dec edx
mov dword [esp + 0x4c], edx
cmp edi, dword [esp + 0x7c]
jb 0x57cdfa
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
and eax, edi
mov edx, dword [esp + 0x28]
push dword [esp + 0x34]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x58], ecx
mov esi, ecx
mov ecx, dword [esp + 0x28]
cmovb esi, dword [esp + 0x58]
add edx, edi
mov dword [esp + 0x48], eax
lea edx, [edx + esi]
lea ecx, [esi + ecx]
call fcn.00577530
add esi, eax
add esp, 4
cmp esi, dword [esp + 0x3c]
jbe 0x57cd93
mov eax, dword [esp + 0x40]
sub eax, edi
cmp esi, eax
jbe 0x57cd54
lea eax, [esi + edi]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
sub eax, edi
add eax, 2
mov dword [esp + 0x3c], esi
mov dword [edx + ecx*8], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*8 + 4], esi
add eax, esi
inc ecx
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x34]
mov eax, 0x1000
sete cl
cmp eax, esi
sbb eax, eax
neg eax
or ecx, eax
jne 0x57cdfa
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add eax, edi
mov al, byte [eax + esi]
cmp al, byte [esi + edx]
jae 0x57cdc4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x48]
jbe 0x57cdec
mov esi, dword [esp + 0x44]
add esi, 4
mov dword [esp + 0x18], esi
mov edi, dword [esi]
jmp 0x57cdde
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x60], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x48]
jbe 0x57cdf2
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x57ccf0
jmp 0x57cdfa
lea eax, [esp + 0x78]
jmp 0x57cdfe
lea eax, [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [esp + 0x40]
jmp 0x57d172
mov eax, dword [edx + 0x8c]
mov ecx, 0xfff
mov esi, dword [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x54], 0
cmovb ecx, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x74], ecx
mov eax, esi
mov ecx, dword [edx + 4]
sub eax, ecx
mov edx, dword [edx + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, 0x20
sub ecx, dword [eax + 0x80]
imul eax, dword [esi], 0x9e3779b1
mov esi, dword [esp + 0x1c]
shr eax, cl
mov edi, dword [edx + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x6c], eax
mov edx, 1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x7c]
dec ecx
shl edx, cl
dec edx
mov dword [esp + 0x38], edx
cmp edx, esi
jb 0x57cea3
mov dword [esp + 0x48], 0
jmp 0x57ceaf
mov eax, esi
sub eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
mov edx, 1
shl edx, cl
mov ecx, dword [eax + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, edx
jbe 0x57ceca
mov eax, esi
sub eax, edx
jmp 0x57cecc
mov eax, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], 0
cmp dword [edx + 0x14], 0
mov edx, 1
cmovne eax, ecx
mov ecx, 1
test eax, eax
mov dword [esp + 0x78], eax
cmovne ecx, eax
mov eax, dword [esp + 0x38]
and eax, esi
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x70]
lea eax, [ecx + eax*8]
mov dword [esp + 0x18], eax
add eax, 4
mov dword [esp + 0x40], eax
lea eax, [esi + 9]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
mov eax, dword [esp + 0x8c]
dec eax
shl edx, cl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x68], eax
lea ecx, [eax + 3]
mov dword [esp + 0x3c], ecx
cmp eax, ecx
jae 0x57d03e
mov edx, dword [esp + 0x10]
mov ecx, esi
sub ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], ecx
lea esp, [esp]
cmp eax, 3
jne 0x57cf6e
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
dec esi
jmp 0x57cf75
mov esi, dword [esp + 0x30]
mov esi, dword [esi + eax*4]
mov eax, dword [esp + 0x1c]
sub eax, esi
mov dword [esp + 0x88], eax
lea eax, [esi - 1]
cmp eax, ecx
jae 0x57d025
mov ecx, dword [esp + 0x24]
mov edx, 4
neg esi
call fcn.00577dc0
mov edx, dword [esp + 0x24]
xor ecx, ecx
cmp eax, dword [esi + edx]
mov eax, dword [esp + 0x78]
sete cl
cmp dword [esp + 0x88], eax
sbb eax, eax
inc eax
test eax, ecx
je 0x57d01d
mov ecx, dword [esp + 0x24]
add edx, 4
push dword [esp + 0x34]
add edx, esi
lea ecx, [ecx + 4]
call fcn.00577530
add esp, 4
lea edx, [eax + 4]
cmp edx, dword [esp + 0x14]
jbe 0x57d01d
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x14], edx
mov dword [esi + eax*8], ecx
mov ecx, esi
mov dword [ecx + eax*8 + 4], edx
inc eax
mov dword [esp + 0x20], eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
add eax, edx
cmp eax, dword [esp + 0x34]
sete cl
cmp dword [esp + 0x74], edx
sbb eax, eax
neg eax
or ecx, eax
jne 0x57d17c
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x68], eax
cmp eax, edx
jb 0x57cf60
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov dword [eax], esi
test edx, edx
je 0x57d15a
lea esp, [esp]
dec edx
mov dword [esp + 0x4c], edx
cmp edi, dword [esp + 0x7c]
jb 0x57d15a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
and eax, edi
mov edx, dword [esp + 0x28]
push dword [esp + 0x34]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x58], ecx
mov esi, ecx
mov ecx, dword [esp + 0x28]
cmovb esi, dword [esp + 0x58]
add edx, edi
mov dword [esp + 0x54], eax
lea edx, [edx + esi]
lea ecx, [esi + ecx]
call fcn.00577530
add esi, eax
add esp, 4
cmp esi, dword [esp + 0x14]
jbe 0x57d0f3
mov eax, dword [esp + 0x44]
sub eax, edi
cmp esi, eax
jbe 0x57d0b4
lea eax, [esi + edi]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
sub eax, edi
add eax, 2
mov dword [esp + 0x14], esi
mov dword [edx + ecx*8], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*8 + 4], esi
add eax, esi
inc ecx
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp eax, dword [esp + 0x34]
mov eax, 0x1000
sete cl
cmp eax, esi
sbb eax, eax
neg eax
or ecx, eax
jne 0x57d15a
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add eax, edi
mov al, byte [eax + esi]
cmp al, byte [esi + edx]
jae 0x57d124
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x48]
jbe 0x57d14c
mov edx, dword [esp + 0x50]
add edx, 4
mov dword [esp + 0x18], edx
mov edi, dword [edx]
jmp 0x57d13e
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x60], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x48]
jbe 0x57d152
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov edi, dword [eax]
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x57d050
jmp 0x57d15a
lea eax, [esp + 0x78]
jmp 0x57d15e
lea eax, [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
add eax, 0xfffffff8
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x64]
mov edx, edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
sub eax, ecx
sub ecx, dword [esp + 0x9c]
push eax
push ecx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xfc]
call fcn.00578290
mov edx, dword [esp + 0x5c]
add esp, 0xc
test edx, edx
je 0x57d434
mov ecx, dword [edi + edx*8 - 4]
cmp ecx, dword [esp + 0xac]
ja 0x57d45c
mov eax, dword [esp + 0x5c]
add eax, ecx
cmp eax, 0x1000
jae 0x57d45c
xor esi, esi
mov dword [esp + 0x54], esi
test edx, edx
je 0x57d434
lea eax, [edi - 4]
mov dword [esp + 0x60], eax
jmp 0x57d200
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x88], edx
mov dword [esp + 0x40], ecx
test esi, esi
je 0x57d21a
mov eax, dword [eax]
inc eax
jmp 0x57d221
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
cmp ecx, eax
jb 0x57d41a
mov esi, dword [esp + 0x5c]
lea eax, [ecx + 0x6ac65d]
mov dword [esp + 0x44], eax
inc edx
mov dword [esp + 0x6c], edx
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x80]
lea eax, [edi*8]
sub eax, edi
lea eax, [ecx + eax*4]
mov ecx, 0xfffffffe
mov dword [esp + 0x3c], eax
sub ecx, esi
mov eax, 0xfffffffd
mov dword [esp + 0x74], ecx
sub eax, esi
mov dword [esp + 0x78], eax
bsr eax, edx
mov edx, dword [esp + 0x10]
mov esi, 0
mov dword [esp + 0x38], 0
cmovne esi, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x38], 0
cmp dword [edx + 0x68], 1
jne 0x57d2bf
lea edx, [ecx + edi]
mov ecx, 0
bsr eax, edx
mov dword [esp + 0x38], eax
cmovne ecx, eax
lea eax, [esi + 0x10]
add eax, ecx
shl edx, 8
shl eax, 8
shr edx, cl
add eax, edx
jmp 0x57d35b
mov eax, dword [edx + 0x3c]
mov ecx, 0
mov edx, dword [eax + esi*4]
inc edx
bsr eax, edx
mov dword [esp + 0x38], eax
cmovne ecx, eax
mov eax, dword [esp + 0x78]
sub esi, ecx
shl edx, 8
shr edx, cl
add eax, edi
shl esi, 8
sub esi, edx
mov edx, dword [esp + 0x10]
add esi, dword [edx + 0x64]
cmp eax, 0x7f
jbe 0x57d30f
bsr eax, eax
mov ecx, 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], eax
cmovne ecx, eax
add ecx, 0x24
jmp 0x57d316
mov eax, dword [esp + 0x44]
movzx ecx, byte [eax]
mov eax, dword [edx + 0x38]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x38], 0
mov edx, dword [eax + ecx*4]
mov ecx, 0
inc edx
bsr eax, edx
mov dword [esp + 0x38], eax
cmovne ecx, eax
mov eax, dword [esp + 0x70]
shl edx, 8
shr edx, cl
mov eax, dword [eax*4 + 0x6ac6e8]
sub eax, ecx
shl eax, 8
sub eax, edx
mov edx, dword [esp + 0x10]
add eax, 0x33
add eax, dword [edx + 0x60]
add eax, esi
mov edx, dword [esp + 0xa8]
add edx, eax
mov eax, dword [esp + 0x84]
cmp edi, eax
ja 0x57d37f
mov esi, dword [esp + 0x3c]
cmp edx, dword [esi]
jge 0x57d3ef
cmp eax, edi
jae 0x57d3b1
lea ecx, [eax + 1]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x80]
lea eax, [ecx + eax*4]
mov ecx, edi
sub ecx, dword [esp + 0x84]
add dword [esp + 0x84], ecx
mov dword [eax], 0x40000000
lea eax, [eax + 0x1c]
dec ecx
jne 0x57d3a5
mov esi, dword [esp + 0x80]
lea eax, [edi*8]
mov ecx, dword [esp + 0x40]
sub eax, edi
mov dword [esi + eax*4 + 8], ecx
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x88]
mov dword [ecx + eax*4 + 4], esi
mov esi, ecx
mov ecx, dword [esp + 0x94]
mov dword [esi + eax*4 + 0xc], ecx
mov dword [esi + eax*4], edx
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
sub esi, 0x1c
dec dword [esp + 0x44]
dec ecx
mov edx, dword [esp + 0x6c]
dec edi
cmp ecx, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], esi
jae 0x57d270
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
inc esi
add eax, 8
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], eax
cmp esi, dword [esp + 0x50]
jb 0x57d200
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x84]
inc ecx
mov dword [esp + 0x5c], ecx
cmp ecx, edx
ja 0x57d4cf
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0xa4]
jmp 0x57c160
mov eax, dword [edi + edx*8 - 8]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x94]
mov dword [esp + 0xd4], eax
lea eax, [edx*8]
mov dword [esp + 0xd8], ecx
sub eax, edx
mov dword [esp + 0xdc], edi
cmp dword [esi + eax*4 + 8], 0
jne 0x57d49d
mov eax, dword [esi + eax*4 + 0xc]
jmp 0x57d49f
xor eax, eax
movdqa xmm1, xmmword [esp + 0xd0]
sub edx, eax
movq xmm2, qword [esp + 0xc0]
mov dword [esp + 0x5c], edx
cmp edx, 0x1000
ja 0x57bef8
jmp 0x57befe
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
lea eax, [edx*8]
sub eax, edx
movdqu xmm1, xmmword [esi + eax*4]
movq xmm2, qword [esi + eax*4 + 0x10]
mov eax, dword [esi + eax*4 + 0x18]
movdqa xmm0, xmm1
psrldq xmm0, 8
movd ecx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 0xc
movd edi, xmm0
mov dword [esp + 0xb0], eax
movdqa xmmword [esp + 0xd0], xmm1
movq qword [esp + 0xc0], xmm2
lea eax, [ecx + edi]
cmp edx, eax
jbe 0x57bef8
sub edx, ecx
sub edx, edi
jmp 0x57befa
lea eax, [edx*8]
sub eax, edx
movq xmm0, qword [esi + eax*4 + 0x10]
mov eax, dword [esi + eax*4 + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x158], eax
lea ecx, [edx + 1]
movq qword [esp + 0x150], xmm0
lea eax, [ecx*8]
mov dword [esp + 0x14], ecx
sub eax, ecx
mov edi, ecx
lea esi, [esi + eax*4]
mov eax, dword [esp + 0xb0]
movdqu xmmword [esi], xmm1
movq qword [esi + 0x10], xmm2
mov dword [esi + 0x18], eax
test edx, edx
je 0x57d610
nop
mov ecx, dword [esp + 0x80]
lea eax, [edx*8]
sub eax, edx
lea esi, [esi - 0x1c]
movdqu xmm1, xmmword [ecx + eax*4]
lea edx, [ecx + eax*4]
dec edi
movq xmm0, qword [edx + 0x10]
mov eax, dword [edx + 0x18]
movq qword [esp + 0x140], xmm0
movdqa xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
movdqu xmm0, xmmword [edx]
mov dword [esp + 0x148], eax
psrldq xmm1, 8
movdqu xmmword [esi], xmm0
movq xmm0, qword [edx + 0x10]
movd eax, xmm1
movq qword [esi + 0x10], xmm0
add ecx, eax
mov eax, dword [edx + 0x18]
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x18], eax
cmp edx, ecx
jbe 0x57d604
sub edx, ecx
mov dword [esp + 0x5c], edx
jne 0x57d590
mov ecx, dword [esp + 0x14]
cmp edi, ecx
ja 0x57d790
mov edx, dword [esp + 0x80]
lea eax, [edi*8]
sub eax, edi
add edx, 8
sub ecx, edi
inc ecx
mov dword [esp + 0x14], ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x38], eax
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [eax - 4]
mov dword [esp + 0xa4], edx
lea ecx, [edi + esi]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x14]
test edi, edi
jne 0x57d664
mov edx, dword [esp + 0x90]
add edx, esi
mov dword [esp + 0x2c], edx
jmp 0x57d77e
mov ecx, dword [esp + 0x10]
push edi
push edx
push dword [esp + 0x98]
mov edx, esi
lea ecx, [ecx + 0x30]
call fcn.00577cf0
mov eax, dword [esp + 0x40]
lea edx, [edi - 3]
mov edi, dword [esp + 0x9c]
add eax, 0xffffffe0
add esp, 0xc
mov dword [esp + 0x44], edx
lea ecx, [esi + edi]
cmp ecx, eax
ja 0x57d80a
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
mov eax, dword [edi + 0xc]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [eax], xmm0
cmp esi, 0x10
jbe 0x57d707
movdqu xmm0, xmmword [ecx + 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [edi + 0xc]
add ecx, 0x10
lea eax, [esi - 0x10]
lea edi, [ecx + eax]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x57d6fc
add ecx, 0x10
add edx, 0x10
nop
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [edx - 0x10]
movdqu xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, edi
jb 0x57d6e0
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0x44]
add dword [edi + 0xc], esi
cmp esi, 0xffff
jbe 0x57d724
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0xa4]
inc ecx
mov word [eax + 4], si
mov eax, dword [edi + 4]
mov dword [eax], ecx
cmp edx, 0xffff
jbe 0x57d752
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
mov dword [edi + 0x24], 2
mov dword [edi + 0x28], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
mov word [eax + 6], dx
mov eax, dword [esp + 0x90]
add dword [edi + 4], 8
add eax, dword [esp + 0xa8]
mov dword [esp + 0x90], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
add eax, 0x1c
dec ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], ecx
jne 0x57d631
mov ecx, dword [esp + 0x10]
mov edx, 2
lea ecx, [ecx + 0x30]
call fcn.00577620
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x84]
cmp eax, dword [esp + 0xa0]
jb 0x57afa0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xbc]
mov eax, dword [ecx + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov dword [ecx + 0x24], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
lea ecx, [ecx + 0x30]
sub dword [ecx - 0x2c], edx
add eax, edx
mov dword [ecx - 0x24], eax
mov dword [ecx - 0x20], eax
mov dword [ecx - 0x18], eax
call fcn.0057ada0
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
xor ecx, esp
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
mov edx, edi
mov edi, dword [esp + 0x98]
push eax
push ecx
mov ecx, dword [edi + 0xc]
call fcn.005774b0
add esp, 8
jmp 0x57d703