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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
push ebx
push ebp
mov eax, dword [ecx + 0x50]
mov ebp, dword [esp + 0x64]
inc eax
push esi
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 4]
mov esi, dword [ecx + 0x44]
sub eax, edx
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 8]
mov edx, 0x120
push edi
mov edi, dword [ecx + 0x48]
sub edx, eax
sar edx, 1
cmp eax, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], edx
jg 0x57cc82
mov esi, eax
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
xor eax, eax
jmp 0x57cca0
cmp eax, edi
mov dword [esp + 0x48], esi
jg 0x57cc96
sub eax, esi
mov edx, eax
xor eax, eax
mov dword [esp + 0x4c], edx
jmp 0x57cca0
mov edx, edi
sub edx, esi
sub eax, edi
mov dword [esp + 0x4c], edx
xor edi, edi
mov dword [esp + 0x50], eax
cmp esi, edi
jge 0x57ccae
mov dword [esp + 0x48], edi
cmp edx, edi
jge 0x57ccb6
mov dword [esp + 0x4c], edi
cmp eax, edi
jge 0x57ccbe
mov dword [esp + 0x50], edi
mov eax, dword [ecx + 0x10]
mov edx, 2
cmp eax, edx
jne 0x57d42e
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x1c], edi
fld dword [0x4ed390]
cmp eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
je 0x57cd13
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
lea eax, [eax + eax*2]
mov dword [esp + 0x54], edx
shl eax, 2
mov ebx, dword [eax + 0x551054]
mov eax, dword [eax + 0x55cc04]
jmp 0x57cd3c
or eax, 0xffffffff
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x78]
lea eax, [eax + eax*2]
shl eax, 2
mov ebx, dword [eax + 0x551058]
mov eax, dword [eax + 0x55cc08]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [edx]
mov ecx, dword [ecx]
test ecx, ecx
lea edx, [edx*8 + 0x5207e0]
mov dword [esp + 0x30], edx
je 0x57d155
mov esi, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
jmp 0x57cd90
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x57ce06
mov edx, dword [ebx]
mov edi, dword [esp + 0x6c]
add ebx, 4
mov dword [esp + 0x14], edx
fstp st(0)
mov edx, dword [ebx]
add ebx, 4
add ebx, 4
lea ebp, [edi + edx*4]
mov edx, dword [ebx - 4]
mov edi, dword [ebx]
add ebx, 4
cmp edx, 3
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], edi
jne 0x57cdea
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1c], 1
mov edi, dword [edx]
shl edi, cl
mov ecx, dword [esi + 0x64]
add edx, 4
mov dword [esp + 0x70], edx
fld dword [ecx + edi*4]
jmp 0x57ce06
mov edi, dword [esp + 0x70]
mov edx, dword [esi + edx*4 + 0x58]
mov dword [esp + 0x1c], 3
mov edi, dword [edi]
shl edi, cl
add dword [esp + 0x70], 4
fld dword [edx + edi*4]
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx + 4]
movsx ecx, word [edi]
add edi, 2
mov dword [esp + 0x68], ecx
test ecx, ecx
jge 0x57ce6b
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebp, ecx
and ecx, 7
sar ebp, 3
add ebp, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebp
je 0x57ce50
mov ecx, dword [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
movsx ecx, word [edi]
mov ebp, dword [esp + 0x7c]
add edi, 2
dec ebp
mov dword [esp + 0x68], ecx
test ecx, ecx
mov dword [esp + 0x7c], ebp
jl 0x57ce1b
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov ecx, edx
and edx, 0xf
sar ecx, 4
cmp ecx, 0xf
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], edx
jne 0x57cf57
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + edx*4 + 0x54], ecx
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
jne 0x57ceb3
mov dword [esp + 0x2c], edi
jmp 0x57cf04
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebp, 3
and edx, 0xffffff
sub ecx, edi
add ebp, esi
shr edx, cl
mov dword [eax + 0x486c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
je 0x57cf47
mov edx, dword [esp + 0x2c]
fmul dword [edx*4 + 0x554bf8]
fchs
fstp dword [ebp]
jmp 0x57cfcb
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x554bf8]
fstp dword [ebp]
jmp 0x57cfcb
test ecx, ecx
je 0x57cfc4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov dword [esp + ecx*4 + 0x54], edx
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
fld st(0)
je 0x57cfb0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x554bbc]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x57cfcb
mov ecx, dword [esp + 0x2c]
fmul dword [ecx*4 + 0x554bbc]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x57cfcb
mov dword [ebp], 0
mov edx, dword [esp + 0x1c]
lea ecx, [edx*4]
add ebp, ecx
mov ecx, dword [esp + 0x68]
cmp ecx, 0xf
mov dword [esp + 0x10], ebp
jne 0x57d0b8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x7c]
mov dword [esp + edx*4 + 0x54], ecx
mov ecx, dword [esp + 0x30]
or edx, 0xffffffff
mov edi, dword [ecx]
sub edx, edi
add esi, edx
test edi, edi
mov dword [esp + 0x7c], esi
jne 0x57d014
mov dword [esp + 0x68], edi
jmp 0x57d065
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebp, 3
and edx, 0xffffff
sub ecx, edi
add ebp, esi
shr edx, cl
mov dword [eax + 0x486c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x68], edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
je 0x57d0a8
mov edx, dword [esp + 0x68]
fmul dword [edx*4 + 0x554bf8]
fchs
fstp dword [ebp]
jmp 0x57d12c
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x554bf8]
fstp dword [ebp]
jmp 0x57d12c
test ecx, ecx
je 0x57d125
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov dword [esp + ecx*4 + 0x54], edx
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
fld st(0)
je 0x57d111
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
dec ecx
fmul dword [edx*4 + 0x554bbc]
mov dword [esp + 0x7c], ecx
fchs
fstp dword [ebp]
jmp 0x57d12c
mov ecx, dword [esp + 0x68]
fmul dword [ecx*4 + 0x554bbc]
dec dword [esp + 0x7c]
fstp dword [ebp]
jmp 0x57d12c
mov dword [ebp], 0
mov edx, dword [esp + 0x1c]
lea ecx, [edx*4]
mov edx, dword [esp + 0x14]
add ebp, ecx
mov ecx, dword [esp + 0x40]
dec edx
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], ecx
jne 0x57cd88
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, 4
add esi, ecx
add edx, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], esi
dec ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ecx
jne 0x57cd5b
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x57d406
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x57d351
mov ecx, dword [edi + 0x54]
mov ecx, dword [ecx*8 + 0x5208e4]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x44], esi
mov dword [esp + 0x68], ecx
jge 0x57d225
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x57d216
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
je 0x57d1fd
movsx edx, word [esp + 0x44]
mov ecx, dword [esp + 0x68]
neg edx
lea ecx, [ecx + edx*2]
jmp 0x57d201
mov ecx, dword [esp + 0x68]
mov si, word [ecx]
add ecx, 2
test si, si
mov dword [esp + 0x44], esi
mov dword [esp + 0x68], ecx
jl 0x57d1b6
jmp 0x57d221
mov ecx, dword [esp + 0x7c]
inc ecx
xor esi, esi
mov dword [esp + 0x7c], ecx
mov edi, dword [esp + 0x74]
movsx ecx, si
xor edx, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], edx
test dl, 1
jne 0x57d2ad
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x57d2a9
mov ecx, dword [ebx]
mov esi, dword [esp + 0x6c]
add ebx, 4
mov dword [esp + 0x14], ecx
fstp st(0)
mov ecx, dword [ebx]
add ebx, 4
add ebx, 4
lea ebp, [esi + ecx*4]
mov ecx, dword [ebx - 4]
mov esi, dword [ebx]
add ebx, 4
mov dword [esp + 0x18], ecx
cmp ecx, 3
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x24]
jne 0x57d28f
shl esi, cl
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x1c], 1
fld dword [ecx + esi*4]
add dword [esp + 0x70], 4
jmp 0x57d2a9
shl esi, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], 3
mov ecx, dword [edi + ecx*4 + 0x58]
fld dword [ecx + esi*4]
add dword [esp + 0x70], 4
dec dword [esp + 0x14]
mov esi, 8
mov ecx, edx
sar esi, cl
mov ecx, dword [esp + 0x44]
test ecx, esi
je 0x57d31f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + ecx*4 + 0x54], edx
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x57d33e
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], edi
je 0x57d312
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
fld st(0)
fchs
fstp dword [ebp]
jmp 0x57d326
fst dword [ebp]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x74]
jmp 0x57d326
mov dword [ebp], 0
mov ecx, dword [esp + 0x1c]
inc edx
cmp edx, 4
mov dword [esp + 0x68], edx
lea ebp, [ebp + ecx*4]
jl 0x57d232
jmp 0x57d342
inc dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
jne 0x57d18d
fstp st(0)
cmp ebx, dword [esp + 0x3c]
jae 0x57d3ae
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test edx, edx
jne 0x57d38e
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x6c]
add ebx, 4
add ebx, 4
lea ebp, [esi + ecx*4]
mov esi, 1
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 3
je 0x57d38b
mov esi, 3
add ebx, 4
lea ecx, [esi*4]
mov dword [ebp], 0
add ebp, ecx
dec edx
mov dword [ebp], 0
add ebp, ecx
cmp ebx, dword [esp + 0x3c]
jb 0x57d361
mov ecx, dword [esp + 0x54]
lea edx, [ecx + 1]
mov dword [edi + 0x30], edx
mov edx, dword [esp + 0x58]
cmp ecx, edx
lea esi, [edx + 1]
mov dword [edi + 0x34], esi
mov esi, dword [esp + 0x5c]
lea ebx, [esi + 1]
mov dword [edi + 0x38], ebx
mov ebx, dword [esp + 0x60]
lea ebp, [ebx + 1]
mov dword [edi + 0x3c], ebp
jg 0x57d3dc
mov ecx, edx
cmp ecx, esi
jg 0x57d3e2
mov ecx, esi
inc ecx
test ecx, ecx
je 0x57d411
mov edx, dword [esp + 0x78]
lea esi, [edx*8]
sub esi, edx
lea ecx, [ecx + esi*2]
mov ecx, dword [ecx*4 + 0x572320]
mov dword [edi + 0x40], ecx
jmp 0x57d9d7
mov edi, dword [esp + 0x74]
fstp st(0)
jmp 0x57d353
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
add edx, ebx
mov ecx, dword [edx*4 + 0x571fe4]
mov dword [edi + 0x40], ecx
jmp 0x57d9d7
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0x14], 0x520988
cmp eax, edi
jne 0x57d445
mov dword [esp + 0x14], 0x55d49c
mov eax, dword [esp + 0x78]
add ecx, 0x18
fld dword [0x4ed390]
lea eax, [eax + eax*2]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov edx, dword [eax*4 + 0x55105c]
lea eax, [esp + 0x48]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], 3
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [edx]
mov ecx, dword [ecx]
test ecx, ecx
lea edx, [edx*8 + 0x5207e0]
mov dword [esp + 0x3c], edx
je 0x57d7c6
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x57d4fc
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
mov ecx, dword [edx]
mov ebx, dword [edi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
add ebx, ecx
mov ecx, dword [esp + 0x24]
shl ebx, cl
mov ecx, dword [esp + 0x74]
add edx, 4
fstp st(0)
mov ecx, dword [ecx + 0x64]
add esi, 4
add edi, 4
add edx, 4
fld dword [ecx + ebx*4]
mov ecx, dword [edx - 4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x3c]
mov edi, dword [edx + 4]
movsx ebx, word [edi]
add edi, 2
mov dword [esp + 0x68], ebx
test ebx, ebx
jge 0x57d55d
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebx
je 0x57d546
mov ecx, dword [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
movsx ebx, word [edi]
mov esi, dword [esp + 0x7c]
add edi, 2
dec esi
mov dword [esp + 0x68], ebx
test ebx, ebx
mov dword [esp + 0x7c], esi
jl 0x57d511
mov edi, ebx
and ebx, 0xf
sar edi, 4
cmp edi, 0xf
mov dword [esp + 0x68], ebx
jne 0x57d629
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
je 0x57d5e2
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, dword [esp + 0x10]
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebx, 3
and edx, 0xffffff
sub ecx, edi
add ebx, esi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov edi, edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
mov dword [eax + 0x486c], ebx
fmul dword [edi*4 + 0x554bf8]
test dl, 0x80
je 0x57d619
fchs
fstp dword [ebp]
mov ebx, dword [esp + 0x68]
add ebp, 4
mov dword [esp + 0x10], ebp
jmp 0x57d693
test edi, edi
je 0x57d685
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dword [esp + 0x18], edx
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
fld st(0)
mov dword [eax + 0x486c], ebx
fmul dword [edi*4 + 0x554bbc]
test dl, 0x80
je 0x57d66c
fchs
fstp dword [ebp]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x7c], ecx
jmp 0x57d693
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp
cmp ebx, 0xf
jne 0x57d748
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov edi, dword [edx]
mov edx, dword [esp + 0x7c]
sub ecx, edi
add edx, ecx
test edi, edi
mov dword [esp + 0x7c], edx
je 0x57d70c
mov esi, dword [eax + 0x486c]
mov ebp, dword [eax + 0x4868]
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 1]
mov cl, byte [esi + 2]
mov dh, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, ebp
shl edx, cl
lea ecx, [edi + ebp]
mov ebp, dword [esp + 0x10]
mov ebx, ecx
and ecx, 7
mov dword [eax + 0x4868], ecx
mov ecx, 0x18
sar ebx, 3
and edx, 0xffffff
sub ecx, edi
add ebx, esi
shr edx, cl
mov dword [eax + 0x486c], ebx
mov edi, edx
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
fld st(0)
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
mov dword [eax + 0x486c], ebx
fmul dword [edi*4 + 0x554bf8]
test dl, 0x80
je 0x57d743
fchs
fstp dword [ebp]
jmp 0x57d7a7
test ebx, ebx
je 0x57d7a0
mov edx, dword [esp + 0x20]
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dword [esp + 0x18], edx
mov dl, byte [esi]
shl dl, cl
inc ecx
mov edi, ecx
and ecx, 7
sar edi, 3
add edi, esi
mov dword [eax + 0x4868], ecx
fld st(0)
mov dword [eax + 0x486c], edi
fmul dword [ebx*4 + 0x554bbc]
test dl, 0x80
je 0x57d78b
fchs
fstp dword [ebp]
mov ecx, dword [esp + 0x7c]
add ebp, 4
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x7c], ecx
jmp 0x57d7ae
mov dword [ebp], 0
add ebp, 4
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
dec edx
dec ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ecx
jne 0x57d4ab
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ecx, 4
add esi, ecx
add edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], esi
dec ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ecx
jne 0x57d488
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x57d987
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jle 0x57d987
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x54]
mov edi, dword [edx*8 + 0x5208e4]
mov cx, word [edi]
add edi, 2
test cx, cx
mov dword [esp + 0x68], ecx
jge 0x57d880
mov ecx, dword [esp + 0x7c]
dec ecx
mov dword [esp + 0x7c], ecx
js 0x57d875
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebx
je 0x57d864
movsx ecx, word [esp + 0x68]
neg ecx
lea edi, [edi + ecx*2]
mov cx, word [edi]
add edi, 2
test cx, cx
mov dword [esp + 0x68], ecx
jl 0x57d823
jmp 0x57d880
mov ecx, dword [esp + 0x7c]
inc ecx
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov edi, dword [esp + 0x2c]
xor edx, edx
movsx ecx, cx
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], ecx
test dl, 1
jne 0x57d8e1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x57d8dd
mov ecx, dword [edi]
mov esi, dword [esp + 0x14]
add edi, 4
mov dword [esp + 0x1c], ecx
fstp st(0)
mov ecx, dword [edi]
add edi, 4
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
add esi, 4
mov ebx, dword [ecx]
mov ecx, dword [esi - 4]
add ebx, ecx
mov ecx, dword [esp + 0x24]
shl ebx, cl
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], esi
mov ecx, dword [ecx + 0x64]
fld dword [ecx + ebx*4]
add dword [esp + 0x70], 4
dec dword [esp + 0x1c]
mov esi, 8
mov ecx, edx
sar esi, cl
mov ecx, dword [esp + 0x44]
test ecx, esi
je 0x57d94d
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x7c], ecx
js 0x57d96b
mov esi, dword [eax + 0x486c]
mov ecx, dword [eax + 0x4868]
mov dl, byte [esi]
shl dl, cl
inc ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
add ebx, esi
mov dword [eax + 0x4868], ecx
test dl, 0x80
mov dword [eax + 0x486c], ebx
je 0x57d941
mov edx, dword [esp + 0x68]
add ebp, 4
fld st(0)
fchs
fstp dword [ebp - 4]
jmp 0x57d957
fst dword [ebp]
mov edx, dword [esp + 0x68]
add ebp, 4
jmp 0x57d957
mov dword [ebp], 0
add ebp, 4
inc edx
cmp edx, 4
mov dword [esp + 0x68], edx
jl 0x57d891
mov dword [esp + 0x2c], edi
jmp 0x57d978
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x2c], edi
inc ecx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x28]
dec ecx
mov dword [esp + 0x28], ecx
jne 0x57d7fa
mov ecx, dword [esp + 0x6c]
sub ecx, ebp
add ecx, 0x900
sar ecx, 3
fstp st(0)
je 0x57d9b1
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
dec ecx
jne 0x57d99a
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x3c], edx
lea edi, [ecx + ecx*2]
shl edi, 3
sub edi, ecx
add edi, edx
mov edx, dword [edi*4 + 0x571fe0]
mov dword [esi + 0x40], edx
mov esi, dword [esp + 0x7c]
cmp esi, 0x10
jle 0x57da17
lea edx, [esi - 1]
shr edx, 4
mov ecx, edx
neg ecx
shl ecx, 4
add esi, ecx
mov ecx, dword [eax + 0x4868]
mov ebx, dword [eax + 0x486c]
add ecx, 0x10
mov edi, ecx
and ecx, 7
sar edi, 3
add ebx, edi
dec edx
mov dword [eax + 0x486c], ebx
mov dword [eax + 0x4868], ecx
jne 0x57d9ef
test esi, esi
jle 0x57da4a
mov edx, dword [eax + 0x4868]
lea ecx, [edx + esi]
mov esi, dword [eax + 0x486c]
mov edx, ecx
sar edx, 3
add esi, edx
and ecx, 7
mov dword [eax + 0x486c], esi
mov dword [eax + 0x4868], ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
jge 0x57da40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret